# Tag Info

## New answers tagged best-practices

2

I don't know if I could claim "best practices," but here is an alternative for part of the drawing shown at the top. Note: the actual width and height of a node is the text width and height plus the inner sep. Also, I threw out a lot of unused code simply because I am anal retentive. The choice between lots of \draws or \nodes or lumping them together is ...

5

I have a little bit different opinion about \bgroup versus \begingroup than the previous answer. First, I give a short explanation about TeX internals: The { and } (more exactly the tokens with catcode 1 and 2) have four different meanings in TeX: they are the syntactic part of macro definitions: \def\foo...{...} each sequence of tokens scanned as single ...

0

I'd like to add my method. I have a file named AAA-test-file-for-TikZ-stuff.tex in my actual project's folder which has the exact same preamble as said main file, but only consists of \begin{document} \begin{center} aaa \end{center} \end{document} In case I want to create a graphics with TikZ or finish a large table, I replace aaa with the relevant ...

2

Forgetting to add fontenc package when using accent letters. \usepackage[T1]{fontenc}

4

My own take on this question is more about the mistakes beginners make because of us. I made too many shameful mistakes (and still do at times), but with my first private beta, I realised that many beginner mistakes were in fact my beginner LaTeX developer mistakes. They are still beginner mistakes – but I have a feeling of responsibility for a lot of them. ...

Top 50 recent answers are included