[texhax] Sir, please can you help me?

Heiko Oberdiek heiko.oberdiek at googlemail.com
Fri Oct 1 07:07:13 CEST 2010


On Thu, Sep 30, 2010 at 08:39:28PM -0700, Raju Grover wrote:

> If I write \underline{p} I get it
> [...]
> I mean I want that line to cross the tail of p, and not be below it.

* ulem.sty

% plain TeX
\input ulem.sty
\ULdepth=.4pt
\uline{important} \uline{urgent} \uline{hello world}

% LaTeX
\documentclass[12pt]{article}
\usepackage{ulem}
\setlength{\ULdepth}{.4pt}
\begin{document}
\uline{important} \uline{urgent} \uline{hello world}
\end{document}

* soul.sty

% LaTeX
\documentclass[12pt]{article}
\usepackage{soul}
\setul{0pt}{}
\begin{document}
\ul{important} \ul{urgent} \ul{hello world}
\end{document}

Yours sincerely
  Heiko Oberdiek


More information about the texhax mailing list