1.3 LaTeX Packages

1.3.1 amsmath
1.3.2 dcolumn
1.3.3 float
1.3.4 fontenc
1.3.5 german
1.3.6 graphics
1.3.7 hyperref
1.3.8 inputenc
1.3.9 KOMA-Script
1.3.10 mathpazo
1.3.11 varioref
1.3.12 Several Small Packages

1.3.1 amsmath

amsmath consists of several packages to aid in typesetting math.

\boldsymbol

Produces a bold math symbol. When not only a single symbol, but a complete equation has to be bold you might consider using the superior \bm command which takes better care of spacing.

\pmb

Can be used for mathematic symbols, when no bold version is available. It prints the standard symbol several times slightly shifted and is inferior to a real bold font!

1.3.2 dcolumn

\usepackage{dcolumn}

Defines a system for defining columns of entries in an array or tabular which are to be aligned on a decimal point.

This package defines D to be a column specifier with three arguments:

D{sep.tex}{sep.dvi}{decimal places}

sep.tex should be a single character, this is used as the separator in the .tex file. It will usually be '.' or ','.

sep.dvi is used as the separator in the output.

decimal places should be the maximum number of decimal places in the column.

\newcolumntype can be used to define own column types.

1.3.3 float

Note

The contents of this section was taken from the documentation of float v1.3d of 2001/11/08.

This style option improves the interface for defining objects such as figures and tabels in LaTeX. It adds the notion of a float style that governs the appearance of floats.

\newfloat{<placement>}{<ext>}[<within>]

Add a new class of floats.

\floatstyle{<style>}

Sets a default float style.

\floatname{<style>}{<name>}

Define the float name used in the caption of a float.

\floatplacement{<>}{<placement>}

Resets the default placement specifier of a class of floats.

\restylefloat<style>

Change styles for the standard float types figure and table.

\listof{<type>}{<title>}

Produces a list of all floats of a given class.

1.3.4 fontenc

\usepackage[T1]{fontenc}

chooses T1-fonts and allows correct automatic hyphenation.

1.3.5 german

Das german Paket muß geladen sein:

"a

erzeugt ein ä

entsprechend "o, "u, "A, "O, "U, "s (ß)

"ck

wird bei Trennung zu k-k

"ff

wird bei Trennung zu ff-f

entsprechend "ll, "mm, "pp, "rr, "tt

\glqq

oder "` erzeugt untere doppelte Anführungszeichen

\grqq

oder "' erzeugt obere doppelte Anführungszeichen

\glq

erzeugt untere einfache Anführungszeichen

\flqq

oder "< doppelte linke französische Anführungszeichen

\frqq

oder "> doppelte rechte französische Anführungszeichen

\flq

einfache linke französische Anführungszeichen

\frq

einfache rechte französische Anführungszeichen

"|

verhindert eine Ligatur an der Stelle

\-

markiert mögliche Trennstelle, im restlichen Wort ist keine Trennung mehr möglich

"-

Trennvorschlag, der Rest des Wortes kann noch automatisch getrennt werden

""

Trennvorschlag, bei dem bei einer Trennung kein Bindestrich eingefügt wird

"~

Bindestrich, an dem nicht getrennt werden darf

"=

Bindestrich, an dem getrennt werden darf

\dq

erzeugt ein nicht-typographisches gerades Anführungszeichen

\texttt{\dq}
<

oder \dq ergibt das Zoll-Zeichen

1.3.6 graphics

Look up details in grfguide.

1.3.6.1 \includegraphics

\includegraphics[]{picture-name}

File extensions of the graphics should be omitted, so it's easier to change the format (for example for pdf or ps output).

1.3.6.2 \graphicspath

\graphicspath{dir-list}

dir-list is a list of absolute or relative paths, where the command \includegraphics{} searches for the graphic files:

\graphicspath{{eps/}{tiff/}} would cause the system to look in the subdirectories eps and tiff of the current directory. This is unix syntax, on a Mac it would be:

