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 ...
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 ...
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 ...
user5419's user avatar
  • 4,493
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 ...
Seamus's user avatar
  • 72.5k
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 ...
Arindam Pal's user avatar
  • 3,761
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 \...
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:
yegor256's user avatar
  • 11.5k
69 votes
7 answers

How to add some visual style and pizzazz to course notes?

LaTeX is wonderful for writing mathematical papers, but while the output is perfectly typeset it is not visually very exciting. And although it may just be "familiarity breeds contempt", I am ...
Gordon Royle's user avatar
79 votes
2 answers

How to keep a constant baselineskip when using minipages (or \parboxes)?

When a minipage is used to box a text paragraph, the first line of the minipaged text and the last line of the previous text paragraph are closer than two consecutive lines in a standard text ...
Gonzalo Medina's user avatar
22 votes
5 answers

What is missing in LaTeX?

I have been reading this article and started to think about the position of LaTeX amongst the current competitors. Currently, I am using it (or XeTeX) even for ‘casual writing’ and sometimes I spend ...
Harold Cavendish's user avatar
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 ...
Mico's user avatar
  • 490k
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 ...
Frank's user avatar
  • 501
28 votes
2 answers

Porting the luatex/ConTeXt module "translate" to lualatex

In this question, which I posted a few weeks ago to TeX Stack Exchange, I asked how one should go about disabling specific ligatures (such as ff, fi, fl, and ffl) automatically for a list of pre-...
Mico's user avatar
  • 490k
21 votes
2 answers

Block comments with *% and %*

I know the package comment which allows to use : \begin{comment} Lines to comment \end{comment} This is not very friendly to use. I would like to have the following possibility: *% Lines to comment ...
projetmbc's user avatar
  • 13.4k
11 votes
4 answers

LaTeX template for book reading?

Is there any LaTeX template such that in each section I can write down my reading notes ......?
user10130's user avatar
  • 221

15 30 50 per page