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, but you
- need a specific inset or character style only that one time.
+ need a specific inset or
+\change_deleted -712698321 1525757388
+character
+\change_inserted -712698321 1525757388
+text
+\change_unchanged
+ style only that one time.
You want something that is like a document's own \SpecialChar LaTeX
preamble.
What you want is \SpecialChar LyX
\begin_layout Standard
Many modern typesetting and markup languages have begun to move towards
- specifying character styles rather than specifying a particular font.
+ specifying
+\change_deleted -712698321 1525757415
+character
+\change_inserted -712698321 1525757415
+text
+\change_unchanged
+ styles rather than specifying a particular font.
For example, instead of changing to an italicized version of the current
font to emphasize text, you use an
\begin_inset Quotes eld
\end_layout
\begin_layout Subsection
-Using Different Character Styles
+Using Different
+\change_deleted -712698321 1525757119
+Character
+\change_inserted -712698321 1525757120
+Text
+\change_unchanged
+ Styles
\change_inserted -712698321 1525595783
\begin_inset CommandInset label
\change_unchanged
style for certain paragraph environments.
-\change_inserted -712698321 1525601107
+\change_inserted -712698321 1525757169
In this section, we will explain how the style of selected text passages
can by changed.
This is where we meet the concept of
\emph on
-character styles
+text styles
\emph default
.
By default,
\change_unchanged
\SpecialChar LyX
- supports two character styles,
+ supports two
+\change_deleted -712698321 1525757160
+character
+\change_inserted -712698321 1525757161
+text
+\change_unchanged
+ styles,
\emph on
Emphasized
\emph default
\noun default
.
-\change_inserted -712698321 1525601215
+\change_inserted -712698321 1525757189
These are
\emph on
builtin
e., available with all document classes.
On top of that, some document classes and modules provide
\emph on
-custom character styles
+custom text styles
\emph default
for specific purposes.
- We describe both types of characters styles in a minute.
+ We describe both types of text styles in a minute.
\end_layout
\begin_layout Standard
-\change_inserted -712698321 1525601474
+\change_inserted -712698321 1525757201
Before we do that, though, allow us just a few words of what we mean by
\emph on
-character styles
+text styles
\emph default
in contrast to
\emph on
\emph default
, they encourage the use of
\emph on
-character
-\emph default
-(or
-\emph on
-text
-\emph default
-)
-\emph on
- styles
+text styles
\emph default
, who are defined with regard to their function (e.
\begin_inset space \thinspace{}
\begin_layout Standard
-\change_inserted -712698321 1525597858
-With that in mind, we now turn to the semantic character styles that are
- provided by \SpecialChar LyX
+\change_inserted -712698321 1525757213
+With that in mind, we now turn to the semantic text styles that are provided
+ by \SpecialChar LyX
.
\change_unchanged
\begin_layout Subsubsection
-\change_inserted -712698321 1525600514
-Builtin Character Styles
+\change_inserted -712698321 1525757220
+Builtin Text Styles
\begin_inset CommandInset label
LatexCommand label
name "subsec:Builtin-Character-Styles"
\begin_layout Standard
-\change_inserted -712698321 1525596484
-The two builtin character styles can be
+\change_inserted -712698321 1525757226
+The two builtin text styles can be
\change_deleted -712698321 1525596489
You can
\change_unchanged
\end_layout
\begin_layout Standard
-A more widely used character style is the
+A more widely used
+\change_deleted -712698321 1525757229
+character
+\change_inserted -712698321 1525757229
+text
+\change_unchanged
+ style is the
\family sans
Emphasized
\family default
\begin_layout Quotation
\emph on
-Do not overuse character styles!
+Do not overuse
+\change_deleted -712698321 1525757231
+character
+\change_inserted -712698321 1525757231
+text
+\change_unchanged
+ styles!
\end_layout
\begin_layout Standard
It's also a warning in addition to an example.
One's writing should parallel ordinary conversation.
Since we don't all constantly scream at each other, we should also avoid
- the common tendency to overuse character styles.
+ the common tendency to overuse
+\change_deleted -712698321 1525757236
+character
+\change_inserted -712698321 1525757236
+text
+\change_unchanged
+ styles.
\change_inserted -712698321 1525598419
\begin_layout Standard
-\change_inserted -712698321 1525598505
-In contrast to the custom character styles, the builtin styles are represented
+\change_inserted -712698321 1525757709
+In contrast to the custom text styles, the builtin styles are represented
only as font changes and integrated in the
\family sans
-Text Style
+Text Properties
\family default
dialog.
\begin_layout Subsubsection
-\change_inserted -712698321 1525599406
-Custom Character Styles
+\change_inserted -712698321 1525756578
+Custom Text Styles
\begin_inset CommandInset label
LatexCommand label
name "subsec:Custom-Character-Styles"
\begin_layout Standard
-\change_inserted -712698321 1525598904
-Custom character styles can be provided by the document class, a module
- (see section
+\change_inserted -712698321 1525757241
+Custom text styles can be provided by the document class, a module (see
+ section
\begin_inset space ~
\end_inset
\emph on
Linguistics
\emph default
- module that provides, among other things, some custom character styles
- to markup linguistic levels:
+ module that provides, among other things, some custom text styles to markup
+ linguistic levels:
\emph on
expressions
\emph default
\begin_layout Standard
-\change_inserted -712698321 1525598951
+\change_inserted -712698321 1525757806
These styles can be found, if available, in the
\family sans
Edit\SpecialChar menuseparator
-Text Style
+Text Styles
\family default
menu.
\end_layout
\begin_layout Standard
-\change_inserted -712698321 1525599380
+\change_inserted -712698321 1525757245
For the purpose of demonstration, we have loaded in this document the optional
module
\family sans
\emph on
emphasized style
\emph default
- appears as normal font change, the custom character style
+ appears as normal font change, the custom text style
\begin_inset Flex Emph
status open
\end_inset
appears as an inset, with a label below that identifies its semantics.
- This is the way all custom character styles look and feel like.
+ This is the way all custom text styles look and feel like.
For instance, the three others from the module we have loaded are:
\begin_inset Flex Code
status open
\end_inset
.
- Note that custom character styles might (as in the example) or might not
- emulate on screen their formal appearance.
+ Note that custom text styles might (as in the example) or might not emulate
+ on screen their formal appearance.
\change_unchanged
\end_layout
\change_unchanged
\change_inserted -712698321 1525599462
-Text Properties
+Text
\change_unchanged
with the
\family sans
-Text Style
+Text
+\change_deleted -712698321 1525756524
+Style
+\change_inserted -712698321 1525756526
+Properties
+\change_unchanged
+
\family default
\change_deleted -712698321 1525599485
\begin_layout Standard
-\change_inserted -712698321 1525601791
-If there are no custom character styles provided by the document class or
- a module for this purpose (which is, as written above, generally the better
- way of handling such issues), you often find yourself wanting to quickly
- tweak the properties of the respective text passages.
+\change_inserted -712698321 1525757255
+If there are no custom text styles provided by the document class or a module
+ for this purpose (which is, as written above, generally the better way
+ of handling such issues), you often find yourself wanting to quickly tweak
+ the properties of the respective text passages.
That's where
\emph on
formal markup
\end_deeper
\begin_layout Standard
-\change_inserted -712698321 1525600643
+\change_inserted -712698321 1525757268
In addition to all the formal markup described above, the dialog also provides
- you access to the two builtin semantic character styles (see section
+ you access to the two builtin semantic text styles (see section
\begin_inset space ~
\end_inset
\begin_layout Plain Layout
-https://en.wikipedia.org/wiki/ASCII
-\backslash
-#Character_set
+https://en.wikipedia.org/wiki/ASCII#Character_set
\end_layout
\end_inset
\end_layout
\begin_layout Subsection
+
+\change_deleted -712698321 1525756612
Text Style
\end_layout
\begin_layout Standard
-\change_inserted -712698321 1525595818
+\change_deleted -712698321 1525756612
+Described in section
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "subsec:Fine-Tuning-with-the"
+
+\end_inset
+
+.
+\change_unchanged
+
+\end_layout
+
+\begin_layout Subsection
+Paragraph Settings
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Paragraph ! Settings
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+Enables you to set the paragraph alignment, line spacing and label width.
+ These settings only affect the paragraph in which the cursor is currently
+ in.
+\end_layout
+
+\begin_layout Standard
+You can also prevent the first line of the paragraph being indented if you
+ have chosen to separate paragraphs with
+\family sans
+Indentation
+\family default
+ in the
+\family sans
+Document\SpecialChar menuseparator
+Settings\SpecialChar menuseparator
+Text
+\begin_inset space ~
+\end_inset
+
+Layout
+\family default
+ dialog.
+\change_inserted -712698321 1525756614
+
+\end_layout
+
+\begin_layout Subsection
+
+\change_inserted -712698321 1525756624
+Text Properties
+\end_layout
+
+\begin_layout Standard
+
+\change_inserted -712698321 1525756615
This sub-menu provides several ways to customize the appearance of text
passages.
You can
\begin_layout Enumerate
-\change_inserted -712698321 1525595876
+\change_inserted -712698321 1525756657
Customize text properties by means of the
\family sans
-Text Style
+Text Properties
\family default
dialog (via
\family sans
-Customized\SpecialChar ldots
+Customize\SpecialChar ldots
\family default
-; this is
-\change_deleted -712698321 1525595580
-D
-\change_inserted -712698321 1525595580
-d
-\change_unchanged
-escribed in section
+; this is described in section
\begin_inset space ~
\end_inset
\end_inset
-
-\change_inserted -712698321 1525595582
)
-\change_deleted -712698321 1525595616
-.
-\change_inserted -712698321 1525595617
+\end_layout
+
+\begin_layout Enumerate
+\change_inserted -712698321 1525756942
+Apply the last settings done in this dialog via
+\family sans
+Apply last settings
\end_layout
\begin_layout Enumerate
-\change_inserted -712698321 1525595704
+\change_inserted -712698321 1525756615
Change the casing of selected text (
\family sans
Capitalize
)
\end_layout
-\begin_layout Enumerate
+\begin_layout Subsection
+
+\change_inserted -712698321 1525756641
+Custom Text Styles
+\end_layout
-\change_inserted -712698321 1525599421
-Select custom character styles if provided by the document class or a module
- (in the case of this document:
+\begin_layout Standard
+
+\change_inserted -712698321 1525756787
+This sub-menu only appears the document class or a module provides custom
+ text styles (in the case of this document:
\family sans
Code
\family default
\family sans
Strong
\family default
-; see section
+, provided by the
+\family sans
+Logical Markup
+\family default
+ module).
+ See section
\begin_inset space ~
\end_inset
\end_inset
-)
+ for details.
\change_unchanged
\end_layout
-\begin_layout Subsection
-Paragraph Settings
-\begin_inset Index idx
-status collapsed
-
-\begin_layout Plain Layout
-Paragraph ! Settings
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
-Enables you to set the paragraph alignment, line spacing and label width.
- These settings only affect the paragraph in which the cursor is currently
- in.
-\end_layout
-
-\begin_layout Standard
-You can also prevent the first line of the paragraph being indented if you
- have chosen to separate paragraphs with
-\family sans
-Indentation
-\family default
- in the
-\family sans
-Document\SpecialChar menuseparator
-Settings\SpecialChar menuseparator
-Text
-\begin_inset space ~
-\end_inset
-
-Layout
-\family default
- dialog.
-\end_layout
-
\begin_layout Subsection
Table and Rows & Columns
\end_layout
\begin_layout Plain Layout
Emphasize text, function of the
+\change_deleted -712698321 1525758222
+
\family sans
Edit\SpecialChar menuseparator
Text
Style\SpecialChar menuseparator
Customized
+\change_inserted -712698321 1525758222
+
\family default
+
+\begin_inset Info
+type "menu"
+arg "dialog-show character"
+\end_inset
+
+
+\change_unchanged
dialog
\end_layout
\begin_layout Plain Layout
Set text to noun style, function of the
+\change_deleted -712698321 1525758226
+
\family sans
Edit\SpecialChar menuseparator
Text
Style\SpecialChar menuseparator
Customized
+\change_inserted -712698321 1525758226
+
\family default
+
+\begin_inset Info
+type "menu"
+arg "dialog-show character"
+\end_inset
+
+
+\change_unchanged
dialog
\end_layout
\begin_layout Plain Layout
Format text using the current settings in the
+\change_deleted -712698321 1525758229
+
\family sans
Edit\SpecialChar menuseparator
Text
Style\SpecialChar menuseparator
Customized
+\change_inserted -712698321 1525758229
+
\family default
+
+\begin_inset Info
+type "menu"
+arg "dialog-show character"
+\end_inset
+
+
+\change_unchanged
dialog
\end_layout
-Arbeitsbereich als normale Schriftänderungen dargestellt, und sie sind
auch in den
\family sans
-Textstil
+Texteigenschaften
\family default
-Dialog integriert.
Deshalb können Sie diese jederzeit auf die Voreinstellung zurücksetzen,
Diese Stile sind, falls verfügbar, im Menü
\family sans
Bearbeiten\SpecialChar menuseparator
-Textstil
+Textstile
\family default
zugänglich.
\end_layout
\end_layout
\begin_layout Subsection
-Textstil
+Absatz-Einstellungen
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Absatz ! Einstellungen
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+Damit kann man die Ausrichtung von Absätzen, den Zeilenabstand und die Breite
+ von Listenmarken einstellen.
+ Diese Einstellungen beeinflussen nur den Absatz, indem sich der Cursor
+ gerade befindet.
+\end_layout
+
+\begin_layout Standard
+Man kann des Weiteren verhindern, dass die erste Zeile des Absatzes eingerückt
+ wird, wenn man im Dialog
+\family sans
+Dokument\SpecialChar menuseparator
+Einstellungen\SpecialChar menuseparator
+Text
+\begin_inset space ~
+\end_inset
+
+Layout
+\family default
+ Absätze durch Einrückung getrennt hat.
+\end_layout
+
+\begin_layout Subsection
+Texteigenschaften
\end_layout
\begin_layout Standard
\begin_layout Enumerate
Texteigenschaften mit Hilfe des Dialogs
\family sans
-Textstil
+Texteigenschaften
\family default
anpassen (via
\family sans
-Benutzerdefiniert\SpecialChar ldots
+Anpassen\SpecialChar ldots
\family default
; das ist in Abschnitt
beschrieben),
\end_layout
+\begin_layout Enumerate
+die zuletzt in diesem Dialog ausgewählten Eigenschaften direkt anwenden
+ (mittels
+\family sans
+\lang english
+Letzte Einstellungen anwenden
+\family default
+\lang ngerman
+)
+\end_layout
+
\begin_layout Enumerate
die Groß- und Kleinschreibung von ausgewähltem Text ändern (
\family sans
)
\end_layout
-\begin_layout Enumerate
-Benutzerdefinierte Textstile auswählen, wenn sie von der Dokumentklasse
- oder einem geladenen Modul zur Verfügung gestellt werden (im Fall dieses
+\begin_layout Subsection
+Benutzerdefinierte Textstile
+\end_layout
+
+\begin_layout Standard
+Dieses Untermenü erscheint nur, wenn die Dokumentklasse oder ein geladenes
+ Modul benutzerdefinierte Textstile zur Verfügung stellt (im Fall dieses
Dokuments sind dies:
\family sans
Code
\family sans
Stark
\family default
-; siehe Abschnitt
+, bereitgestellt vom Modul
+\family sans
+Logisches Markup
+\family default
+).
+ Siehe Abschnitt
\begin_inset space ~
\end_inset
\end_inset
-)
-\end_layout
-
-\begin_layout Subsection
-Absatz-Einstellungen
-\begin_inset Index idx
-status collapsed
-
-\begin_layout Plain Layout
-Absatz ! Einstellungen
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
-Damit kann man die Ausrichtung von Absätzen, den Zeilenabstand und die Breite
- von Listenmarken einstellen.
- Diese Einstellungen beeinflussen nur den Absatz, indem sich der Cursor
- gerade befindet.
-\end_layout
-
-\begin_layout Standard
-Man kann des Weiteren verhindern, dass die erste Zeile des Absatzes eingerückt
- wird, wenn man im Dialog
-\family sans
-Dokument\SpecialChar menuseparator
-Einstellungen\SpecialChar menuseparator
-Text
-\begin_inset space ~
-\end_inset
-
-Layout
-\family default
- Absätze durch Einrückung getrennt hat.
+ für Einzelheiten.
\end_layout
\begin_layout Subsection
\begin_inset Text
\begin_layout Plain Layout
-Text hervorheben, Funktion des
-\family sans
-Bearbeiten\SpecialChar menuseparator
-Textstil
-\family default
- Dialogs
+Text hervorheben, Funktion des Dialogs
+\begin_inset Info
+type "menu"
+arg "dialog-show character"
+\end_inset
+
+
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-Text als Eigenname setzen, Funktion des
-\family sans
-Bearbeiten\SpecialChar menuseparator
-Textstil
-\family default
- Dialogs
+Text als Eigenname setzen, Funktion des Dialogs
+\begin_inset Info
+type "menu"
+arg "dialog-show character"
+\end_inset
+
+
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-Formatiert Text mit der aktuellen Einstellungen des
-\family sans
-Bearbeiten\SpecialChar menuseparator
-Textstil
-\family default
- Dialogs
+Formatiert Text mit der aktuellen Einstellungen des Dialogs
+\begin_inset Info
+type "menu"
+arg "dialog-show character"
+\end_inset
+
+
\end_layout
\end_inset