X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Ftemplates%2Frevtex4.lyx;h=3218918d42e7ff55a75a6412da3fbb585aae0e10;hb=3706d900374407add26cea4b53ff5ece01d0659a;hp=c0b591568521e5aa142a3b96119adbe897cf8469;hpb=61e6c445d38243eb8458acbf6e293dc1f95a71b1;p=lyx.git diff --git a/lib/templates/revtex4.lyx b/lib/templates/revtex4.lyx index c0b5915685..3218918d42 100644 --- a/lib/templates/revtex4.lyx +++ b/lib/templates/revtex4.lyx @@ -1,152 +1,321 @@ -#This file was created by Thu Sep 23 10:54:03 1999 -#LyX 1.0 (C) 1995-1999 Matthias Ettrich and the LyX Team -\lyxformat 2.15 +#LyX 2.1 created this file. For more info see http://www.lyx.org/ +\lyxformat 474 +\begin_document +\begin_header \textclass revtex4 -\options aps,manuscript - -\layout Preprint - +\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 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. -Footnotes in the title will do weird things in RevTeX 4! -\end_inset +\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_layout -\layout Address +\end_inset + +\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 Address +\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_inset Info You don't have to write \maketitle.. LyX does this by itself. -\end_inset +\begin_layout Plain Layout +You don't have to write +\backslash +maketitle.. + LyX does this by itself. +\end_layout +\end_inset -\layout Section +\end_layout + +\begin_layout Section introduction -\layout Standard +\end_layout -By the way, any of the style options, like -\family typewriter +\begin_layout Standard +Any of the style options, like +\family typewriter prl -\family default +\family default or -\family typewriter +\family typewriter preprint -\family default +\family default should go in the -\family sans +\family sans Extra -\protected_separator +\begin_inset space ~ +\end_inset + Options -\family default +\family default field in the -\family sans +\family sans Document -\protected_separator +\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 + See the REVTeX 4 manual for style options, special macros, and the like. +\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 -\latex latex +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + -\backslash +\backslash openone{} -\latex default +\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 +, for example, which uses the REVTeX +\family typewriter -\backslash -overcirc -\family default +\backslash +overstar +\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. - If you use BibTeX, use the RevTeX bibliography style file, -\family typewriter + 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 revtex.bst -\family default -. +\family default + (i.e., just put +\begin_inset Quotes eld +\end_inset + +revtex +\begin_inset Quotes erd +\end_inset + + in the +\begin_inset Quotes eld +\end_inset + +style +\begin_inset Quotes erd +\end_inset + + box in the +\family sans +Insert\SpecialChar \menuseparator +Lists +\begin_inset space ~ +\end_inset + +& +\begin_inset space ~ +\end_inset + +TOC\SpecialChar \menuseparator +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 +\end_inset . -\layout Bibliography -\bibitem {mycitation} +\end_layout + +\begin_layout Acknowledgments +Thank you so much! +\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