\graphicspath{{:eps:}{:tiff:}}

Under Windows/DOS use also the slash / to separate directories. Not all tex installations can handle filenames with spaces. So it's better to avoid them.

1.3.7 hyperref

For more infos read in the book LaTeX Web Companion or Mit LaTeX ins Web.

1.3.7.1 Options

4

use Acrobat 4 features (default: false).

a4paper, a5paper, b5paper, legalpaper, letterpaper, executivepaper

use the specified paper size.

anchorcolor

set color of anchors (default: black).

backref

do bibliographical back references (default: false).

baseurl

set base URL for document (default: empty).

bookmarks

make bookmarks (default: true).

bookmarksnumbered

put section numbers in bookmarks (default: false).

bookmarksopen

open up bookmark tree (default: false).

bookmarksopenlevel

level to which bookmarks are open (default: \maxdimen).

bookmarkstype

to specify which `toc' file to mimic toc.

breaklinks

allow links to break over lines (default: false).

citebordercolor

color of border around cites (default: 0 1 0).

citecolor

color of citation links (default: green).

colorlinks

color links (default: false).

debug

provide details of anchors defined (same as verbose, default: false).

draft

do not do any hyper linking (default: false).

dvipdf, dvipdfm, dvips, dvipsone, dviwindo, hypertex, latex2html, pdftex, tex4ht, textures, ps2pdf, vtex,

use the specified backend.

extension

suffix of linked files (default: dvi).

filebordercolor

color of border around file links (default: 0 .5 .5).

filecolor

color of file links (default: cyan).

frenchlinks

use small caps instead of color for links (default: false).

hyperfigures

make figures hyper links (default: false).

hyperindex

set up hyperlinked indices (default: true).

hypertexnames

use guessable names for links (default: true).

implicit

redefine LaTeX internals (default: true).

linkbordercolor

color of border around links (default: 1 0 0).

linkcolor

color of links (default: red).

linktocpage

make page number, not text, be link on TOC, LOF and LOT (default: false).

menubordercolor

color of border around menu links (default: 1 0 0).

menucolor

color for menu links (default: red).

naturalnames

use LaTeX-computed names for links (default: false).

nesting

allow nesting of links (default: false).

pageanchor

put an anchor on every page (default: true).

pagebackref

backreference by page number (default: false).

pagebordercolor

color of border around page links (default: 1 1 0).

pagecolor

color of page links (default: red).

pdfauthor

text for PDF Author field (default: empty).

pdfborder

width of PDF link border (default: 0 0 1; 0 0 0 for colorlinks)

pdfcenterwindow

position the document window center of the screen (default: false).

pdfcreator

text for PDF Creator field (default: LaTeX with hyperref package).

pdffitwindow

resize document window to fit document size (default: false).

pdfhighlight

set highlighting of PDF links (default: /I).

pdfkeywords

text for PDF Keywords field (default: empty).

pdfmenubar

make PDF viewer's menu bar visible (default: true).

pdfnewwindow

make links that open another PDF file start a new window (default: false).

pdfpagelayout

set layout of PDF pages (default: empty).

pdfpagemode

set default mode of PDF display (default: empty).

pdfpagescrop

set crop size of PDF document (default: empty).

pdfpagetransition

set PDF page transition style (default: empty).

pdfproducer

text for PDF Producer field (default: empty).

pdfstartpage

page at which PDF document opens (default: 1).

pdfstartview

starting view of PDF document (default: /Fit).

pdfsubject

text for PDF Subject field (default: empty).

pdftitle

text for PDF Title field(default: empty).

pdftoolbar

make PDF toolbar visible (default: true).

pdfview

PDF `view' when on link traversal (default: empty).

pdfwindowui

make PDF user interface elements visible (default: true).

plainpages

do page number anchors as plain arabic (default: true).

