Bennett Helm wrote:

This sounds silly, but I've been through all the help files, and I can't see a way to underline some text.

Layout > Character > Misc > Underbar.

Better you use the package "soul": add the line

\usepackage{soul}

to the preamble and then use the command \ul in ERT.

The advantage of \ul is, that it is able to hyphenate and that is has the right spacing. E.g. if you underline the word "applying", you can see that the LyX-option underbar strikes out the lower parts of the letters p, y and g.
I attached a small file to demonstrate it.

regards Uwe

p.s. possibly you have to install "soul" in your LaTeX system before you can use it.

#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass article
\begin_preamble
\usepackage{soul}
\end_preamble
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 1
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation skip
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default
\bullet 1
        1
        34
        -1
\end_bullet
\bullet 2
        2
        35
        -1
\end_bullet
\bullet 3
        2
        7
        -1
\end_bullet

\layout Standard

with LyX menu: 
\bar under 
applying
\layout Standard

with 
\backslash 
ul: 
\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
ul{
\end_inset 

applying
\begin_inset ERT
status Collapsed

\layout Standard
}
\end_inset 


\the_end

Attachment: newfile2.dvi
Description: Binary data

Reply via email to