2

I need to write a text where the letters are aligned with each other, I mean something like this :

enter image description here

however since usually not all letters occupy the same space, I get this:

enter image description here

is there some font where all uppercase letters have the same size? or is there maybe another way to do this?

3

Like Au101 already mentionend, texttt{your text} is your way to go. Actually it produces output similar to this one, so every letter has the same width.

You can use it as follows:

\documentclass{article}
\begin{document}
\texttt{your text - IN CAPITALS}

{\ttfamily yourtext no. 2}
\end{document}

An alternative would be {\ttfamily yourtext}

Depending on your use, this might be helpful: When should one use \verb and when \texttt

0

One way is to use the stretch optional argument to \makebox (or \framebox).

\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[margin=2cm]{geometry}

\newcommand*{\mybox}[2][5cm]{%
  % \framebox
  \makebox[#1][s]{#2}}

\begin{document}

\mybox[3cm]{M I C H I G A N} \hfill \mybox{T E C H N O L O G I C A L} \hfill \mybox[4cm]{U N I V E R S I T Y}

\mybox[3cm]{H O U G T O N} \hfill \mybox{H O U G H T O N H O U G H} \hfill \mybox[4cm]{T O N H O U G H N T O}

\end{document}
  • This is the 'other' way for when a monospaced font is inappropriate. – jon Dec 25 '16 at 18:07
  • That took a bit more space than I intended but it worked too, thanks – DS_UNI Dec 25 '16 at 21:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.