texmf qns not on tex.sx
16 tags on 11 sites

How to include Matlab code into LaTeX in colour?

I'm obviously new to all these things (very new). I need Matlab code, e.g. the one here, in LaTeX and in colour (the comment is green, for/if/else/end is blue). % super cooles Programm i = 1 for i ...

asked 6 mins ago by meow on stackoverflow.com

Unable to run latex command from Java

Latex file: 0.tex content: \documentclass{article} \begin{document} $$\frac{\partial p_{dyn}}{\partial n} = A$$ \end{document} Shell file: 0.sh content: latex ...

MathJax and Server

Is it really necessary to serve my html through a HTTP server for mathjax to work? I used these: <script type="text/javascript" ...

How to make MathJax responsive and add line breaks automatically?

I've read the MathJax documentation for adding line breaks automatically but it seems to have no effect. I don't know how to make MathJax responsive. My website allows users to write in LaTeX ...

asked 8 hours ago by TivBroc on stackoverflow.com

The Most Convenient Way to Insert Multiple Histograms within Latex-based Summary Statistics Tables (R)

I was wondering what is the most convenient way to create in R a summary statistics table (in Latex) with one column being graphic presentation of the distribution of that variable. More ...

1 answers | asked 19 hours ago by Daniel Kirilenko on stackoverflow.com

How to set a new knitr engine?

I would like to highlight code for engine that is not present in default knitr engines (LaTeX) in LaTeX, Rtex. In discussion below demo on engines, there was simple engine=(language) ...

asked 20 hours ago by Colombo on stackoverflow.com

Sublime Text 3 Pink Highlights on quotation marks (OS X)(Latex)

I performed a find and replace all for the microsoft word ” to the Latex recognizable ". Additionally I did it for the single quote. Afterwards, everything encased in "example" or 'example' is ...

using graphicspath in latex/sweave

I have an Sweave file, where I need to embed a png and pdf from another folder. This is how I tried it \usepackage{graphicx} \graphicspath{{inst/extdata/}} \DeclareGraphicsExtensions{.pdf,.png} ...

Environment where all formatting is ignored

Does there exist a command in LaTeX, such that all that I write within that environment is showed as it is? For instance when I want to make a guide on how to use commands in LaTeX i'm interested in ...

More thane one NewSavebox fails compilation

The following code has a problem with the second \newsavebox{\spec}. It does not compile. However if I use twice the \speciesone i.e. \matrix [matrix of nodes] { \node (species1) ...

PHP - latex format of function with regex

Is it possible to write a regex which would take input like 'sqrt(2 * (2+2)) + sin(pi/6)' and transform it into '\sqrt{2 \cdot (2+2)} + \sin(\pi/6)'? The problem is the 'sqrt' and parentheses in it. ...

I have almost succeeded in putting latex fonts into R graphs, but it's slightly off

I am learning latex graphics. I generated latex graphs with standalone, but I am trying to generate R plots with latex fonts. Through online tutorials, here is my code with the Iris dataset in RStudio ...

1 answers | asked Jul 25 at 1:25 by Johnathan on stackoverflow.com

Knitr: Turning the R chunk figure caption 90 degrees inline Latex

Here is my a code to demo what I cannot do. I use an R chunk to make a figure and use out.extra='angle=90' to make the figure post sideways on the page. Now how do I get my caption to go sideways ...

asked Jul 23 at 20:19 by Lacko on stackoverflow.com

What to do with edits that “just add dollar signs”?

It's no secret that a lot of the people out there don't know enough LaTeX. Maybe they were never exposed to it, or maybe they are just unaware of the fact you can use MathJax on the site. So ...

xslt 2.0 how replace $by escaped dollar (for conversion to LaTeX) I am new to XSLT. I googled extensively but couldn't figure out how to do the following: I am transforming XML to LaTeX. Of course, LaTeX needs to escape characters such as$ and #. I tried the ...

1 answers | asked Jul 23 at 16:23 by enahel on stackoverflow.com

Converting LaTeX expression to infix expression

Let us assume we have an expression in LaTeX form: var latex =\frac{x}{\frac{y}{y}} So output required is: output= (x)/((y)/(y)); I tried out an example as stated in the link: Convert LaTeX to ...

How to format a book appearence in the bibliography in LaTeX?

I use LaTeX to write a document. Therefore I need a Bibliography. Thus I created a .bib file with my sources. When I run LaTeX a book source looks like this: John A McDermid. Software Engineer's ...

.groupby().to_latex() output broken

I'm trying to export pandas.DataFrame.describe() to LaTex using the to_latex()-method. This works all fine as long as I don't apply the groupby()-method beforehand. With a grouped DataFrame, the first ...

asked Jul 23 at 8:32 by Klaster on stackoverflow.com

Can Cordova app development and latex?

I would like to know if there is any way for apps developed in Cordova to bring in latex syntax somehow. Is there a library or a plug-in you can use? Basically I want to develop a Maths education app ...

asked Jul 23 at 6:13 by Will Kim on stackoverflow.com

Why does Tex stop rendering after a writing post for a while? How do I fix it?

This frequently happens to me. I am in my zone writing a long and detailed description in my post, and suddenly the Tex stop rendering in the display section. This is rather annoying because I do ...

Why won't sublime 3 build an updated pdf?

I installed the "Latexing" and "LatexTools" package so that I can use sublime 3 text editor with LaTeX. When I use the shortcut ctrl+shift+b to build and view the pdf, it loads a pdf that is not ...

LaTeX signature image on line with text beneath

i try to make a signature inside a latex template with a hand written signature image from a png. I like to place it on a line with the name as text beneath. I've tried to make it with a table, but i ...

asked Jul 22 at 10:12 by Nimderp on stackoverflow.com

MathJax Not working in android

I am trying to use MathJax Library in android but certainly not getting success. I want to display some complex mathematical formulas which can be in the middle of text(Like Mathematical derivations) ...

1 answers | asked Jul 22 at 3:09 by chinmay ghag on stackoverflow.com

Unexpected z-index of contents in MathJax

I am writing the sketch of a webpage in HTML5/CSS3 and I observed an unexpected behaviour of the contents in MathJax respect to the z-index. My idea is to have a top div, fixed, with image, name and ...

1 answers | asked Jul 21 at 19:26 by MattAllegro on stackoverflow.com

knitR latex code printed instead of the actual table

I'm pretty knew to knitR and latex in general. My issue is that when I use xtable in a chunk, it does not produce a table, rather prints the latex code. When I try to use a variable as the table ...

asked Jul 21 at 15:41 by George Wood on stackoverflow.com

How to include html code with reactive MathJax elements in Shiny?

I am working on a shiny app that is intended to help students. It generates solution for each student with some equations using student specific input values. The problem is that the MathJax ...

2 answers | asked Jul 21 at 8:53 by Arpi on stackoverflow.com

Function in .bst file and its role in missing bibliography fields.

When I try to compile a certain LaTeX document with a bibliography, two fields (doi and pmid) do not appear. For example, if my .bib file contains the entry: @Article{key, author = "Author1, ...

asked Jul 20 at 17:11 by MRicci on stackoverflow.com

Making a Horizontal RSweave Latex Figure

I currently trying to make a landscape summary latex figure that should take up an entire page for a potential article. However, despite some serious efforts, I can't seem to fit the figure to turn ...