Search This Blog

Most Viewed

Saturday, April 28, 2012

Manual Sizing In Latex

Latex is not giving us freedom of manual text font sizing. But there is a command which can be useful to us for manual sizing the text in latex.



Sometimes the question is raised how to get bigger font sizes than the standard LaTeX command \Huge provides (see: font sizes).
It can easily done by using the \fontsize command followed by \selectfont. If unusual sizes are used the fix-cm package should be loaded.


\fontsize{36}{42}\selectfont


Don't forget to use the \textbackslash selectfont command to activate the new font size. The second argument of the \fontsize command is the interlinear space and should have about additional 20% of the first value.


\documentclass[a4paper,10pt]{article}
\usepackage{fix-cm}
\begin{document}
\fontsize{60}{70}\selectfont Pushpkant Yadav
\end{document}

Popular Posts