Messaggi di Rogue Scholar

language
Pubblicato in rOpenSci - open tools for open science
Autore Jeroen Ooms

A new rOpenSci package katex is now on CRAN.This package allows for converting latex math expressions to HTML and MathML for use in markdown documents or package documentation. The R package uses the katex javascript library, but the rendering is done directly in R using the V8 engine (i.e. server-side), which eliminates the need for embedding the MathJax library into html pages.

Pubblicato in quantixed

I searched several times in vain to solve this problem. After finding a solution, I thought i’d put it up here. The problem Formatting of units using siunitx in LaTeX does not match the typeface of the body text. We like to use the helvet package to get a close approximation to Helvetica in LaTeX.

Pubblicato in quantixed

As part of the series on development of early career researchers in the lab, we spent a session (with homework) to learn how to write a document in LaTeX. Like the R session, we spent an hour or so in a room with laptops writing a document and then homework was set, to be completed for the following week. There’s a mix of TeX abilities in the lab.

Pubblicato in quantixed

How can we contribute to the development of early career researchers in a lab environment? I’m talking about how people in the lab acquire “soft skills” or “get better” in ways that are parallel to doing research. This sort of training can get overlooked in the chase for new results and the excitement of doing biomedical research. I’m testing out a strategy to develop the skills of people in the lab. It’s an experiment.

Pubblicato in quantixed

This quick post comes courtesy of LianTze Lim (an Overleaf TeXpert) and Kota Miura (a bioimage analyst). I asked on the ImageJ forum some time ago how to add an ImageJ Macro lexer for a LaTeX document I was writing. Kota responded with this lexer for pygments. I then asked Overleaf if it was possible to add a custom lexer to an Overleaf document using the minted package. At the time this was not possible.

Pubblicato in quantixed

Here’s a quick tech tip. We’ve been writing papers in TeX recently, using Overleaf as a way to write collaboratively. This works great but sometimes, a Word file is required by the publisher. So how do you convert from one to the other quickly and with the least hassle? If you Google this question (as I did), you will find a number of suggestions which vary in the amount of effort required. Methods include latex2rtf or pandoc.