mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-29 05:01:49 +00:00
a15303b938
Especially after the change to use semantic linefeeds (7b23c76b
),
the diffs are large and it's hard to figure out what diff is the
result of the linefeed change and which diff is the result of an
edit.
By updating the docs, it will make the edits easier to understand
from the diff.
This commit used the LyX binary to write the new .lyx files since
lyx2lyx does not apply semantic linefeeds.
I used the following command:
./development/tools/updatedocs.py [path to 'lyx' binary]
A few documents were not updated (e.g., the command sequence used
failed because a dialog about a missing dependency was shown).
I did not update Additional.lyx for any language since it is
undergoing changes. I also didn't change anything in doc/fr since JP
is working on some of those. I also didn't change doc/ru since it
appears Yuriy already updated those.
487 lines
7.0 KiB
Plaintext
487 lines
7.0 KiB
Plaintext
#LyX 2.4 created this file. For more info see https://www.lyx.org/
|
|
\lyxformat 612
|
|
\begin_document
|
|
\begin_header
|
|
\save_transient_properties true
|
|
\origin /systemlyxdir/doc/de/
|
|
\textclass scrartcl
|
|
\begin_preamble
|
|
\usepackage{ifpdf}
|
|
|
|
\ifpdf
|
|
|
|
\usepackage[colorlinks=true,
|
|
pdftitle=Formelnummerierung, pdfpagemode=none,
|
|
pdfpagelayout=OneColumn, pdfstartview=XYZ,
|
|
pdfauthor={Uwe Stöhr},
|
|
pdfsubject={LaTeX/LyX-Nummerierungsbeispiel},
|
|
pdfkeywords={LaTeX, Nummerierung, LyX}]{hyperref}
|
|
|
|
\else % if DVI
|
|
|
|
\usepackage[colorlinks=true]{hyperref}
|
|
|
|
\fi
|
|
|
|
%Roemischen Gleichungszaehler einrichten
|
|
\newcounter{roem}
|
|
\renewcommand{\theroem}{\roman{roem}}
|
|
|
|
%Merken des Originalzaehlers
|
|
\newcommand{\c@org@eq}{}
|
|
\let\c@org@eq\c@equation
|
|
\newcommand{\org@theeq}{}
|
|
\let\org@theeq\theequation
|
|
|
|
%\setroem aktiviert den roemischen Gleichungszaehler
|
|
\newcommand{\setroem}{
|
|
\let\c@equation\c@roem
|
|
\let\theequation\theroem}
|
|
|
|
%\setarab aktiviert den urspruenglichen arabischen Gleichungszaehler
|
|
\newcommand{\setarab}{
|
|
\let\c@equation\c@org@eq
|
|
\let\theequation\org@theeq}
|
|
% Added by lyx2lyx
|
|
\setlength{\parskip}{\medskipamount}
|
|
\setlength{\parindent}{0pt}
|
|
\end_preamble
|
|
\use_default_options false
|
|
\maintain_unincluded_children no
|
|
\language ngerman
|
|
\language_package default
|
|
\inputencoding utf8
|
|
\fontencoding auto
|
|
\font_roman "ae" "default"
|
|
\font_sans "default" "default"
|
|
\font_typewriter "default" "default"
|
|
\font_math "auto" "auto"
|
|
\font_default_family default
|
|
\use_non_tex_fonts false
|
|
\font_sc false
|
|
\font_roman_osf false
|
|
\font_sans_osf false
|
|
\font_typewriter_osf false
|
|
\font_sf_scale 100 100
|
|
\font_tt_scale 100 100
|
|
\use_microtype false
|
|
\use_dash_ligatures false
|
|
\graphics default
|
|
\default_output_format pdf2
|
|
\output_sync 0
|
|
\bibtex_command default
|
|
\index_command default
|
|
\paperfontsize 12
|
|
\spacing single
|
|
\use_hyperref false
|
|
\papersize default
|
|
\use_geometry false
|
|
\use_package amsmath 2
|
|
\use_package amssymb 2
|
|
\use_package cancel 1
|
|
\use_package esint 1
|
|
\use_package mathdots 1
|
|
\use_package mathtools 1
|
|
\use_package mhchem 1
|
|
\use_package stackrel 1
|
|
\use_package stmaryrd 1
|
|
\use_package undertilde 1
|
|
\cite_engine basic
|
|
\cite_engine_type default
|
|
\biblio_style plain
|
|
\use_bibtopic false
|
|
\use_indices false
|
|
\paperorientation portrait
|
|
\suppress_date false
|
|
\justification true
|
|
\use_refstyle 0
|
|
\use_minted 0
|
|
\use_lineno 0
|
|
\index Stichwortverzeichnis
|
|
\shortcut idx
|
|
\color #008000
|
|
\end_index
|
|
\secnumdepth 4
|
|
\tocdepth 3
|
|
\paragraph_separation indent
|
|
\paragraph_indentation default
|
|
\is_math_indent 1
|
|
\math_indentation default
|
|
\math_numbering_side default
|
|
\quotes_style german
|
|
\dynamic_quotes 0
|
|
\papercolumns 1
|
|
\papersides 1
|
|
\paperpagestyle empty
|
|
\tablestyle default
|
|
\tracking_changes false
|
|
\output_changes false
|
|
\change_bars false
|
|
\postpone_fragile_content false
|
|
\html_math_output 0
|
|
\html_css_as_file 0
|
|
\html_be_strict false
|
|
\docbook_table_output 0
|
|
\docbook_mathml_prefix 1
|
|
\end_header
|
|
|
|
\begin_body
|
|
|
|
\begin_layout Standard
|
|
Diese Datei ist ein Beispiel zur Verwendung von zwei verschiedenen Formelkategorien.
|
|
Die eine wird arabisch,
|
|
die andere römisch nummeriert.
|
|
\end_layout
|
|
|
|
\begin_layout Standard
|
|
\begin_inset Formula
|
|
\begin{equation}
|
|
A=B\label{eq:B}
|
|
\end{equation}
|
|
|
|
\end_inset
|
|
|
|
|
|
\begin_inset Formula
|
|
\begin{equation}
|
|
A=C\label{eq:C}
|
|
\end{equation}
|
|
|
|
\end_inset
|
|
|
|
|
|
\begin_inset ERT
|
|
status collapsed
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
|
|
\backslash
|
|
setroem
|
|
\end_layout
|
|
|
|
\end_inset
|
|
|
|
|
|
\begin_inset Formula
|
|
\begin{equation}
|
|
A=D\label{eq:D}
|
|
\end{equation}
|
|
|
|
\end_inset
|
|
|
|
|
|
\begin_inset Formula
|
|
\begin{equation}
|
|
A=E\label{eq:E}
|
|
\end{equation}
|
|
|
|
\end_inset
|
|
|
|
|
|
\begin_inset ERT
|
|
status collapsed
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
|
|
\backslash
|
|
setarab
|
|
\end_layout
|
|
|
|
\end_inset
|
|
|
|
|
|
\begin_inset Formula
|
|
\begin{equation}
|
|
A=F\label{eq:F}
|
|
\end{equation}
|
|
|
|
\end_inset
|
|
|
|
|
|
\begin_inset Formula
|
|
\begin{equation}
|
|
A=G\label{eq:G}
|
|
\end{equation}
|
|
|
|
\end_inset
|
|
|
|
|
|
\begin_inset ERT
|
|
status collapsed
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
|
|
\backslash
|
|
setroem
|
|
\end_layout
|
|
|
|
\end_inset
|
|
|
|
|
|
\begin_inset Formula
|
|
\begin{equation}
|
|
A=H\label{eq:H}
|
|
\end{equation}
|
|
|
|
\end_inset
|
|
|
|
|
|
\begin_inset Formula
|
|
\begin{equation}
|
|
A=I\label{eq:I}
|
|
\end{equation}
|
|
|
|
\end_inset
|
|
|
|
|
|
\end_layout
|
|
|
|
\begin_layout Standard
|
|
Querverweise:
|
|
|
|
\begin_inset CommandInset ref
|
|
LatexCommand eqref
|
|
reference "eq:B"
|
|
nolink "false"
|
|
|
|
\end_inset
|
|
|
|
,
|
|
|
|
\begin_inset CommandInset ref
|
|
LatexCommand eqref
|
|
reference "eq:C"
|
|
nolink "false"
|
|
|
|
\end_inset
|
|
|
|
,
|
|
|
|
\begin_inset CommandInset ref
|
|
LatexCommand eqref
|
|
reference "eq:F"
|
|
nolink "false"
|
|
|
|
\end_inset
|
|
|
|
,
|
|
|
|
\begin_inset CommandInset ref
|
|
LatexCommand eqref
|
|
reference "eq:G"
|
|
nolink "false"
|
|
|
|
\end_inset
|
|
|
|
,
|
|
|
|
\begin_inset CommandInset ref
|
|
LatexCommand eqref
|
|
reference "eq:D"
|
|
nolink "false"
|
|
|
|
\end_inset
|
|
|
|
,
|
|
|
|
\begin_inset CommandInset ref
|
|
LatexCommand eqref
|
|
reference "eq:E"
|
|
nolink "false"
|
|
|
|
\end_inset
|
|
|
|
,
|
|
|
|
\begin_inset CommandInset ref
|
|
LatexCommand eqref
|
|
reference "eq:H"
|
|
nolink "false"
|
|
|
|
\end_inset
|
|
|
|
,
|
|
|
|
\begin_inset CommandInset ref
|
|
LatexCommand eqref
|
|
reference "eq:I"
|
|
nolink "false"
|
|
|
|
\end_inset
|
|
|
|
|
|
\end_layout
|
|
|
|
\begin_layout Standard
|
|
\noindent
|
|
\begin_inset CommandInset line
|
|
LatexCommand rule
|
|
offset "0.5ex"
|
|
width "100line%"
|
|
height "1pt"
|
|
|
|
\end_inset
|
|
|
|
|
|
\begin_inset VSpace medskip
|
|
\end_inset
|
|
|
|
Um dieses Beispiel zu erzeugen,
|
|
muss zuerst für die römisch zu nummerierenden Formeln ein eigener Gleichungszähler angelegt werden.
|
|
Dazu gibt man im \SpecialChar LaTeX
|
|
-Vorspann Folgendes ein:
|
|
\end_layout
|
|
|
|
\begin_layout Standard
|
|
|
|
\series bold
|
|
|
|
\backslash
|
|
newcounter{roem}
|
|
\begin_inset Newline newline
|
|
\end_inset
|
|
|
|
|
|
\backslash
|
|
renewcommand{
|
|
\backslash
|
|
theroem}{
|
|
\backslash
|
|
roman{roem}}
|
|
\end_layout
|
|
|
|
\begin_layout Standard
|
|
\begin_inset Newpage newpage
|
|
\end_inset
|
|
|
|
Damit sich \SpecialChar LaTeX
|
|
den Zählerstand des arabischen Zählers
|
|
\series bold
|
|
equation
|
|
\series default
|
|
merkt,
|
|
gibt man im Vorspann
|
|
\end_layout
|
|
|
|
\begin_layout Standard
|
|
|
|
\series bold
|
|
|
|
\backslash
|
|
newcommand{
|
|
\backslash
|
|
c@org@eq}{}
|
|
\begin_inset Newline newline
|
|
\end_inset
|
|
|
|
|
|
\backslash
|
|
let
|
|
\backslash
|
|
c@org@eq
|
|
\backslash
|
|
c@equation
|
|
\begin_inset Newline newline
|
|
\end_inset
|
|
|
|
|
|
\backslash
|
|
newcommand{
|
|
\backslash
|
|
org@theeq}{}
|
|
\begin_inset Newline newline
|
|
\end_inset
|
|
|
|
|
|
\backslash
|
|
let
|
|
\backslash
|
|
org@theeq
|
|
\backslash
|
|
theequation
|
|
\end_layout
|
|
|
|
\begin_layout Standard
|
|
ein.
|
|
Um im Dokument zwischen den beiden Nummerierungen umschalten zu können,
|
|
werden folgende beiden Befehle im Vorspann definiert:
|
|
\end_layout
|
|
|
|
\begin_layout Standard
|
|
|
|
\series bold
|
|
|
|
\backslash
|
|
newcommand{
|
|
\backslash
|
|
setroem}{
|
|
\backslash
|
|
let
|
|
\backslash
|
|
c@equation
|
|
\backslash
|
|
c@roem
|
|
\backslash
|
|
let
|
|
\backslash
|
|
theequation
|
|
\backslash
|
|
theroem}
|
|
\end_layout
|
|
|
|
\begin_layout Standard
|
|
für römische Nummerierung und
|
|
\end_layout
|
|
|
|
\begin_layout Standard
|
|
|
|
\series bold
|
|
|
|
\backslash
|
|
newcommand{
|
|
\backslash
|
|
setarab}{
|
|
\backslash
|
|
let
|
|
\backslash
|
|
c@equation
|
|
\backslash
|
|
c@org@eq
|
|
\backslash
|
|
let
|
|
\backslash
|
|
theequation
|
|
\backslash
|
|
org@theeq}
|
|
\end_layout
|
|
|
|
\begin_layout Standard
|
|
für arabische.
|
|
\end_layout
|
|
|
|
\begin_layout Standard
|
|
Jede Formel im Dokument wird standardmäßig arabisch nummeriert.
|
|
Um auf römische Nummerierung umzuschalten,
|
|
wird im \SpecialChar TeX
|
|
-Modus der Befehl
|
|
\series bold
|
|
|
|
\backslash
|
|
setroem
|
|
\series default
|
|
eingegeben.
|
|
Auf arabische Nummerierung wird mit dem Befehl
|
|
\series bold
|
|
|
|
\backslash
|
|
setarab
|
|
\series default
|
|
umgeschaltet.
|
|
\end_layout
|
|
|
|
\end_body
|
|
\end_document
|