7

Possible Duplicate:
How do I create an invisible character?

How can I insert an invisible character (similar to \strut) which has a width of zero (won't impact word or letter spacing) and has a height equal to the height of an uppercase letter in currently selected font?

Village
  • 13,603
  • 23
  • 116
  • 219

1 Answers1

10

You can use \vphantom{<some uppercase letter>} for this:

\documentclass{article}
\begin{document}
\begin{minipage}{1cm}
\fbox{aaaa}\fbox{aaAa}\fbox{aaaa}
\fbox{aaaa}\fbox{aaAa}\fbox{aaaa\vphantom{A}}
\end{minipage}
\end{document}
Jake
  • 232,450