Questions tagged [tex]

TeX is a typesetting system, where the output is defined by command-sequences. Note that https://tex.stackexchange.com is specifically dedicated to TeX questions.

TeX is a typesetting system, where the output is defined by command sequences. It was designed and mostly written by Donald Knuth. TeX was designed with two main goals in mind: to allow anyone to produce high-quality books using minimal effort, and to provide a system that would give exactly the same results on all computers, at any point in time.

There is a Stack Exchange site dedicated to TeX, which is a good place to ask any TeX-related questions.

Resources:

872 questions
9
votes
1 answer

Is there anyway to export D3 JS graphs into LaTeX tikz graphs programmatically?

There are many ways of exporting R graphs and R Tables quickly into LaTeX using the R tikzDevice (on the R side) and the LaTeX tikz package (On LaTeX side). Have a look at this blog article for more info. Are there any automated method or JS library…
HB87
  • 413
  • 7
  • 16
9
votes
1 answer

What LaTeX command creates an emdash?

I know I can create an em-dash with --- (and an en-dash with --). However, I want to use these glyphs in my Unicode setup, and trying it as…
F'x
  • 12,105
  • 7
  • 71
  • 123
9
votes
3 answers

Can I make a LaTeX macro 'return' a filename?

I'm writing my thesis/dissertation and since its an on-going work I don't always have the actual images ready for the figures I put into my document, but for various reasons want to automatically have it substitute a dummy figure in place when the…
drfrogsplat
  • 2,577
  • 3
  • 19
  • 28
9
votes
5 answers

Latex minipage to align groups of text

I am trying to get two minipage sections to show up next to each other. They always show up one underneath the other currently below is an example of my .tex Example: \begin{minipage}[b]{1in} Hello World…
Larry
  • 91
  • 1
  • 1
  • 2
9
votes
4 answers

XML to TeX or how to get a beautiful PDF from XHTML-like source

Superficially, an easy question: how do I get a great-looking PDF from my XML document? Actually, my input is a subset of XHTML with a few custom attributes added (to save some information on citation sources, etc). I've been exploring some routes…
mb21
  • 34,845
  • 8
  • 116
  • 142
8
votes
2 answers

Tex vs. Latex: Is it worth the change?

I have been producing documents (both mathematical and non-mathematical) with Latex for about two years, and I feel rather confortable with it. Now I would like to learn Tex, but I wonder if there are any real reasons to do it rather than just for…
User
  • 3,244
  • 8
  • 27
  • 48
8
votes
4 answers

What is the current state of the art in latex?

TeX and LaTeX really confuse me. I know that there is no official distribution, and that it's a bit like Linux in that there are many packagers and distributions. A lot of the distributions that people suggest to me seem to have lost their…
Bob Bobson
  • 81
  • 1
8
votes
1 answer

matplotlib latex in legend label vs in axis label

For matplotlib, you can label legends and axis labels using tex command syntax. You're supposed to prepend r to the string: r"my tex label". But what I don't understand is why the legend label doesn't care and yet the axis label does care. Why do…
Ryan Farber
  • 343
  • 1
  • 4
  • 11
8
votes
1 answer

Customize headers and footers in Latex using Sphinx

We are exploring the features of Sphinx in order to rebuild our legacy manuals. We already ported most of the former manual to Sphinx. Now I'm exploring the possibilities to adapt our company styles. Especially, we would like to change the…
Aleph0
  • 5,816
  • 4
  • 29
  • 80
8
votes
1 answer

Double brackets in MathJax

How can I achieve stretchy double brackets in MathJax using TeX? For example, The TeX package stmaryrd has this but MathJax doesn't support the import of arbitrary packages. I'd like the double brackets to look good at all sizes. Bonus: Is this…
mjk99
  • 1,290
  • 11
  • 18
8
votes
2 answers

how to create parser for TEX?

I am looking to develop a TEX parser, now problem is there is no Context Free Grammar and there can not be one, because its not context free language, I heard that it is some sort of macro language and that builds on its own. So now I need direction…
Akash Kava
  • 39,066
  • 20
  • 121
  • 167
8
votes
1 answer

Error while building R package on Travis CI" "tlmgr update --self" failed

I was building an R package on https://travis-ci.org/ and got an error: The command "tlmgr update --self" failed and exited with 25 during . The last lines of Travis CI output: When I call devtools::check() locally on Windows 10 in RStudio no…
GegznaV
  • 4,938
  • 4
  • 23
  • 43
8
votes
4 answers

Knitr preamble error results in "pandoc document conversion failed with error 43"

Rstudio Version 0.99.441; Windows 7 enterprise; knitr 1.10.5; MiKTex 0.4.5 r.1280 (2.9 64-bit) I have a an error on my office computer when trying to knit PDF's in Rstudio, there are no problems knitting to HTML or word. The problem may be related…
Jonno Bourne
  • 1,931
  • 1
  • 22
  • 45
8
votes
3 answers

Latex two captioned verbatim environments side-by-side

How to get two verbatim environments inside floats with automatic captioning side-by-side? \usepackage{float,fancyvrb} ... \DefineVerbatimEnvironment{filecontents}{Verbatim}% {fontsize=\small, fontfamily=tt, gobble=4, …
Egon
  • 1,705
  • 18
  • 32
8
votes
2 answers

How to install Tex live in a different directory than default one?

As I dont have sudo or root access, I want to install Tex live at a different location but install-tl doesn't have any option for this. Is there any other workaround? Default Path is: /usr/local/texlive/2014
nitin kumar
  • 642
  • 12
  • 21