TeXnik - Tips TeX and LaTeX


Welcome to the TeXnik website (under construction)

First Word in greater Fontsize
TUG logo

Main page

Index
UK FAQ
Documentation
Software
CTAN
Search CTAN:

Statistics

Google c.t.t.

Google d.c.t.t.

 


 


By default the textlines are aligned to the bottom of all letters, independent from their sizes. If you want all text aligned to the top of the biggest letter, than choose the command \highbox{any text}{sizecommand}:

the LaTeXcode

\newlength{\normalheight} 
\setlength{\normalheight}{7pt} 
\newsavebox{\mybox} 
\newcommand{\highbox}[2]{%
\savebox{\mybox}{#2#1}%
\raisebox{\normalheight-\ht\mybox}{#2#1}} 
An example:
\highbox{Hello,}{\Huge}

local time: Sat Aug 24 02:11:03 CEST 2019 ; file is: 58.3476851851852 days old
contact webmaster _at_ TeXnik.de