Linked Questions

0 votes
0 answers

Compilation progress update for TikZ [duplicate]

Is there any way to turn on some sort of progress update for compilation using TikZ? I'm working on the fireworks question on a rather slow machine (ARM chromebook) and starting to have my doubts ...
  • 8,495
196 votes
23 answers

Are there any open research problems in the world of TeX?

For a year-long capstone project in computer science, I have to do some 'original research.' I'm still not entirely sure what this entails, but it just struck me that perhaps I can do research and ...
714 votes
2 answers

How to influence the position of float environments like figure and table in LaTeX?

How to influence the position of float environments like figure and table in LaTeX? This is a general question and should collect useful answers for all users. I hope we can use this as a reference
  • 94.3k
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 "...
124 votes
3 answers

How to best debug LaTeX?

..and I don't mean finding out why it doesn't compile, I mean serious debugging: breakpoints, figuring out value of variables at a given moment during run/compile, stepping, examining a stack (is ...
89 votes
3 answers

How to trace LaTeX errors efficiently?

One of the most annoying things about LaTeX is that handling errors can be cumbersome and nerve-racking. In fact, it is the main reason that keeps me from actively recommending LaTeX to most people (...
  • 2,397
37 votes
3 answers

Core TeX "Hello, world!"

As an experiment, I wish to write a manuscript in core TeX, which typesets the text "Hello, world!", and compile it without any format. If I was using the Plain TeX format, this program would be ...
  • 10.7k
31 votes
4 answers

What is the difference between 'macro' and 'command'?

Some people use the word 'macro' and 'command' interchangeably to refer to the instructions given to LaTeX. Is there a real difference between the two terms? If there is, can we see some examples on ...
48 votes
2 answers

Teach me to debug

Ok, 35 years of programming has not prepared me to debug tex errors. It's painful. I can't create an MWE because the point is to be able to debug in place. Everything was working well, I would ...
  • 1,441
20 votes
1 answer

What do \@mkboth and \markboth do?

What do the toc related commands \@mkboth and \markboth do?
  • 983
17 votes
2 answers

Does etoolbox's \ifboolexpr use lazy evaluation?

In other words, is bool{testB} evaluated at all in this example code? \newbool{testA} \newbool{testB} \booltrue{testA} \booltrue{testB} \ifboolexpr{ bool{testA} or bool{testB} }{OK}{Something's wrong....
  • 13.3k
7 votes
2 answers

How \if is handled?

In the following example \def\a... fails if \ifabc is false and \myif is not initialized before \def\a.... In contrast, if \ifabc is true, \myif may be initialized before or after \def\a.... It is ...
4 votes
1 answer

Underfull \vbox - how to find offending page?

I am compiling a large latex template, here, and always have a few underfull \vbox warnings. I know that they're just issues with the spacing, discussion here, but is there a way to configure the ...
  • 53
7 votes
1 answer

Logfile very large

Everytime I compile my file, I get a message from TeXstudio saying The logfile is very large (> 2 MB) are you sure you want to load it? This is mostly because I am updating the bibliography, while ...
  • 291
10 votes
1 answer

"show" family debugging commands

As discussed here, there are many commands which can be used to "debug" (La)TeX composing process. I also know that sometimes the \show command can be used to show the macro definitions. ...
  • 10.9k

15 30 50 per page