Most Popular
1500 questions
74
votes
7 answers
Soviet Union Postal-code-style digits in Latex
For some problem for textbook I need the digits 0...9 like in zip-codes on the Soviet-Union postal envelopes,
like this
Does anybody know the possible font or package for getting them in LaTeX?
Thanks
torcli
- 601
74
votes
4 answers
Determine text width
For sizing figures in LaTeX it's helpful to know how wide the text is so that figures can be sized to match without rescaling. LaTeX provides \textwidth for reference by other commands, e.g.
\includegraphics[width=\textwidth]{figure}
but including…
blahdiblah
- 2,196
74
votes
6 answers
How do you draw the "snake" arrow for the connecting homomorphism in the snake lemma?
How does one draw the "snake" arrow for the connecting homomorphism when using the snake lemma?
I'd also be interested in drawing similar arrows act as "carriage returns" when considering a long exact sequence of cohomology.
I'm sorry if this is a…
James Weigandt
- 843
74
votes
3 answers
Drawing simple 3D cylinders in TikZ
I'm trying to draw some simple 3D objects in TikZ. I can do spheres and cuboids okay, but I'm struggling with circular cylinders: When rotating the scene (I use tikz-3dplot for this), the end faces have to be transformed from circles into ellipses.…
Jake
- 232,450
74
votes
10 answers
Preparing PDF files for ebook readers, etc.
People are nowadays increasingly often reading papers on screen, using ebook readers, tablet PCs, laptops, etc. A typical PDF file generated with Latex is far from ideal for such use; in particular, there is a lot of empty space around the text.
Of…
Jukka Suomela
- 20,795
- 13
- 74
- 91
74
votes
1 answer
How to use \includegraphics?
I am sorry if my question is too silly, I am totally new to LaTeX.
I have just downloaded TeXstudio 2 days ago and am trying to include some figures/images in the document. I found out about the \includegraphics command but cannot understand how it…
BigbearZzz
- 883
74
votes
4 answers
When one should use spacing line \quad or \,
In general, in most places, it is said that using TeX defaults is the best. However, TeX does provide things like \, and \quad etc. When one should use them? Both in general and in math mode in particular.
Dror
- 22,613
74
votes
3 answers
How to add a page number to the included PDF pages?
I'm creating a documentation with some included pdf files (mostly diagrams or tables) in the following way.
\includepdf[pages=1-10, angle=90]{requirements/Requirements.pdf}
The command "includepdf" is supported by the package "pdfpages".
My…
Mariano
- 843
74
votes
4 answers
How to draw a line passing through a point and perpendicular to another?
I'm having a bit of a headache right now as I can't draw this basic figure:
A straight line goes through points A and B. Another line is perpendicular to AB and goes through an arbitrary point P.
I fiddled with the |- operator but it only seems to…
megamoustache
- 865
74
votes
4 answers
What are category codes?
Following on from this question, I'd like to ask a more general question:
What are category codes, and what can I achieve by changing them?
Seamus
- 73,242
74
votes
6 answers
Evaluation of Differentiation and Integration
I was having some thought about what would be the syntax to make the end point evaluation of derivatives or integrals. Such as making the | with the two end points of evaluation on the top an bottom of the line. Any suggestions would be wonderful.
night owl
- 7,593
74
votes
4 answers
What is "expansion"?
I'm relatively new to (La)TeX, but I have a reasonable amount of experience with computational programming languages. Until I began learning (La)TeX, I'd never heard of "expansion"...
So, what is "expansion"? To be clear, I'm not asking how to use…
jasonglassbrook
- 703
74
votes
1 answer
What's the difference between \path and \draw in Tikz?
The question is in the title: What is the difference between the commands \path and \draw in Tikz? The PGF and TikZ manual by Till Tantau tells me (on page 26 of the current version) that “\draw is just a shorthand for \path[draw]”.
In some of the…
Olivier Bégassat
- 2,251
74
votes
3 answers
How to put a line-break in section heading?
I have some section headings occupying two lines and I'm not satisfied with the way XeLaTeX breaks the heading. If I manually add \\ the output looks fine, but I get the following warning:
[hyperref] Token not allowed in a PDF string…
Bruno
- 2,060
74
votes
4 answers
Line breaks of long URLs in biblatex bibliography?
I have some long URLs which doesn't contain special "line break characters" like "-" or "/". How can I automatically break these URLs?
\documentclass{scrreprt}
\usepackage[ngerman]{babel}
\usepackage[latin1]{inputenc} …
user4811
- 4,185