Linked Questions

978 votes
99 answers

Showcase of beautiful typography done in TeX & friends

If you were asked to show examples of beautifully typeset documents in TeX & friends, what would you suggest? Preferably documents available online (I'm aware I could go to a bookstore and find ...
15 votes
2 answers

Do I need LaTeX?

I read that LaTeX is all about "typesetting". What does that mean? What is typesetting? I read some FAQs, they showed the code, not the output. Following are my needs and I am not sure whether ...
568 votes
67 answers

Nice scientific pictures show off

Task Show off your best scientific illustration ! The main purpose of this question is to share beautiful scientific pictures, preferably with an educational aspect. Content Your post must ...
344 votes
11 answers

What's the quickest way to write "2nd" "3rd" etc in LaTeX?

If I want to use abbreviations for second, third and so on in my LaTeX documents, I am currently doing this: 2$^{nd}$ which seems unsatisfactory. Is there a macro I'm missing? I'm sure I could define ...
340 votes
7 answers

Multi-line (block) comments in LaTeX

In LaTeX, % can be used for single-line comments. For multi-line comments, the following command is available in the verbatim package. \begin{comment} Commented code \end{comment} But is there a ...
119 votes
8 answers

Cunning (La)TeX tricks

Writing (La)TeX code sometimes requires a degree of guile. Here (in no particular order) are two of my favourite examples. Macros ending with spaces Pete asked how to see the implementation of \...
439 votes
12 answers

Commenting out large sections

To "comment out" a line, I need to insert a % at the beginning of the line (so that the line will not be compiled). Is there a way to comment out a large section without having to manually ...
0 votes
0 answers

Hook for outer par mode

Is it possible to execute macros after the correct mode is 'reached?' \documentclass{article} \usepackage{etoolbox} \usepackage{marginfix} \newcommand{\mymarginpar}[1]{\AfterEndEnvironment{figure}{\...
51 votes
3 answers

Can one (more or less) automatically suppress ligatures for certain words?

This question led to a new package: selnolig One of the major attractions -- for me at least -- of typesetting my papers in (La)TeX is its automated and fully transparent use of typographic ...
77 votes
8 answers

What is the easiest way to draw a 3D cube with TikZ?

I'm trying to find the easiest way to draw a 3D cube (it's for my UML diagram) with TikZ. Could you please give an example? Like this:
7 votes
1 answer

How to create attendance sheets?

Is there a package for creating sheets you fill out by handwriting? Like for example attendance sheets, a list of key borrowers, a sign-off sheet for dangerous stuff etc. Basically some sort of ...
18 votes
3 answers

Best way to part answers from solutions?

Now, if anyone could change the title into something better that would be great =) I am writing a rather long document, which contains plenty of integrals. I have a big list of integrals sorted in a ...
15 votes
4 answers

Different proofs in amsmath with different QED symbol?

I'm trying to expand the amsmath package to get two different proof environments: \begin{proof} ... \end{proof} and \begin{proof*} ... \end{proof*} so proof* should act exactly like proof except of ...
5 votes
1 answer

Any advanced example of layout designing with ConTeXt?

I'm looking for an advanced example of layout designing with ConTeXt? I've checked reference manual and few another docs from contextgarden, but they show only simple, elementary things. I'm ...
5 votes
2 answers

Trying to draw a coloured 3x3x3 cube using tikzpicture

I am trying to draw Rubik's cube in LateX, and I have used the code below. It all seems to work except for the front face, which for some reason isn't right. Does anyone know a solution for this ...

15 30 50 per page