UserGuide.lyx and Math.lyx: use and describe LyX's native visible space

This commit is contained in:
Uwe Stöhr 2014-02-03 02:22:24 +01:00
parent e8de2df4f9
commit 915002ed42
10 changed files with 1203 additions and 10923 deletions

File diff suppressed because it is too large Load Diff

View File

@ -33,9 +33,6 @@
\myTOC \myTOC
\mainmatter } \mainmatter }
% define a short command for \textvisiblespace
\newcommand{\spce}{\textvisiblespace}
% macro for italic page numbers in the index % macro for italic page numbers in the index
\newcommand{\IndexDef}[1]{\textit{#1}} \newcommand{\IndexDef}[1]{\textit{#1}}
@ -22345,33 +22342,13 @@ Space
\end_inset \end_inset
\begin_inset ERT \begin_inset space \textvisiblespace{}
status collapsed
\begin_layout Plain Layout
\backslash
spce
\end_layout
\end_inset \end_inset
\begin_inset Quotes erd \begin_inset Quotes erd
\end_inset \end_inset
\begin_inset Note Note
status collapsed
\begin_layout Plain Layout
This command will appear in the output as an official character denoting
the space character (visible space).
\end_layout
\end_inset
, seems to do nothing in a formula, since it does not add a space between , seems to do nothing in a formula, since it does not add a space between
characters, but it does exit a nested structure. characters, but it does exit a nested structure.
For this reason, you have to be careful about using For this reason, you have to be careful about using
@ -22388,16 +22365,7 @@ Space
\backslash \backslash
sqrt sqrt
\begin_inset ERT \begin_inset space \textvisiblespace{}
status collapsed
\begin_layout Plain Layout
\backslash
spce
\end_layout
\end_inset \end_inset
2x+1 2x+1
@ -22407,29 +22375,11 @@ spce
\backslash \backslash
sqrt sqrt
\begin_inset ERT \begin_inset space \textvisiblespace{}
status collapsed
\begin_layout Plain Layout
\backslash
spce
\end_layout
\end_inset \end_inset
2x 2x
\begin_inset ERT \begin_inset space \textvisiblespace{}
status collapsed
\begin_layout Plain Layout
\backslash
spce
\end_layout
\end_inset \end_inset
+1 +1
@ -22529,16 +22479,7 @@ arg "math-subscript"
, type in a formula , type in a formula
\series bold \series bold
x^2 x^2
\begin_inset ERT \begin_inset space \textvisiblespace{}
status collapsed
\begin_layout Plain Layout
\backslash
spce
\end_layout
\end_inset \end_inset
@ -22564,16 +22505,7 @@ x^2y
, type , type
\series bold \series bold
x^2 x^2
\begin_inset ERT \begin_inset space \textvisiblespace{}
status collapsed
\begin_layout Plain Layout
\backslash
spce
\end_layout
\end_inset \end_inset
y y
@ -22600,16 +22532,7 @@ Space
, type , type
\series bold \series bold
x^ x^
\begin_inset ERT \begin_inset space \textvisiblespace{}
status collapsed
\begin_layout Plain Layout
\backslash
spce
\end_layout
\end_inset \end_inset
a a
@ -22622,16 +22545,7 @@ a
, type , type
\series bold \series bold
a_1 a_1
\begin_inset ERT \begin_inset space \textvisiblespace{}
status collapsed
\begin_layout Plain Layout
\backslash
spce
\end_layout
\end_inset \end_inset
@ -23213,16 +23127,7 @@ In a formula you can insert accented characters in the same way as in text
\backslash \backslash
hat hat
\begin_inset ERT \begin_inset space \textvisiblespace{}
status collapsed
\begin_layout Plain Layout
\backslash
spce
\end_layout
\end_inset \end_inset
a a
@ -35311,6 +35216,23 @@ Breakable
Slash Inserts a slash where a line break can also occur: \SpecialChar \slash{} Slash Inserts a slash where a line break can also occur: \SpecialChar \slash{}
\end_layout
\begin_layout Description
Visible
\begin_inset space ~
\end_inset
Space Inserts a character representing a single space (the one you get when
pressing the
\family sans
Space
\family default
key):
\begin_inset space \textvisiblespace{}
\end_inset
\end_layout \end_layout
\begin_layout Description \begin_layout Description

File diff suppressed because it is too large Load Diff

View File

@ -36,9 +36,6 @@
% Damit der Index den Namen "Stichwortverzeichnis" erhält % Damit der Index den Namen "Stichwortverzeichnis" erhält
\addto\captionsngerman{\renewcommand{\indexname}{Stichwortverzeichnis}} \addto\captionsngerman{\renewcommand{\indexname}{Stichwortverzeichnis}}
% define a short command for \textvisiblespace
\newcommand{\leer}{\textvisiblespace}
% macro for italic page numbers in the index % macro for italic page numbers in the index
\newcommand{\IndexDef}[1]{\textit{#1}} \newcommand{\IndexDef}[1]{\textit{#1}}
@ -22831,7 +22828,19 @@ Die
\family sans \family sans
Leertaste Leertaste
\family default \family default
scheint nichts innerhalb von Formeln zu bewirken, weil sie wirklich keinen , in diesem Dokument als
\begin_inset Quotes gld
\end_inset
\begin_inset space \textvisiblespace{}
\end_inset
\begin_inset Quotes grd
\end_inset
gedruckt, scheint nichts innerhalb von Formeln zu bewirken, weil sie keinen
Zwischenraum zwischen Zeichen hinzufügt, aber sie verlässt eine geschachtelte Zwischenraum zwischen Zeichen hinzufügt, aber sie verlässt eine geschachtelte
Struktur. Struktur.
Deshalb muss man mit der Deshalb muss man mit der
@ -22851,16 +22860,7 @@ Wenn man zum Beispiel
\backslash \backslash
sqrt sqrt
\begin_inset ERT \begin_inset space \textvisiblespace{}
status collapsed
\begin_layout Plain Layout
\backslash
leer
\end_layout
\end_inset \end_inset
2x+1 2x+1
@ -22870,42 +22870,15 @@ eingeben und nicht
\backslash \backslash
sqrt sqrt
\begin_inset ERT \begin_inset space \textvisiblespace{}
status collapsed
\begin_layout Plain Layout
\backslash
leer
\end_layout
\end_inset \end_inset
2x 2x
\begin_inset ERT \begin_inset space \textvisiblespace{}
status collapsed
\begin_layout Plain Layout
\backslash
leer
\end_layout
\end_inset \end_inset
+ +
\begin_inset ERT \begin_inset space \textvisiblespace{}
status collapsed
\begin_layout Plain Layout
\backslash
leer
\end_layout
\end_inset \end_inset
1 1
@ -22922,64 +22895,6 @@ leer
\begin_inset Formula $\sqrt{2x}+1$ \begin_inset Formula $\sqrt{2x}+1$
\end_inset \end_inset
.
Diejenigen, die es gewohnt sind, Ausdrücke auf diese Weise mit Zwischenräumen
zu versehen, müssen ein wenig umlernen.
\end_layout
\begin_layout Standard
Da wir über die
\family sans
Leertaste
\family default
sprechen: es mag sein, dass Sie Leerzeichen erzeugen wollen, die über das
hinausgehen, was LaTeX normalerweise erzeugt.
Wir empfehlen das natürlich nicht, weil das WYSIWYM-Prinzip bedeutet, dass
Sie nicht über den Schriftsatz nachdenken sollen, sondern über den Inhalt.
Es mag aber Situationen geben, in denen Sie wirklich Leerzeichen hinzufügen
wollen.
\end_layout
\begin_layout Standard
Das kann man mit
\family sans
Strg+Leertaste
\family default
machen.
Das erzeugt einen kleinen Zwischenraum und zeigt ihn auf dem Bildschirm
wie eine auf dem Rücken liegende eckige rote Klammer an:
\begin_inset Formula $a\text{{\color{red}\leer}}b$
\end_inset
.
Gedruckt sieht das so aus:
\begin_inset Formula $a\, b$
\end_inset
.
Mit dem nächstes Trick ändert man die Größe.
\emph on
Bevor
\emph default
Sie nach
\family sans
Strg+Leertaste
\family default
den Cursor bewegen, drücken Sie die
\family sans
Leertaste
\family default
erneut ein- oder mehrere Male, das vergrößert den Zwischenraum auf unterschiedl
iche Größen:
\begin_inset Formula $a\quad b$
\end_inset
.
Als letztes gibt es den roten, negativen Zwischenraum:
\begin_inset Formula $a\! b$
\end_inset
. .
\end_layout \end_layout
@ -23085,16 +23000,7 @@ arg "math-subscript"
zu erhalten, geben Sie zu erhalten, geben Sie
\series bold \series bold
x^2 x^2
\begin_inset ERT \begin_inset space \textvisiblespace{}
status collapsed
\begin_layout Plain Layout
\backslash
leer
\end_layout
\end_inset \end_inset
@ -23120,16 +23026,7 @@ x^2y
zu erhalten, müssen Sie zu erhalten, müssen Sie
\series bold \series bold
x^2 x^2
\begin_inset ERT \begin_inset space \textvisiblespace{}
status collapsed
\begin_layout Plain Layout
\backslash
leer
\end_layout
\end_inset \end_inset
y y
@ -23160,16 +23057,7 @@ B.
haben wollen, geben Sie haben wollen, geben Sie
\series bold \series bold
x^ x^
\begin_inset ERT \begin_inset space \textvisiblespace{}
status collapsed
\begin_layout Plain Layout
\backslash
leer
\end_layout
\end_inset \end_inset
a a
@ -23182,16 +23070,7 @@ a
zu erhalten, müssen Sie in eine Formel zu erhalten, müssen Sie in eine Formel
\series bold \series bold
a_1 a_1
\begin_inset ERT \begin_inset space \textvisiblespace{}
status collapsed
\begin_layout Plain Layout
\backslash
leer
\end_layout
\end_inset \end_inset
@ -35819,6 +35698,23 @@ Umbruchfähiger
Schrägstrich Fügt einen Schrägstrich ein, an dessen Stelle ein Zeilenumbruch Schrägstrich Fügt einen Schrägstrich ein, an dessen Stelle ein Zeilenumbruch
möglich ist: \SpecialChar \slash{} möglich ist: \SpecialChar \slash{}
\end_layout
\begin_layout Description
Sichtbares
\begin_inset space ~
\end_inset
Leerzeichen Fügt ein Zeichen ein, das ein Leerzeichen repräsentiert (das
man erhält wenn man die Taste
\family sans
Leertaste
\family default
drückt):
\begin_inset space \textvisiblespace{}
\end_inset
\end_layout \end_layout
\begin_layout Description \begin_layout Description

File diff suppressed because it is too large Load Diff

View File

@ -33,9 +33,6 @@
\myTOC \myTOC
\mainmatter } \mainmatter }
% define a short command for \textvisiblespace
\newcommand{\spce}{\textvisiblespace}
% macro for italic page numbers in the index % macro for italic page numbers in the index
\newcommand{\IndexDef}[1]{\textit{#1}} \newcommand{\IndexDef}[1]{\textit{#1}}
@ -22778,33 +22775,13 @@ Espacio
\end_inset \end_inset
\begin_inset ERT \begin_inset space \textvisiblespace{}
status collapsed
\begin_layout Plain Layout
\backslash
spce
\end_layout
\end_inset \end_inset
\begin_inset Quotes frd \begin_inset Quotes frd
\end_inset \end_inset
\begin_inset Note Note
status collapsed
\begin_layout Plain Layout
En la salida, este comando aparece como su carácter correspondiente, el
que identifica un espacio (espacio visible).
\end_layout
\end_inset
, parece que no hace nada en una ecuación, puesto que no añade espacio, , parece que no hace nada en una ecuación, puesto que no añade espacio,
pero sirve para salir de estructuras anidadas. pero sirve para salir de estructuras anidadas.
Por esta razón debes tener cuidado con el uso de Por esta razón debes tener cuidado con el uso de
@ -22821,16 +22798,7 @@ Espacio
\backslash \backslash
sqrt sqrt
\begin_inset ERT \begin_inset space \textvisiblespace{}
status collapsed
\begin_layout Plain Layout
\backslash
spce
\end_layout
\end_inset \end_inset
2x+1 2x+1
@ -22844,29 +22812,11 @@ spce
\backslash \backslash
sqrt sqrt
\begin_inset ERT \begin_inset space \textvisiblespace{}
status collapsed
\begin_layout Plain Layout
\backslash
spce
\end_layout
\end_inset \end_inset
2x 2x
\begin_inset ERT \begin_inset space \textvisiblespace{}
status collapsed
\begin_layout Plain Layout
\backslash
spce
\end_layout
\end_inset \end_inset
+1 +1
@ -22965,16 +22915,7 @@ arg "math-subscript"
, teclea en una ecuación , teclea en una ecuación
\series bold \series bold
x^2 x^2
\begin_inset ERT \begin_inset space \textvisiblespace{}
status collapsed
\begin_layout Plain Layout
\backslash
spce
\end_layout
\end_inset \end_inset
@ -23001,16 +22942,7 @@ x^2y
, teclea , teclea
\series bold \series bold
x^2 x^2
\begin_inset ERT \begin_inset space \textvisiblespace{}
status collapsed
\begin_layout Plain Layout
\backslash
spce
\end_layout
\end_inset \end_inset
y y
@ -23037,16 +22969,7 @@ Espacio
teclea teclea
\series bold \series bold
x^ x^
\begin_inset ERT \begin_inset space \textvisiblespace{}
status collapsed
\begin_layout Plain Layout
\backslash
spce
\end_layout
\end_inset \end_inset
a a
@ -23087,16 +23010,7 @@ _
, teclea , teclea
\series bold \series bold
a_1 a_1
\begin_inset ERT \begin_inset space \textvisiblespace{}
status collapsed
\begin_layout Plain Layout
\backslash
spce
\end_layout
\end_inset \end_inset
@ -23764,16 +23678,7 @@ ej.,
\backslash \backslash
hat hat
\begin_inset ERT \begin_inset space \textvisiblespace{}
status collapsed
\begin_layout Plain Layout
\backslash
spce
\end_layout
\end_inset \end_inset
a a
@ -35528,6 +35433,25 @@ oblicua
frágil Inserta una barra oblicua donde también se puede producir un salto frágil Inserta una barra oblicua donde también se puede producir un salto
de línea: \SpecialChar \slash{} de línea: \SpecialChar \slash{}
\end_layout
\begin_layout Description
\lang english
Visible
\begin_inset space ~
\end_inset
Space Inserts a character representing a single space (the one you get when
pressing the
\family sans
Space
\family default
key):
\begin_inset space \textvisiblespace{}
\end_inset
\end_layout \end_layout
\begin_layout Description \begin_layout Description

File diff suppressed because it is too large Load Diff

View File

@ -33,9 +33,6 @@
\myTOC \myTOC
\mainmatter } \mainmatter }
% define a short command for \textvisiblespace
\newcommand{\spce}{\textvisiblespace}
% macro for italic page numbers in the index % macro for italic page numbers in the index
\newcommand{\IndexDef}[1]{\textit{#1}} \newcommand{\IndexDef}[1]{\textit{#1}}
@ -23390,16 +23387,7 @@ Espace
\end_inset \end_inset
\begin_inset ERT \begin_inset space \textvisiblespace{}
status collapsed
\begin_layout Plain Layout
\backslash
spce
\end_layout
\end_inset \end_inset
@ -23418,16 +23406,7 @@ spce
\backslash \backslash
sqrt sqrt
\begin_inset ERT \begin_inset space \textvisiblespace{}
status collapsed
\begin_layout Plain Layout
\backslash
spce
\end_layout
\end_inset \end_inset
2x+1 2x+1
@ -23437,42 +23416,15 @@ spce
\backslash \backslash
sqrt sqrt
\begin_inset ERT \begin_inset space \textvisiblespace{}
status collapsed
\begin_layout Plain Layout
\backslash
spce
\end_layout
\end_inset \end_inset
2x 2x
\begin_inset ERT \begin_inset space \textvisiblespace{}
status collapsed
\begin_layout Plain Layout
\backslash
spce
\end_layout
\end_inset \end_inset
+ +
\begin_inset ERT \begin_inset space \textvisiblespace{}
status collapsed
\begin_layout Plain Layout
\backslash
spce
\end_layout
\end_inset \end_inset
1 1
@ -23581,16 +23533,7 @@ arg "math-subscript"
, tapez (dans une formule) , tapez (dans une formule)
\series bold \series bold
x^2 x^2
\begin_inset ERT \begin_inset space \textvisiblespace{}
status collapsed
\begin_layout Plain Layout
\backslash
spce
\end_layout
\end_inset \end_inset
@ -23617,16 +23560,7 @@ x^2y
, tapez , tapez
\series bold \series bold
x^2 x^2
\begin_inset ERT \begin_inset space \textvisiblespace{}
status collapsed
\begin_layout Plain Layout
\backslash
spce
\end_layout
\end_inset \end_inset
y y
@ -23653,16 +23587,7 @@ espace
, tapez , tapez
\series bold \series bold
x^ x^
\begin_inset ERT \begin_inset space \textvisiblespace{}
status collapsed
\begin_layout Plain Layout
\backslash
spce
\end_layout
\end_inset \end_inset
a a
@ -23675,16 +23600,7 @@ a
, faites (dans une formule) , faites (dans une formule)
\series bold \series bold
a_1 a_1
\begin_inset ERT \begin_inset space \textvisiblespace{}
status collapsed
\begin_layout Plain Layout
\backslash
spce
\end_layout
\end_inset \end_inset
@ -24316,16 +24232,7 @@ Vous insérez des caractères accentués dans une formule de la même façon
\backslash \backslash
hat hat
\begin_inset ERT \begin_inset space \textvisiblespace{}
status collapsed
\begin_layout Plain Layout
\backslash
spce
\end_layout
\end_inset \end_inset
a a
@ -36711,6 +36618,25 @@ oblique
sécable Insère une barre oblique là où un saut de ligne peut aussi se produire sécable Insère une barre oblique là où un saut de ligne peut aussi se produire
: \SpecialChar \slash{} : \SpecialChar \slash{}
\end_layout
\begin_layout Description
\lang english
Visible
\begin_inset space ~
\end_inset
Space Inserts a character representing a single space (the one you get when
pressing the
\family sans
Space
\family default
key):
\begin_inset space \textvisiblespace{}
\end_inset
\end_layout \end_layout
\begin_layout Description \begin_layout Description

File diff suppressed because it is too large Load Diff

View File

@ -41,9 +41,6 @@
\myTOC \myTOC
\mainmatter } \mainmatter }
% define a short command for \textvisiblespace
\newcommand{\spce}{\textvisiblespace}
% macro for italic page numbers in the index % macro for italic page numbers in the index
\newcommand{\IndexDef}[1]{\textit{#1}} \newcommand{\IndexDef}[1]{\textit{#1}}
@ -113,7 +110,7 @@ End
\font_sf_scale 100 \font_sf_scale 100
\font_tt_scale 100 \font_tt_scale 100
\graphics default \graphics default
\default_output_format pdf \default_output_format default
\output_sync 0 \output_sync 0
\bibtex_command bibtex \bibtex_command bibtex
\index_command default \index_command default
@ -18756,38 +18753,10 @@ Tab
スペース スペース
\family default \family default
—本文書では「 —本文書では「
\begin_inset ERT \begin_inset space \textvisiblespace{}
status collapsed
\begin_layout Plain Layout
\backslash
spce
\end_layout
\end_inset \end_inset
」と印刷されます—は、数式中では何もしないように見えますが、実は入れ子構造から脱出するのに使われるのです。このため、
\begin_inset Note Note
status open
\begin_layout Plain Layout
\family roman
\series medium
\shape up
\size normal
\emph off
\bar no
\noun off
\color none
このコマンドは、出力では空白文字(可視空白)を表す標準的な文字で表現されます。
\end_layout
\end_inset
と印刷されます—は、数式中では何もしないように見えますが、実は入れ子構造から脱出するのに使われるのです。このため、
\family sans \family sans
スペース スペース
\family default \family default
@ -18802,16 +18771,7 @@ status open
sqrt sqrt
\series default \series default
\begin_inset ERT \begin_inset space \textvisiblespace{}
status collapsed
\begin_layout Plain Layout
\backslash
spce
\end_layout
\end_inset \end_inset
@ -18825,16 +18785,7 @@ spce
sqrt sqrt
\series default \series default
\begin_inset ERT \begin_inset space \textvisiblespace{}
status collapsed
\begin_layout Plain Layout
\backslash
spce
\end_layout
\end_inset \end_inset
@ -18842,16 +18793,7 @@ spce
2x 2x
\series default \series default
\begin_inset ERT \begin_inset space \textvisiblespace{}
status collapsed
\begin_layout Plain Layout
\backslash
spce
\end_layout
\end_inset \end_inset
@ -18964,16 +18906,7 @@ arg "math-subscript"
x^2 x^2
\series default \series default
\begin_inset ERT \begin_inset space \textvisiblespace{}
status collapsed
\begin_layout Plain Layout
\backslash
spce
\end_layout
\end_inset \end_inset
と入力すればよいのです。最後の と入力すればよいのです。最後の
@ -18998,16 +18931,7 @@ x^2y
\family typewriter \family typewriter
\series default \series default
\begin_inset ERT \begin_inset space \textvisiblespace{}
status collapsed
\begin_layout Plain Layout
\backslash
spce
\end_layout
\end_inset \end_inset
@ -19028,16 +18952,7 @@ y
x^a x^a
\series default \series default
\begin_inset ERT \begin_inset space \textvisiblespace{}
status collapsed
\begin_layout Plain Layout
\backslash
spce
\end_layout
\end_inset \end_inset
と入力します。下付き文字も同様です。 と入力します。下付き文字も同様です。
@ -19049,16 +18964,7 @@ spce
a_1 a_1
\series default \series default
\begin_inset ERT \begin_inset space \textvisiblespace{}
status collapsed
\begin_layout Plain Layout
\backslash
spce
\end_layout
\end_inset \end_inset
と入力します。 と入力します。
@ -19621,16 +19527,7 @@ status collapsed
hat hat
\series default \series default
\begin_inset ERT \begin_inset space \textvisiblespace{}
status collapsed
\begin_layout Plain Layout
\backslash
spce
\end_layout
\end_inset \end_inset
@ -29592,6 +29489,27 @@ reference "sub:略語"
」を挿入する。 」を挿入する。
\end_layout \end_layout
\begin_layout Description
\lang english
Visible
\begin_inset space ~
\end_inset
Space Inserts a character representing a single space (the one you get when
pressing the
\family sans
Space
\family default
key):
\lang japanese
\begin_inset space \textvisiblespace{}
\end_inset
\end_layout
\begin_layout Description \begin_layout Description
メニュー区切り メニュー区切りマーク「\SpecialChar \menuseparator メニュー区切り メニュー区切りマーク「\SpecialChar \menuseparator
」を挿入する。 」を挿入する。