Most Popular
1500 questions
68
votes
3 answers
Is the filename of an image preserved in the final PDF?
Yes or no questions are pretty rare here now that I think of it. My question is simply this:
When producing a PDF file with pdflatex or lualatex, is the original filename of an \includegraphics preserved in any way, shape or form in the final…
Christian
- 19,238
68
votes
2 answers
How to draw a double \hline in a table without interrupting vertical lines
I need to draw a double line after the first row in a table, but when using \hline twice, this interrupts the vertical lines:
\documentclass{article}
\begin{document}
\begin{tabular}{|c|c|c|}
\hline
1 & 2 & 3 \\ \hline \hline
4 & 5 & 6 \\ \hline
7…
Jelle
- 1,343
68
votes
2 answers
Is the tabu package obsolete?
When I stumbled upon tabu some time ago it looked quite interesting on a first glance and I intended to learn more about it when I have the time.
But, in the comments section of this question posted on the new german question and answer site…
Philipp
- 3,815
68
votes
4 answers
No spacing between enumerated items with \usepackage{enumerate}
I use this code now:
\documentclass[11pt]{article}
\usepackage{enumerate}
\begin{document}
\begin{enumerate}
\item a
\item b
\item c
\end{enumerate}
\end{document}
I want to decrease the line spacing between a,b,c. Can someone help me do this?
And…
user32451
- 973
68
votes
1 answer
Draw a diagonal arrow across an expression in a formula to show that it vanishes
I would like to find a way to cross out a term in a mathematical expression with a diagonal arrow pointing from lower left to upper right and with a little "zero" next to the pointy end of the arrow.
user3788
68
votes
3 answers
What is the difference between unicode-math and mathspec?
I'm currently typesetting my lecture notes for classical electrodynamics using the tufte-book class and XeLaTeX.
This is my first time using XeLaTeX and so I stumbled upon the two packages unicode-math and mathspec, when it came to include an…
Henri Menke
- 109,596
68
votes
4 answers
Change bullet style / formatting in Beamer
I like the Boadilla layout for Beamer presentations, but I find its enumerate bullet points illegible, as illustrated below (from the Beamer Theme Matrix).
How can I change the formatting of the bullet points in the enumerate environment to…
gotgenes
- 1,125
68
votes
2 answers
How to use A4 instead of letterpaper?
I am working with a template which uses letterpage. Yet I need it to be…
k0pernikus
- 785
68
votes
2 answers
minted vs. texments vs. verbments
Regarding the typesetting of syntax-colored source code, I know that listings is inferior because it doesn't utilize a full lexer. Instead the Python-based solution is recommended. It seems there are three packages to use the Python library pygments…
marczellm
- 11,809
67
votes
5 answers
67
votes
1 answer
Is there a left-handed equivalent of \implies?
I use the \implies and \iff command for right-handed implication and if and only if (so A=>B and A<=>B).
What’s a similar command for left-handed implication (i.e., A<=B)? I couldn’t find anything in Google or the documentation.
alexwlchan
- 5,417
67
votes
5 answers
How to write an m⨉n matrix in LaTeX?
I tried using the below code but it works only for 2⨉2 matrix.
\[
M=
\left[ {\begin{array}{cc}
1 & 2 \\
3 & 4 \\
\end{array} } \right]
\]
Now the following doesn't work for me:
\[
M=
\left[ {\begin{array}{cc}
1 & 2 & 3 & 4 &…
Teja
- 1,279
- 3
- 13
- 19
67
votes
1 answer
Why does Latex/Bibtex need three passes to clear up all warnings?
As explained by Andy Roberts, if you need to compile a new document with bibtex citations, then you need to run latex three times, and bibtex once:
latex document
bibtex document
latex document
latex document
Why can't latex figure this out itself,…
naught101
- 8,224
67
votes
4 answers
How can I change the font size in math equations?
I find that whenever I'm typing some equations into a document, and the equation gets a bit complex (let's say a fraction in a parentheses, squared, inside a square root, inside a fraction), the variables and whatnot that I put inside the "inner"…
wrongusername
- 3,319
67
votes
2 answers
Documentation reference for LaTeX internal commands?
This question led to a new package:
macros2e
Is there a place where I can find a reference of LaTeX internal commands? For example, just a few months ago I saw an answer using \@for and today I found about \@star@or@long. Is there a place where…
Juan A. Navarro
- 62,139
- 32
- 140
- 169