X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Ftemplates%2Frevtex4-1.lyx;h=2b8eaf76e08ca72d2d329d504173516dc6447c82;hb=789617b8187368b37e9ebd2c82389d2ab856f887;hp=35a457a850c53e9e8fc0718a8407e5e6bde9716c;hpb=b45be0ecf8b83679d0842c8e63aaf6886c4e81d9;p=lyx.git diff --git a/lib/templates/revtex4-1.lyx b/lib/templates/revtex4-1.lyx index 35a457a850..2b8eaf76e0 100644 --- a/lib/templates/revtex4-1.lyx +++ b/lib/templates/revtex4-1.lyx @@ -7,6 +7,9 @@ \textclass revtex4-1 \options reprint, aps \use_default_options false +\begin_modules +subequations +\end_modules \maintain_unincluded_children false \language english \language_package default @@ -36,14 +39,14 @@ \use_geometry false \use_package amsmath 2 \use_package amssymb 2 -\use_package cancel 0 +\use_package cancel 1 \use_package esint 1 \use_package mathdots 1 -\use_package mathtools 0 +\use_package mathtools 1 \use_package mhchem 1 -\use_package stackrel 0 -\use_package stmaryrd 0 -\use_package undertilde 0 +\use_package stackrel 1 +\use_package stmaryrd 1 +\use_package undertilde 1 \cite_engine natbib \cite_engine_type numerical \biblio_style plainnat @@ -53,6 +56,7 @@ \suppress_date false \justification true \use_refstyle 0 +\use_minted 0 \index Index \shortcut idx \color #008000 @@ -64,6 +68,7 @@ \is_math_indent 0 \math_numbering_side default \quotes_style english +\dynamic_quotes 0 \papercolumns 1 \papersides 1 \paperpagestyle default @@ -72,7 +77,6 @@ \html_math_output 0 \html_css_as_file 0 \html_be_strict false -\use_minted 0 \end_header \begin_body @@ -197,6 +201,7 @@ Ann Author status open \begin_layout Plain Layout + Also at \end_layout @@ -839,14 +844,14 @@ Note the open one in Eq. \begin_inset space ~ \end_inset -( + \begin_inset CommandInset ref -LatexCommand ref +LatexCommand eqref reference "eq:one" \end_inset -). +. \end_layout \begin_layout Standard @@ -921,63 +926,45 @@ tag \end_layout \begin_layout Standard -Enclosing display math within the \SpecialChar LaTeX --commands -\series bold - -\backslash -begin{subequations} -\series default - and -\series bold - -\backslash -end{subequations} -\series default +Setting display math within custom inset +\family sans +Subequations +\family default will produce a set of equations that are labeled with letters, as shown in Eqs. \begin_inset space ~ \end_inset -( + \begin_inset CommandInset ref -LatexCommand ref +LatexCommand eqref reference "subeq:1" \end_inset -) and ( + and \begin_inset CommandInset ref -LatexCommand ref +LatexCommand eqref reference "subeq:2" \end_inset -) below. + below. You may include any number of single-line and multiline equations, although it is probably not a good idea to follow one display math directly after another. -\begin_inset ERT -status collapsed +\begin_inset Flex Subequations +status open \begin_layout Plain Layout - - -\backslash -begin{subequations} -\end_layout - -\end_inset - - \begin_inset CommandInset label LatexCommand label name "eq:whole" \end_inset - + \begin_inset Formula \begin{eqnarray} {\cal M}= & & ig_{Z}^{2}(4E_{1}E_{2})^{1/2}(l_{i}^{2})^{-1}(g_{\sigma_{2}}^{e})^{2}\chi_{-\sigma_{2}}(p_{2})\nonumber \\ @@ -995,14 +982,6 @@ name "eq:whole" \end_inset -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - - -\backslash -end{subequations} \end_layout \end_inset @@ -2950,19 +2929,10 @@ reference "app:subsec" \begin_layout Standard Note the equation numbers in this appendix, produced with the subequations environment: -\begin_inset ERT -status collapsed +\begin_inset Flex Subequations +status open \begin_layout Plain Layout - - -\backslash -begin{subequations} -\end_layout - -\end_inset - - \begin_inset Formula \begin{eqnarray} E & = & mc,\label{appa}\\ @@ -2973,14 +2943,6 @@ E & \agt & mc^{3}.\label{appc} \end_inset -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - - -\backslash -end{subequations} \end_layout \end_inset @@ -2989,28 +2951,28 @@ end{subequations} \begin_inset space ~ \end_inset -( + \begin_inset CommandInset ref -LatexCommand ref +LatexCommand eqref reference "appa" \end_inset -), ( +, \begin_inset CommandInset ref -LatexCommand ref +LatexCommand eqref reference "appb" \end_inset -), and ( +, and \begin_inset CommandInset ref -LatexCommand ref +LatexCommand eqref reference "appc" \end_inset -). +. \end_layout \begin_layout Standard