raiselinks

raise up links (for HyperTeX backend; default: false).

runbordercolor

color of border around run links (default: 0 .7 .7).

unicode

Unicode encoded pdf strings (default: true).

urlbordercolor

color of border around URL links (default: 0 1 1).

urlcolor

color of URL links (default: magenta).

verbose

be chatty (default: false).

1.3.7.2 Commands

\texorpdfstring{TeX-string}{pdf-string}

allows different texts for PDF or TeX creation.

\section{The role of \texorpdfstring{H$_2$O}{water}}
\href{URL}{Text}

the text will be resolved into a URL. The URL must be complete, according to a base-url which might be defined in a \hyperbaseurl.

\href{http://www.karpfenteich.net/pit/}{Peter's input tips}
\hyperbaseurl{URL}

defines a base URL, which is preset to a given URL. This helps to make portable documents.

\hyperimage{image-URL}

includes the picture of the URL reference.

\hyperref{URL}{category}{name}{text}, \hyperref[mark]{text},

text is activated as a hyperlink to the point which is defined with a \label command with the symbolic name mark.

\hyperlink{name}{text}, \hyertarget{name}{text},

\hyperlink creates an internal link to an object which is somewhere defined with a \hypertarget command.

For HTML the command \hyperlink inserts a # character in front of each link. Thus it'll refer to the topical document, while \href will expect a complete URL.

\autoref{marker}

\autoref is a substitution for the standard \ref command. It inserts a context sensitive phrase.

see \autoref{foo}

for a \label in a section will output see section 3 for an example.

There are macros to change the default output with the help of the \renewcommand:

\figurename             *\figurename*
\tablename              *\tablename*
\partname               *\partname*
\appendixname           *\appendixname*
\equationname           *\equationname*
\Itemname               *\Itemname*
\chaptername            *\chaptername*
\sectionname            *\sectionname*
\subsectionname         *\subsesctionname*
\subsubsectionname      *\subsubsectionname*
\paragraphname          *\paragraphname*
\Hfootnotename          *\Hfootnotename*
\AMSname                *\AMSname*
\theoremname            *\theoremname*
\nolinkurl

Allows line breaks in a verbatim like environment like \url, but without the hyperlink function. This is useful to define own commands like this example:

\newcommand*{\urlw}[1]{\href{http://www.#1}%
            {\nolinkurl{www.#1}}}

This new defined command \urlw allows the user to typeset a linkable (this function is offered by \href) www.example.org address in the latex source like this:

\urlw{example.org}

This will produce the string www.example.org which is hyperlinked and breakable (when the driver like pdfTeX allows line breaks in links).

1.3.8 inputenc

\usepackage[encoding name]{inputenc}

Allows to specify an input encoding for direct input of character codes > 127, e.g. accented characters.

Important encodings are:

latin9, latin1

Linux, Unix, VMS

ansinew

Windows (codepage 1252)

cp850

OS/2, MSDOS (codpage 850)

applemac

Apple Macintosh

1.3.9 KOMA-Script

The KOMA-Script package has a very detailed and well written documentation. Read the scrguide for further information! :-)

1.3.9.1 Page-Layout

\typearea[BCOR]{DIV}

\areaset[BCOR]{Breite}{Höhe}

1.3.9.2 Options

headinclude, headexclude, footinclude, footexclude,

will determine if headers and footers are used in the calculation of the page size. Default is exclude. Include will make the text area smaller.

DIV

is a factor which determins how large the used page size is. This method takes care of good typography.

Try values between 10 and 15. Higher values will cause smaller margins. An example would be: DIV12.

BCOR

Binding correction. Takes care of the loss of the visible paper size when the paper is cut and a book is bound.

1.3.9.3 Letter Class scrlttr2

This reference is based on the excellent scrguien.pdf from 2002-09-06.

Options
Defining Options Later
\KOMAoptions{options list}
Use this to change options after loading the class. List single or multiple options, separated by commas.
Page Layout Options
paper=format
Defines the paper format.
BCOR=length, DIV=value, headlines=count,
Divisor, binding correction, and number of headlines.
enlargefirstpage
If true some more text would fit on the first page
Other Layout Options
twoside
Activate possibilities of a double-sided document, but stay with with the one-sided layout as far as possible.
cleardoublepage=style

Inserted pages by \cleardoublepage get one of these page styles:

  • empty
  • plain
  • standard
headsepline, footsepline,
Insert a separator line below the head or above the foot.
mpinclude, mpexclude,
These two options of the typearea package should not be used with scrlttr2.
pagenumber=position

This option defines if and where a page number will be placed. Possible values are:

bot, foot,
Page number in foot, horizontal position not changed
botcenter, botcentered, botmiddle, footcenter, footcentered, footmiddle,
Page number infoot,centered
botleft, footleft,
Page number in foot, left justified
botrigth, footright,
Page number in foot, right justified
center, centered, middle,
Page number centered horizontally, vertical position not changed
false, no, off,
No page number
head, top,
Page number in head, horizontal position not changed
headcenter, headcentered, headmiddle, topcenter, topcentered, topmiddle,
Page number in head, centered
headleft, topleft,
Page number in head, left justified
headright, topright,
Page number in head, right justified
left
Page number left, vertical position not changed
right
Page number right, vertical position not changed

Default is botcenter

parskip=value

Mark paragraphs alternatively by vertical skip. Possible values are:

false, off,
Paragraph indentation instead of verticalk space
full, on, true,
One line vertical space between paragraphs; at least 1 em free space in the last line.
full*
One line vertical space betwen paragraphs; at least a quarter of a line free space at the end of a paragraph.
full+
One line vertical space betwen paragraphs; at least a third of aline free space at the end of a paragraph.
full-
One line vertical space betwen paragraphs; last line of a paragraph may be arbitrarily filled.
half
Half a line vertical space between paragraphs; at least 1 em free space in the last line.
half*
Half a line vertical space between paragraphs; at least a quarter of a line free space at the end of a paragraph.
half+
Half a line vertical space between paragraphs; at least a third of a line free space at the end of a paragraph.
half-
One line vertical space between paragraphs; last line may be arbitrarily filled.

Default is false.

Font Options
fontsize=size
Font size of the document. Defaults to 12pt.
Options for Letterhead and Address
fromalign

Defines the placement of the from address in the letterhead. Possible values are:

center, centered, middle,
Return address centered.
false, no, off,
Standard design for return address.
left
Left justified return address.
rigth
Right justified return address.

Default is left

fromrule

Allows to place a horizontal rule within return address. Possible values are:

afteraddress, below, true, yes,
Line below return address
aftername
Line right below sender's name
false, no, off,
No line.

Default is false.

fromphone
Defines whether the phone number will be part of the return address.
fromfax
Defines whether the facsimile number will be part of the return address.
fromemail
Defines whether the email address will be part of the return address.
fromurl
Defines whether the URL will be part of the return address.
fromlogo
Defines whether the logo will be part of the return address.
addrfield
Defines whether a return address field will be set.
backaddress
Defines whether a return address for window envelopes will be set.
subject

Choose of your subject should have a title and if the subject should be set before or after the opening. Possible values are:

afteropening
Set subject after opening.
beforeopening
Set subject before opening.
titled
Add title to subject.
untitled
Do not add title to subject.

Defaults are beforeopening and untitled.

locfield

Toggle between presets for the field width of additionbal sender attributes.

narrow
Small sender supplement field.
wide
Wide sender supplement field.

Default is narrow.

foldmarks
Activates fold marks.
numericaldate
Toggles between standard, language-dependent date presentation and a short, numerical one.
refline
Defines that the reference line may extend beyond the normal type area.
Format Options
draft
Toggles between the final and the draft version.
Letter Class Option Files
\LoadLetterOption{name}

Load a lco file. name is the filename without suffix.

Predefined lco files:

DIN
For A4 size paper, complying with DIN 676.
DINmtext
For A4 size paper, complying with DIN 676, but using an alternate layout with more text on the first page.
KOMAold
Fo AQ4 paper size using a layout close to the obsolete scrlettr class.
SN
For Swiss letters with address field on the right side, according to SN 010 130
SNleft
For Swiss letters with address field on the left side.
\LetterOptionNeedsPaperSize{option name}{paper size}
Useful to be abel to emit warnings if the user selects a different paper size from the one the lco file is based on.
General Document Properties
Font Selection

See also the section for Changing Fonts in KOMA-Script (still to be written).

backaddress
Back address for a window envelope
descriptionlabel
Label in a description environment
fromaddress
Sender's address in letterhead
fromname
Sender's address in letterhead if different from fromaddress
pagefoot
Footer, sometimes header of a page
pagehead
Header, sometimes footer of a page
pagenumber
Page number in footer or header
subject
Subject in the opening
title
Headline in the opening
Page Style

See also the section for Page Style in KOMA-Script (still to be written).

empty
Entirely empty headers and footers
plain
Empty head and and only page number in header or footer
headings
Automatic page headings
myheadings
Manual page headings
Variables

The main difference between a command and a variable is that a command usually triggers an action whereas a variable only consists of plain text. Furthermore a variable can have an additional description.

\newkomavar[description]{name}, \newkomavar*[description]{name}, \addtoreffields{name},

\newkomavar defines a new variable, addressed with name.

The command \addtoreffields adds the variable name to the reference fields. See section Business Line.

The command \newkomavar* works like \newkomavar with an additional call of the command \addtoreffields.

Overview of all variables:

backaddress

Back address for window envelopes

backaddressseparator

Separator within the back address

ccseparator

Separator between title of additional recipients and additional recipients

customer

Customer number

date

Date

emailseparator

Separator between e-mail name and e-mail address

enclseparator

Separator between title of enclosure and and enclosures

faxseparator

Separator between title of fax and fax number

fromaddress

Sender's address without its name

frombank

Sender's bank account

fromemail

Sender's e-mail

fromfax

Sender's fax number

fromlogo

Commands for inserting the sender's logo

fromname

Complete name of the sender

fromphone

Sender's telephone number

fromurl

URL of the sender

invoice

Invoice number

location

More details of the sender

myref

Sender's reference

place

Place

placeseparator

Separator between place and date

phoneseparator

Separator between title of telephone and telephone number

signature

Signature beneath the ending of the letter

specialmail

Special mail

subject

Subject

subjectseparator

Separator between title of subject and subject

title

Letter title

toname

Complete name of recipient

toaddress

Address of recipient without its name

yourmail

Date of recipient's mail

yourref

Recipient's reference

\setkomavar{name}[description]{content}, \setkomavar*{name}{description},

\setkomavar sets the content of the variable name. The optional argument sets the description of the variable.

\setkomavar* only sets the description.

\usekomavar[command]{name}, \usekomavar*[command]{name},

\usekomavar gives you access to the content of the variable name.

\usekomavar* gives you access to the description of the variable name.

\ifkomavarempty{name}{true}{false}, \ifkomavarempty*{name}{true}{false},

The true argument will be executed if the content or description is empty. Otherwise the false argument will be executed.

The starred version handles the description of a variable, the variant without star the content.

Pseudo Lengths
\@newplength{name}
Defines a new pseudo length
\useplength{name}
Access value of pseudo length name
\setlengthtoplength[factor]{length}{pseudo length} , \addtolengthplength[factor]{length}{pseudo length} ,
Assign a multiple of pseudo length to a real length. Adds a multiple of pseudo length to length.
\@setplength[factor]{pseudo length}{value} , \@addtoplength[factor]{pseudo length}{value} ,
Assign a multiple of a value to a pseudo length. Adds value to pseudo length.
Letter Declaration
Letterhead
firstheadvpos
Distance between the top of the sheet and the letterhead.
firstheadwidth
Width of the letterhead.
fromname, fromaddress, fromphone, fromfax, fromemail, fromurl, fromlogo,
This variables give all statements concerning the sender necessary to create the letterhead.
phoneseparator, faxseparator, emailseparator, urlseparator,
Separators for variables in letterhead.
\firsthead{construction}
Create letterhead freely.
Footer
firstfootvpos
Distance between footer and upper border of the sheet.
firstfootwidth
Width of letter's firstpage footer.
\firstfoot{Construction}
Set definition for first page's footer
Address
toaddrvpos, toaddrhpos,
Distance between address window of a window envelope and the upper and left border of the sheet.
toaddrwidth
Width of the address window.
toaddrindent
Value of indentation for the address from the left border.
backaddress, backaddressseparator, backaddrheight,
Double backslashes within return address will be exchanged with backaddressseparator. Height of the return address field.
specialmail, specialmailindent, specialmailrightindent,
Optionally set between return address and addressee. specialmailindent and specialmailrightindent determine left and right indentation.
toname, toaddress,
Usually not set directly by the user.
\begin{letter}[options]{address}
Major point of the letter class.
\AtBeginLetter{command}
Hook for commands run at begin of a letter.
Sender's Extension
locwidth
Declares width of sender's extensions.
location
Content of sender's extension.
Business Line
refvpos
Distance between upper border of sheet and business line.
refwidth
Available width for the business line.
refaftervskip
Vertical space to be inserted beneath business line.
place, placeseparator,
If all variables for business line are empty, the content of place and placeseparator will be set, followed by content of date.
yourref, yourmail, myref, customer, invoice, date,
Typical fields for business lines.
Title and Subject Line
title
Additional tile. Set centered beneath the business line.
subject, subjectseparator,
Set the subject of the letter, optional prefixed by a label.
Further Issues
tfoldmarkvpos, bfoldmarkvpos,
Position of upper and lower fold mark.
foldmarkhpos
Distance between fold marks and the sheet's left border.
frombank
Internally not used yet.
\nexthead{construction}, \nextfoot{construction},
Create letter head or foot for the following pages freely.
The Text
Opening
\opening{opening}
Set the opening of the letter.
Footnotes

See section Footnotes in KOMA-Script (still to be written).

Lists

See section Lists in KOMA-Script (still to be written).

Margin Notes

See section Margin Notes in KOMA-Script (still to be written).

Text Emphasis

See section Logical Markup of Text in KOMA-Script (still to be written).

Closing Part
Closing
signature
Inlcudes an explanation for the inscription. Defaults to \usekomavar{fromname}.
\closing{closing phrase}
Typesets the colsing phrase follwoed by a vertical space and the contents fo variable signature.
sigindent, sigbeforevskip, \raggedsignature,
Indentation of the box for closing phrase, inscription and signature (defaults to 0mm). Vertical space between closing phrase and signature (defaults to two lines). Alignment inside the box.
Postscript, Carbon Copy, and Enclosures
\ps
Set a postscript.
\cc{distribution list}, ccseparator,
Set a ddistribution list. If the contents of ccseparator isn't empty then the name and the content of the variable is inserted prior to distribution list.
\encl{enclosures}, enclseparator,
Same structur as the distribution list.
Language Support
Language Selection
\captionenglish, \captionUSenglish, \captionamerican, \captionbritish, \captionUKenglish, \captiongerman, \captionngerman, \captionaustrian, \captionfrench, \captionitalian, \captionspanish, \captiondutch, \captioncroatian,
If the used language selection scheme does not support switching the language the above commands can be used directly.
\dateenglish, \dateUSenglish, \dateamerican, \datebritish, \dateUKenglish, \dategerman, \datengerman, \dateaustrian, \datefrench, \dateitalian, \datespanish, \datedutch, \datecrotian,
Numerical date representation.
Language-Dependent Terms
\yourrefname, \youremailname, \myrefname, \customername, \invoicename, \subjectname, \ccname, \enclname, \headtoname, \headfromname, \datename, \pagename, \phonename, \faxname, \emailname, \wwwname, \bankname,
These defintions can be modified to support a new language of for private customization.
Defining Language Terms
\providecaptioname{language}{term}{definition}, \newcaptioname{language}{term}{defintion}, \renewcaptionname{language}{term}{definition},
Assign a definition for a language to a term.
Address Files and Circular Letters
\adrentry{Lastname}{Firstname}{Address}{Telephone}{F1}{F2}{Comment}{Key}
Address entry for address files. The file extension has to be .adr!
\addrentry{Lastname}{Firstname}{Address}{Telephone}{F1}{F2}{F3}{F4}{Key}
This command supports four freely definable parameters for an address entry.
\adrchar{initial letter}, \addrchar{initial letter},
Separator for address entries. Ignored by scrlttr2.

1.3.9.4 Address Files with scraddr

\InputAddressFile{file name}

Read the contents of the given address file. Filename extension has to be .adr and has to be omitted in the argument.

\Name{Key}, \FirstName{Key}, \LastName{Key}, \Address{Key}, \Telephone{Key}, \FreeI{Key}, \FreeII{Key}, \Comment{Key}, \FreeIII{Key}, \FreeIV{Key},

Access to the data in address file. \Name is a concatenation of \FirstName and \LastName.

AdrFreeIVempty, AdrFreeIVshow, AdrFreeIVwarn, AdrFreeIVstop,
Package warning options. Defaults to AdrFreeIVshow.

1.3.10 mathpazo

Math fonts for the use with the Palatino font.

1.3.10.1 \upDelta / \upOmega

Math fonts for the use with the Palatino font.

Package options are:

[slantedGreek]

Uppercase Greek will be typeset slanted.

[noBBpl]

Do not use PazoMathBlackboardBold as (partial) blackboard bold font (e.g with \mathbb{R}).

[osf]

Make the font family pplj (Palatino with old style numerals) the default roman font, and use an alternative version of the virtual math italic fonts (zplmrj7m and zplmbj7m) with upright Palatino old style numerals for use with the \oldstylenums command.

[osfeqnnum]

Use old style numerals for equation numbering.

1.3.11 varioref

Smarter version of the original latex2e cross reference commands. Generated strings are customizable, Babel options are recognized (further info in the package documentation).

\vref, \vpageref,

\vref is similar to \ref but adds an additional page reference, like on the facing page or on page 27 whenever the corresponding \label is not on the same page.

\vpageref is a variation of \pageref with similar functionality.

\vrefrange, \vpagerefrange,

The \v...range commands take two labels as arguments and produce strings which depend on wether or not these labels fall onto a single page or on different pages.

\vref*, \vpageref*, \vpagerefrange*,

Star * variants do not add any space before the generated text for situations like:

(\vref{foo} ...)

1.3.12 Several Small Packages

Must be loaded with the usual \usepackage command. Further info for a package to be found in the documentation (dvi, pdf, ps) or in the sty-file itself.

1.3.12.1 bm

Bold math symbols or equations with better spacing then the \boldsymbold command. If possible load after other packages which redefine the fonts. When no bold font is available for a certain char bm will use poor man's bold \pmb.

\bm

Produces bold math symbol or equation.

\unboldmath

Can be used to set parts of an equation unbold.

1.3.12.2 url

Defines line breakable hyperlinked (uses hyperref package) verbatim input for urls and e-mail addresses.

Example: \url{http://example.org} outputs http://example.org.

Related commands are \href and \nolinkurl.