Tagged Questions
18
votes
2answers
4k views
What's the difference between \strut, \mathstrut and \vphantom?
What's the difference between \strut, \mathstrut and \vphantom? When would I prefer one of them to the others, and why?
26
votes
5answers
1k views
Confused with TeX terminology: height, depth, width
The LaTeX reference card states for example
\strut box w/ ht and depth of “(”, zero width
I came to see text as a two dimensional feature, but I must be missing out on something...
(following ...
23
votes
1answer
1k views
Definition of \strut explained
Can anyone explain me the fine details of the \strut macro. Why is the box \copyied in mathmode but \unhcopyied otherwise?
% latex.ltx, line 484, but identical in plainTeX
...
8
votes
5answers
2k views
Set \strut height
I'm using quite a few \colorbox and \colorfbox in a document but they weren't sitting at the same heights (because some words contained g and this seemed to push the box down.
The solution I found ...