old-www/HOWTO/TeTeX-HOWTO-5.html

77 lines
3.0 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
<TITLE>The teTeX HOWTO: The Linux-teTeX Local Guide: LaTeX extension packages and other resources. </TITLE>
<LINK HREF="TeTeX-HOWTO-6.html" REL=next>
<LINK HREF="TeTeX-HOWTO-4.html" REL=previous>
<LINK HREF="TeTeX-HOWTO.html#toc5" REL=contents>
</HEAD>
<BODY>
<A HREF="TeTeX-HOWTO-6.html">Next</A>
<A HREF="TeTeX-HOWTO-4.html">Previous</A>
<A HREF="TeTeX-HOWTO.html#toc5">Contents</A>
<HR>
<H2><A NAME="latex-packages"></A> <A NAME="s5">5. LaTeX extension packages and other resources. </A></H2>
<P>We mentioned above that using underlining as a form of text emphasis
presents special problems. Actually, TeX has no problem underlining
text, because it is a convention of mathematical typesetting. In
LaTeX, you can underline words with the command:
<PRE>
\underline{text to be underlined}
</PRE>
The problem is that underlining will not break across lines, and, in
some circumstances, underlining can be uneven. However, there is a
LaTeX macro package, ready-made, that makes underlining the default
mode of text emphasis. It's called <CODE>ulem.sty</CODE>, and is one of
the many contributed LaTeX packages that are freely available via the
Internet.
<P>To use <CODE>ulem.sty</CODE>, include the command:
<PRE>
\usepackage{ulem}
</PRE>
in the document preamble.
<P>The packages which are available for LaTeX include:
<DL>
<DT><B>ifthen </B><DD><P>Include conditional statements in your documents.
<DT><B>initials </B><DD><P>Defines a font for initial dropped capitals.
<DT><B>sanskrit </B><DD><P>Font and preprocessor for producing documents in Sanskrit.
<DT><B>recipe </B><DD><P>A LaTeX2e class to typeset recipes.
<DT><B>refman </B><DD><P>Variant report and article styles.
</DL>
<P>To make the path given in the Catalogue into a fully-qualified URL,
concatenate the path to the host name URL and top-level path of the CTAN
archive you wish to contact. For example, the top-level CTAN
directory of the site
<A HREF="ftp://ftp.tex.ac.uk">ftp.tex.ac.uk</A> is <CODE>ctan/tex-archive</CODE>. The complete
URL of the directory of the <B>refman</B> package would be:
<PRE>
ftp://ftp.tex.ac.uk/ctan/tex-archive/ +
macros/latex/contrib/supported/refman =
ftp://ftp.tex.ac.uk/ctan/tex-archive/macros/latex/contrib/supported/refman/
</PRE>
Some packages have more than one file, so only the path to the
package's directory is given.
<P>When you have the URL in hand, you can retrieve the package from one
of the CTAN archive sites listed in section
<A HREF="TeTeX-HOWTO-8.html#ctan-list">Appendix A</A>. You can download a complete list of the archive's
contents as the file <CODE>FILES.byname</CODE>, in the archive's top-level
directory. You can also search the archive on line for a keyword with
the <CODE>ftp</CODE> command
<PRE>
quote site index &lt;keyword>
</PRE>
<P>
<P>
<HR>
<A HREF="TeTeX-HOWTO-6.html">Next</A>
<A HREF="TeTeX-HOWTO-4.html">Previous</A>
<A HREF="TeTeX-HOWTO.html#toc5">Contents</A>
</BODY>
</HTML>