Most Popular
1500 questions
72
votes
2 answers
Two-column text with circular insert
How does one write on the outside of a circle?
I am looking for sample files/packages which imitate a magazine lay-out. Specifically a page with two columns having a circular picture between the two columns.
Example of the desired layout, created…
Maesumi
- 9,059
72
votes
2 answers
Alternatives to the physics package
The physics package is useful
A lot of my LaTeX documents make heavy use of the physics package. Aside from it overloading several standard commands (e.g. \sin, \abs, etc.), it also makes a few abbreviations very convenient (e.g. \order). It also…
oliversm
- 2,717
72
votes
11 answers
Double space between sentences
I've been reading a question on spaces between sentences on a sister site. The answers there seem to imply that the days of double spacing between sentences are over, and that this was a relic of the type-writer and mono-spaced fonts. I was a little…
Yossi Farjoun
- 13,274
- 10
- 74
- 96
72
votes
2 answers
Strutting around: What's the difference between \strut, \mathstrut and \vphantom?
What's the difference between \strut, \mathstrut and \vphantom? When would I prefer one of them to the others, and why?
einpoklum
- 12,311
72
votes
13 answers
Highlight elements in the matrix
I have a matrix and need to highlight some elements in the matrix. I have found how to highlight a single element (I want to put the cell in the square):
$$ A = \begin{bmatrix}
\fbox{0} & \fbox{0} & 0 \\
\fbox{0} & \fbox{0} & 0 \\
1 & 1 & 1 \\…
Eugene
- 721
72
votes
4 answers
What is good practice when preparing a package for CTAN?
I'm thinking of submitting a package to CTAN, and would like some hints which will help keep the path as smooth as possible for me, the CTAN administators, and the final users.
Please tell me what I should take care with in doing this. In…
Brent.Longborough
- 27,991
72
votes
1 answer
What is the difference between split, multline, align, breqn for breaking an equation into multiple lines?
Sorry, if this question sounds a bit amateurish, but I haven't been able to find a good summary about the differences between these four environments for multi-lining an equation. Where do they differ and which one should I choose under different…
xji
- 1,275
72
votes
4 answers
What package should I use to typeset units?
I know there are a few packages related to typesetting units:
unitsdef
units, which can be seen as a "base package" used by unitsdef
SIunits
siunitx, which is the successor to SIunits
maybe others? like cjwunits and hepunits
What is the difference…
Denilson Sá Maia
- 13,389
72
votes
3 answers
TikZ: Bend text so that it follows a line
I have two arrows going from a node on the left to a node on the right. Both arrows are slightly bent. I want to label the arrows with text that is bent just like the arrows. This is as far as I've got:
\begin{tikzpicture}
\node (One) at (-3,0)…
Speldosa
- 5,077
- 5
- 31
- 40
72
votes
7 answers
How to typeset function restrictions
I wonder how to typeset the restriction of a function to some subdomain, a la $f|_A$ or $f\restriction_A$ , but with the vertical bar being as big as possible.
Michael
- 821
72
votes
3 answers
What are the incompatibilities of pdftex, xetex and luatex?
[Please correct me if my statements are wrong]
TL;DR: pdftex, xetex and luatex exhibit different behaviour. What are these differences and why are they present.
I know of three engines, which implement TeX and support native PDF output: pdftex,…
Henri Menke
- 109,596
72
votes
1 answer
Is there a \subsubsubsection command?
I could do \subsection{} and \subsubsection{} but not \subsubsubsection{}. This command does not seem to be available in LaTeX. Is there an alternative command?
Naema
- 2,305
72
votes
2 answers
Please tutor the usage of patchcmd and xpatch
I understand that the patchcmd package provides a command \patchcommand that can be used
to add material at the beginning and/or end of the replacement text of an
existing macro. It works for macros with any number of normal arguments but has…
Masroor
- 17,842
71
votes
7 answers
Compiling only a page range or page selection
How do I easily compile only a page range or page selection? That is, I would like a document that
looks exactly like the full document,
has only the subset of pages that were manually chosen, by page number (this can be one contiguous range or a…
Lover of Structure
- 22,025
71
votes
3 answers
how to suppress "Underfull \vbox (badness 10000) ... while \output is active"?
when using an inflexible document class, one is often faced
with the warning
Underfull \vbox (badness 10000) has occurred while \output is active []
on pages that contain no display math.
in underfull \vbox
frank mittelbach quotes from the…
barbara beeton
- 88,848