X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Ftemplates%2Frevtex4.lyx;h=3218918d42e7ff55a75a6412da3fbb585aae0e10;hb=3706d900374407add26cea4b53ff5ece01d0659a;hp=23672fcf81c93371b32ab814e8a83fe986d88382;hpb=d523271fb545efb658177369187105949f9a0932;p=lyx.git diff --git a/lib/templates/revtex4.lyx b/lib/templates/revtex4.lyx index 23672fcf81..3218918d42 100644 --- a/lib/templates/revtex4.lyx +++ b/lib/templates/revtex4.lyx @@ -1,49 +1,100 @@ -#LyX 1.4.0cvs created this file. For more info see http://www.lyx.org/ -\lyxformat 243 +#LyX 2.1 created this file. For more info see http://www.lyx.org/ +\lyxformat 474 \begin_document \begin_header \textclass revtex4 \options aps,preprint +\use_default_options false +\maintain_unincluded_children false \language english +\language_package default +\inputencoding auto +\fontencoding global +\font_roman default +\font_sans default +\font_typewriter default +\font_math auto +\font_default_family default +\use_non_tex_fonts false +\font_sc false +\font_osf false +\font_sf_scale 100 +\font_tt_scale 100 +\graphics default +\default_output_format default +\output_sync 0 +\bibtex_command default +\index_command default +\paperfontsize default +\use_hyperref false +\papersize default +\use_geometry false +\use_package amsmath 1 +\use_package amssymb 1 +\use_package cancel 0 +\use_package esint 1 +\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 3 +\tocdepth 3 +\paragraph_separation indent +\paragraph_indentation default +\quotes_language english +\papercolumns 1 +\papersides 1 +\paperpagestyle default \tracking_changes false -\output_changes true +\output_changes false +\html_math_output 0 +\html_css_as_file 0 +\html_be_strict false \end_header \begin_body \begin_layout Preprint - This line only printed with preprint option \end_layout \begin_layout Title - Insert your Title Here \end_layout \begin_layout Author - Author1 \end_layout \begin_layout Author Email - foo@bar.edu \begin_inset Note Note status collapsed -\begin_layout Standard - +\begin_layout Plain Layout Make sure to put any Email, URL, and Thanks layouts IN \end_layout -\begin_layout Standard - +\begin_layout Plain Layout BETWEEN the Author layout and the corresponding Address \end_layout -\begin_layout Standard - +\begin_layout Plain Layout layout for that author. \end_layout @@ -53,24 +104,20 @@ layout for that author. \end_layout \begin_layout Author URL - http://bar.com/~foo \end_layout \begin_layout Thanks - Thanks to you, Mrs. Robinson! \begin_inset Note Note status collapsed -\begin_layout Standard - +\begin_layout Plain Layout Use Thanks layout instead of inserting footnotes. \end_layout -\begin_layout Standard - +\begin_layout Plain Layout Footnotes in the title will do weird things in REVTeX 4! \end_layout @@ -80,39 +127,31 @@ Footnotes in the title will do weird things in REVTeX 4! \end_layout \begin_layout Affiliation - Address for author 1 \end_layout \begin_layout Author - Author2 \end_layout \begin_layout Author Email - bar@foo.edu \end_layout \begin_layout Affiliation - Address for author 2 \end_layout \begin_layout Abstract - Insert your abstract here. It should be interesting. \end_layout \begin_layout Standard - - \begin_inset Note Note status collapsed -\begin_layout Standard - +\begin_layout Plain Layout You don't have to write \backslash maketitle.. @@ -125,12 +164,10 @@ maketitle.. \end_layout \begin_layout Section - introduction \end_layout \begin_layout Standard - Any of the style options, like \family typewriter prl @@ -141,12 +178,18 @@ preprint \family default should go in the \family sans -Extra\InsetSpace ~ +Extra +\begin_inset space ~ +\end_inset + Options \family default field in the \family sans -Document\InsetSpace ~ +Document +\begin_inset space ~ +\end_inset + Layout \family default popup (accessed from the @@ -158,12 +201,10 @@ Layout \end_layout \begin_layout Section - methods \end_layout \begin_layout Standard - Special REVTeX macros must be typed in TeX mode, so typing \family typewriter @@ -174,7 +215,8 @@ openone \begin_inset ERT status collapsed -\begin_layout Standard +\begin_layout Plain Layout + \backslash openone{} @@ -198,7 +240,6 @@ overstar \end_layout \begin_layout Standard - You can do a bibliography by hand, as shown below, but it may be easier to erase that and use BibTeX---in fact, APS encourages authors to use BibTeX. If you do use BibTeX, use the REVTeX bibliography style file, @@ -224,15 +265,26 @@ style box in the \family sans Insert\SpecialChar \menuseparator -Lists\InsetSpace ~ -&\InsetSpace ~ +Lists +\begin_inset space ~ +\end_inset + +& +\begin_inset space ~ +\end_inset + TOC\SpecialChar \menuseparator -BibTeX\InsetSpace ~ +BibTeX +\begin_inset space ~ +\end_inset + Reference \family default popup). With either method, you can cite references with the LyX citation commands -\begin_inset LatexCommand \cite{mycitation} +\begin_inset CommandInset citation +LatexCommand cite +key "mycitation" \end_inset @@ -240,12 +292,15 @@ Reference \end_layout \begin_layout Acknowledgments - Thank you so much! \end_layout \begin_layout Bibliography -\bibitem {mycitation} +\begin_inset CommandInset bibitem +LatexCommand bibitem +key "mycitation" + +\end_inset Author, \begin_inset Quotes eld