Tagged Questions
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 ...
5
votes
1answer
4k views
\colorbox{color}{text} without increasing the height and width of the cell in a table
When using \colorbox{color}{text} to put background color for the text in a table, the text with background color seems to take more space and makes the respective cell higher and wider. Is there a ...
6
votes
3answers
595 views
Why are box dimension assignments both local and global?
Consider the following code.
\setbox0 \hbox{XXX}
\fbox{\copy0}
{
\setbox0\hbox{ZZZ}
{\wd0 0pt}
\fbox{\copy0}
}
\fbox{\box0}
This produces three ruled boxes. The two XXXs ...