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

## Bash Script | if then for do

I'm trying to write a script that generates a LaTeX file. The first part of the script should display all the contents of the map in a tree form. The 2nd part should display the content of each ...

4 mins ago

## Insert an image in LaTeX and create a pdf using: pdflatex file.tex

An image is (attempted to be) inserted using the following script in file.tex: \begin{figure} \includegraphics{/rdata/report/images/buckets.data.csv.png} \end{figure} Running the following code, …

## Embedding Fonts in a pdf within Sweave (R)

I dont get this to work: \documentclass{article} \renewcommand\familydefault{cmss} \begin{document} \SweaveOpts{concordance=TRUE} <<setup,echo=FALSE>>= ...

3 hours ago

## MathJax, Rails 4, Markdown integration

Does anyone have an idea of how i can integrate: Mathjax latest release(mathjax-MathJax-v2.2-8-g727332c), Rails 4 and Markdown? This whole asset pipeline thing is making it hard for me to get to ...

## Convert HTML and inline Mathjax math to LaTeX with pandoc ruby

I'm building a Rails app and I'm looking for a way to convert database entries with html and inline MathJax math (TeX) to LaTeX for pdf creation. I found similar questions like mine: Convert html …

8 hours ago

## How to convert HTML with mathjax into latex using pandoc?

I have some HTML documents with MathJax equations, and I want to convert them to latex, and then to pdf. I'd like to use pandoc. However, pandoc replaces $with \$ and it replaces \ in formulas with …

8 hours ago

## Can I remove the labels from the bibliography, while keeping them in citations?

