-#LyX 2.0.0svn created this file. For more info see http://www.lyx.org/
-\lyxformat 410
+#LyX 2.0 created this file. For more info see http://www.lyx.org/
+\lyxformat 413
\begin_document
\begin_header
\textclass scrbook
% macro for italic page numbers in the index
\newcommand{\IndexDef}[1]{\textit{#1}}
+% for customized page headers/footers
+% only needed because they are only used in one section of the document
+\usepackage{fancyhdr}
+% change header rule width
+\renewcommand{\headrulewidth}{2pt}
+
% workaround for a makeindex bug,
% see sec. "Index Entry Order"
% only uncomment this when you are using makindex
\end_preamble
\options intoc,bibliography=totoc,index=totoc,BCOR7.5mm,captions=tableheading
\use_default_options false
+\begin_modules
+customHeadersFooters
+\end_modules
\maintain_unincluded_children false
\language english
+\language_package default
\inputencoding auto
\fontencoding global
\font_roman default
\tracking_changes false
\output_changes false
\html_math_output 0
+\html_css_as_file 0
\html_be_strict true
+\author 5863208 "ab"
\end_header
\begin_body
\family sans
New
-\begin_inset Graphics
- filename ../images/buffer-new.png
- scale 85
- groupId toolbarbuttons
-
+\begin_inset Info
+type "icon"
+arg "buffer-new"
\end_inset
\family sans
Open
-\family default
-
-\begin_inset Graphics
- filename ../images/file-open.png
- scale 85
- groupId toolbarbuttons
-
+\begin_inset Info
+type "icon"
+arg "file-open"
\end_inset
\family sans
Save
-\family default
-
-\begin_inset Graphics
- filename ../images/buffer-write.png
- scale 85
- groupId toolbarbuttons
-
+\begin_inset Info
+type "icon"
+arg "buffer-write"
\end_inset
\family sans
Print
-\family default
-
-\begin_inset Graphics
- filename ../images/dialog-show_print.png
- scale 85
- groupId toolbarbuttons
-
+\begin_inset Info
+type "icon"
+arg "dialog-show print"
\end_inset
Cut
\family default
-\begin_inset Graphics
- filename ../images/cut.png
- scale 85
- groupId toolbarbuttons
-
+\begin_inset Info
+type "icon"
+arg "cut"
\end_inset
Copy
\family default
-\begin_inset Graphics
- filename ../images/copy.png
- scale 85
- groupId toolbarbuttons
-
+\begin_inset Info
+type "icon"
+arg "copy"
\end_inset
Paste
\family default
-\begin_inset Graphics
- filename ../images/paste.png
- scale 85
- groupId toolbarbuttons
-
+\begin_inset Info
+type "icon"
+arg "paste"
\end_inset
Replace
\family default
-\begin_inset Graphics
- filename ../images/dialog-show_findreplace.png
- scale 85
- groupId toolbarbuttons
-
+\begin_inset Info
+type "icon"
+arg "dialog-show findreplace"
\end_inset
Undo
\family default
or the toolbar button
-\begin_inset Graphics
- filename ../images/undo.png
- scale 85
- groupId toolbarbuttons
-
+\begin_inset Info
+type "icon"
+arg "undo"
\end_inset
to undo some mistake.
Redo
\family default
or the toolbar button
-\begin_inset Graphics
- filename ../images/redo.png
- scale 85
- groupId toolbarbuttons
-
+\begin_inset Info
+type "icon"
+arg "redo"
\end_inset
to
\end_layout
\begin_layout Standard
-LyX offers you two ways to navigate in documents:
+LyX offers you several ways to navigate in documents:
\end_layout
\begin_layout Itemize
-The menu
+The
\family sans
Navigate
\family default
- lists all sections of the document as submenu entries that you can click
- to jump to the corresponding document part.
+ menu lists all sections of the document as submenu entries that you can
+ click to jump to the corresponding document part.
\end_layout
\begin_layout Itemize
-The menu
+The `Outline', which is accessed either by the menu
\family sans
Document\SpecialChar \menuseparator
Outline
\family default
- or the toolbar button
-\begin_inset Graphics
- filename ../images/dialog-toggle_toc.png
- scale 85
- groupId toolbarbuttons
-
+ or by the toolbar button
+\begin_inset Info
+type "icon"
+arg "dialog-toggle toc"
\end_inset
.
\end_layout
+\begin_layout Itemize
+You can set bookmarks in your document under
+\family sans
+Navigate\SpecialChar \menuseparator
+Bookmarks
+\family default
+ and use the same menu to return to them.
+ Note that bookmarks are saved between sessions.
+\end_layout
+
\begin_layout Standard
-The outline window shows you the content of the document's table of contents
- (TOC) that is described in section
-\begin_inset space ~
+The toolbar button
+\begin_inset Info
+type "icon"
+arg "bookmark-goto 0"
\end_inset
+ (also
+\family sans
+Navigate\SpecialChar \menuseparator
+Bookmarks\SpecialChar \menuseparator
+NavigateBack
+\family default
+) jumps to the position in the document where you recently changed something.
+ This is useful when you have a large document and have navigated or scrolled
+ to another document part to look for something, and want to go back to
+ your last editing position.
+\end_layout
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sub:Table-of-Contents"
+\begin_layout Subsection
+The Outliner
+\end_layout
+\begin_layout Standard
+The Outline was known in earlier versions of LyX as the
+\begin_inset Quotes eld
\end_inset
-.
- You can click there on entries to jump to the corresponding document part.
+TOC
+\begin_inset Quotes erd
+\end_inset
+
+, since its original purpose was to display the document's table of contents.
+ The Outline has become much more powerful now, however.
In the pull-down box at the top of the outline window, you can choose between
- different lists of document objects, like the list of footnotes.
- Some of them, the list of tables, figures, and algorithms can also be added
- to the document, see section
-\begin_inset space ~
+ several different lists, including other TOC-like objects, such as lists
+ of tables and figures, but also lists of footnotes, or labels and cross-referen
+ces (see
+\begin_inset CommandInset ref
+LatexCommand formatted
+reference "sec:Cross-References"
+
\end_inset
+), or notes, or citations (see
+\begin_inset CommandInset ref
+LatexCommand formatted
+reference "sec:Bibliography"
+
+\end_inset
+).
+ Clicking on any of these will take you to the corresponding object in your
+ document.
+ The Outline has become much more powerful now, however.
+ In the pull-down box at the top of the outline window, you can choose between
+ several different lists, including other TOC-like objects, such as lists
+ of tables and figures, but also lists of footnotes, or labels and cross-referen
+ces (see
\begin_inset CommandInset ref
-LatexCommand ref
-reference "sub:List-of-Figures"
+LatexCommand formatted
+reference "sec:Cross-References"
\end_inset
-.
+), or notes, or of citations (see
+\begin_inset CommandInset ref
+LatexCommand formatted
+reference "sec:Bibliography"
+
+\end_inset
+
+).
+ Clicking on any of these will take you to the corresponding object in your
+ document.
+\end_layout
+
+\begin_layout Standard
+Right-clicking on elements in the Outline will in many cases open a context
+ menu that will allow for direct modification of those elements.
+ For example, with citations, the context menu allows you to open the citation
+ dialog and to modify the citation.
+ Right-clicking a change will allow you to accept or reject it.
+ And so on.
+\end_layout
+
+\begin_layout Standard
+The `Filter' field at the top allows you to restrict which entries appear
+ in the Outline.
+ For example, if you are displaying the list of Labels and References and
+ wish to see only references to subsections, you can enter the text
+\begin_inset Quotes eld
+\end_inset
+
+sub:
+\begin_inset Quotes erd
+\end_inset
+
+ in the filter, and only entries containing that text will be displayed.
+\end_layout
+
+\begin_layout Standard
+At the bottom of the outline are several buttons and the like that allow
+ you further to control the display.
The
\family sans
Sort
\family default
- option sorts the current list, and the
+ option sorts the current list alphabetically.
+ Otherwise, the elements appear in the order in which they occur in the
+ document.The
\family sans
Keep
\family default
\end_inset
3.
+ Finally, the slider at the left can be used to open the Outline to a given
+
+\begin_inset Quotes eld
+\end_inset
+
+depth
+\begin_inset Quotes erd
+\end_inset
+
+.
+ It is best just to experiment with it to see how it works.
\end_layout
\begin_layout Standard
-With the buttons
+The
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset Graphics
+ filename ../images/reload.png
+
+\end_inset
+
+
+\begin_inset space ~
+\end_inset
+
+button refreshes the TOC (though this should not usually be necessary).
+ Next to it are buttons that allow you to change the position of sections
+ in your document.
+ The
\begin_inset space \space{}
\end_inset
\begin_inset space ~
\end_inset
- at the bottom of the outline window you can change the position of sections
- in your document.
- So you can for example move section
+ buttons move sections up and down in the document.
+ So, for example, you can move section
\begin_inset space ~
\end_inset
\begin_inset space ~
\end_inset
-2.4.
+2.4 or after section
+\begin_inset space ~
+\end_inset
+
+2.6.
LyX will then automatically renumber the sections to the new order.
With the buttons
\begin_inset Graphics
\end_inset
- or the corresponding key bindings
+ (or the corresponding key bindings
\family sans
Tab
\family default
\family sans
Shift-Tab
\family default
- you can change the sectioning level of sections.
+) you can change the level of sections.
So you can for example make section
\begin_inset space ~
\end_inset
-2.5 to chapter
+2.5 chapter
\begin_inset space ~
\end_inset
2.4.1.
\end_layout
-\begin_layout Standard
-The toolbar button
-\begin_inset Graphics
- filename ../images/bookmark-goto_0.png
- scale 85
- groupId toolbarbuttons
-
-\end_inset
-
- jumps to the position in the document where you recently changed something.
- This is for example useful when you have a large document and navigated
- or scrolled to another document part to look for something, and want to
- go back to your last editing position.
-\end_layout
-
\begin_layout Section
-Input / Word Completion
\begin_inset CommandInset label
LatexCommand label
name "sec:Input-Completion"
\end_inset
-
+Input / Word Completion
\end_layout
\begin_layout Standard
\end_deeper
\begin_layout Standard
-You'll learn more and more keybindings and short-cut keys as you use LyX,
+You'll learn more and more key bindings and short-cut keys as you use LyX,
because most actions will prompt a small message in the status bar at the
bottom of LyX's main window which describe the name of the action, you've
- just triggered, and any existing keybindings for that action.
- The LyX menus also list the defined keybindings.
- The notation for the keybindings is very similar to the notation used in
- this documentation, so you should not have any problems understanding it.
+ just triggered, and any existing key bindings for that action.
+ The LyX menus also list the defined key bindings.
+ The notation for the key bindings is very similar to the notation used
+ in this documentation, so you should not have any problems understanding
+ it.
However, notice that Shift-modifiers are explicitly mentioned, so
\begin_inset Quotes eld
\end_inset
\end_layout
\begin_layout Standard
-You can list or change the keybindings in the menu
+You can list or change the key bindings in the menu
\family sans
Tools\SpecialChar \menuseparator
Preferences
\end_layout
\begin_layout Standard
-New users are sometimes puzzled by the fact that many of the document classes
- listed under
+You will probably find that many of the document classes listed under
\family sans
Document\SpecialChar \menuseparator
Settings\SpecialChar \menuseparator
\end_inset
.
- Or they are surprised that, when they open e.
-\begin_inset space \thinspace{}
-\end_inset
-
-g.
-\begin_inset space ~
-\end_inset
-
-the
-\family sans
-iop-article
-\family default
- template, they receive a warning saying that the document requires files
- that are not installed to produce output.
- So it seems that something is wrong.
+ If you open a document that uses such a class, you will receive a warning
+ saying that there are files that are required to produce output that are
+ not installed.
+ So it may seem that something is wrong.
\end_layout
\begin_layout Standard
-But nothing is wrong.
+Nothing is wrong.
LyX includes many more document classes than you will ever need to use,
and some of them, like
\family sans
IOP
\family default
-, are highly specialized.LyX tries to support as many different types of
- documents as possible, and it includes almost one hundred different layout
- files, with a growing number.
+, are highly specialized.
+ LyX tries to support as many different types of documents as possible,
+ and it includes almost one hundred different layout files, with a growing
+ number.
No LaTeX distribution will install by default all files that might be needed
by some document class.
There are just too many of them.
\end_layout
\begin_layout Standard
-If there is a document class you would like to use that is marked as `Unavailabl
-e', you need to install the appropriate package files.
+If there is a document class you would like to use that is marked as
+\begin_inset Quotes erd
+\end_inset
+
+Unavailable
+\begin_inset Quotes erd
+\end_inset
+
+, you just need to install the appropriate package files.
The easiest way to find out which files you need to install is to use that
document class for a new file.
LyX will display a dialog that will list the missing files.
\begin_inset Quotes erd
\end_inset
- of the
+ in of the
\emph on
Customization
\emph default
\end_inset
dialog.
- Highlighting a module in the dialog will bring up a description of the
- module.
+ Highlighting a module in the dialog will bring up a description of what
+ it does.the module.
\end_layout
\begin_layout Standard
-Some modules require LaTeX packages that are not always installed by default.
- LyX will warn you if you do not have the needed package.
+Some modules require LaTeX packages or file format converters that are not
+ always installed by default.
+ LyX will warn you if you do not have a needed package or converter, and
+ it will tell you what exactly you are missing.
You can still use the module while editing your file, but you will not
be able to export to PDF or print your document, since LyX will not be
- able to compile the LaTeX file without the missing package.
- If you want to be able to produce output, then you need to install the
- missing package and then reconfigure LyX by selecting
+ able to compile the LaTeX file without the missing prerequisites.
+ If you want to be able to produce this kind of output, then you need to
+ install the missing prerequisites and then reconfigure LyX by selecting
+
\family sans
Tools\SpecialChar \menuseparator
Reconfigure
\end_layout
+\begin_layout Subsubsection
+Local Layout
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Document ! Local Layout
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+Modules are to LyX much as packages are to LaTeX: They are intended to be
+ used in a variety of different documents, and if you often find yourself
+ needing the same sort of thing in different documents, you should consider
+ writing a module for this purpose.
+ Sometimes, however, a particular document has very special needs, and you
+ find yourself wanting a specific inset or character style, but only that
+ one time.
+ You want something that is like a document's own LaTeX preamble.
+ What you want is LyX's
+\begin_inset Quotes eld
+\end_inset
+
+Local Layout
+\begin_inset Quotes erd
+\end_inset
+
+.
+ See chapter 5 of the Customization manual for information on how to use
+ it.
+\end_layout
+
\begin_layout Subsubsection
Properties
\end_layout
The choices are
\end_layout
+\begin_deeper
\begin_layout Itemize
\family sans
\begin_layout Itemize
\family sans
-A3, A4,
-\family default
-
-\family sans
-A5
+A0 - A6
\end_layout
\begin_layout Itemize
\family sans
-B3, B4, B5
+B0 - B6
\end_layout
\begin_layout Itemize
\family sans
-US letter
+C0 - C6
\end_layout
\begin_layout Itemize
\family sans
-US legal
+US letter, US legal, US executive
\end_layout
\begin_layout Itemize
\family sans
-US executive
+JIS B0 - JIS B6
\end_layout
\begin_layout Itemize
Custom
\end_layout
+\end_deeper
\begin_layout Labeling
\labelwidthstring 00.00.0000
\begin_layout Standard
If you use a KOMA-Script document class, you can use the default settings.
- Because KOMA-Script calculates then the printspace automatically by taking
+ Because KOMA-Script calculates then the print space automatically by taking
the paper format and the font size into account.
\end_layout
menu to change the nesting depth of the current paragraph (the status bar
will tell you how far you are nested).
Instead of the menu, you can also use the toolbar buttons
-\begin_inset Graphics
- filename ../images/depth-increment.png
- scale 85
- groupId toolbarbuttons
-
+\begin_inset Info
+type "icon"
+arg "depth-increment"
\end_inset
and
-\begin_inset Graphics
- filename ../images/depth-decrement.png
- scale 85
- groupId toolbarbuttons
-
+\begin_inset Info
+type "icon"
+arg "depth-decrement"
\end_inset
or the convenient key bindings
\family default
: level #2) We'll stick an encapsulated description of how we created the
example in parentheses someplace.
- For example, the two keybindings are how we changed the depth.
+ For example, the two key bindings are how we changed the depth.
The environment name is the name of the current environment.
Either before or after this, we'll put in the level.
\end_layout
\begin_layout Standard
The protected space: It is used to tell LyX (and LaTeX) not to break the
line at that point.
- This may be necessary to avoid unlucky linebreaks, like in:
+ This may be necessary to avoid unlucky line breaks, like in:
\end_layout
\begin_layout Quote
\end_inset
.
- The normal phantom ouputs the width and heigth of the content as space,
+ The normal phantom outputs the width and height of the content as space,
while the horizontal and vertical variant only outputs the corresponding
dimension.
\end_layout
\end_layout
\begin_layout Standard
-If you don't like the way LaTeX does the pagebreaks in your document, you
+If you don't like the way LaTeX does the page breaks in your document, you
can force a page break where you want one.
Normally this will not be necessary, because LaTeX is good at page breaking.
Only if you use a lot of
\end_layout
\begin_layout Standard
-We recommend not to use forced pagebreaks until the text is finished and
+We recommend not to use forced page breaks until the text is finished and
until you have checked in the preview to see if you
\emph on
really
\end_layout
\begin_layout Standard
-There are two types of pagebreaks: One that ends the page without any special
+There are two types of page breaks: One that ends the page without any special
action.
This can be inserted above or below a paragraph via the menu
\family sans
\end_layout
\begin_layout Standard
-Rather than forced pagebreaks where the content behind the break is placed
+Rather than forced page breaks where the content behind the break is placed
directly on the next page, you can also clear pages while breaking them.
That means that the current paragraph is terminated and everything, including
unprocessed floats, from the earlier part of the document are placed behind
\end_inset
-\end_layout
-
-\begin_layout Standard
-
\end_layout
\begin_layout Section
Note:
\series default
XeTeX and especially LuaTeX, are still rather new and thus not as mature
- as traditional LaTeX or PDFLaTeX.
+ as traditional LaTeX or PDFTeX.
\end_layout
\end_inset
\begin_layout Itemize
click on the toolbar button
-\begin_inset Graphics
- filename ../images/font-noun.png
- scale 85
- groupId toolbarbuttons
-
+\begin_inset Info
+type "icon"
+arg "font-noun"
\end_inset
\begin_layout Itemize
clicking on the toolbar button
-\begin_inset Graphics
- filename ../images/font-emph.png
- scale 85
- groupId toolbarbuttons
-
+\begin_inset Info
+type "icon"
+arg "font-emph"
\end_inset
\begin_inset space ~
\end_inset
-Style
+Style\SpecialChar \menuseparator
+Customized\SpecialChar \ldots{}
+
\family default
dialog.
There are several boxes on this dialog, each corresponding to a different
)
\end_layout
+\begin_layout Labeling
+\labelwidthstring 00.00.0000
+
+\family sans
+Increase
+\family default
+ This increases the size by one step (for instance, from
+\begin_inset Quotes eld
+\end_inset
+
+Largest
+\begin_inset Quotes erd
+\end_inset
+
+ to
+\begin_inset Quotes eld
+\end_inset
+
+Huge
+\begin_inset Quotes erd
+\end_inset
+
+).
+ (key binding
+\begin_inset Info
+type "shortcut"
+arg "font-size increase"
+\end_inset
+
+)
+\end_layout
+
+\begin_layout Labeling
+\labelwidthstring 00.00.0000
+
+\family sans
+Decrease
+\family default
+ This decreases the size by one step (for instance, from
+\begin_inset Quotes eld
+\end_inset
+
+Normal
+\begin_inset Quotes erd
+\end_inset
+
+ to
+\begin_inset Quotes eld
+\end_inset
+
+Small
+\begin_inset Quotes erd
+\end_inset
+
+).
+ (key binding
+\begin_inset Info
+type "shortcut"
+arg "font-size decrease"
+\end_inset
+
+)
+\end_layout
+
\end_deeper
\begin_layout Standard
We'll warn you
\begin_layout Labeling
\labelwidthstring 00.00.0000
+\family sans
+Double
+\begin_inset space ~
+\end_inset
+
+underbar
+\family default
+
+\uuline on
+This is text with Double underbar on.
+
+\uuline default
+ (key binding
+\begin_inset Info
+type "shortcut"
+arg "font-underunderline"
+\end_inset
+
+)
+\begin_inset Newline newline
+\end_inset
+
+If we just warned you against using underbar, you can imagine what we think
+ about double underbar.
+\end_layout
+
+\begin_layout Labeling
+\labelwidthstring 00.00.0000
+
+\family sans
+Wavy
+\begin_inset space ~
+\end_inset
+
+underbar
+\family default
+
+\uwave on
+This is text with Wavy underbar on.
+
+\uwave default
+ (key binding
+\begin_inset Info
+type "shortcut"
+arg "font-underwave"
+\end_inset
+
+)
+\begin_inset Newline newline
+\end_inset
+
+Use this only if a journal absolutely insists on it.
+ Keep antinausea pills handy.
+\end_layout
+
+\begin_layout Labeling
+\labelwidthstring 00.00.0000
+
+\family sans
+Strikeout
+\family default
+
+\strikeout on
+This is text with Strikeout on.
+
+\strikeout default
+ (key binding
+\begin_inset Info
+type "shortcut"
+arg "font-strikeout"
+\end_inset
+
+) This is frequently used to indicate an older version of text that has
+ since changed.
+\end_layout
+
+\begin_layout Labeling
+\labelwidthstring 00.00.0000
+
\family sans
Noun
\family default
\family default
dialog, the settings are saved.
You can activate them using the toolbar button
-\begin_inset Graphics
- filename ../images/textstyle-apply.png
- scale 85
- groupId toolbarbuttons
-
+\begin_inset Info
+type "icon"
+arg "textstyle-apply"
\end_inset
.
- The button lets you toggle the state of your custom character style even
- when the dialog isn't visible.
+ The button lets you apply your custom character style even when the dialog
+ isn't visible.
\end_layout
We use it in this document to highlight menu names.
\end_layout
+\begin_layout Standard
+\begin_inset Quotes eld
+\end_inset
+
+Toggling
+\begin_inset Quotes erd
+\end_inset
+
+ refers to applying or removing font properties.
+ When a property is marked for toggling in the Text Style dialog, applying
+ the style to text that already has the property will cause the property
+ to be removed.
+ If you apply a style with properties A, B and C to text that currently
+ has font properties B, C, F and G, and if B is set to toggle and C is set
+ not to toggle, the text ends up with properties A, C, F and G.
+
+\begin_inset Quotes eld
+\end_inset
+
+Never toggled
+\begin_inset Quotes erd
+\end_inset
+
+ and
+\begin_inset Quotes eld
+\end_inset
+
+always toggled
+\begin_inset Quotes erd
+\end_inset
+
+ mean that you do not control the toggling behavior.
+ For the properties on the left side of the dialog (
+\begin_inset Quotes eld
+\end_inset
+
+Family
+\begin_inset Quotes erd
+\end_inset
+
+ etc.), toggling behavior is up to you.
+ If
+\begin_inset Quotes eld
+\end_inset
+
+Toggle all
+\begin_inset Quotes erd
+\end_inset
+
+ is checked, all of the left side properties are toggled; by default, none
+ of them are.
+ Finally,
+\begin_inset Quotes eld
+\end_inset
+
+Reset
+\begin_inset Quotes erd
+\end_inset
+
+ is never toggled.
+ If you set
+\begin_inset Quotes eld
+\end_inset
+
+Series
+\begin_inset Quotes erd
+\end_inset
+
+ to
+\begin_inset Quotes eld
+\end_inset
+
+Reset
+\begin_inset Quotes erd
+\end_inset
+
+ and select
+\begin_inset Quotes eld
+\end_inset
+
+Toggle all
+\begin_inset Quotes erd
+\end_inset
+
+, then apply the style to bold face text, the text will revert to the default
+ series (
+\begin_inset Quotes eld
+\end_inset
+
+Medium
+\begin_inset Quotes erd
+\end_inset
+
+), no matter how many times you apply the style.
+
+\end_layout
+
\begin_layout Standard
We conclude with the same warning once again: Don't overuse the fonts.
They are, more often than not, a kludge and a bad substitute for good writing.
\end_layout
\begin_layout Standard
-To get a look at the final version of your document, with all of the pagebreaks
- in place, the footnotes correctly numbered, and so on, use the menu
+To get a look at the final version of your document, with all of the page
+ breaks in place, the footnotes correctly numbered, and so on, use the menu
+
\family sans
View
\family default
- and choose a file type.
- A viewing program will pop up showing the output.
- For
+ and choose
\family sans
-View\SpecialChar \menuseparator
-DVI
+View
\family default
- you can use the toolbar button
-\begin_inset Graphics
- filename ../images/buffer-view_dvi.png
- scale 85
- groupId toolbarbuttons
+ or the toolbar button
+\begin_inset Info
+type "icon"
+arg "buffer-view"
+\end_inset
+.
+ A viewing program will pop up showing the output in the defined default
+ output format, which is globally set in the preferences (see sec.
+\begin_inset space ~
\end_inset
- (shortcut
-\begin_inset Info
-type "shortcut"
-arg "buffer-view dvi"
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:File-Formats"
+
\end_inset
-), for
-\family sans
-View\SpecialChar \menuseparator
-PDF
+) and can also be altered for single documents in the document settings
+ (see sec.
\begin_inset space ~
\end_inset
-(pdflatex)
-\family default
- the toolbar button
-\begin_inset Graphics
- filename ../images/buffer-view_pdf2.png
- scale 85
- groupId toolbarbuttons
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Doc-Output"
\end_inset
-, and for
+).
+ Further output formats can be selected via
\family sans
View\SpecialChar \menuseparator
-Postscript
+Other Formats
\family default
- the toolbar button
+ or the toolbar button
\begin_inset Graphics
- filename ../images/buffer-view_ps.png
+ filename ../images/view-others.png
scale 85
groupId toolbarbuttons
\end_inset
- (shortcut
-\begin_inset Info
-type "shortcut"
-arg "buffer-view ps"
-\end_inset
-
-).
+.
\end_layout
\begin_layout Standard
View\SpecialChar \menuseparator
Update
\family default
-.
+ or
+\family sans
+View\SpecialChar \menuseparator
+Update (Other Formats)
+\family default
+, respectively.
\end_layout
\begin_layout Standard
Print
\family default
or click on the toolbar button
-\begin_inset Graphics
- filename ../images/dialog-show_print.png
- scale 85
- groupId toolbarbuttons
-
+\begin_inset Info
+type "icon"
+arg "dialog-show print"
\end_inset
.
\begin_layout Standard
Notes are inserted with the toolbar button
-\begin_inset Graphics
- filename ../images/note-insert.png
- scale 85
- groupId toolbarbuttons
-
+\begin_inset Info
+type "icon"
+arg "note-insert"
\end_inset
or the menu
Footnote
\family default
or the toolbar button
-\begin_inset Graphics
- filename ../images/footnote-insert.png
- scale 85
- groupId toolbarbuttons
-
+\begin_inset Info
+type "icon"
+arg "footnote-insert"
\end_inset
,
Note
\family default
or the toolbar button
-\begin_inset Graphics
- filename ../images/marginalnote-insert.png
- scale 85
- groupId toolbarbuttons
-
+\begin_inset Info
+type "icon"
+arg "marginalnote-insert"
\end_inset
, you'll see
\begin_layout Standard
To insert an image in your document, place the cursor at the text position
you want and click on the toolbar icon
-\begin_inset Graphics
- filename ../images/dialog-show-new-inset_graphics.png
- scale 85
- groupId toolbarbuttons
-
+\begin_inset Info
+type "icon"
+arg "dialog-show-new-inset graphics"
\end_inset
or select
\begin_layout Standard
You can insert a table using either the toolbar button
-\begin_inset Graphics
- filename ../images/tabular-insert.png
- scale 85
- groupId toolbarbuttons
-
+\begin_inset Info
+type "icon"
+arg "tabular-insert"
\end_inset
or the menu
\begin_layout Standard
To create a math formula, you can just click on the toolbar icon
-\begin_inset Graphics
- filename ../images/math-mode.png
- scale 85
- groupId toolbarbuttons
-
+\begin_inset Info
+type "icon"
+arg "math-mode on"
\end_inset
.
\begin_layout Standard
Displayed formulas appear outside the text like if they were in an own paragraph
, like this one:
-\begin_inset Formula \[
+\begin_inset Formula
+\[
A=B
\]
\begin_layout Standard
You can leave many parts of a formula, like this matrix, partially filled
in, such as:
-\begin_inset Formula \[
+\begin_inset Formula
+\[
\left(\begin{array}{ccc}
\lambda_{1}\\
& \ddots\\
\family default
.
Any math structure can be placed in a fraction, as this example shows:
-\begin_inset Formula \[
+\begin_inset Formula
+\[
\left[\frac{1}{\left(\begin{array}{cc}
2 & 3\\
4 & 5
\end_inset
, versus
-\begin_inset Formula \[
+\begin_inset Formula
+\[
\sum_{n=0}^{\infty}\frac{1}{n!}=e
\]
\end_inset
-\begin_inset Formula \[
+\begin_inset Formula
+\[
\lim_{x\rightarrow\infty}f(x),
\]
But if you want to surround a large structure, like a matrix or a fraction,
or if you have several layers of brackets, it is better to use the math
toolbar delimiter icon
-\begin_inset Graphics
- filename ../images/math/delim.png
- scale 85
- groupId toolbarbuttons
-
+\begin_inset Info
+type "icon"
+arg "dialog-show mathdelimiter"
\end_inset
.
For example, that's how you would construct the brackets around a standard
matrix such as:
-\begin_inset Formula \[
+\begin_inset Formula
+\[
\left[\begin{array}{cc}
1 & 2\\
3 & 4
\end_inset
and to make it easier to see the layers of parentheses as in:
-\begin_inset Formula \[
+\begin_inset Formula
+\[
\frac{1}{\left(1+\left(\frac{1}{1+\left(\frac{1}{1+x}\right)}\right)\right)}
\]
.
It will open a dialog for you to choose the number of rows/columns.
Here is an example:
-\begin_inset Formula \[
+\begin_inset Formula
+\[
\left(\begin{array}{ccc}
1 & 2 & 3\\
4 & 5 & 6\\
centered, and the third column will be right-justified, because each letter
corresponds to the relevant column.
The result will look like this:
-\begin_inset Formula \[
+\begin_inset Formula
+\[
\begin{array}{lcr}
this & this\, column & this\, column\\
column & has & has\, right\\
\series default
.
Here is an example:
-\begin_inset Formula \[
+\begin_inset Formula
+\[
f(x)=\begin{cases}
-1 & x<0\\
0 & x=0\\
.
Multi-line formulas are always displayed formulas.
Here is an example:
-\begin_inset Formula \begin{eqnarray}
+\begin_inset Formula
+\begin{eqnarray}
a^{2} & = & (b^{2}+c^{2})(b^{2}-c^{2})\nonumber \\
a & = & \sqrt{b^{4}-c^{4}}\label{eq:asquared}
\end{eqnarray}
position to the next column.
Note that the middle column is designed for relation signs, structures
within this column will be printed in a smaller size:
-\begin_inset Formula \begin{eqnarray*}
+\begin_inset Formula
+\begin{eqnarray*}
\frac{A}{B} & \frac{A}{B} & \frac{A}{B}
\end{eqnarray*}
the document class.
In this document the number is printed together with the chapter number,
separated by a dot:
-\begin_inset Formula \begin{equation}
+\begin_inset Formula
+\begin{equation}
1+1=2
\end{equation}
\end_inset
will only toggle the numbering of the line where the cursor is:
-\begin_inset Formula \begin{eqnarray}
+\begin_inset Formula
+\begin{eqnarray}
1 & = & 3-2\\
2 & = & 4-2\nonumber \\
4 & \leq & 7
\end_inset
in the second line:
-\begin_inset Formula \begin{eqnarray}
+\begin_inset Formula
+\begin{eqnarray}
\tanh(x) & = & \frac{\sinh(x)}{\cosh(x)}\nonumber \\
& = & \frac{\mathrm{e}^{2x}-1}{\mathrm{e}^{2x}+1}\label{eq:tanhExp}
\end{eqnarray}
Blackboard
\family default
denotes the set of numbers:
-\begin_inset Formula \[
+\begin_inset Formula
+\[
f(x)=\sqrt{x}\:;\: x\in\mathbb{N}
\]
Math text appears in LyX in black instead of blue.
You can use spaces and accents in math text like in normal text.
Here is an example:
-\begin_inset Formula \[
+\begin_inset Formula
+\[
f(x)=\begin{cases}
-x & \textrm{if I say so}\\
--x & \textrm{unter Umständen}
+x & \mbox{if I say so}\\
+-x & \mbox{under Umständen}
\end{cases}
\]
Label
\family default
or by pressing the toolbar button
-\begin_inset Graphics
- filename ../images/label-insert.png
- scale 85
- groupId toolbarbuttons
-
+\begin_inset Info
+type "icon"
+arg "label-insert"
\end_inset
.
Cross-Reference
\family default
or the toolbar button
-\begin_inset Graphics
- filename ../images/dialog-show-new-inset_ref.png
- scale 85
- groupId toolbarbuttons
-
+\begin_inset Info
+type "icon"
+arg "dialog-show-new-inset ref"
\end_inset
.
\family default
so that you can use it to set the cursor back to the cross-reference.
You can also go back with the toolbar button
-\begin_inset Graphics
- filename ../images/bookmark-goto_0.png
- scale 85
- groupId toolbarbuttons
-
+\begin_inset Info
+type "icon"
+arg "bookmark-goto 0"
\end_inset
.
Hyperlink
\family default
or with the toolbar button
-\begin_inset Graphics
- filename ../images/href-insert.png
- scale 85
- groupId toolbarbuttons
-
+\begin_inset Info
+type "icon"
+arg "href-insert"
\end_inset
.
Citation
\family default
or the toolbar button
-\begin_inset Graphics
- filename ../images/dialog-show-new-inset_citation.png
- scale 85
- groupId toolbarbuttons
-
+\begin_inset Info
+type "icon"
+arg "dialog-show-new-inset citation"
\end_inset
.
Entry
\family default
or the toolbar button
-\begin_inset Graphics
- filename ../images/index-insert.png
- scale 85
- groupId toolbarbuttons
-
+\begin_inset Info
+type "icon"
+arg "index-insert"
\end_inset
.
xindy
\family default
, however, this won't work for anything other than bold or italic text.
- This is because xindy requires you to define semantic elements before
- they can be used, see
+ This is because xindy requires you
+\change_deleted 5863208 1304031984
+
+\change_unchanged
+ to define semantic elements before they can be used, see
\begin_inset CommandInset citation
LatexCommand cite
after "p. 678 ff."
Entry
\family default
or the toolbar button
-\begin_inset Graphics
- filename ../images/nomencl-insert.png
- scale 85
- groupId toolbarbuttons
-
+\begin_inset Info
+type "icon"
+arg "nomencl-insert"
\end_inset
.
question
\series default
part appears:
-\begin_inset Formula \[
+\begin_inset Formula
+\[
x^{2}-2x-2\Rightarrow\question{x_{1}}\answer{x_{2}}=1\question{+\sqrt{3}}\answer{-\sqrt{3}}.
\]
Code
\family default
or by the toolbar button
-\begin_inset Graphics
- filename ../images/ert-insert.png
- scale 85
- groupId toolbarbuttons
-
+\begin_inset Info
+type "icon"
+arg "ert-insert"
\end_inset
.
\end_inset
.
-
+\end_layout
+
+\begin_layout Standard
+\begin_inset Newpage cleardoublepage
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+pagestyle{fancy}
+\end_layout
+
+\end_inset
+
+
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+switches temporarily to a page style with custom header and footer line
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Left Header
+\begin_inset Argument
+status open
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+rightmark
+\end_layout
+
+\end_inset
+
+
+\begin_inset Note Note
+status open
+
+\begin_layout Plain Layout
+defines the header line as described below
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Center Header
+\begin_inset Argument
+status open
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Right Header
+\begin_inset Argument
+status open
+
+\begin_layout Plain Layout
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+leftmark
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Left Footer
+\begin_inset Argument
+status open
+
+\begin_layout Plain Layout
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+thepage
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Center Footer
+\begin_inset Argument
+status open
+
+\begin_layout Plain Layout
+
+\family sans
+\series bold
+\color red
+LyX's user guide
+\end_layout
+
+\end_inset
+
+Magic code:
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Formula $\Upsilon=\frac{\sqrt[3]{\aleph}}{\spadesuit}$
+\end_inset
+
+
+\end_layout
+
+\begin_layout Right Footer
+\begin_inset Argument
+status open
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+Roman{page}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Section
+Customized Page Headers and Footers
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Document ! Header/Footer line
+\end_layout
+
+\end_inset
+
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Header/Footer line
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+To define custom page header and footer line for your document, you need
+ to set the headings style to
+\family sans
+Fancy
+\family default
+ in the
+\family sans
+Document\SpecialChar \menuseparator
+Settings
+\family default
+ dialog under
+\family sans
+Page
+\begin_inset space ~
+\end_inset
+
+Layout
+\family default
+.
+ As second step add in the menu
+\family sans
+Document\SpecialChar \menuseparator
+Settings\SpecialChar \menuseparator
+Modules
+\family default
+ the module
+\begin_inset Quotes eld
+\end_inset
+
+Custom Header/Footerlines
+\begin_inset Quotes erd
+\end_inset
+
+.
+ This module offers the 6
+\begin_inset space ~
+\end_inset
+
+styles
+\end_layout
+
+\begin_layout Description
+Left
+\begin_inset space ~
+\end_inset
+
+Header,
+\begin_inset space ~
+\end_inset
+
+Center
+\begin_inset space ~
+\end_inset
+
+Header,
+\begin_inset space ~
+\end_inset
+
+Right
+\begin_inset space ~
+\end_inset
+
+Header
+\end_layout
+
+\begin_layout Description
+Left
+\begin_inset space ~
+\end_inset
+
+Footer,
+\begin_inset space ~
+\end_inset
+
+Center
+\begin_inset space ~
+\end_inset
+
+Footer,
+\begin_inset space ~
+\end_inset
+
+Right
+\begin_inset space ~
+\end_inset
+
+Footer
+\end_layout
+
+\begin_layout Standard
+for the different positions in the header/footer.
+\end_layout
+
+\begin_layout Standard
+Normally, headers and footers are set up in the beginning of the document.
+ but you can change them anywhere you want to.
+ Figure
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "fig:Page-layout"
+
+\end_inset
+
+ shows the page layout and where the header/footer styles will appear.
+\end_layout
+
+\begin_layout Standard
+\begin_inset Float figure
+placement h
+wide false
+sideways false
+status open
+
+\begin_layout Plain Layout
+\noindent
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="5" columns="3">
+<features tabularvalignment="middle">
+<column alignment="left" valignment="top" width="30line%">
+<column alignment="center" valignment="top" width="30line%">
+<column alignment="right" valignment="top" width="30line%">
+<row>
+<cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Left Header
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Center Header
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="right" valignment="top" topline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Right Header
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="right" valignment="top" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell multicolumn="1" alignment="left" valignment="top" leftline="true" rightline="true" usebox="none" width="90line%">
+\begin_inset Text
+
+\begin_layout Plain Layout
+The normal text on the page goes here.
+ The running header is above thel text, and the footer is below (including
+ footnotes).
+ Headers/footers typically contain things like the page number, title of
+ the chapter, company logo but your can use almost anything, except of floats.
+\end_layout
+
+\end_inset
+</cell>
+<cell multicolumn="2" alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell multicolumn="2" alignment="center" valignment="top" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="right" valignment="top" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Left Footer
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" bottomline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Center Footer
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="right" valignment="top" bottomline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Right Footer
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Plain Layout
+\begin_inset Caption
+
+\begin_layout Plain Layout
+\begin_inset CommandInset label
+LatexCommand label
+name "fig:Page-layout"
+
+\end_inset
+
+Page layout with custom header and footer line.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Subsection
+Definition
+\end_layout
+
+\begin_layout Standard
+To define your header line, add all 3
+\begin_inset space ~
+\end_inset
+
+header styles.
+ The things you add to the styles will appear on uneven pages, the things
+ in the optional arguments on even pages.
+ For single-sided documents, the optional argument will not be used and
+ can be omitted.
+ If you leave a style or its argument empty, nothing will appear in the
+ output.
+ Defining the footer line works similar.
+\end_layout
+
+\begin_layout Standard
+For the definition, you will need some LaTeX-commands that are inserted
+ as TeX-code (menu
+\family sans
+Insert\SpecialChar \menuseparator
+Te
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\family sans
+{}
+\end_layout
+
+\end_inset
+
+X
+\begin_inset space ~
+\end_inset
+
+Code
+\family default
+):
+\end_layout
+
+\begin_layout Description
+
+\backslash
+thepage prints the current page number
+\end_layout
+
+\begin_layout Description
+
+\backslash
+Roman{page} prints the current page number with capital roman numerals
+\end_layout
+
+\begin_layout Description
+
+\backslash
+roman{page} prints the current page number with small roman numerals
+\end_layout
+
+\begin_layout Description
+
+\backslash
+leftmark prints the current section number and title.
+ In case of a book, it prints the current chapter title instead, but this
+ document is an article.
+ It is called
+\begin_inset Quotes eld
+\end_inset
+
+leftmark
+\begin_inset Quotes prd
+\end_inset
+
+ because it usually goes in a left header.
+\end_layout
+
+\begin_layout Description
+
+\backslash
+rightmark prints the name and number of the current subsection number and
+ title.
+ If it is a book it prints the current section title.
+ It is normally used in the right header.
+\end_layout
+
+\begin_layout Subsection
+Default headers/footers
+\end_layout
+
+\begin_layout Standard
+Custom headers and footers are not empty by default.
+ The default header contains the chapter and section title and the center
+ footer has the page number.
+ In order to remove unwanted headers/footers, include the relevant header/footer
+ style in your document, but leave it blank.
+ So, if you don't want a page number in the footer, perhaps because you
+ put it int he header instead, include a blank center footer to get rid
+ of the default.
+\end_layout
+
+\begin_layout Subsection
+Appearance
+\end_layout
+
+\begin_layout Standard
+The custom headers and footers will appear on normal pages.
+ Some pages are different.
+ The title page has a style of its own, and so has any page that starts
+ a new part or chapter in your book.
+ Such pages will not have the custom headers/footers, but that is normal.
+ There is for example no need to print a header with the chapter name on
+ the chapter page where the chapter heading is in big bold letters anyway.
+\end_layout
+
+\begin_layout Subsubsection
+Header and footer decoration line
+\end_layout
+
+\begin_layout Standard
+By default, you get a 0.4
+\begin_inset space \thinspace{}
+\end_inset
+
+pt thick line below the header and no footer line.
+ This can be changed in the document preamble with the commands
+\series bold
+
+\backslash
+headrulewidth
+\series default
+ and
+\series bold
+
+\backslash
+footrulewidth
+\series default
+ in the following scheme:
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+renewcommand{
+\backslash
+headrulewidth}{thickness}
+\end_layout
+
+\begin_layout Standard
+Where thickness is a size in standard units like
+\family sans
+pt
+\family default
+ or
+\family sans
+mm
+\family default
+.
+ If you don't want a line, set the thickness to 0
+\begin_inset space \thinspace{}
+\end_inset
+
+pt.
+\end_layout
+
+\begin_layout Standard
+The lines can also be colored, but this requires more knowledge of LaTeX.
+ If you really need this, have a look in the Internet or in sec.
+\begin_inset space ~
+\end_inset
+
+4.4 of the book
+\begin_inset CommandInset citation
+LatexCommand cite
+key "Mittelbach"
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Subsubsection
+Several header/footer lines
+\end_layout
+
+\begin_layout Standard
+In case that you need more than one text line as a header/footer, you can
+ do this by adding a normal line break in the style definition.
+ However, the default height of the header/footer is only the one of one
+ text line.
+ To expand the height, redefine the LaTeX length
+\series bold
+
+\backslash
+headheight
+\series default
+ or
+\series bold
+
+\backslash
+footheight
+\series default
+ in this scheme in your document preamble:
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+setlength{
+\backslash
+headheight}{height}
+\end_layout
+
+\begin_layout Standard
+Where height is a size in standard units.
+ If you don't know which amount of space is needed for the height, define
+ your header/footer and preview your document as PDF.
+ Then open the LaTeX logfile via the menu
+\family sans
+Document\SpecialChar \menuseparator
+LaT
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\family sans
+{}
+\end_layout
+
+\end_inset
+
+eX Log
+\family default
+ and look via the button
+\family sans
+Next
+\begin_inset space ~
+\end_inset
+
+Warning
+\family default
+ if you find a warning of the package
+\series bold
+fancyhdr
+\series default
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+LaTeX-packages ! fancyhdr
+\end_layout
+
+\end_inset
+
+.
+ If there is such a warning, it contains the space that you need at least
+ for your header/footer.
+\end_layout
+
+\begin_layout Subsection
+This example
+\end_layout
+
+\begin_layout Standard
+This example demonstrates what can be done with custom header/footers.
+ Don't use it for yor document as it is just an example.
+ This example consists of the following definition:
+\end_layout
+
+\begin_layout Description
+Left
+\begin_inset space ~
+\end_inset
+
+Header
+\series bold
+
+\backslash
+rightmark
+\series default
+, empty optional argument
+\end_layout
+
+\begin_layout Description
+Center
+\begin_inset space ~
+\end_inset
+
+Header empty, empty optional argument
+\end_layout
+
+\begin_layout Description
+Right
+\begin_inset space ~
+\end_inset
+
+Header empty,
+\series bold
+
+\backslash
+leftmark
+\series default
+ in the optional argument
+\end_layout
+
+\begin_layout Description
+Left
+\begin_inset space ~
+\end_inset
+
+Footer empty,
+\series bold
+
+\backslash
+thepage
+\series default
+ in the optional argument
+\end_layout
+
+\begin_layout Description
+Center
+\begin_inset space ~
+\end_inset
+
+Footer
+\family sans
+\series bold
+\color red
+LyX's user guide
+\family default
+\series default
+\color inherit
+,
+\begin_inset Quotes eld
+\end_inset
+
+Magic code:
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Formula $\Upsilon=\frac{\sqrt[3]{\aleph}}{\spadesuit}$
+\end_inset
+
+
+\begin_inset Quotes erd
+\end_inset
+
+ in the optional argument
+\end_layout
+
+\begin_layout Description
+Right
+\begin_inset space ~
+\end_inset
+
+Footer
+\series bold
+
+\backslash
+Roman{page}
+\series default
+, empty optional argument
+\end_layout
+
+\begin_layout Description
+
+\backslash
+headrulewidth set to 2
+\begin_inset space \thinspace{}
+\end_inset
+
+pt
+\end_layout
+
+\begin_layout Standard
+In principle you can use almost everything in headers/footers, except of
+ floats.
+ For more special things like e.
+\begin_inset space \thinspace{}
+\end_inset
+
+g.
+\begin_inset space ~
+\end_inset
+
+thumb-indexes, see the manual of the
+\series bold
+fancyhdr
+\series default
+ package,
+\begin_inset CommandInset citation
+LatexCommand cite
+key "fancyhdr"
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Standard
+\begin_inset Newpage clearpage
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+pagestyle{headings}
+\end_layout
+
+\end_inset
+
+
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+switches back to page style with the default headings
+\end_layout
+
+\end_inset
+
+
\end_layout
\begin_layout Section
\end_inset
) or the toolbar button
-\begin_inset Graphics
- filename ../images/dialog-toggle_findreplaceadv.png
- scale 85
- groupId toolbarbuttons
-
+\begin_inset Info
+type "icon"
+arg "dialog-toggle findreplaceadv"
\end_inset
.
It is also possible to search for text with specific styles.
This is done by switching to the
\family sans
-Advanced
+Settings
\family default
tab of the dialog and unchecking the
\family sans
\family default
option in the
\family sans
-Advanced
+Settings
\family default
tab, in order to avoid replacing all
\begin_inset Quotes eld
Insert\SpecialChar \menuseparator
Insert Regular Expression
\family default
- (shortcut
-\begin_inset Info
-type "shortcut"
-arg "regexp-mode"
-\end_inset
-
-) while the cursor is in the
+ while the cursor is in the
\family sans
Find
\family default
\family default
option from the
\family sans
-Advanced
+Settings
\family default
tab, entering a
\series bold
\begin_inset Formula $\backslash2$
\end_inset
-, etc., where a
-\begin_inset Formula $\backslash$
-\end_inset
-
- symbol is entered in regexp mode by pressing twice the backslash key.
+, etc..
For example, try searching for the regexp
\begin_inset Formula $([a-z]+)[[:blank:]]\backslash1$
\end_inset
\end_layout
\begin_layout Standard
-LyX itself has no built-in spell checker.
- Rather it uses one of the external programs
+LyX has a built-in spell checker.
+ It uses one of the libraries
\family typewriter
aspell
\family default
,
\family typewriter
-ispell
-\family default
-,
-\family typewriter
-hspell
+hunspell
\family default
, or
\family typewriter
-pspell
-\family default
- as backend.
- This section assumes you have already installed and set up one of these
- programs.
-
-\family typewriter
-aspell
-\family default
- can be seen as the successor to
-\family typewriter
-ispell
-\family default
-, and contrary to
-\family typewriter
-ispell
-\family default
-, it supports multiple languages in parallel, so it is recommended to use
- aspell.
-
-\family typewriter
-hspell
+enchant
+\begin_inset Foot
+status open
+
+\begin_layout Plain Layout
+Enchant itself is a wrapper library having different configurable back-ends.
+ Please consult the documentation or man-page of it to learn more.
+\end_layout
+
+\end_inset
+
+
\family default
- is a Hebrew spell-checker.
+ as back-end.
+ Which back-ends are available depends on the platform and the build-time
+ configuration of the LyX program.
+ E.
+ g., on a Mac the operating system provides a spell checking service; there
+ it is available as an additional back-end to choose from.
The used spell checker and its settings are specified in LyX's preferences
under
\family sans
.
\end_layout
+\begin_layout Standard
+LyX can correctly spell check documents containing multiple languages.
+ This does work with all back-ends, assuming you have marked the different
+ languages appropriately and the dictionaries installed.
+\end_layout
+
\begin_layout Standard
For LyX on Windows, the selection box for the spell checking program is
greyed out in the preferences dialog because only
\family typewriter
-aspell
+hunspell
\family default
can be used.
\end_layout
Spellchecker
\family default
or the toolbar button
-\begin_inset Graphics
- filename ../images/dialog-show_spellchecker.png
- scale 85
- groupId toolbarbuttons
-
+\begin_inset Info
+type "icon"
+arg "dialog-show spellchecker"
\end_inset
starts the spell checking beginning from the current cursor position.
Settings
\family default
dialog.
- If you do not have a dictionary for the document language, spell checking
- will bring an error message.
- In this case, you can specify another dictionary file in the dialog by
- specifying a different
-\family sans
-Alternative language
-\family default
- in preferences dialog.
-\end_layout
-
-\begin_layout Standard
-After a spell check you will be informed about the number of checked words.
+ If you
+\change_deleted 5863208 1304031984
+
+\change_unchanged
+ have marked the different languages in your document, spell checking will
+ automatically switch to the appropriate dictionaries.
+ You can specify the language of a word in the spellchecker dialog by choosing
+ a different one at the top of the dialog.
\end_layout
\begin_layout Subsubsection*
dialog for that.
\end_layout
-\begin_layout Standard
-LyX cannot correctly spell check documents containing multiple languages.
- This does work with
-\family typewriter
-pspell
-\family default
-, assuming you have marked the different languages appropriately.
-\end_layout
-
\begin_layout Subsubsection*
Further Settings
\end_layout
\end_layout
\begin_layout Description
-Use
-\begin_inset space ~
-\end_inset
-
-input
+Spellcheck
\begin_inset space ~
\end_inset
-encoding Uses the document encoding that is set in the
-\family sans
-Document\SpecialChar \menuseparator
-Settings
-\family default
- dialog under
-\family sans
-Language
-\family default
- also for the spellchecker.
-\begin_inset Foot
-status collapsed
+continously Check the spelling of your document as you type it.
+ Misspelled words gets underlined with a dotted red line.
+ The suggestions by the spell checker will be added to the context menu
+ of a misspelled word if there were some found.
+ Choosing one of them will replace the misspelled word with the suggested
+ word.
+\end_layout
-\begin_layout Plain Layout
-The encodings are explained in section
+\begin_layout Description
+Spellcheck
\begin_inset space ~
\end_inset
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "cha:The-Document-Settings"
-
+notes
+\begin_inset space ~
\end_inset
-.
-\end_layout
-
+and
+\begin_inset space ~
\end_inset
- Only enable this if you use
-\family typewriter
-ispell
-\family default
- and can't spell check words with international letters in them.
- There have been reports that this does not work with all dictionaries,
- so this is disabled by default.
+comments The spelling of non-printed document contents is checked as well.
+ You may disable this by deactivating this option.
\end_layout
\begin_layout Section
\begin_layout Standard
If you have OpenOffice and its thesaurus installed, these files should be
already on your system.
- If not, you can get dictionaries from the site
+ If not, you can get dictionaries either from
+\begin_inset Flex URL
+status collapsed
+
+\begin_layout Plain Layout
+
+http://www.lyx.org/trac/browser/dictionaries/trunk/thes
+\end_layout
+
+\end_inset
+
+ or from the site
\begin_inset Flex URL
status collapsed
\end_inset
.
- Note that, as of OpenOffice 3.0, these files are usually packed in extension
- archives (
+\begin_inset Foot
+status open
+
+\begin_layout Plain Layout
+Note that, as of OpenOffice 3.0, the files on
+\begin_inset Flex URL
+status collapsed
+
+\begin_layout Plain Layout
+
+http://extensions.services.openoffice.org
+\end_layout
+
+\end_inset
+
+ are usually packed in extension archives (
\emph on
*.oxt
\emph default
unpack a zip archive.
\end_layout
-\begin_layout Standard
-Put the
+\end_inset
+
+ Put the
\emph on
*.idx
\emph default
Thesaurus
\family default
or the toolbar button
-\begin_inset Graphics
- filename ../images/thesaurus-entry.png
- scale 85
- groupId toolbarbuttons
-
+\begin_inset Info
+type "icon"
+arg "thesaurus-entry"
\end_inset
while the cursor is at the word you want to look up or while a word is
The author and the date of the change are shown in LyX's status bar when
the cursor is in changed text.
The same information is shown when you use the toolbar button
-\begin_inset Graphics
- filename ../images/changes-merge.png
- scale 85
- groupId toolbarbuttons
-
+\begin_inset Info
+type "icon"
+arg "changes-merge"
\end_inset
.
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Graphics
- filename ../images/changes-track.png
- scale 85
- groupId toolbarbuttons
+\family sans
+\begin_inset Info
+type "icon"
+arg "changes-track"
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Graphics
- filename ../images/changes-output.png
- scale 85
- groupId toolbarbuttons
+\family sans
+\begin_inset Info
+type "icon"
+arg "changes-output"
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Graphics
- filename ../images/change-next.png
- scale 85
- groupId toolbarbuttons
+\family sans
+\begin_inset Info
+type "icon"
+arg "change-next"
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Graphics
- filename ../images/change-accept.png
- scale 85
- groupId toolbarbuttons
+\family sans
+\begin_inset Info
+type "icon"
+arg "change-accept"
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Graphics
- filename ../images/change-reject.png
- scale 85
- groupId toolbarbuttons
+\family sans
+\begin_inset Info
+type "icon"
+arg "change-reject"
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Graphics
- filename ../images/changes-merge.png
- scale 85
- groupId toolbarbuttons
+\family sans
+\begin_inset Info
+type "icon"
+arg "changes-merge"
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Graphics
- filename ../images/all-changes-accept.png
- scale 85
- groupId toolbarbuttons
+\family sans
+\begin_inset Info
+type "icon"
+arg "all-changes-accept"
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Graphics
- filename ../images/all-changes-reject.png
- scale 85
- groupId toolbarbuttons
+\family sans
+\begin_inset Info
+type "icon"
+arg "all-changes-reject"
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Graphics
- filename ../images/note-insert.png
- scale 85
- groupId toolbarbuttons
+\family sans
+\begin_inset Info
+type "icon"
+arg "note-insert"
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Graphics
- filename ../images/note-next.png
- scale 85
- groupId toolbarbuttons
+\family sans
+\begin_inset Info
+type "icon"
+arg "note-next"
\end_inset
.
\end_layout
+\begin_layout Subsection
+View Messages
+\end_layout
+
+\begin_layout Standard
+Opens a window showing console messages.
+ This is useful for debugging LyX (i.
+\begin_inset space \thinspace{}
+\end_inset
+
+e., hunt for errors in the program) or to see what is going on in the background
+ while LaTeX is processing the document,
+\end_layout
+
+\begin_layout Subsection
+View
+\end_layout
+
+\begin_layout Standard
+This menu entry generates the output you have specified as default output
+ format either in the preferences (see sec.
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:File-Formats"
+
+\end_inset
+
+) or in the document settings (see sec.
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Doc-Output"
+
+\end_inset
+
+), for instance PDF, and opens it in an appropriate viewer.
+\end_layout
+
+\begin_layout Subsection
+View (Other Formats)
+\end_layout
+
+\begin_layout Standard
+With this submenu, you can view your document in alternative output formats.
+\end_layout
+
\begin_layout Subsection
Update
\end_layout
\begin_layout Standard
-This menu entry allows you to update the view with your latest changes without
- opening a new view window.
+This menu entry allows you to update the view with your latest changes (in
+ the default output format as described in the previous section) without
+ opening a new viewer window.
+\end_layout
+
+\begin_layout Subsection
+Update (Other Formats)
+\end_layout
+
+\begin_layout Standard
+With this submenu, you can update the view of alternative output formats
+ of your document without opening a new viewer window.
+\end_layout
+
+\begin_layout Subsection
+View Master Document
+\end_layout
+
+\begin_layout Standard
+This menu item is only visible if your document is included to another document,
+ which is then its
+\begin_inset Quotes eld
+\end_inset
+
+master
+\begin_inset Quotes erd
+\end_inset
+
+ (see section
+\emph on
+Child Documents
+\emph default
+ in the
+\emph on
+Embedded Objects
+\emph default
+ manual for more information on this topic).
+ This item allows you to view the master document from within its child.
+ That is, if you are working on a child document which is a chapter of a
+ book,
+\family sans
+View Master
+\family default
+ generates the output of the whole book, while
+\family sans
+View
+\family default
+ will just output the chapter alone.
+\end_layout
+
+\begin_layout Standard
+The format used by this function is the default output format as specified
+ in the preferences (see sec.
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:File-Formats"
+
+\end_inset
+
+) or in the document settings (see sec.
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Doc-Output"
+
+\end_inset
+
+).
+\end_layout
+
+\begin_layout Subsection
+Update Master Document
+\end_layout
+
+\begin_layout Standard
+This menu item is only visible if your document is included to another document,
+ which is then its
+\begin_inset Quotes eld
+\end_inset
+
+master
+\begin_inset Quotes erd
+\end_inset
+
+ (see section
+\emph on
+Child Documents
+\emph default
+ in the
+\emph on
+Embedded Objects
+\emph default
+ manual for more information on this topic).
+ This item allows you to update the view of a master document from within
+ its child without the need to switch to the master document itself.
+\end_layout
+
+\begin_layout Standard
+The format used by this function is the default output format as specified
+ in the preferences (see sec.
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:File-Formats"
+
+\end_inset
+
+) or in the document settings (see sec.
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Doc-Output"
+
+\end_inset
+
+).
\end_layout
\begin_layout Subsection
\begin_layout Plain Layout
\family sans
-\begin_inset Graphics
- filename ../images/buffer-new.png
- scale 85
- groupId toolbarbuttons
-
+\begin_inset Info
+type "icon"
+arg "buffer-new"
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Graphics
- filename ../images/file-open.png
- scale 85
- groupId toolbarbuttons
+\family sans
+\begin_inset Info
+type "icon"
+arg "file-open"
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Graphics
- filename ../images/buffer-write.png
- scale 85
- groupId toolbarbuttons
+\family sans
+\begin_inset Info
+type "icon"
+arg "buffer-write"
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Graphics
- filename ../images/dialog-show_print.png
- scale 85
- groupId toolbarbuttons
+\family sans
+\begin_inset Info
+type "icon"
+arg "dialog-show print"
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Graphics
- filename ../images/dialog-show_spellchecker.png
- scale 85
- groupId toolbarbuttons
+\family sans
+\begin_inset Info
+type "icon"
+arg "dialog-show spellchecker"
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Graphics
- filename ../images/undo.png
- scale 85
- groupId toolbarbuttons
+\family sans
+\begin_inset Info
+type "icon"
+arg "undo"
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Graphics
- filename ../images/redo.png
- scale 85
- groupId toolbarbuttons
+\family sans
+\begin_inset Info
+type "icon"
+arg "redo"
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Graphics
- filename ../images/cut.png
- scale 85
- groupId toolbarbuttons
+\family sans
+\begin_inset Info
+type "icon"
+arg "cut"
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Graphics
- filename ../images/copy.png
- scale 85
- groupId toolbarbuttons
+\family sans
+\begin_inset Info
+type "icon"
+arg "copy"
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Graphics
- filename ../images/paste.png
- scale 85
- groupId toolbarbuttons
+\family sans
+\begin_inset Info
+type "icon"
+arg "paste"
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Graphics
- filename ../images/dialog-show_findreplace.png
- scale 85
- groupId toolbarbuttons
+\family sans
+\begin_inset Info
+type "icon"
+arg "dialog-show findreplace"
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Graphics
- filename ../images/bookmark-goto_0.png
- scale 85
- groupId toolbarbuttons
+\family sans
+\begin_inset Info
+type "icon"
+arg "bookmark-goto 0"
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Graphics
- filename ../images/font-emph.png
- scale 85
- groupId toolbarbuttons
+\family sans
+\begin_inset Info
+type "icon"
+arg "font-emph"
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Graphics
- filename ../images/font-noun.png
- scale 85
- groupId toolbarbuttons
+\family sans
+\begin_inset Info
+type "icon"
+arg "font-noun"
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Graphics
- filename ../images/textstyle-apply.png
- scale 85
- groupId toolbarbuttons
+\family sans
+\begin_inset Info
+type "icon"
+arg "textstyle-apply"
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Graphics
- filename ../images/math-mode.png
- scale 85
- groupId toolbarbuttons
+\family sans
+\begin_inset Info
+type "icon"
+arg "math-mode"
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Graphics
- filename ../images/dialog-show-new-inset_graphics.png
- scale 85
- groupId toolbarbuttons
+\family sans
+\begin_inset Info
+type "icon"
+arg "dialog-show-new-inset graphics"
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Graphics
- filename ../images/tabular-insert.png
- scale 85
- groupId toolbarbuttons
-
+\begin_inset Info
+type "icon"
+arg "tabular-insert"
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Graphics
- filename ../images/dialog-toggle_toc.png
- scale 85
- groupId toolbarbuttons
+\family sans
+\begin_inset Info
+type "icon"
+arg "dialog-toggle toc"
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Graphics
- filename ../images/toolbar-toggle_math.png
- scale 85
- groupId toolbarbuttons
+\family sans
+\begin_inset Info
+type "icon"
+arg "toolbar-toggle math"
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Graphics
- filename ../images/toolbar-toggle_table.png
- scale 85
- groupId toolbarbuttons
+\family sans
+\begin_inset Info
+type "icon"
+arg "toolbar-toggle table"
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Graphics
- filename ../images/layout.png
- scale 85
- groupId toolbarbuttons
+\family sans
+\begin_inset Info
+type "icon"
+arg "layout"
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Graphics
- filename ../images/layout_Enumerate.png
- scale 85
- groupId toolbarbuttons
+\family sans
+\begin_inset Info
+type "icon"
+arg "layout Enumerate"
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Graphics
- filename ../images/layout_Itemize.png
- scale 85
- groupId toolbarbuttons
+\family sans
+\begin_inset Info
+type "icon"
+arg "layout Itemize"
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Graphics
- filename ../images/layout_List.png
- scale 85
- groupId toolbarbuttons
+\family sans
+\begin_inset Info
+type "icon"
+arg "layout List"
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Graphics
- filename ../images/layout_Description.png
- scale 85
- groupId toolbarbuttons
+\family sans
+\begin_inset Info
+type "icon"
+arg "layout Description"
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Graphics
- filename ../images/depth-increment.png
- scale 85
- groupId toolbarbuttons
+\family sans
+\begin_inset Info
+type "icon"
+arg "depth-increment"
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Graphics
- filename ../images/depth-decrement.png
- scale 85
- groupId toolbarbuttons
+\family sans
+\begin_inset Info
+type "icon"
+arg "depth-decrement"
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Graphics
- filename ../images/float-insert_figure.png
- scale 85
- groupId toolbarbuttons
+\family sans
+\begin_inset Info
+type "icon"
+arg "float-insert figure"
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Graphics
- filename ../images/float-insert_table.png
- scale 85
- groupId toolbarbuttons
+\family sans
+\begin_inset Info
+type "icon"
+arg "float-insert table"
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Graphics
- filename ../images/label-insert.png
- scale 85
- groupId toolbarbuttons
+\family sans
+\begin_inset Info
+type "icon"
+arg "label-insert"
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Graphics
- filename ../images/dialog-show-new-inset_ref.png
- scale 85
- groupId toolbarbuttons
+\family sans
+\begin_inset Info
+type "icon"
+arg "dialog-show-new-inset ref"
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Graphics
- filename ../images/dialog-show-new-inset_citation.png
- scale 85
- groupId toolbarbuttons
+\family sans
+\begin_inset Info
+type "icon"
+arg "dialog-show-new-inset citation"
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Graphics
- filename ../images/index-insert.png
- scale 85
- groupId toolbarbuttons
+\family sans
+\begin_inset Info
+type "icon"
+arg "index-insert"
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Graphics
- filename ../images/nomencl-insert.png
- scale 85
- groupId toolbarbuttons
+\family sans
+\begin_inset Info
+type "icon"
+arg "nomencl-insert"
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Graphics
- filename ../images/footnote-insert.png
- scale 85
- groupId toolbarbuttons
+\family sans
+\begin_inset Info
+type "icon"
+arg "footnote-insert"
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Graphics
- filename ../images/marginalnote-insert.png
- scale 85
- groupId toolbarbuttons
+\family sans
+\begin_inset Info
+type "icon"
+arg "marginalnote-insert"
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Graphics
- filename ../images/note-insert.png
- scale 85
- groupId toolbarbuttons
+\family sans
+\begin_inset Info
+type "icon"
+arg "note-insert"
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Graphics
- filename ../images/box-insert.png
- scale 85
- groupId toolbarbuttons
+\family sans
+\begin_inset Info
+type "icon"
+arg "box-insert Frameless"
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Graphics
- filename ../images/url-insert.png
- scale 85
- groupId toolbarbuttons
+\family sans
+\begin_inset Info
+type "icon"
+arg "href-insert"
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Graphics
- filename ../images/ert-insert.png
- scale 85
- groupId toolbarbuttons
+\family sans
+\begin_inset Info
+type "icon"
+arg "ert-insert"
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Graphics
- filename ../images/math-macro_newmacroname_newcommand.png
- scale 85
- groupId toolbarbuttons
+\family sans
+\begin_inset Info
+type "icon"
+arg "math-macro newmacroname newcommand"
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Graphics
- filename ../images/dialog-show-new-inset_include.png
- scale 85
- groupId toolbarbuttons
+\family sans
+\begin_inset Info
+type "icon"
+arg "dialog-show-new-inset include"
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Graphics
- filename ../images/dialog-show_character.png
- scale 85
- groupId toolbarbuttons
+\family sans
+\begin_inset Info
+type "icon"
+arg "dialog-show character"
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Graphics
- filename ../images/layout-paragraph.png
- scale 85
- groupId toolbarbuttons
+\family sans
+\begin_inset Info
+type "icon"
+arg "layout-paragraph"
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Graphics
- filename ../images/thesaurus-entry.png
- scale 85
- groupId toolbarbuttons
+\family sans
+\begin_inset Info
+type "icon"
+arg "thesaurus-entry"
\end_inset
\begin_layout Standard
\begin_inset Tabular
-<lyxtabular version="3" rows="6" columns="2">
+<lyxtabular version="3" rows="7" columns="2">
<features islongtable="true" longtabularalignment="center">
<column alignment="left" valignment="top" width="0">
<column alignment="left" valignment="top" width="0">
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Graphics
- filename ../images/buffer-view_dvi.png
- scale 85
- groupId toolbarbuttons
+\family sans
+\begin_inset Info
+type "icon"
+arg "buffer-view"
\end_inset
\family sans
View\SpecialChar \menuseparator
-DVI
+View
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Graphics
- filename ../images/buffer-update_dvi.png
- scale 85
- groupId toolbarbuttons
+\family sans
+\begin_inset Info
+type "icon"
+arg "buffer-update"
\end_inset
\family sans
View\SpecialChar \menuseparator
-Update\SpecialChar \menuseparator
-DVI
+Update
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Graphics
- filename ../images/buffer-view_pdf2.png
- scale 85
- groupId toolbarbuttons
+\family sans
+\begin_inset Info
+type "icon"
+arg "master-buffer-view"
\end_inset
\family sans
View\SpecialChar \menuseparator
-PDF
+Master
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Graphics
- filename ../images/buffer-update_pdf2.png
- scale 85
- groupId toolbarbuttons
+\family sans
+\begin_inset Info
+type "icon"
+arg "master-buffer-update"
\end_inset
\family sans
View\SpecialChar \menuseparator
-Update\SpecialChar \menuseparator
-PDF
+UpdateMaster
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row interlinespace="2.5mm">
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\family sans
+\begin_inset Info
+type "icon"
+arg "buffer-toggle-output-sync"
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\family sans
+Document\SpecialChar \menuseparator
+Settings\SpecialChar \menuseparator
+Output\SpecialChar \menuseparator
+Synchronize with Output
\end_layout
\end_inset
\begin_layout Plain Layout
\begin_inset Graphics
- filename ../images/buffer-view_ps.png
+ filename ../images/view-others.png
scale 85
groupId toolbarbuttons
\end_inset
+\family sans
+*
\end_layout
\end_inset
\family sans
View\SpecialChar \menuseparator
-Postscript
+View (Other Formats)
\end_layout
\end_inset
\begin_layout Plain Layout
\begin_inset Graphics
- filename ../images/buffer-update_ps.png
+ filename ../images/update-others.png
scale 85
groupId toolbarbuttons
\end_inset
-
+*
\end_layout
\end_inset
\family sans
View\SpecialChar \menuseparator
-Update\SpecialChar \menuseparator
-Postscript
+Update (Other Formats)
\end_layout
\end_inset
\end_layout
+\begin_layout Standard
+* These icons might look different for you if you do not use the default
+ icon set.
+\end_layout
+
\begin_layout Subsection
Other Toolbars
\end_layout
e Save as Document Defaults
\family default
button in the dialog.
- This will create a template name
-\family typewriter
-d
-\family default
-
+ This will create a template named
\family typewriter
default.lyx
\family default
sign, the œ-ligature and some characters used for French and Finnish
\end_layout
+\begin_layout Standard
+Finally, the dialog lets you select a specific language package for the
+ current document.
+ See
+\begin_inset CommandInset ref
+LatexCommand formatted
+reference "sub:Prefs-Language"
+
+\end_inset
+
+ for more information on the language package.
+\end_layout
+
\begin_layout Section
Numbering & TOC
\end_layout
.
\end_layout
+\begin_layout Section
+Output
+\begin_inset CommandInset label
+LatexCommand label
+name "sec:Doc-Output"
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+Here you can define some output specifics for the current document:
+\end_layout
+
+\begin_layout Description
+Default
+\begin_inset space ~
+\end_inset
+
+Output
+\begin_inset space ~
+\end_inset
+
+Format: The format that is used when you hit
+\begin_inset Quotes eld
+\end_inset
+
+View
+\begin_inset Quotes erd
+\end_inset
+
+,
+\begin_inset Quotes eld
+\end_inset
+
+Update
+\begin_inset Quotes erd
+\end_inset
+
+,
+\begin_inset Quotes eld
+\end_inset
+
+View Master Document
+\begin_inset Quotes erd
+\end_inset
+
+ and
+\begin_inset Quotes eld
+\end_inset
+
+Update Master Document
+\begin_inset Quotes erd
+\end_inset
+
+ in the
+\family sans
+View
+\family default
+ menu or the toolbar.
+ The default is set in
+\family sans
+Tools\SpecialChar \menuseparator
+Preferences\SpecialChar \menuseparator
+File Formats; see
+\family default
+
+\begin_inset CommandInset ref
+LatexCommand formatted
+reference "sec:File-Formats"
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Description
+Synchronize
+\begin_inset space ~
+\end_inset
+
+with
+\begin_inset space ~
+\end_inset
+
+Output
+\begin_inset Note Note
+status open
+
+\begin_layout Plain Layout
+TODO!
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Description
+XHTML
+\begin_inset space ~
+\end_inset
+
+Output
+\begin_inset space ~
+\end_inset
+
+Options
+\begin_inset Note Note
+status open
+
+\begin_layout Plain Layout
+TODO!
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
\begin_layout Section
LaT
\begin_inset ERT
scrolling.
\end_layout
+\begin_layout Standard
+You can adjust the thickness of the cursor with the
+\family sans
+Cursor width
+\family default
+ setting.
+ If you set the value to zero the thickness of the cursor scales relative
+ to the zoom value you choose for the screen fonts.
+\end_layout
+
\begin_layout Standard
The option
\family sans
\begin_layout Subsection
Language
+\begin_inset CommandInset label
+LatexCommand label
+name "sub:Prefs-Language"
+
+\end_inset
+
+
\end_layout
\begin_layout Description
\begin_inset space ~
\end_inset
-package is a LaTeX-command to load a LaTeX-package that handles language
+package determines which LaTeX package should be loaded to handle language
issues.
- The default is the LaTeX-command
-\family sans
+ Language issues which are handled by this package include proper hyphenation
+ as well as localization of dates and text strings such as
+\begin_inset Quotes eld
+\end_inset
-\backslash
-usepackage{babel}
-\family default
- that loads the package
+Chapter
+\begin_inset Quotes erd
+\end_inset
+
+ and
+\begin_inset Quotes eld
+\end_inset
+
+Table
+\begin_inset Quotes erd
+\end_inset
+
+.
+ The most widespread language package is
\series bold
babel
\series default
-.
-\begin_inset Foot
-status collapsed
-
-\begin_layout Plain Layout
-For an introduction to the LaTeX-Syntax, have a look at section
-\begin_inset space ~
+, it's the default language package in classic LaTeX.
+ However, more recent typesetting engines such as XeTeX and LuaTeX come
+ with an alternative language package (
+\series bold
+polyglossia
+\series default
+) that is more suited for the multi-script support of these engines.
+ Furthermore, there are also specific language packages for languages not
+ covered by babel.
+\begin_inset Newline newline
\end_inset
+The available selections are:
+\end_layout
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sec:TeX-Code"
+\begin_deeper
+\begin_layout Itemize
+\noindent
-\end_inset
+\series bold
+Automatic
+\series default
+:
+\series bold
+
+\series default
+Selects the most appropriate language package for the current typesetting
+ engine (default)
+\end_layout
-.
+\begin_layout Itemize
+\noindent
+
+\series bold
+Always babel:
+\series default
+Uses always babel, even if another package (such as polyglossia) would have
+ been preferred by automatic setting; this essentially allows to select
+ babel instead of polyglossia with XeTeX and LuaTeX
\end_layout
-\end_inset
+\begin_layout Itemize
+\noindent
+\series bold
+Custom:
+\series default
+Lets you load some other language package (via
+\family typewriter
-\begin_inset Newline newline
-\end_inset
+\backslash
+usepackage
+\series bold
+{
+\series default
+packagename}
+\family default
+)
+\end_layout
+\begin_layout Itemize
+\noindent
\series bold
-babel
+None:
\series default
- automatically translates in the background the text labels of documents
- to the document language.
- A text label is, for instance, the word
-\begin_inset Quotes eld
+Loads no language package at all
+\end_layout
+
+\end_deeper
+\begin_layout Description
+Default
+\begin_inset space ~
\end_inset
-Table
-\begin_inset Quotes erd
+Decimal
+\begin_inset space ~
\end_inset
- at the beginning of every table caption.
+Point Define the default decimal point for the use in tables (decimal point
+ alignment)
\end_layout
\begin_layout Description
\end_layout
\begin_layout Description
-Use
+Set
\begin_inset space ~
\end_inset
-babel Whether
-\series bold
-babel
-\series default
- is used or not.
-\end_layout
+languages
+\begin_inset space ~
+\end_inset
-\begin_layout Description
-Global When this option is set, the languages used in the document will
+globally When this option is set, the languages used in the document will
be added as options to the document class options, so that they can be
used by all LaTeX-packages.
Otherwise they will only be used as options for the
formats.
\end_layout
+\begin_layout Standard
+Furthermore, you can define the
+\begin_inset Quotes eld
+\end_inset
+
+Default output format
+\begin_inset Quotes erd
+\end_inset
+
+ that is used when you hit
+\begin_inset Quotes eld
+\end_inset
+
+View
+\begin_inset Quotes erd
+\end_inset
+
+,
+\begin_inset Quotes eld
+\end_inset
+
+Update
+\begin_inset Quotes erd
+\end_inset
+
+,
+\begin_inset Quotes eld
+\end_inset
+
+View Master Document
+\begin_inset Quotes erd
+\end_inset
+
+ and
+\begin_inset Quotes eld
+\end_inset
+
+Update Master Document
+\begin_inset Quotes erd
+\end_inset
+
+ in the Edit menu or the toolbar.
+\end_layout
+
\begin_layout Standard
More about formats, like the options that can be used in the format definition,
is described in the section