Most Popular

1500 questions
159
votes
16 answers

What is the most bizarre thing you have seen done with TeX

I think the questions says it all! :) By TeX, I mean any derivative of TeX as long as the code is clearly a derivative of TeX, i.e. that it could belong on TeX.SX (and not pure Lua for example). I'll give two answers myself so you see what I mean.
Xavier
  • 13,947
158
votes
7 answers

Define additional math operators to be typeset in roman

Mathematical operators, such as function names, should be set in roman type, not italics. Latex already has commands for some operators, including \max, \min, and \log. How can I define additional such commands?
Vebjorn Ljosa
  • 22,437
  • 17
  • 43
  • 32
158
votes
4 answers

How to remove the warnings "Font shape `OT1/cmss/m/n' in size <4> not available" and "Size substitutions with differences" in beamer?

LaTeX Font Warning: Font shape `OT1/cmss/m/n' in size <4> not available LaTeX Font Warning: Size substitutions with differences I am using the files from http://www.poirrier.be/~jean-etienne/info/latexbeamer/latex-beamer.tar.gz. Alternatively, for…
epsilon8
  • 5,961
158
votes
5 answers

How can I use \linebreak inside a node, in tikz?

This is my code, which doesn't work: \documentclass{article} \usepackage{tikz} \begin{document} \tikz \node {start\linebreak{}stop}; \end{document} The \linebreak command doesn't work. In order to make it working I have to say \node[text…
yegor256
  • 12,021
158
votes
5 answers

What's the difference between \RequirePackage and \usepackage?

I understand that "the convention is to use \RequirePackage in a package or class and \usepackage in a document", but apart from that, is there any practical difference between the two commands? (I am thinking for example that it could be the case…
Vivi
  • 26,953
  • 31
  • 77
  • 79
158
votes
4 answers

How to write checkmark in latex

I want to put some checkmarks inside table cells. I have put a cross sign using $\times$ but I really don't know how to write a checkmark in latex. I used \usepackage{bbding} package and \checkmark but it doesnt work, if it is \checkmark, it shows…
user1944267
  • 1,811
157
votes
7 answers

How to scale a tikzpicture to \textwidth

I would like to scale my tikzpicture to exactly (or a proportion of) the \textwidth Of course I could play with the [scale=0.5] option until I found the right value, but I assume there must be an easier way. How to get a properly scaled (the fonts…
Peter Smit
  • 14,035
157
votes
1 answer

How can I embed an external image within a tikzpicture environment?

I want to embed an image within a tikzpicture environment. I tried the following, \begin{tikzpicture}[] \pgftext{\includegraphics[width=150pt]{pic1.png}} at (0pt,0pt); \pgftext{\includegraphics[width=150pt]{pic2.png}} at…
Rogach
  • 3,088
156
votes
13 answers

Multiple PDFs with page group included in a single page warning

I updated TeX Live to the Ubuntu Quantal version (2012.20120611-4) and I suddenly got this warning: PDF inclusion: multiple pdfs with page group included in a single page This is a minimal example for which I get the…
Veger
  • 2,037
156
votes
6 answers

LaTeX3 versus pure Lua

Reading this site for the last nearly two years I've learned a lot about LaTeX3 (which I had previously understood to be a defunct pipe dream) and LuaTeX (of which I was previously totally unaware). As I have said before, TeX itself is a bad…
Ryan Reich
  • 37,958
156
votes
23 answers

What GUI applications are there to assist in generating graphics for TeX?

I found GeoGebra to be a useful tool to help generate code for graphs. I suppose there must be other tools to help draw diagrams such as Sets/Venn Diagrams or Electrical Circuits (Logic Gates). Which ones would you suggest?
Jiew Meng
  • 2,479
156
votes
3 answers

Meaning of \quad

Many LaTeX command names have some 'justification'. For example the commands \cup and \cap have a straightforward meaning. However, I couldn't find a meaning for the commands \quad and \qquad. Is it maybe coming from a concatenation of 'equation'…
155
votes
6 answers

How can I display a short chapter name in the header and a long chapter name in the ToC?

I am writing a book and one of my chapters has a very long title. As it can't be displayed correctly on the top of even pages, I provide a "short title name" via the \chapter[short title]{long title} command. But then, "short title" appears in the…
Thomas ABBALLE
155
votes
9 answers

Can one TeX file output to multiple PDF files?

I'd like to be able to create a TeX file that will output multiple PDF files with one compilation. I'm not even sure if this is possible. Here is the setup: I am writing dozens of cover letters for job applications, and wish for them to all look…
Kristen
  • 5,003
155
votes
1 answer

Biblatex citation order

I'm facing a problem with biblatex citation order. Using this configuration: \documentclass…
Custodio
  • 1,653