From 97552513b2d256c5d7bc5ef971ed75e6cbf5e90a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Uwe=20St=C3=B6hr?= Date: Sat, 26 Jul 2008 22:47:26 +0000 Subject: [PATCH] Math.lyx: description of \rule git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25906 a592a061-630c-0410-9148-cb99ea01b6c8 --- lib/doc/Math.lyx | 94 +++++++++++++++++++++++++++++++--- lib/doc/de/Math.lyx | 121 +++++++++++++++++++++++++++++++------------- 2 files changed, 174 insertions(+), 41 deletions(-) diff --git a/lib/doc/Math.lyx b/lib/doc/Math.lyx index 394db09912..49f428bef4 100644 --- a/lib/doc/Math.lyx +++ b/lib/doc/Math.lyx @@ -992,7 +992,7 @@ An arrow like \end_layout \begin_layout Subsection* -Used units +Available units \end_layout \begin_layout Standard @@ -1010,11 +1010,11 @@ status open \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label -name "tab:Used-units" +name "tab:Available-units" \end_inset -Used units +Available units \end_layout \end_inset @@ -4260,6 +4260,75 @@ underline It is possible to place up to 6 lines above or below characters. \end_layout +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + +Custom lines can be created using the command +\series bold + +\backslash +rule +\series default + which has the following scheme: +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +rule[vertical offset]{length}{thickness} +\end_layout + +\begin_layout Standard +The optional vertical offset shifts the line upwards (or downwards, when + the value is negative). + The units listed in +\begin_inset CommandInset ref +LatexCommand ref +reference "tab:Available-units" + +\end_inset + + can be used for the values. + Here are two example lines created with the commands +\begin_inset Newline newline +\end_inset + + +\series bold + +\backslash +rule[-2ex]{3cm}{2pt} +\series default + and +\series bold + +\backslash +rule{2cm}{1pt} +\series default +: +\end_layout + +\begin_layout Standard +This is a sentence +\begin_inset Formula $\rule[-2ex]{3cm}{2pt}\rule{2cm}{1pt}$ +\end_inset + + with two lines. +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +rule +\series default + can also be used for text when it is inserted in TeX-mode. +\end_layout + \begin_layout Subsection Ellipses \begin_inset CommandInset label @@ -6476,9 +6545,6 @@ Bigg)^0,5 \end_layout \begin_layout Standard -\begin_inset Newpage newpage -\end_inset - Besides the \series bold @@ -7793,6 +7859,13 @@ Arrows can be inserted via the math toolbar button or the commands listed in the following subsections. \end_layout +\begin_layout Standard +\begin_inset Newpage newpage +\end_inset + + +\end_layout + \begin_layout Subsection Horizontal Arrows \begin_inset Index @@ -11712,7 +11785,7 @@ hspace For the length all units listed in \begin_inset CommandInset ref LatexCommand ref -reference "tab:Used-units" +reference "tab:Available-units" \end_inset @@ -16212,6 +16285,13 @@ reference "sub:Self-defined-Operators" . \end_layout +\begin_layout Standard +\begin_inset Newpage newpage +\end_inset + + +\end_layout + \begin_layout Subsection Binary Operators \begin_inset CommandInset label diff --git a/lib/doc/de/Math.lyx b/lib/doc/de/Math.lyx index eb060f405c..1698ece389 100644 --- a/lib/doc/de/Math.lyx +++ b/lib/doc/de/Math.lyx @@ -1001,7 +1001,7 @@ B. \end_layout \begin_layout Subsection* -Verwendete Einheiten +Verfügbare Einheiten \end_layout \begin_layout Standard @@ -1019,11 +1019,11 @@ status open \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label -name "tab:Verwendete-Einheiten" +name "tab:Verfügbare-Einheiten" \end_inset -Verwendete Einheiten +Verfügbare Einheiten \end_layout \end_inset @@ -4264,6 +4264,75 @@ underline Man kann bis zu 6 Striche über oder unter Zeichen setzen. \end_layout +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + +Benutzerdefinierte Linien können mit dem Befehl +\series bold + +\backslash +rule +\series default + erstellt werden, der folgendes Schema besitzt: +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +rule[vertikaler Versatz]{Länge}{Dicke} +\end_layout + +\begin_layout Standard +Der optionale vertikale Versatz verschiebt die Linie nach oben (oder nach + unten, wenn der Wert negativ ist). + Die Einheiten, die in +\begin_inset CommandInset ref +LatexCommand ref +reference "tab:Verfügbare-Einheiten" + +\end_inset + + aufgelistet sind, können für die Werte benutzt werden. + Hier sind zwei Beispiele, die mit den Befehlen +\begin_inset Newline newline +\end_inset + + +\series bold + +\backslash +rule[-2ex]{3cm}{2pt} +\series default + und +\series bold + +\backslash +rule{2cm}{1pt} +\series default + erzeugt wurden: +\end_layout + +\begin_layout Standard +Dies ist ein Satz +\begin_inset Formula $\rule[-2ex]{3cm}{2pt}\rule{2cm}{1pt}$ +\end_inset + + mit zwei Linien. +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +rule +\series default + kann auch für Text verwendet werden, wenn er als TeX-Code eingegeben wird. +\end_layout + \begin_layout Subsection Fortsetzungspunkte \begin_inset CommandInset label @@ -4361,10 +4430,6 @@ dots , entscheidet LaTeX anhand des nachfolgenden Zeichens, welche Punktart verwendet wird. -\begin_inset Newpage newpage -\end_inset - - \end_layout \begin_layout Standard @@ -5672,6 +5737,13 @@ C & D\end{smallmatrix}\right)$ in einer Textzeile. \end_layout +\begin_layout Standard +\begin_inset Newpage newpage +\end_inset + + +\end_layout + \begin_layout Section Klammern und Begrenzungszeichen \begin_inset Index @@ -11722,7 +11794,7 @@ hspace Dabei können alle Längeneinheiten verwendet werden, die in \begin_inset CommandInset ref LatexCommand ref -reference "tab:Verwendete-Einheiten" +reference "tab:Verfügbare-Einheiten" \end_inset @@ -15713,10 +15785,6 @@ dotsint \end_inset -\begin_inset Newpage newpage -\end_inset - - \end_layout \begin_layout Subsection @@ -18836,6 +18904,13 @@ Kann ein Symbol nicht in verschiedenen Größen dargestellt werden, wird es immer in der Standardgröße dargestellt. \end_layout +\begin_layout Standard +\begin_inset Newpage newpage +\end_inset + + +\end_layout + \begin_layout Section Griechische Buchstaben \begin_inset Index @@ -20412,13 +20487,6 @@ leistenknöpfe eingefügt werden. \end_layout -\begin_layout Standard -\begin_inset Newpage newpage -\end_inset - - -\end_layout - \begin_layout Subsection Mathematische Symbole \begin_inset CommandInset label @@ -24009,13 +24077,6 @@ B \end_inset -\end_layout - -\begin_layout Standard -\begin_inset Newpage newpage -\end_inset - - \end_layout \begin_layout Section @@ -25178,10 +25239,6 @@ Funktionen ! Modulo- \begin_layout Standard Eine Besonderheit stellt die Modulo-Funktion dar, denn es gibt sie in vier Varianten. -\begin_inset Newpage newpage -\end_inset - - \end_layout \begin_layout Standard @@ -31358,10 +31415,6 @@ cb white \series default verwendet. -\begin_inset Newpage pagebreak -\end_inset - - \end_layout \begin_layout Standard -- 2.39.2