I'm writing the bibliography of my report with thebibliography because I don't need a BibTeX database (or I don't have the time for learn how to customize or write a style). The optional argument ...

10 hours ago

## Spacing problems

I am experiencing problems with spacing too short after equations. For example, if there is a comma just after an inlined equation, sometimes it's shown just over the equation itself. I have an ...

10 hours ago

## Can't compile BibTeX bibliography

I'm trying to make a bibliography at the end of my Latex document. I use the following code: \bibliographystyle{plain} \bibliography{biblio} Which works -it prints the "References" header - only it …

12 hours ago

## Extended documentation for “latex” function in R

Is there a complete documentation for Hmisc's function latex available? For instance, it's difficult to understand from help(latex) how to change column headers. Apart from setting names(df), which …

16 hours ago

## Count of hyphenated words in latex files

I have a thesis of approximately 100,000 words, typeset in latex. I have rather inconsistently hyphenated some of the words, for example "spider-fear" and "spider fear". I would like to get a list …

17 hours ago

## Evaluating Latex Math in Javascript

I am working on a html-based calculator, and I want to render an expression, then evaluate it, and all of this must be done in Javascript. I would prefer for the expression to be written in LaTeX, and …

## How print a PDF without the DRAFT watermark

I have this PDF file that has a gigantic DRAFT watermark on every single page. My teacher handed us his version of the printed pdf and it says on paper where it is printed from but on his version the …

## Count the number of lines in a pdf file

How is it possible to count the number of lines in a pdf file? Preferably from the linux command line (bash)? The pdfs I want to analyse are generated using LaTeX, so any solution working on the tex …

yesterday

## Latexproblem: font installed but cannot me mapped

When I am compiling some latex, I get the following error: kpathsea: Running mktexpk --mfmode cx --bdpi 300 --mag 1+84/300 --dpi 384 zptmcm7y mktexpk: don't know how to create bitmap font for ...

yesterday

## html MathJax content's selection issue

am new in MathJax content's, i have use MathJax formula in some part of the page then i use content selection too, when i select MathJax formula it look like not in continuous flow. empty space ...

## Symfony2 - How to validate if the uploaded file is a tex file (LaTex)

I have a file upload function in my Symfony2 project and I would like to validate that the uploaded file is a .tex file format => LaTex file. For text/html, I am using: ...

## How to import LaTeX equation into MS Word Equation or into MathType?

Say I have this LaTeX code: $$\label{eq1} V_{conf}(r) = \frac{A}{r^2} + Br^2 - 2\sqrt{AB}$$ How to import it in MS Word?

## How to print a latex section title from the R code using knitr?

I am trying to produce a simulation report in Latex with knitR. My R code has a loop on products and generate a graph for each products. I want to include a section title for each loop iteration. I …

yesterday

## Convert Latex to PDF in Python web app

What is the easiest way to convert a string of Latex (e.g. "Consider the polynomial $x^2$") into a pdf within a Python web app? Ideally, this wouldn't require the creation of intermediate files that …

2 days ago

## How to suppress warnings in vim-latex?

I want to hide a couple of problematic warnings in vim-latex, but I can't seem to work out the syntax. I currently have: let g:tex_IgnoredWarnings = \'Underfull'."\n". \'Overfull'."\n". …

2 days ago

## How to specify directories on Mac using TeXShop

With PCTeX in windows I could specify a directory \def\otherdir{c:/myotherdir/} and an input file \def\InputFile{myinputfile.tex}, and then use \input{\otherdir/\InputFile} With TeXShop on a Mac …

2 days ago

## Program for creating a Keyboard “CheatSheet”

I'm already searching for a while for a program to create a kind of Keyboard Cheatsheet like this: The Keyboard Designer unfortunally doesn't support writing text below the keys. It should be a …

2 days ago

## Vim tabular alignment first column different

I’m trying to format tables in LaTeX nicely using the Tabular command, and frequently I’ll want to right-align the leftmost column, then left align everything else. Using :'<,'>Tabularize ...

2 days ago

## Having links to an included file by LaTeX PdfPages

How can you maintain the links in your pdf fileA which contains links to itself in the fileB which includes FileA? FileA has internal links to itself. I include it to FileB by Pdfpages such that ...

2 days ago

## When using pdfpages in LaTeX, how to avoid page breaks before the first page ?

I am creating a large LaTeX document, and my appendix has reproductions of several booklets that I have as PDFs. I am trying to create a section header and then include the pages at a slightly lower …

2 days ago

## Post a text which will be handled by MathJax

I have a problem posting text in a html form. The text (from a textarea) to be posted to a new page to show may have the following properties: including latex code to be handled by MathJax between …

2 days ago

## Is there a policy about font size?

I notice that recent posts are using \large in LaTeX when it is not really needed or similarly display math in the title of the post. The impression is that it is just pure visual competition for ...

2 days ago

## How to place a character below a function in Latex?

Is it possible to place a character or a formula below an other part of a larger formula in Latex? foo f(x) = ... x In case that this example is not clear. I'd like to make one of my custom ...

Dec 7 at 21:30

## Resampling data with minimal loss of information in time-domain

I am trying to resample/recreate already recorded data for plotting purposes. I thought this is best place to ask the question (besides dsp.se). The data is sampled at high frequency, contains to ...

Dec 7 at 13:48

## Using Google Drive on an Ubuntu tablet

I am interested in purchasing a tablet for school. I am interested in purchasing it to take notes, but I would like to do so in Google Drive for several reasons. As I have researched, I have found …

## using org-preview-latex-fragment to display math formula in markdown-mode emacs

I'm using emacs to edit markdown file and I wanna display the inline formulas in the markdown mode. I thought org-preview-latex-fragment is a good idea, but there're some problems: It's slow. I ...

Dec 7 at 1:28

## gnuplot: making axes numbers smaller in epslatex makes my axes label disappear offscreen

I'm writing a script to generate three plots in a column (using multiplot and setting margins). They all share an x-axis, so it's only necessary to label that on the bottom plot, but they have ...

Dec 7 at 1:17

## matplotlib fails to output EPS figure with usetex = True

I am trying to output (savefig) matplotlib figures as EPS; however, it seems there is a conflict when using the LaTeX rendering AND saving EPS figures. For example, the following code produces a good …

Dec 6 at 21:10

## Any latex web services with an API?

Is there a web service API that takes this type of a latex http-request: http://some_web_service/texfile?texfile= \new\documentclass[12pt]{article} \begin{document} bla \end{document} and ...

Dec 6 at 18:27

## MathJax not working well

I'm trying to make MathJax to work in my Android App. MyWebView.loadDataWithBaseURL("http//","<html><script type=\"text/x-mathjax-config\"> MathJax.Hub.Config({tex2jax: {inlineMath: ...

Dec 6 at 14:20

## matplotlib generated PDF cannot be viewed in acrobat reader

I am plotting data with matplotlib including LaTeX fonts. The pdf created can be displayed by evince, inkscape, GIMP but not by acroread resp. adobe reader. The code prototype works with a lot of ...

## Disabling automatic footnotes in Emacs org-mode

I have some LaTeX inside an org-mode file that is wrapping a Ruby code snippet and providing nice color formatting, which looks kind of like this: #+LATEX_HEADER: \usepackage[dvipsnames]{xcolor} ...

## MATLAB: checkmark in MATLAB figure with LaTeX interpreter

In my figure I have a text annotation using the LaTeX interpreter, and it doesn't recognize \checkmark because MATLAB doesn't have the amsmath package. Are there any ideas for a workaround? Perhaps …

Dec 6 at 5:31

## How to typeset those symbols using MathJax?

I don't know how to typeset the $\Rightarrow$ with the text under it as shown in this image? I know that \xrightarrow{\text{substitution}} gives rise to $\xrightarrow{\text{substitution}}$ but when …

Dec 6 at 0:09

## pandoc-generated docx misses italic variables in equations


Dec 5 at 18:33

## Doxygen: How to include source files in LaTeX output

I'm using doxygen for the documentation of my program and I'm trying to get the actual source files to be included into the PDF-Output of the LaTeX generator. I've set the following settings in the …

Dec 5 at 16:36

## How can I customize LaTeX-item-list?

I use auctex to write linguistic texts with many examples using the exe-environment which looks like this: \begin{exe} \ex (some text, glossed examples, etc.) \end{exe} Now, i'd like to have ...

Dec 5 at 15:34

## Suppress Hot Questions containing MathJax markup on non-MathJax sites homepage

The Hot Questions list sometimes includes topics from TeX and mathematics sites. These sites have MathJax enabled to permit users to better ask questions. When a question with such markup in the title …

## Text and MathJax above symbol

How can regular text and/or MathJax be positioned directly atop a MathJax symbol? Example: http://tex.stackexchange.com/questions/85113/xrightarrow-text. The code there seems bootless on MSE? ...

Dec 5 at 11:04

## single style sheet across multiple knitr documents

I am new to knitr, and I am looking to use it to write many knitr documents which use the same shared "style sheet" for consistency. I am hoping to write my phd thesis appendices in knitr/LaTeX. I …

Dec 5 at 1:18

## Plots are empty using Sweave and Latex

I want to make a report with the graphics I obtain with R. Here I show you both images produced with site_rose(site_ref) and site_time_series(site_ref) I designed. But after running ...

Dec 4 at 21:25

## Latex \tableofcontents command always shows blank Contents on first build

When I generate a .pdf file from a .tex file using pdflatex, only the "Contents" title is shown with no actual TOC. If I run pdflatex my.tex once more, it generates the TOC just fine. I can reproduce …

Dec 4 at 16:49

## \date{} in the tabular environment!

I would like to make a table using the tabular environment, and in one of the cells in my table I need to include the actual date. A clever approach would then be using the \date{} command - but I ...

Dec 4 at 16:39