## LaTeX forum ⇒ Text Formatting ⇒ How to change space between letters, for extended words (kerning) ? Topic is solved

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Cham
Posts: 826
Joined: Sat Apr 02, 2011 4:06 pm

### How to change space between letters, for extended words (kerning) ?

I would like to add an extended effect to a warning sign in the margin. Here's a nice MWE example to work with :

\RequirePackage[l2tabu,orthodox]{nag}\documentclass[10pt,letterpaper,nofootinbib,notitlepage,tightenlines]{revtex4-1}\usepackage[total={6.5in,10in},centering,left=1in,top=0.75in,bottom=0.5in,includefoot]{geometry}\usepackage[T1]{fontenc}\usepackage{lmodern}\usepackage[dvipsnames,table]{xcolor}\usepackage{blindtext}\usepackage[printwatermark]{xwatermark} \begin{document} \section{Some section title} \Blindtext \newpage \blindtext \newwatermark*[allpages,angle=90,color=gray!25,scale=1.5,textalign=center,height=\paperheight,width=\paperwidth,xpos=-100,ypos=0]{\bfseries\sffamily TOP SECRET} \subsection{Subsection title} \Blindtext \end{document}

Now, the TOP SECRET warning on the left margin of the second page would be better looking if it was vertically extended a bit. How can I achieve this ? Is there an "extended" command in LaTeX ?

cgnieder
Site Moderator
Posts: 1978
Joined: Sat Apr 16, 2011 7:27 pm
Location: Germany
Contact:
Package microtype (which is always a good addition to a LaTeX document because of its many micro-typographic improvements even with its standard settings) provides \textls for this.

\RequirePackage[l2tabu,orthodox]{nag}\documentclass[10pt,letterpaper,nofootinbib,notitlepage,tightenlines]{revtex4-1}\usepackage[total={6.5in,10in},centering,left=1in,top=0.75in,bottom=0.5in,includefoot]{geometry}\usepackage[T1]{fontenc}\usepackage{lmodern}\usepackage[dvipsnames,table]{xcolor}\usepackage{blindtext}\usepackage[printwatermark]{xwatermark} \usepackage{microtype} \begin{document} \section{Some section title} \Blindtext \newpage \blindtext \newwatermark*[allpages,angle=90,color=gray!25,scale=1.5,textalign=center,height=\paperheight,width=\paperwidth,xpos=-100,ypos=0]{\bfseries\sffamily\textls[100]{TOP SECRET}} \subsection{Subsection title} \Blindtext \end{document}
Clemens
------------------------------
chemmacros · chemformula · leadsheets · xsim

Cham
Posts: 826
Joined: Sat Apr 02, 2011 4:06 pm
Wow ! Thanks a lot !

I do use always the microtype package in all of my LaTeX documents. Its fine tuning is great !