mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-09 18:52:46 +00:00
UserGuide.lyx: describe new document class option handling and typographic fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27122 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
8da26f548f
commit
2b1e4cf890
@ -395,7 +395,10 @@ Preferences
|
|||||||
settings.
|
settings.
|
||||||
Although this configuration has already been done when LyX was installed
|
Although this configuration has already been done when LyX was installed
|
||||||
on your system, you might have some items that you installed locally, e.g.
|
on your system, you might have some items that you installed locally, e.g.
|
||||||
new LaTeX classes, and which are not seen by LyX.
|
\begin_inset space \space{}
|
||||||
|
\end_inset
|
||||||
|
|
||||||
|
new LaTeX classes, and which are not seen by LyX.
|
||||||
To force LyX to re-inspect your system, you should use
|
To force LyX to re-inspect your system, you should use
|
||||||
\family sans
|
\family sans
|
||||||
Tools\SpecialChar \menuseparator
|
Tools\SpecialChar \menuseparator
|
||||||
@ -1153,11 +1156,8 @@ test
|
|||||||
\family sans
|
\family sans
|
||||||
Match whole words only
|
Match whole words only
|
||||||
\family default
|
\family default
|
||||||
option can be used to force LyX to only find complete words, i.
|
option can be used to force LyX to only find complete words, i.e., searching
|
||||||
\begin_inset space \thinspace{}
|
for
|
||||||
\end_inset
|
|
||||||
|
|
||||||
e., searching for
|
|
||||||
\begin_inset Quotes eld
|
\begin_inset Quotes eld
|
||||||
\end_inset
|
\end_inset
|
||||||
|
|
||||||
@ -1481,12 +1481,8 @@ Sort
|
|||||||
Keep
|
Keep
|
||||||
\family default
|
\family default
|
||||||
option keeps it in the current view state.
|
option keeps it in the current view state.
|
||||||
Keeping means that when you have e.
|
Keeping means that when you have e.g.
|
||||||
\begin_inset space \thinspace{}
|
\begin_inset space \space{}
|
||||||
\end_inset
|
|
||||||
|
|
||||||
g.
|
|
||||||
\begin_inset space ~
|
|
||||||
\end_inset
|
\end_inset
|
||||||
|
|
||||||
the subsections of section
|
the subsections of section
|
||||||
@ -6441,11 +6437,7 @@ type "shortcut"
|
|||||||
arg "newline-insert newline"
|
arg "newline-insert newline"
|
||||||
\end_inset
|
\end_inset
|
||||||
|
|
||||||
at the beginning of a new paragraph (i.
|
at the beginning of a new paragraph (i.e.
|
||||||
\begin_inset space \thinspace{}
|
|
||||||
\end_inset
|
|
||||||
|
|
||||||
e.
|
|
||||||
\begin_inset space ~
|
\begin_inset space ~
|
||||||
\end_inset
|
\end_inset
|
||||||
|
|
||||||
@ -6997,12 +6989,8 @@ Section
|
|||||||
\begin_inset space ~
|
\begin_inset space ~
|
||||||
\end_inset
|
\end_inset
|
||||||
|
|
||||||
to e.
|
to e.g.
|
||||||
\begin_inset space \thinspace{}
|
\begin_inset space \space{}
|
||||||
\end_inset
|
|
||||||
|
|
||||||
g.
|
|
||||||
\begin_inset space ~
|
|
||||||
\end_inset
|
\end_inset
|
||||||
|
|
||||||
lists, it is highly recommended not to do this.
|
lists, it is highly recommended not to do this.
|
||||||
@ -8820,11 +8808,7 @@ Spaces ! Inter-word
|
|||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
\begin_layout Standard
|
\begin_layout Standard
|
||||||
Some languages (e.
|
Some languages (e.g.
|
||||||
\begin_inset space \thinspace{}
|
|
||||||
\end_inset
|
|
||||||
|
|
||||||
g.
|
|
||||||
\begin_inset space \space{}
|
\begin_inset space \space{}
|
||||||
\end_inset
|
\end_inset
|
||||||
|
|
||||||
@ -8901,15 +8885,7 @@ D.
|
|||||||
\end_inset
|
\end_inset
|
||||||
|
|
||||||
E.
|
E.
|
||||||
Knuth has developed our beloved typesetting program, i.
|
Knuth has developed our beloved typesetting program.
|
||||||
\begin_inset space \thinspace{}
|
|
||||||
\end_inset
|
|
||||||
|
|
||||||
e.
|
|
||||||
\begin_inset space \space{}
|
|
||||||
\end_inset
|
|
||||||
|
|
||||||
TeX.
|
|
||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
\begin_layout Standard
|
\begin_layout Standard
|
||||||
@ -9593,7 +9569,10 @@ Spacing ! Phantom
|
|||||||
\begin_layout Standard
|
\begin_layout Standard
|
||||||
Sometimes you want to insert space with exactly the length of a phrase.
|
Sometimes you want to insert space with exactly the length of a phrase.
|
||||||
E.g.
|
E.g.
|
||||||
you want to create the following multiple choice question:
|
\begin_inset space \space{}
|
||||||
|
\end_inset
|
||||||
|
|
||||||
|
you want to create the following multiple choice question:
|
||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
\begin_layout Standard
|
\begin_layout Standard
|
||||||
@ -10236,7 +10215,10 @@ You shouldn't use forced line breaks to correct LaTeX's line breaking, as
|
|||||||
LaTeX is very good at line breaking.
|
LaTeX is very good at line breaking.
|
||||||
There are, however, a number of situations where it is necessary to actively
|
There are, however, a number of situations where it is necessary to actively
|
||||||
set a line break, e.g.
|
set a line break, e.g.
|
||||||
in a poem or for an address (see sections
|
\begin_inset space \space{}
|
||||||
|
\end_inset
|
||||||
|
|
||||||
|
in a poem or for an address (see sections
|
||||||
\begin_inset space ~
|
\begin_inset space ~
|
||||||
\end_inset
|
\end_inset
|
||||||
|
|
||||||
@ -10310,12 +10292,8 @@ Characters and Symbols
|
|||||||
|
|
||||||
\begin_layout Standard
|
\begin_layout Standard
|
||||||
You can directly enter all characters that are available on your keyboard.
|
You can directly enter all characters that are available on your keyboard.
|
||||||
You can also use special keyboard maps to be able to enter e.
|
You can also use special keyboard maps to be able to enter e.g.
|
||||||
\begin_inset space \thinspace{}
|
\begin_inset space \space{}
|
||||||
\end_inset
|
|
||||||
|
|
||||||
g.
|
|
||||||
\begin_inset space ~
|
|
||||||
\end_inset
|
\end_inset
|
||||||
|
|
||||||
characters needed for French with an English keyboard.
|
characters needed for French with an English keyboard.
|
||||||
@ -13559,8 +13537,7 @@ And here's an example of the algorithm going wrong:
|
|||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
\begin_layout Itemize
|
\begin_layout Itemize
|
||||||
e.
|
e.g.
|
||||||
g.
|
|
||||||
this is too much space!
|
this is too much space!
|
||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
@ -13684,11 +13661,7 @@ With the corrections, our earlier examples look like this:
|
|||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
\begin_layout Itemize
|
\begin_layout Itemize
|
||||||
e.
|
e.g.
|
||||||
\begin_inset space \thinspace{}
|
|
||||||
\end_inset
|
|
||||||
|
|
||||||
g.
|
|
||||||
\begin_inset space \space{}
|
\begin_inset space \space{}
|
||||||
\end_inset
|
\end_inset
|
||||||
|
|
||||||
@ -14395,7 +14368,10 @@ TeX-3.14159
|
|||||||
|
|
||||||
\begin_layout Standard
|
\begin_layout Standard
|
||||||
If you don't want to use proper names, e.g.
|
If you don't want to use proper names, e.g.
|
||||||
in section headings, you can insert two empty braces in TeX Code in the
|
\begin_inset space \space{}
|
||||||
|
\end_inset
|
||||||
|
|
||||||
|
in section headings, you can insert two empty braces in TeX Code in the
|
||||||
word.
|
word.
|
||||||
This will look in LyX like:
|
This will look in LyX like:
|
||||||
\begin_inset Graphics
|
\begin_inset Graphics
|
||||||
@ -18892,12 +18868,8 @@ Insert\SpecialChar \menuseparator
|
|||||||
Floats
|
Floats
|
||||||
\family default
|
\family default
|
||||||
.
|
.
|
||||||
A box with a caption that has e.
|
A box with a caption that has e.g.
|
||||||
\begin_inset space \thinspace{}
|
\begin_inset space \space{}
|
||||||
\end_inset
|
|
||||||
|
|
||||||
g.
|
|
||||||
\begin_inset space ~
|
|
||||||
\end_inset
|
\end_inset
|
||||||
|
|
||||||
the label
|
the label
|
||||||
@ -19858,8 +19830,11 @@ status open
|
|||||||
Note:
|
Note:
|
||||||
\series default
|
\series default
|
||||||
Wrap floats might be fragile! E.g.
|
Wrap floats might be fragile! E.g.
|
||||||
having a figure too close to the bottom of the page can mess things up
|
\begin_inset space \space{}
|
||||||
in the way that the float doesn't appear in the output or that it is placed
|
\end_inset
|
||||||
|
|
||||||
|
having a figure too close to the bottom of the page can mess things up in
|
||||||
|
the way that the float doesn't appear in the output or that it is placed
|
||||||
over some other text.
|
over some other text.
|
||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
@ -20666,7 +20641,10 @@ You can only number and reference displayed formulas.
|
|||||||
\begin_layout Standard
|
\begin_layout Standard
|
||||||
LyX supports also many LaTeX math commands.
|
LyX supports also many LaTeX math commands.
|
||||||
E.g.
|
E.g.
|
||||||
typing
|
\begin_inset space \space{}
|
||||||
|
\end_inset
|
||||||
|
|
||||||
|
typing
|
||||||
\begin_inset Quotes eld
|
\begin_inset Quotes eld
|
||||||
\end_inset
|
\end_inset
|
||||||
|
|
||||||
@ -20992,7 +20970,10 @@ Space
|
|||||||
\family default
|
\family default
|
||||||
to separate the hat and the character.
|
to separate the hat and the character.
|
||||||
E.g.
|
E.g.
|
||||||
if you want
|
\begin_inset space \space{}
|
||||||
|
\end_inset
|
||||||
|
|
||||||
|
if you want
|
||||||
\begin_inset Formula $x^{a}$
|
\begin_inset Formula $x^{a}$
|
||||||
\end_inset
|
\end_inset
|
||||||
|
|
||||||
@ -21582,7 +21563,10 @@ In a formula you can insert accented characters in the same way as in text
|
|||||||
mode.
|
mode.
|
||||||
This may depend on your keyboard, or the bindings file you use.
|
This may depend on your keyboard, or the bindings file you use.
|
||||||
You can also use LaTeX commands to e.g.
|
You can also use LaTeX commands to e.g.
|
||||||
enter
|
\begin_inset space \space{}
|
||||||
|
\end_inset
|
||||||
|
|
||||||
|
enter
|
||||||
\begin_inset Formula $\hat{a}$
|
\begin_inset Formula $\hat{a}$
|
||||||
\end_inset
|
\end_inset
|
||||||
|
|
||||||
@ -23150,6 +23134,9 @@ The first blue box is for the definition, where you insert the formula via
|
|||||||
the math panel or commands.
|
the math panel or commands.
|
||||||
The placeholder for the arguments are inserted as a backslash and sharp
|
The placeholder for the arguments are inserted as a backslash and sharp
|
||||||
followed by the argument number, e.g.
|
followed by the argument number, e.g.
|
||||||
|
\begin_inset space \space{}
|
||||||
|
\end_inset
|
||||||
|
|
||||||
|
|
||||||
\begin_inset Quotes eld
|
\begin_inset Quotes eld
|
||||||
\end_inset
|
\end_inset
|
||||||
@ -23736,7 +23723,10 @@ f(x)=\sqrt{x}\:;\: x\in\mathbb{N}\]
|
|||||||
\begin_layout Standard
|
\begin_layout Standard
|
||||||
The typefaces are nestable, which can cause confusion.
|
The typefaces are nestable, which can cause confusion.
|
||||||
You can e.g.
|
You can e.g.
|
||||||
put a character in
|
\begin_inset space \space{}
|
||||||
|
\end_inset
|
||||||
|
|
||||||
|
put a character in
|
||||||
\family sans
|
\family sans
|
||||||
Fraktur
|
Fraktur
|
||||||
\family default
|
\family default
|
||||||
@ -24263,7 +24253,10 @@ enumerate
|
|||||||
|
|
||||||
.
|
.
|
||||||
The prefix depends on the document part where the label is inserted, e.g.
|
The prefix depends on the document part where the label is inserted, e.g.
|
||||||
if you insert a label to a section heading, the prefix will be
|
\begin_inset space \space{}
|
||||||
|
\end_inset
|
||||||
|
|
||||||
|
if you insert a label to a section heading, the prefix will be
|
||||||
\begin_inset Quotes eld
|
\begin_inset Quotes eld
|
||||||
\end_inset
|
\end_inset
|
||||||
|
|
||||||
@ -24497,12 +24490,8 @@ LaTeX-packages ! prettyref
|
|||||||
\begin_layout Standard
|
\begin_layout Standard
|
||||||
Note that the style <page> won't print the page number if the label is on
|
Note that the style <page> won't print the page number if the label is on
|
||||||
the previous, the same, or the next page.
|
the previous, the same, or the next page.
|
||||||
You will e.
|
You will e.g.
|
||||||
\begin_inset space \thinspace{}
|
\begin_inset space \space{}
|
||||||
\end_inset
|
|
||||||
|
|
||||||
g.
|
|
||||||
\begin_inset space ~
|
|
||||||
\end_inset
|
\end_inset
|
||||||
|
|
||||||
see the text
|
see the text
|
||||||
@ -26265,12 +26254,8 @@ Dummy entries ! my entry|IndexDef
|
|||||||
|
|
||||||
\begin_layout Standard
|
\begin_layout Standard
|
||||||
You can also change the layout for the whole index.
|
You can also change the layout for the whole index.
|
||||||
E.
|
E.g.
|
||||||
\begin_inset space \thinspace{}
|
\begin_inset space \space{}
|
||||||
\end_inset
|
|
||||||
|
|
||||||
g.
|
|
||||||
\begin_inset space ~
|
|
||||||
\end_inset
|
\end_inset
|
||||||
|
|
||||||
we marked the index list box of this document as bold to get a bold font
|
we marked the index list box of this document as bold to get a bold font
|
||||||
@ -27560,12 +27545,8 @@ The header informations in the dialog tab
|
|||||||
General
|
General
|
||||||
\family default
|
\family default
|
||||||
are saved together with the PDF as file properties.
|
are saved together with the PDF as file properties.
|
||||||
Many programs are able to extract these informations to e.
|
Many programs are able to extract these informations to e.g.
|
||||||
\begin_inset space \thinspace{}
|
\begin_inset space \space{}
|
||||||
\end_inset
|
|
||||||
|
|
||||||
g.
|
|
||||||
\begin_inset space ~
|
|
||||||
\end_inset
|
\end_inset
|
||||||
|
|
||||||
automatically recognize who is the author and what is the PDF about.
|
automatically recognize who is the author and what is the PDF about.
|
||||||
@ -27801,7 +27782,10 @@ program
|
|||||||
This has the advantage that the layout of the document can be changed at
|
This has the advantage that the layout of the document can be changed at
|
||||||
every time if you know the right commands.
|
every time if you know the right commands.
|
||||||
E.g.
|
E.g.
|
||||||
imagine you have to write a manual for a product and the deadline is at
|
\begin_inset space \space{}
|
||||||
|
\end_inset
|
||||||
|
|
||||||
|
imagine you have to write a manual for a product and the deadline is at
|
||||||
the end of the day.
|
the end of the day.
|
||||||
Your boss just has complimented you for your good work but wants to have
|
Your boss just has complimented you for your good work but wants to have
|
||||||
all caption labels bold.
|
all caption labels bold.
|
||||||
@ -28318,7 +28302,10 @@ Escape
|
|||||||
|
|
||||||
characters Allows you to add non-standard characters that the spell checker
|
characters Allows you to add non-standard characters that the spell checker
|
||||||
should consider, e.g.
|
should consider, e.g.
|
||||||
German umlauts although you spell check English document.
|
\begin_inset space \space{}
|
||||||
|
\end_inset
|
||||||
|
|
||||||
|
German umlauts although you spell check English document.
|
||||||
This should not normally be needed.
|
This should not normally be needed.
|
||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
@ -36049,7 +36036,10 @@ Bookmarks
|
|||||||
With this menu you are able to define your own bookmarks.
|
With this menu you are able to define your own bookmarks.
|
||||||
This is useful when you are working on a large documents and often have
|
This is useful when you are working on a large documents and often have
|
||||||
to jump e.g.
|
to jump e.g.
|
||||||
between section
|
\begin_inset space \space{}
|
||||||
|
\end_inset
|
||||||
|
|
||||||
|
between section
|
||||||
\begin_inset space ~
|
\begin_inset space ~
|
||||||
\end_inset
|
\end_inset
|
||||||
|
|
||||||
@ -36316,6 +36306,14 @@ reference "sub:Modules"
|
|||||||
\end_inset
|
\end_inset
|
||||||
|
|
||||||
.
|
.
|
||||||
|
Some classes use some class options by default.
|
||||||
|
If this is the case, they are listed in the field
|
||||||
|
\family sans
|
||||||
|
Predefined
|
||||||
|
\family default
|
||||||
|
and you can decide to use them or not.
|
||||||
|
If you don't exactly know what the default class options are for, it is
|
||||||
|
recommended not to touch them.
|
||||||
The Postscript driver is used for LaTeX's color and graphics packages.
|
The Postscript driver is used for LaTeX's color and graphics packages.
|
||||||
When using
|
When using
|
||||||
\family sans
|
\family sans
|
||||||
@ -36351,8 +36349,15 @@ target "http://tug.ctan.org/get/macros/latex/required/graphics/grfguide.pdf"
|
|||||||
|
|
||||||
\end_inset
|
\end_inset
|
||||||
|
|
||||||
Specifying a master document is necessary when the current document is
|
|
||||||
a child or subdocument.
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Standard
|
||||||
|
Specifying a master document is necessary when the current document is a
|
||||||
|
child or subdocument.
|
||||||
|
This master document will be used by LyX when the child document is opened
|
||||||
|
without its master.
|
||||||
|
This way child documents are always compileable.
|
||||||
More about master and child documents is explained in the section
|
More about master and child documents is explained in the section
|
||||||
\emph on
|
\emph on
|
||||||
Child Documents
|
Child Documents
|
||||||
@ -40239,6 +40244,9 @@ broadway.bind
|
|||||||
\shape default
|
\shape default
|
||||||
, and bind files for special languages.
|
, and bind files for special languages.
|
||||||
The name of language bind-files begin with a language code, e.g.
|
The name of language bind-files begin with a language code, e.g.
|
||||||
|
\begin_inset space \space{}
|
||||||
|
\end_inset
|
||||||
|
|
||||||
|
|
||||||
\begin_inset Quotes eld
|
\begin_inset Quotes eld
|
||||||
\end_inset
|
\end_inset
|
||||||
@ -40327,12 +40335,8 @@ Help
|
|||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
\begin_layout Standard
|
\begin_layout Standard
|
||||||
To add e.
|
To add e.g.
|
||||||
\begin_inset space \thinspace{}
|
\begin_inset space \space{}
|
||||||
\end_inset
|
|
||||||
|
|
||||||
g.
|
|
||||||
\begin_inset space ~
|
|
||||||
\end_inset
|
\end_inset
|
||||||
|
|
||||||
the shortcut
|
the shortcut
|
||||||
@ -40435,12 +40439,8 @@ Settings ! Keyboard Map
|
|||||||
\begin_layout Standard
|
\begin_layout Standard
|
||||||
Normally keyboard settings have to be done in a menu of your operating system.
|
Normally keyboard settings have to be done in a menu of your operating system.
|
||||||
For the case that this is not possible, LyX provides keyboard maps.
|
For the case that this is not possible, LyX provides keyboard maps.
|
||||||
If you have e.
|
If you have e.g.
|
||||||
\begin_inset space \thinspace{}
|
\begin_inset space \space{}
|
||||||
\end_inset
|
|
||||||
|
|
||||||
g.
|
|
||||||
\begin_inset space ~
|
|
||||||
\end_inset
|
\end_inset
|
||||||
|
|
||||||
a Czech keyboard but want to write with it like with a Romanian one, you
|
a Czech keyboard but want to write with it like with a Romanian one, you
|
||||||
|
Loading…
Reference in New Issue
Block a user