X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Ftemplates%2Frevtex4.lyx;h=3218918d42e7ff55a75a6412da3fbb585aae0e10;hb=3706d900374407add26cea4b53ff5ece01d0659a;hp=f3820778d723c7031741cd8051c564c0a1ab39ef;hpb=970386d4a80f1949bcaa1817eaa9c9617a469521;p=lyx.git diff --git a/lib/templates/revtex4.lyx b/lib/templates/revtex4.lyx index f3820778d7..3218918d42 100644 --- a/lib/templates/revtex4.lyx +++ b/lib/templates/revtex4.lyx @@ -1,182 +1,321 @@ -#LyX 1.3 created this file. For more info see http://www.lyx.org/ -\lyxformat 221 +#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 - -\layout Preprint - +\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 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 -\layout Title +\end_layout +\begin_layout Title Insert your Title Here -\layout Author +\end_layout +\begin_layout Author Author1 -\layout Author Email +\end_layout +\begin_layout Author Email foo@bar.edu -\begin_inset Info Make sure to put any Email, URL, and Thanks layouts IN +\begin_inset Note Note +status collapsed + +\begin_layout Plain Layout +Make sure to put any Email, URL, and Thanks layouts IN +\end_layout + +\begin_layout Plain Layout BETWEEN the Author layout and the corresponding Address +\end_layout + +\begin_layout Plain Layout layout for that author. -\end_inset +\end_layout +\end_inset -\layout Author URL +\end_layout + +\begin_layout Author URL http://bar.com/~foo -\layout Thanks +\end_layout +\begin_layout Thanks Thanks to you, Mrs. Robinson! -\begin_inset Info Use Thanks layout instead of inserting footnotes. +\begin_inset Note Note +status collapsed + +\begin_layout Plain Layout +Use Thanks layout instead of inserting footnotes. +\end_layout + +\begin_layout Plain Layout Footnotes in the title will do weird things in REVTeX 4! -\end_inset +\end_layout +\end_inset -\layout Affiliation +\end_layout + +\begin_layout Affiliation Address for author 1 -\layout Author +\end_layout +\begin_layout Author Author2 -\layout Author Email +\end_layout +\begin_layout Author Email bar@foo.edu -\layout Affiliation +\end_layout +\begin_layout Affiliation Address for author 2 -\layout Abstract +\end_layout +\begin_layout Abstract Insert your abstract here. It should be interesting. -\layout Standard +\end_layout + +\begin_layout Standard +\begin_inset Note Note +status collapsed +\begin_layout Plain Layout +You don't have to write +\backslash +maketitle.. + LyX does this by itself. +\end_layout -\begin_inset Info You don't have to write \maketitle.. LyX does this by itself. -\end_inset +\end_inset -\layout Section +\end_layout +\begin_layout Section introduction -\layout Standard +\end_layout +\begin_layout Standard Any of the style options, like -\family typewriter +\family typewriter prl -\family default +\family default or -\family typewriter +\family typewriter preprint -\family default +\family default should go in the -\family sans -Extra\SpecialChar ~ +\family sans +Extra +\begin_inset space ~ +\end_inset + Options -\family default +\family default field in the -\family sans -Document\SpecialChar ~ +\family sans +Document +\begin_inset space ~ +\end_inset + Layout -\family default +\family default popup (accessed from the -\family sans +\family sans Layout -\family default +\family default menu). See the REVTeX 4 manual for style options, special macros, and the like. -\layout Section +\end_layout +\begin_layout Section methods -\layout Standard +\end_layout +\begin_layout Standard Special REVTeX macros must be typed in TeX mode, so typing -\family typewriter +\family typewriter -\backslash +\backslash openone -\family default +\family default in TeX mode yields \begin_inset ERT -status Collapsed +status collapsed + +\begin_layout Plain Layout -\layout Standard -\backslash +\backslash openone{} -\end_inset +\end_layout + +\end_inset . REVTeX macros can also be used freely in the math editor, so you can type -\begin_inset Formula \( \sqrt{\overstar {a}}>b \) -\end_inset +\begin_inset Formula $\sqrt{\overstar{a}}>b$ +\end_inset , for example, which uses the REVTeX -\family typewriter +\family typewriter -\backslash +\backslash overstar -\family default +\family default command. -\layout Standard +\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, -\family typewriter +\family typewriter revtex.bst -\family default +\family default (i.e., just put \begin_inset Quotes eld -\end_inset +\end_inset revtex \begin_inset Quotes erd -\end_inset +\end_inset in the \begin_inset Quotes eld -\end_inset +\end_inset style \begin_inset Quotes erd -\end_inset +\end_inset box in the -\family sans +\family sans Insert\SpecialChar \menuseparator -Lists\SpecialChar ~ -&\SpecialChar ~ +Lists +\begin_inset space ~ +\end_inset + +& +\begin_inset space ~ +\end_inset + TOC\SpecialChar \menuseparator -BibTeX\SpecialChar ~ +BibTeX +\begin_inset space ~ +\end_inset + Reference -\family default +\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 +\end_inset . -\layout Acknowledgments +\end_layout +\begin_layout Acknowledgments Thank you so much! -\layout Bibliography -\bibitem {mycitation} +\end_layout + +\begin_layout Bibliography +\begin_inset CommandInset bibitem +LatexCommand bibitem +key "mycitation" + +\end_inset Author, \begin_inset Quotes eld -\end_inset +\end_inset Title \begin_inset Quotes erd -\end_inset +\end_inset , Journal -\series bold +\series bold Volume -\series default +\series default , page--numbers (year). -\the_end +\end_layout + +\end_body +\end_document