\font_sf_scale 100 100
\font_tt_scale 100 100
\use_microtype false
-\use_dash_ligatures true
+\use_dash_ligatures false
\graphics default
\default_output_format pdf2
\output_sync 0
\begin_inset Newline newline
\end_inset
-Version 2.2.x
+Version 2.3.x
\begin_inset Note Note
status collapsed
\end_layout
\begin_layout Verbatim
+
This is Verbatim.
\end_layout
\begin_layout Verbatim
\noindent
\align block
+
The following 2 lines are empty:
\end_layout
\end_layout
\begin_layout Verbatim
+
Almost everything is allowed in Verbatim:"%&$§#~'`
\backslash
}][{|
\end_layout
\begin_layout Verbatim*
+
This is Verbatim*.
\end_layout
\series bold
Note:
\series default
- In practice, some fonts might fail due to bad metrics and other font deficienci
-es; so you might have to experiment.
+ In practice, some fonts might fail due to a legacy (non Unicode) font encoding,
+ bad metrics, or other font deficiencies; so you might have to experiment.
\end_layout
\end_inset
Default,
\family default
the font that is preset by the current document class is used.
- In most cases, this will be the standard \SpecialChar TeX
- font, known as
+ With LyX's default font encoding, this is a look-alike of the standard
+ \SpecialChar TeX
+ font
\begin_inset Quotes eld
\end_inset
\family typewriter
cm
\family default
-) or
+): either
+\begin_inset Quotes eld
+\end_inset
+
+
+\family typewriter
+cm-super
+\family default
+
+\begin_inset Quotes erd
+\end_inset
+
+ or the bitmap font
\begin_inset Quotes eld
\end_inset
\family typewriter
ec
\family default
-), but some classes preset different default fonts.
+).
+ However, some classes set different default fonts.
\end_layout
\begin_layout Standard
As
\family typewriter
-cm
-\family default
- and
-\family typewriter
ec
\family default
- are bitmap fonts, they often look pixelated in PDF output, especially when
- you read the PDF in a zoomed size.
+ is a bitmap font, it looks pixelated in PDF output, especially when you
+ read the PDF in a zoomed size.
\begin_inset Foot
status collapsed
\begin_layout Plain Layout
-This problem does not appear if you read PDFs in
+This problem is less severe if you read PDFs in
\family typewriter
Adobe
\begin_inset space ~
\end_layout
-\begin_layout Itemize
-or select the
-\family sans
-AE
-\begin_inset space ~
-\end_inset
-
-(Almost
-\begin_inset space ~
-\end_inset
-
-European)
-\family default
- fonts in (the rare) case that
-\family sans
-Latin
-\begin_inset space ~
-\end_inset
-
-Modern
-\family default
- is not available to you or does not work, and you still want to emulate
- the look of
-\family typewriter
-cm
-\family default
-/
-\family typewriter
-ec
-\family default
-.
-
-\family typewriter
-AE
-\family default
- is a virtual font.
- Virtual means that it
-\begin_inset Quotes eld
-\end_inset
-
-steals
-\begin_inset Quotes erd
-\end_inset
-
- outline
-\family typewriter
-cm
-\family default
--glyphs from other fonts.
- This has the disadvantage that some characters are missing, like the French
- guillemets (
-\begin_inset Quotes eld
-\end_inset
-
-«
-\begin_inset Quotes erd
-\end_inset
-
- and
-\begin_inset Quotes eld
-\end_inset
-
-»
-\begin_inset Quotes erd
-\end_inset
-
-)
-\begin_inset Foot
-status collapsed
-
-\begin_layout Plain Layout
-Loading the \SpecialChar LaTeX
--package
-\series bold
-aeguill
-\series default
-
-\begin_inset Index idx
-status collapsed
-
-\begin_layout Plain Layout
-\SpecialChar LaTeX
- packages ! aeguill
-\end_layout
-
-\end_inset
-
- with the document preamble line
-\begin_inset Newline newline
-\end_inset
-
-
-\series bold
-
-\backslash
-usepackage[ec]{aeguill}
-\begin_inset Newline newline
-\end_inset
-
-
-\series default
-will fix the guillemet problem.
-\end_layout
-
-\end_inset
-
- and that accented characters are not
-\emph on
-one
-\emph default
- glyph, but built of
-\emph on
-two
-\emph default
- characters, the accent and the letter.
- Therefore you cannot search for words with accented characters in documents
- using the
-\family typewriter
-AE
-\family default
- fonts.
- If you search for example for the French word
-\begin_inset Quotes eld
-\end_inset
-
-rève
-\begin_inset Quotes erd
-\end_inset
-
- in a PDF, you will not get any result, because the PDF-viewer searches
- for the glyph
-\begin_inset Quotes eld
-\end_inset
-
- è
-\begin_inset Quotes erd
-\end_inset
-
- and not for the glyph
-\begin_inset Quotes eld
-\end_inset
-
- e +
-\begin_inset space ~
-\end_inset
-
- ̀
-\begin_inset Quotes erd
-\end_inset
-
-.
-\end_layout
-
\begin_layout Itemize
If you do not like the look of
\family typewriter
\end_inset
+\end_layout
+
+\begin_layout Standard
+The option
+\family sans
+Enable micro-typographic extensions
+\family default
+ activates extensions such as character protrusion and font expansion via
+ the \SpecialChar LaTeX
+-package
+\series bold
+microtype
+\series default
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+\SpecialChar LaTeX
+ packages ! microtype
+\end_layout
+
+\end_inset
+
+.
+ The option
+\family sans
+Output en- and em-dashes as ligatures
+\family default
+ outputs en- and em-dashes as ligatures (--, ---) instead of a sigle character.
+\end_layout
+
+\begin_layout Standard
\begin_inset VSpace bigskip
\end_inset
\labelwidthstring 00.00.0000
\family sans
-Strikeout
+Strike
+\begin_inset space ~
+\end_inset
+
+out
\family default
\strikeout on
\begin_layout Labeling
\labelwidthstring 00.00.0000
+\family sans
+Cross
+\begin_inset space ~
+\end_inset
+
+out
+\family default
+
+\xout on
+This is text with Cross out on.
+\xout default
+
+\begin_inset Newline newline
+\end_inset
+
+This is used to make text hardly readable.
+\end_layout
+
+\begin_layout Labeling
+\labelwidthstring 00.00.0000
+
\family sans
Noun
\family default
\begin_inset Quotes erd
\end_inset
- character comes in four lengths: the
+ symbol comes in four variants: the
\emph on
hyphen
\emph default
\emph on
em dash
\emph default
-, and the minus sign:
+, and the
+\emph on
+minus sign
+\emph default
+:
\begin_inset VSpace defskip
\end_inset
\end_layout
\begin_layout Standard
+\begin_inset Box Frameless
+position "t"
+hor_pos "c"
+has_inner_box 1
+inner_pos "t"
+use_parbox 0
+use_makebox 0
+width "100col%"
+special "none"
+height "1in"
+height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
+status open
+
+\begin_layout Plain Layout
\begin_inset Tabular
<lyxtabular version="3" rows="5" columns="3">
<features tabularvalignment="middle">
-<column alignment="left" valignment="top">
+<column alignment="left" valignment="top" width="0pt">
<column alignment="left" valignment="top">
<column alignment="left" valignment="top">
<row interlinespace="3mm">
-<cell alignment="center" valignment="top" bottomline="true" usebox="none">
+<cell alignment="left" valignment="top" bottomline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
</cell>
</row>
<row interlinespace="3mm">
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="left" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
</cell>
</row>
<row interlinespace="3mm">
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="left" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\begin_inset Text
\begin_layout Plain Layout
+system key combination
+\begin_inset Foot
+status collapsed
+\begin_layout Plain Layout
+On Mac and Linux, the en dash is entered with
+\family sans
+Opt+
+\begin_inset Quotes eld
+\end_inset
+
+-
+\begin_inset Quotes erd
+\end_inset
+
+
+\family default
+ and the em dash with
+\family sans
+Shift-Opt+
+\begin_inset Quotes erd
+\end_inset
+
+-
+\begin_inset Quotes erd
+\end_inset
+
+
+\family default
+ (
+\family sans
+Opt
+\family default
+ is the Mac label for the right
+\family sans
+Alt
+\family default
+
+\family sans
+/ AltGr
+\family default
+key).
+ Alternatively, dashes can be inserted with
\family sans
Insert\SpecialChar menuseparator
Special
Character\SpecialChar menuseparator
Symbols
+\family default
+ or with the
+\begin_inset Quotes eld
+\end_inset
+
+unicode-insert
+\begin_inset Quotes erd
+\end_inset
+
+ \SpecialChar LyX
+ function with the Unicode code point as argument (2013 for the em dash
+ and 2014 for the en dash).
+\end_layout
+
+\end_inset
+
+ or
+\begin_inset Quotes eld
+\end_inset
+
+--
+\begin_inset Quotes erd
+\end_inset
+
+ in text
\end_layout
\end_inset
</cell>
</row>
<row interlinespace="3mm">
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="left" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\begin_inset Text
\begin_layout Plain Layout
+system key combination or
+\begin_inset Quotes eld
+\end_inset
-\family sans
-Insert\SpecialChar menuseparator
-Special
-\begin_inset space ~
+---
+\begin_inset Quotes erd
\end_inset
-Character\SpecialChar menuseparator
-Symbols
+ in text
\end_layout
\end_inset
</cell>
</row>
<row>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="left" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
-\begin_inset VSpace defskip
-\end_inset
-
-
\end_layout
-\begin_layout Standard
-You can alternatively generate the en and em dash by inserting the
-\begin_inset Quotes eld
\end_inset
-\family typewriter
--
-\family default
-
-\begin_inset Quotes erd
+\begin_inset VSpace defskip
\end_inset
- character multiple times in a row.
- They will automatically be converted to the appropriate length dash in
- the final output, but not in \SpecialChar LyX
-.
-
-\begin_inset Quotes eld
-\end_inset
--
-\begin_inset space \thinspace{}
-\end_inset
+\end_layout
--
-\begin_inset Quotes erd
+\begin_layout Standard
+Dashes can also be inserted with
+\family sans
+Insert\SpecialChar menuseparator
+Special
+\begin_inset space ~
\end_inset
- gives a en dash,
+Character\SpecialChar menuseparator
+Symbols
+\family default
+ or the
\begin_inset Quotes eld
\end_inset
--
-\begin_inset space \thinspace{}
-\end_inset
-
--
-\begin_inset space \thinspace{}
-\end_inset
-
--
+unicode-insert
\begin_inset Quotes erd
\end_inset
- a em dash.
+ \SpecialChar LyX
+ function.
\end_layout
\begin_layout Standard
-The three dash types are distinct from the minus sign, which appears in
- math mode and has a length of its own.
+Hyphen and dashes are distinct from the minus sign, which appears in math
+ mode and has a length of its own.
Here are some examples:
\end_layout
\end_layout
\begin_layout Enumerate
-From A–Z
+From A–Z; pages
+\begin_inset space ~
+\end_inset
+
+369–378
\begin_inset space \hfill{}
\end_inset
\end_layout
\begin_layout Enumerate
-Oh — there's a dash.
+The em dash is used without spaces: Oh—there's a dash.
\begin_inset space \hfill{}
\end_inset
)
\end_layout
+\begin_layout Standard
+See also the
+\begin_inset CommandInset href
+LatexCommand href
+name "Wikipedia entry on dashes"
+target "https://en.wikipedia.org/wiki/Dash"
+literal "false"
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Subsection
+Dashes and line breaks
+\begin_inset CommandInset label
+LatexCommand label
+name "subsec:Dashes-and-line-breaks"
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+Whether line breaks around dashes are allowed depends on the use case and
+ locale:
+\end_layout
+
+\begin_layout Itemize
+No line breaks are allowed in ranges of values like A–Z or 1975–1982.
+\end_layout
+
+\begin_layout Itemize
+In English, dashes used to set off parenthetical statements should not start
+ a new line.
+\end_layout
+
+\begin_layout Itemize
+In French and Spanish, dashes around parenthetical statements are treated
+ similar to brackets: line breaks are not allowed on the inner side.
+\end_layout
+
+\begin_layout Standard
+When using spaced en dashes
+\begin_inset space ~
+\end_inset
+
+- common in British English
+\begin_inset space ~
+\end_inset
+
+- line breaks before the dash can be prevented with protected spaces.
+\end_layout
+
+\begin_layout Standard
+When using em dashes without spaces—\SpecialChar allowbreak
+common in American English—\SpecialChar allowbreak
+one can insert
+ optional line breaks with the menu
+\family sans
+Insert\SpecialChar menuseparator
+Formatting\SpecialChar menuseparator
+Optional line break
+\family default
+.
+\end_layout
+
+\begin_layout Standard
+For documents containing many em dashes, you may consider to select the
+ option
+\family sans
+Document\SpecialChar menuseparator
+Settings\SpecialChar menuseparator
+Fonts\SpecialChar menuseparator
+Output en- and em-dashes as ligatures.
+
+\family default
+This forces the output of dashes as
+\begin_inset Quotes eld
+\end_inset
+
+--
+\begin_inset Quotes erd
+\end_inset
+
+ and
+\begin_inset Quotes eld
+\end_inset
+
+---
+\begin_inset Quotes erd
+\end_inset
+
+ when exporting to \SpecialChar LaTeX
+.
+ The \SpecialChar TeX
+ font ligature mechanism converts them to dash characters followed
+ by an optional line break.
+\end_layout
+
+\begin_layout Standard
+Caution:
+\end_layout
+
+\begin_layout Enumerate
+This results in optional line breaks after
+\series bold
+all
+\series default
+ en and em dashes.
+ Incorrect line breaks must be prevented by wrapping in a makebox
+\begin_inset Foot
+status collapsed
+
+\begin_layout Plain Layout
+See section
+\emph on
+Prevent Hyphenation
+\emph default
+ of the
+\emph on
+Embedded
+\begin_inset space ~
+\end_inset
+
+Objects
+\emph default
+ manual.
+\end_layout
+
+\end_inset
+
+ or preceding with
+\series bold
+
+\backslash
+nobreakdash
+\series default
+ in \SpecialChar TeX
+ code.
+ Examples:
+\end_layout
+
+\begin_deeper
+\begin_layout Itemize
+Pages
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset Box Frameless
+position "t"
+hor_pos "c"
+has_inner_box 1
+inner_pos "t"
+use_parbox 0
+use_makebox 1
+width ""
+special "none"
+height "1in"
+height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
+status open
+
+\begin_layout Plain Layout
+369–378
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Itemize
+
+\lang french
+Les incises
+\begin_inset Box Frameless
+position "t"
+hor_pos "c"
+has_inner_box 1
+inner_pos "t"
+use_parbox 0
+use_makebox 1
+width ""
+special "none"
+height "1in"
+height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
+status open
+
+\begin_layout Plain Layout
+
+\lang french
+–
+\begin_inset space ~
+\end_inset
+
+même
+\end_layout
+
+\end_inset
+
+ si tout le monde ne les aime pas
+\begin_inset space ~
+\end_inset
+
+– sont très utiles.
+\end_layout
+
+\begin_layout Itemize
+
+\lang spanish
+En una frase
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+nobreakdash
+\end_layout
+
+\end_inset
+
+—un inciso con rayas— se escribe así.
+\end_layout
+
+\begin_layout Standard
+An incorrect line break is easily overlooked because
+\begin_inset space ~
+\end_inset
+
+– in contrast to an overfull line
+\begin_inset space ~
+\end_inset
+
+– it does not trigger a warning in the \SpecialChar LaTeX
+ log.
+\end_layout
+
+\end_deeper
+\begin_layout Enumerate
+The setting is ignored for documents using non-\SpecialChar TeX
+ fonts.
+\begin_inset Foot
+status collapsed
+
+\begin_layout Plain Layout
+Xe\SpecialChar TeX
+ provides the
+\series bold
+
+\backslash
+XeTeXdashbreakstate
+\series default
+ setting.
+ The default causes dashes to behave like ligature dashes.
+ The usual behaviour of literal dashes can be achieved by inserting
+\family typewriter
+\series bold
+
+\backslash
+XeTeXdashbreakstate=0
+\family default
+\series default
+ into the \SpecialChar LaTeX
+ preamble.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Enumerate
+Em dashes in
+\family typewriter
+typewriter
+\family default
+ fonts become
+\family typewriter
+–-
+\family default
+ or
+\family typewriter
+---
+\family default
+ in the output.
+\end_layout
+
+\begin_layout Enumerate
+Hyphenation is suppressed in words adjacent to hyphens and ligature dashes.
+\end_layout
+
+\begin_layout Standard
+Since \SpecialChar LyX
+
+\begin_inset space ~
+\end_inset
+
+2.2, -- and --- are exported to LaTeX as -{}- and -{}-{}- to prevent ligation
+ to dashes.
+\begin_inset Foot
+status collapsed
+
+\begin_layout Plain Layout
+Up to \SpecialChar LyX
+
+\begin_inset space ~
+\end_inset
+
+2.1, -- and --- was output unchanged which led to different look in \SpecialChar LyX
+, text
+ export, HTML export and the PDF export.
+\end_layout
+
+\end_inset
+
+ Occurrences in older documents are converted to literal Unicode dashes.
+ This led to different line breaks in some documents.
+ \SpecialChar LyX
+
+\begin_inset space ~
+\end_inset
+
+2.3 provides the option
+\family sans
+Output en- and em-dashes as ligatures
+\family default
+ in the menu
+\family sans
+Document\SpecialChar menuseparator
+Settings\SpecialChar menuseparator
+Fonts.
+
+\family default
+ It is on by default but unselected when opening documents edited with \SpecialChar LyX
+
+\begin_inset space ~
+\end_inset
+
+2.2.
+\begin_inset Newline newline
+\end_inset
+
+Note the following side-effects of the changes in \SpecialChar LyX
+'s dash handling:
+\end_layout
+
+\begin_layout Itemize
+If you used literal em- and en dashes in pre-\SpecialChar LyX
+
+\begin_inset space ~
+\end_inset
+
+2.2 documents, you must manually unselect
+\family sans
+Output en- and em-dashes as ligatures
+\family default
+ to ensure unchanged behavior.
+
+\end_layout
+
+\begin_layout Itemize
+If you used both, literal and ligature dashes in pre-\SpecialChar LyX
+
+\begin_inset space ~
+\end_inset
+
+2.2 documents, you may need to enable or prevent individual line breaks as
+ shown above to restore the correct line breaking behaviour.
+\end_layout
+
+\begin_layout Itemize
+Zero-width space (ZWSP) characters in older \SpecialChar LyX
+ documents that follow literal
+ em- and en-dashes are removed during the conversion to the format of \SpecialChar LyX
+
+\begin_inset space ~
+\end_inset
+
+2.3.
+ If you used them as optional line breaks after dashes, convert them to
+ space insets before opening your document with \SpecialChar LyX
+
+\begin_inset space ~
+\end_inset
+
+2.3 or the optional line breaks will be lost.
+\end_layout
+
\begin_layout Subsection
Hyphenation
\begin_inset Index idx
as a hyphenation possibility.
Hyphenating at this point would look ugly.
- To prevent the shortcut from being hyphenated, you can put it into a makebox
- as described in section
+ To prevent the shortcut from being hyphenated, you can use a protected
+ hyphen (
+\family sans
+Insert\SpecialChar menuseparator
+Formatting\SpecialChar menuseparator
+Protected Hyphen
+\family default
+) or put it into a makebox as described in section
\emph on
Prevent Hyphenation
\emph default
\end_inset
-\begin_inset CommandInset label
-LatexCommand label
-name "subsec:LyX's-Proper-Names"
-
-\end_inset
-
-
\end_layout
\begin_layout Standard
\begin_layout Standard
\align center
\begin_inset Graphics
- filename clipart/mobius.eps
+ filename clipart/2D-intensity-plot.pdf
scale 70
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
-reference "fig:Platypus-distorted"
+reference "fig:A-star-in"
\end_inset
\begin_inset Float figure
wide false
sideways false
-status collapsed
+status open
\begin_layout Plain Layout
\align center
\begin_inset Graphics
- filename clipart/platypus.eps
- lyxscale 50
+ filename clipart/Star-structure.pdf
+ lyxscale 60
width 50col%
\end_inset
\begin_layout Plain Layout
\begin_inset CommandInset label
LatexCommand label
-name "fig:Platypus-distorted"
+name "fig:A-star-in"
\end_inset
-A severely distorted platypus in a float.
+A star in a float.
\end_layout
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
-reference "fig:Two-distorted-images"
+reference "fig:Two-images"
\end_inset
and
\begin_inset CommandInset ref
LatexCommand ref
-reference "fig:Platypus"
+reference "fig:Star"
\end_inset
\begin_layout Plain Layout
\begin_inset Graphics
- filename clipart/escher-lsd.eps
+ filename clipart/3D-structure-distort.pdf
+ lyxscale 60
width 45col%
\end_inset
\begin_layout Plain Layout
\begin_inset CommandInset label
LatexCommand label
-name "fig:Platypus"
+name "fig:Star"
\end_inset
-Platypus
+Star
\end_layout
\end_inset
\begin_layout Plain Layout
\begin_inset Graphics
- filename clipart/platypus.eps
+ filename clipart/Star-structure.pdf
lyxscale 60
width 45col%
\begin_layout Plain Layout
\begin_inset CommandInset label
LatexCommand label
-name "fig:Two-distorted-images"
+name "fig:Two-images"
\end_inset
-Two distorted images.
+Two images.
\end_layout
\end_inset
<reference>: prints the number, this is the default:
\begin_inset CommandInset ref
LatexCommand ref
-reference "fig:Two-distorted-images"
+reference "fig:Two-images"
\end_inset
\begin_inset CommandInset ref
LatexCommand pageref
-reference "fig:Two-distorted-images"
+reference "fig:Two-images"
\end_inset
<page>: prints the text “on page” and the page number:
\begin_inset CommandInset ref
LatexCommand vpageref
-reference "fig:Two-distorted-images"
+reference "fig:Two-images"
\end_inset
<page>: prints the number, the text “on page” and the page number:
\begin_inset CommandInset ref
LatexCommand vref
-reference "fig:Two-distorted-images"
+reference "fig:Two-images"
\end_inset
reference: prints the caption or the name of the reference:
\begin_inset CommandInset ref
LatexCommand nameref
-reference "fig:Two-distorted-images"
+reference "fig:Two-images"
\end_inset
label for the reference:
\begin_inset CommandInset ref
LatexCommand labelonly
-reference "fig:Two-distorted-images"
+reference "fig:Two-images"
\end_inset
\end_inset
, or a link to a file.
+ The option
+\family sans
+Literal
+\family default
+ in the hyperlink settings dialog allows to input \SpecialChar TeX
+ code to the
+\family sans
+Name
+\family default
+ field.
\end_layout
\begin_layout Standard
\end_inset
, a short form of its title, as the key.
+\begin_inset Newline newline
+\end_inset
+
+If you set a
+\family sans
+Label
+\family default
+ for the entry, references to it will appear with this label instead of
+ the number of the entry.
+ The option
+\family sans
+Literal
+\family default
+ in the bibliography items settings dialog allows to input \SpecialChar TeX
+ code to the
+
+\family sans
+Label
+\family default
+ field.
\end_layout
\begin_layout Standard
\end_layout
\begin_layout Standard
-Citation references appear in the output as the number of the bibliography
- entry with surrounding brackets.
- If you set a
-\family sans
-Label
-\family default
- for the entry, the label will appear instead of the number.
+Citation references appear in the output as the number or the label of the
+ bibliography entry with surrounding brackets.
Here are two examples; the first without a label, the second with the label
\begin_inset Quotes eld
\end_inset
g.
- page numbers, which will then be formatted according to the style's needs
+\begin_inset space \space{}
+\end_inset
+
+page numbers, which will then be formatted according to the style's needs
(e.
\begin_inset space \thinspace{}
\end_inset
g.
- with or without
+\begin_inset space \space{}
+\end_inset
+
+with or without
\begin_inset Quotes eld
\end_inset
\end_inset
).
+ The option
+\family sans
+Literal
+\family default
+ in the citation dialog allows to input \SpecialChar TeX
+ code to the fields
+\family sans
+Text
+\begin_inset space ~
+\end_inset
+
+before
+\family default
+ and
+\family sans
+Text
+\begin_inset space ~
+\end_inset
+
+after
+\family default
+.
Here is a simple example where the text
\begin_inset Quotes eld
\end_inset
LatexCommand cite
after "Chapter 3"
key "latexcompanion"
-literal "true"
+literal "false"
\end_inset
See the next subsection for an example.
\end_layout
-\begin_layout Standard
-\begin_inset VSpace bigskip
-\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
-In some cases the index entry order is not correct when you are using the
- program
-\family sans
-makeindex
-\family default
-to generate the index (see section
-\begin_inset space ~
-\end_inset
-
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "subsec:Index-Program"
-
-\end_inset
-
-).
-
-\family sans
-makeindex
-\family default
- would for example print the index entry for the \SpecialChar LaTeX
--package aeguill in section
-\begin_inset space ~
-\end_inset
-
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "subsec:Document-Font"
-
-\end_inset
-
- after the index entries of the other \SpecialChar LaTeX
--packages although all these index
- commands start with
-\begin_inset Quotes eld
-\end_inset
-
-
-\series bold
-\SpecialChar LaTeX
--packages !
-\series default
-
-\begin_inset Quotes erd
-\end_inset
-
-.
- The reason is that the index entry for aeguill is in a footnote.
- To fix this
-\family sans
-makeindex
-\family default
- bug, add these commands to the preamble of your document:
-\end_layout
-
-\begin_layout Standard
-
-\series bold
-
-\backslash
-let
-\backslash
-OrgIndex
-\backslash
-index
-\end_layout
-
-\begin_layout Standard
-
-\series bold
-
-\backslash
-renewcommand*{
-\backslash
-index}[1]{
-\backslash
-OrgIndex{#1}}
-\end_layout
-
\begin_layout Subsection
Index Entry Layout
\begin_inset Index idx
\begin_layout Itemize
By right-clicking on an index, you can change its type.
Furthermore, you can specify an index to be a
-\begin_inset Quotes eld
-\end_inset
-
-Subindex.
-\begin_inset Quotes erd
-\end_inset
-
+\family sans
+Subindex
+\family default
+.
If you do that, the heading of that list will be decreased by one level.
For example, if you use a book class, where the standard index heading
is defined as a chapter, subindexes will be defined as sections and can
thus be nested to the non-subindexes.
\end_layout
+\begin_layout Itemize
+The option
+\family sans
+Literal
+\family default
+ allows to use \SpecialChar TeX
+ code in the name of the index.
+\end_layout
+
\begin_layout Section
Nomenclature/Glossary
\begin_inset Index idx
\series bold
Note:
\series default
- You have to enter valid \SpecialChar LaTeX
--code for all fields of the nomenclature dialog.
+ To use \SpecialChar TeX
+ code for nomenclature entries the option
+\family sans
+Literal
+\family default
+ in the nomenclature dialog has to be used.
\end_layout
\end_inset
Symbol
\family default
field as \SpecialChar LaTeX
--formulas.
+ formulas.
For example to get
\begin_inset Quotes eld
\end_inset
\begin_layout Standard
(A short introduction to the \SpecialChar LaTeX
--syntax is given in section
+ syntax is given in section
\begin_inset space ~
\end_inset
\begin_inset space \space{}
\end_inset
-should appear in nomenclature entries they need to be escaped by adding
- a quote character in front of them.
+should appear in nomenclature entries containing \SpecialChar TeX
+ code they need to be escaped
+ by adding a quote character in front of them.
\begin_inset CommandInset nomenclature
LatexCommand nomenclature
symbol "\"@, \"|, \"!, \"\""
-description "The quote sign is output by writing ‘ \"\"\"\" '"
-literal "false"
+description "The quote sign in TeX code is output by writing ' \"\" '."
+literal "true"
\end_inset
prefix "sigma"
symbol "$\\sigma$"
description "dummy entry for the character \\textsf{sigma}"
-literal "false"
+literal "true"
\end_inset
\end_inset
+\begin_inset CommandInset label
+LatexCommand label
+name "subsec:Nomenclature-Options"
+
+\end_inset
+
+
\end_layout
\begin_layout Standard
\begin_inset Quotes erd
\end_inset
- are automatically translated for some document languages.
- If not, add these lines to your \SpecialChar LaTeX
- preamble:
+ are automatically translated for most document languages.
+ If not, add these lines in front of the nomenclature list as \SpecialChar TeX
+ code:
\end_layout
\begin_layout Standard
\series bold
\backslash
-renewcommand{
+renewcommand*{
+\backslash
+eqdeclaration}[1]{
+\begin_inset Newline newline
+\end_inset
+
+
+\size small
+
+\begin_inset Phantom HPhantom
+status open
+
+\begin_layout Plain Layout
+\begin_inset space ~
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\size default
+
\backslash
-eqdeclaration}[1]{, see equation
+unskip, see equation
\backslash
nobreakspace(#1)}
\begin_inset Newline newline
\backslash
-renewcommand{
+renewcommand*{
\backslash
-pagedeclaration}[1]{, page
+pagedeclaration}[1]{
+\begin_inset Newline newline
+\end_inset
+
+
+\size small
+
+\begin_inset Phantom HPhantom
+status open
+
+\begin_layout Plain Layout
+\begin_inset space ~
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\size default
+
+\backslash
+unskip, page
\backslash
nobreakspace{}#1}
-\series default
+\end_layout
+\begin_layout Standard
+If the numbers should be hyperlinks, assure that you use
+\family sans
+Hyperref
+\begin_inset space ~
+\end_inset
+
+Support
+\family default
+ in the document settings under
+\family sans
+PDF
+\begin_inset space ~
+\end_inset
+
+Properties
+\family default
+ and use instead:
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+renewcommand*{
+\backslash
+eqdeclaration}[1]{
\begin_inset Newline newline
\end_inset
-and replace
-\begin_inset Quotes eld
+
+\begin_inset Phantom HPhantom
+status open
+
+\begin_layout Plain Layout
+\begin_inset space ~
\end_inset
-see equation
-\begin_inset Quotes erd
+
+\end_layout
+
\end_inset
- and
-\begin_inset Quotes eld
+
+\backslash
+unskip, see
+\backslash
+hyperlink{equation.#1}{equation
+\backslash
+nobreakspace{}(#1)}}
+\begin_inset Newline newline
\end_inset
-page
-\begin_inset Quotes erd
+
+\backslash
+renewcommand*{
+\backslash
+pagedeclaration}[1]{
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Phantom HPhantom
+status open
+
+\begin_layout Plain Layout
+\begin_inset space ~
\end_inset
- by their translation.
+
+\end_layout
+
+\end_inset
+
+
+\backslash
+unskip,
+\backslash
+hyperlink{page.#1}{page
+\backslash
+nobreakspace{}#1}}
\end_layout
\begin_layout Subsection
to use them:
\begin_inset CommandInset citation
LatexCommand cite
-key "Arabic,Armenian,Farsi,Hebrew,Latvian,Lithuanian,Mongolian,Vietnamese"
+key "Arabic,Armenian,Cyrillic,Farsi,Hebrew,Japanese"
literal "true"
\end_inset
\end_layout
\begin_layout Standard
-In this menu entry you can set the appearance of the different toolbars.
+In this menu entry you can set the icon size and the appearance of the different
+ toolbars.
All toolbars and the
\family sans
Command
.
\end_layout
+\begin_layout Description
+Optional
+\begin_inset space ~
+\end_inset
+
+Line
+\begin_inset space ~
+\end_inset
+
+Break Inserts a line break point (zero-width space character) that is invisible
+ in the output.
+ See section
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "subsec:Dashes-and-line-breaks"
+plural "false"
+caps "false"
+noprefix "false"
+
+\end_inset
+
+ for a usage example.
+\end_layout
+
\begin_layout Description
Ragged
\begin_inset space ~
\begin_layout Plain Layout
\align center
\begin_inset Tabular
-<lyxtabular version="3" rows="20" columns="3">
+<lyxtabular version="3" rows="21" columns="3">
<features tabularvalignment="middle">
<column alignment="center" valignment="top">
-<column alignment="center" valignment="top">
+<column alignment="center" valignment="middle" width="50col%">
<column alignment="center" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-mm
+bp
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-millimeter
+big point (72
+\begin_inset space \thinspace{}
+\end_inset
+
+bp = 1
+\begin_inset space \thinspace{}
+\end_inset
+
+in)
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-cm
+cc
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-centimeter
+cicero (1
+\begin_inset space \thinspace{}
+\end_inset
+
+cc = 12
+\begin_inset space \thinspace{}
+\end_inset
+
+dd)
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-in
+cm
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-inch
+centimeter
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-pt
+dd
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-point (72.27
+didot (1
\begin_inset space \thinspace{}
\end_inset
-pt = 1
+dd
+\begin_inset Formula $\approx$
+\end_inset
+
+ 0.376
\begin_inset space \thinspace{}
\end_inset
-in)
+mm)
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-pc
+em
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-pica (1
-\begin_inset space \thinspace{}
-\end_inset
-
-pc = 12
-\begin_inset space \thinspace{}
-\end_inset
-
-pt)
+width of letter
+\emph on
+M
+\emph default
+ in current font
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-sp
+ex
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-scaled point (65536
-\begin_inset space \thinspace{}
-\end_inset
-
-sp = 1
-\begin_inset space \thinspace{}
-\end_inset
-
-pt)
+height of letter
+\emph on
+x
+\emph default
+ in current font
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-bp
+in
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-big point (72
-\begin_inset space \thinspace{}
+inch
+\end_layout
+
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+-
+\end_layout
-bp = 1
-\begin_inset space \thinspace{}
\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
-in)
+\begin_layout Plain Layout
+mm
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+millimeter
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-dd
+mu
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-didot (1
+math unit (1
\begin_inset space \thinspace{}
\end_inset
-dd
-\begin_inset Formula $\approx$
-\end_inset
-
- 0.376
+mu = 1/18
\begin_inset space \thinspace{}
\end_inset
-mm)
+em)
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-cc
+pt
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-cicero (1
+point (72.27
\begin_inset space \thinspace{}
\end_inset
-cc = 12
+pt = 1
\begin_inset space \thinspace{}
\end_inset
-dd)
+in)
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-Scale Graphics %
+pc
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-% of original image width
+pica (1
+\begin_inset space \thinspace{}
+\end_inset
+
+pc = 12
+\begin_inset space \thinspace{}
+\end_inset
+
+pt)
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-
+-
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-Text Width %
+sp
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-% of text width
+scaled point (65536
+\begin_inset space \thinspace{}
+\end_inset
+
+sp = 1
+\begin_inset space \thinspace{}
+\end_inset
+
+pt)
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-
-\backslash
-textwidth
+-
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-Page Width %
+Line Distance %
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-% of paper width
+% of height between baselines of two subsequent text lines
\end_layout
\end_inset
\begin_layout Plain Layout
\backslash
-paperwidth
+baselineskip
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-Text Height %
+Page Height %
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-% of text height
+% of paper height
\end_layout
\end_inset
\begin_layout Plain Layout
\backslash
-textheight
+paperheight
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-Page Height %
+Page Width %
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-% of paper height
+% of paper width
\end_layout
\end_inset
\begin_layout Plain Layout
\backslash
-paperheight
+paperwidth
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-ex
+Scale Graphics %
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-height of letter
-\emph on
-x
-\emph default
- in current font
+% of original image width
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
--
+
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-em
+Text Height %
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-width of letter
-\emph on
-M
-\emph default
- in current font
+% of text height
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
--
+
+\backslash
+textheight
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-mu
+Text Width %
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-math unit (1
-\begin_inset space \thinspace{}
-\end_inset
-
-mu = 1/18
-\begin_inset space \thinspace{}
-\end_inset
-
-em)
+% of text width
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
--
+
+\backslash
+textwidth
\end_layout
\end_inset
\end_inset
+\end_layout
+
+\begin_layout Bibliography
+\begin_inset CommandInset bibitem
+LatexCommand bibitem
+key "microtype"
+literal "true"
+
+\end_inset
+
+
+\begin_inset CommandInset href
+LatexCommand href
+name "Documentation"
+target "http://mirrors.ctan.org/macros/latex/contrib/microtype/microtype.pdf"
+literal "false"
+
+\end_inset
+
+ of the \SpecialChar LaTeX
+ package
+\series bold
+microtpye
+\series default
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+\SpecialChar LaTeX
+ packages ! microtpye
+\end_layout
+
+\end_inset
+
+:
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Flex URL
+status collapsed
+
+\begin_layout Plain Layout
+
+http://mirrors.ctan.org/macros/latex/contrib/microtype/microtype.pdf
+\end_layout
+
+\end_inset
+
+
\end_layout
\begin_layout Bibliography
\end_layout
-\begin_layout Bibliography
-\begin_inset CommandInset bibitem
-LatexCommand bibitem
-key "Latvian"
-literal "true"
-
-\end_inset
-
-
-\begin_inset CommandInset href
-LatexCommand href
-name "Wiki-page"
-target "http://wiki.lyx.org/Windows/Latvian"
-literal "false"
-
-\end_inset
-
- how to set up \SpecialChar LyX
- for Latvian:
-\begin_inset Newline newline
-\end_inset
-
-
-\begin_inset Flex URL
-status collapsed
-
-\begin_layout Plain Layout
-
-http://wiki.lyx.org/Windows/Latvian
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Bibliography
-\begin_inset CommandInset bibitem
-LatexCommand bibitem
-key "Lithuanian"
-literal "true"
-
-\end_inset
-
-
-\begin_inset CommandInset href
-LatexCommand href
-name "Wiki-page"
-target "http://wiki.lyx.org/Windows/Lithuanian"
-literal "false"
-
-\end_inset
-
- how to set up \SpecialChar LyX
- for Lithuanian:
-\begin_inset Newline newline
+\begin_layout Standard
+\begin_inset Newpage newpage
\end_inset
-\begin_inset Flex URL
+\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-http://wiki.lyx.org/Windows/Lithuanian
-\end_layout
-
-\end_inset
-
+\backslash
+let
+\backslash
+mybibname
+\backslash
+bibname
\end_layout
-\begin_layout Bibliography
-\begin_inset CommandInset bibitem
-LatexCommand bibitem
-key "Mongolian"
-literal "true"
-
-\end_inset
-
-
-\begin_inset CommandInset href
-LatexCommand href
-name "Wiki-page"
-target "http://wiki.lyx.org/Windows/Mongolian"
-literal "false"
-
-\end_inset
-
- how to set up \SpecialChar LyX
- for Mongolian:
-\begin_inset Newline newline
-\end_inset
-
-
-\begin_inset Flex URL
-status collapsed
-
\begin_layout Plain Layout
-http://wiki.lyx.org/Windows/Mongolian
-\end_layout
-
-\end_inset
-
+\backslash
+renewcommand{
+\backslash
+bibname}{
+\backslash
+mybibname
+\backslash
+; 2}
\end_layout
-\begin_layout Bibliography
-\begin_inset CommandInset bibitem
-LatexCommand bibitem
-key "Vietnamese"
-literal "true"
-
\end_inset
-\begin_inset CommandInset href
-LatexCommand href
-name "Wiki-page"
-target "http://wiki.lyx.org/Windows/Vietnamese"
-literal "false"
-
-\end_inset
-
- how to set up \SpecialChar LyX
- for Vietnamese:
-\begin_inset Newline newline
-\end_inset
-
-
-\begin_inset Flex URL
+\begin_inset Note Note
status collapsed
\begin_layout Plain Layout
+The command
+\series bold
-http://wiki.lyx.org/Windows/Vietnamese
+\backslash
+bibname
+\series default
+ is the name of the bibliography in the current document language.
+ It is redefined here with the number 2 at the end to state that the following
+ bibliography is the second one:
\end_layout
\end_inset
\end_layout
-\begin_layout Bibliography
-\begin_inset CommandInset bibitem
-LatexCommand bibitem
-key "NewInLyX20"
-literal "true"
+\begin_layout Standard
+\begin_inset CommandInset bibtex
+LatexCommand bibtex
+bibfiles "biblio/LyXDocs"
+options "biblio/alphadin"
\end_inset
-\begin_inset CommandInset href
-LatexCommand href
-name "Wiki-page"
-target "http://wiki.lyx.org/LyX/NewInLyX20"
-literal "false"
-
-\end_inset
-
- about new features in
-\family sans
-\SpecialChar LyX
- 2.0
-\family default
-:
-\begin_inset Newline newline
-\end_inset
-
-
-\begin_inset Flex URL
-status collapsed
-
-\begin_layout Plain Layout
-
-http://wiki.lyx.org/LyX/NewInLyX20
\end_layout
-\end_inset
-
-
+\begin_layout Standard
+The above bibliography is created from a Bib\SpecialChar TeX
+ database.
\end_layout
\begin_layout Standard
-\begin_inset Newpage newpage
-\end_inset
-
-
\begin_inset ERT
status collapsed
\backslash
-let
-\backslash
-mybibname
+renewcommand*{
\backslash
-bibname
+pagedeclaration}[1]{
\end_layout
\begin_layout Plain Layout
-
+
\backslash
-renewcommand{
+unskip,
\backslash
-bibname}{
-\backslash
-mybibname
+hyperlink{page.#1}{page
\backslash
-; 2}
+nobreakspace{}#1}}
\end_layout
\end_inset
status collapsed
\begin_layout Plain Layout
-The command
-\series bold
+This command makes the page number a clickable hyperlink, see sec.
+\begin_inset space ~
+\end_inset
-\backslash
-bibname
-\series default
- is the name of the bibliography in the current document language.
- It is redefined here with the number 2 at the end to state that the following
- bibliography is the second one:
-\end_layout
-\end_inset
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "subsec:Nomenclature-Options"
+\end_inset
+ for more info.
\end_layout
-\begin_layout Standard
-\begin_inset CommandInset bibtex
-LatexCommand bibtex
-bibfiles "biblio/LyXDocs"
-options "biblio/alphadin"
-
\end_inset
\end_layout
-\begin_layout Standard
-The above bibliography is created from a Bib\SpecialChar TeX
- database.
-\end_layout
-
\begin_layout Standard
\begin_inset CommandInset nomencl_print
LatexCommand printnomenclature