]> git.lyx.org Git - lyx.git/blobdiff - lib/doc/Formula-numbering.lyx
Update docs for \output_changes move
[lyx.git] / lib / doc / Formula-numbering.lyx
index 62b96a160101f958d89e6aa7586e62980c186dfe..0b68dc301a27c474625ea22770e69195450f16b5 100644 (file)
@@ -1,7 +1,9 @@
-#LyX 1.5.4svn created this file. For more info see http://www.lyx.org/
-\lyxformat 276
+#LyX 2.2 created this file. For more info see http://www.lyx.org/
+\lyxformat 504
 \begin_document
 \begin_header
+\save_transient_properties true
+\origin /systemlyxdir/doc/
 \textclass scrartcl
 \begin_preamble
 \usepackage{ifpdf}
@@ -17,7 +19,7 @@
 
 \else % if DVI
 
-\usepackage[colorlinks=true, hypertex]{hyperref}
+\usepackage[colorlinks=true]{hyperref}
 
 \fi
 
   \let\theequation\org@theeq}
 \end_preamble
 \options fleqn
+\use_default_options false
+\maintain_unincluded_children false
 \language english
+\language_package default
 \inputencoding auto
-\font_roman default
-\font_sans default
-\font_typewriter default
+\fontencoding global
+\font_roman "default" "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_osf false
-\font_sf_scale 100
-\font_tt_scale 100
+\font_sf_scale 100 100
+\font_tt_scale 100 100
 \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_amsmath 2
-\use_esint 0
+\use_package amsmath 2
+\use_package amssymb 2
+\use_package cancel 0
+\use_package esint 0
+\use_package mathdots 1
+\use_package mathtools 0
+\use_package mhchem 1
+\use_package stackrel 0
+\use_package stmaryrd 0
+\use_package undertilde 0
 \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
+\index Index
+\shortcut idx
+\color #008000
+\end_index
 \secnumdepth 4
 \tocdepth 3
 \paragraph_separation skip
 \paperpagestyle empty
 \tracking_changes false
 \output_changes false
-\author "" 
-\author "" 
+\html_math_output 0
+\html_css_as_file 0
+\html_be_strict false
 \end_header
 
 \begin_body
@@ -84,14 +116,18 @@ This document demonstrates the usage of two different formula categories.
 \end_layout
 
 \begin_layout Standard
-\begin_inset Formula \begin{equation}
-A=B\label{eq:B}\end{equation}
+\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}
+\begin_inset Formula 
+\begin{equation}
+A=C\label{eq:C}
+\end{equation}
 
 \end_inset
 
@@ -99,7 +135,7 @@ A=C\label{eq:C}\end{equation}
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 
 \backslash
@@ -109,14 +145,18 @@ setrom
 \end_inset
 
 
-\begin_inset Formula \begin{equation}
-A=D\label{eq:D}\end{equation}
+\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}
+\begin_inset Formula 
+\begin{equation}
+A=E\label{eq:E}
+\end{equation}
 
 \end_inset
 
@@ -124,7 +164,7 @@ A=E\label{eq:E}\end{equation}
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 
 \backslash
@@ -134,14 +174,18 @@ setarab
 \end_inset
 
 
-\begin_inset Formula \begin{equation}
-A=F\label{eq:F}\end{equation}
+\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}
+\begin_inset Formula 
+\begin{equation}
+A=G\label{eq:G}
+\end{equation}
 
 \end_inset
 
@@ -149,7 +193,7 @@ A=G\label{eq:G}\end{equation}
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 
 \backslash
@@ -159,14 +203,18 @@ setrom
 \end_inset
 
 
-\begin_inset Formula \begin{equation}
-A=H\label{eq:H}\end{equation}
+\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}
+\begin_inset Formula 
+\begin{equation}
+A=I\label{eq:I}
+\end{equation}
 
 \end_inset
 
@@ -175,49 +223,57 @@ A=I\label{eq:I}\end{equation}
 
 \begin_layout Standard
 Cross-references: 
-\begin_inset LatexCommand eqref
+\begin_inset CommandInset ref
+LatexCommand eqref
 reference "eq:B"
 
 \end_inset
 
  , 
-\begin_inset LatexCommand eqref
+\begin_inset CommandInset ref
+LatexCommand eqref
 reference "eq:C"
 
 \end_inset
 
  , 
-\begin_inset LatexCommand eqref
+\begin_inset CommandInset ref
+LatexCommand eqref
 reference "eq:F"
 
 \end_inset
 
  , 
-\begin_inset LatexCommand eqref
+\begin_inset CommandInset ref
+LatexCommand eqref
 reference "eq:G"
 
 \end_inset
 
  , 
-\begin_inset LatexCommand eqref
+\begin_inset CommandInset ref
+LatexCommand eqref
 reference "eq:D"
 
 \end_inset
 
  , 
-\begin_inset LatexCommand eqref
+\begin_inset CommandInset ref
+LatexCommand eqref
 reference "eq:E"
 
 \end_inset
 
  , 
-\begin_inset LatexCommand eqref
+\begin_inset CommandInset ref
+LatexCommand eqref
 reference "eq:H"
 
 \end_inset
 
  , 
-\begin_inset LatexCommand eqref
+\begin_inset CommandInset ref
+LatexCommand eqref
 reference "eq:I"
 
 \end_inset
@@ -226,15 +282,23 @@ reference "eq:I"
 \end_layout
 
 \begin_layout Standard
+\noindent
+\begin_inset CommandInset line
+LatexCommand rule
+offset "0.5ex"
+width "100line%"
+height "1pt"
+
+\end_inset
 
-\lyxline
 
 \begin_inset VSpace medskip
 \end_inset
 
 To create this example, first a counter must be defined for the Roman numbered
  formulas.
- To do this the following is inserted to the LaTeX-preamble:
+ To do this the following is inserted to the \SpecialChar LaTeX
+-preamble:
 \end_layout
 
 \begin_layout Standard
@@ -243,7 +307,9 @@ To create this example, first a counter must be defined for the Roman numbered
 
 \backslash
 newcounter{rom}
-\newline
+\begin_inset Newline newline
+\end_inset
+
 
 \backslash
 renewcommand{
@@ -254,8 +320,9 @@ roman{rom}}
 \end_layout
 
 \begin_layout Standard
+\begin_inset Newpage newpage
+\end_inset
 
-\newpage
 To save the value of the Arabic counter 
 \series bold
 equation
@@ -271,7 +338,9 @@ equation
 newcommand{
 \backslash
 c@org@eq}{}
-\newline
+\begin_inset Newline newline
+\end_inset
+
 
 \backslash
 let
@@ -279,13 +348,17 @@ let
 c@org@eq
 \backslash
 c@equation
-\newline
+\begin_inset Newline newline
+\end_inset
+
 
 \backslash
 newcommand{
 \backslash
 org@theeq}{}
-\newline
+\begin_inset Newline newline
+\end_inset
+
 
 \backslash
 let
@@ -360,7 +433,8 @@ Every formula will be by default numbered Arabic.
 \backslash
 setrom
 \series default
- is inserted in TeX-mode.
+ is inserted in \SpecialChar TeX
+-mode.
  With the command 
 \series bold