From 59e13e6df602e2f4ed2b135043c68322af1f6a54 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Uwe=20St=C3=B6hr?= Date: Sat, 9 Feb 2013 17:53:34 +0100 Subject: [PATCH] IEEEtran: dome corrections and additional info --- lib/Makefile.am | 2 +- lib/layouts/IEEEtran-CompSoc.layout | 8 +++- lib/templates/IEEEtran-CompSoc.lyx | 41 ++++++++++++++----- lib/templates/IEEEtran-Conference.lyx | 34 ++++++++++++++- .../{IEEEtran.lyx => IEEEtran-Journal.lyx} | 32 ++++++++++++++- 5 files changed, 100 insertions(+), 17 deletions(-) rename lib/templates/{IEEEtran.lyx => IEEEtran-Journal.lyx} (96%) diff --git a/lib/Makefile.am b/lib/Makefile.am index 808a0afbf9..f01463c222 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -2072,7 +2072,7 @@ dist_templates_DATA = \ templates/g-brief-de.lyx \ templates/g-brief-en.lyx \ templates/hollywood.lyx \ - templates/IEEEtran.lyx \ + templates/IEEEtran-Journal.lyx \ templates/IEEEtran-CompSoc.lyx \ templates/IEEEtran-Conference.lyx \ templates/IJMPC.lyx \ diff --git a/lib/layouts/IEEEtran-CompSoc.layout b/lib/layouts/IEEEtran-CompSoc.layout index 39c2f927d1..411f191d45 100644 --- a/lib/layouts/IEEEtran-CompSoc.layout +++ b/lib/layouts/IEEEtran-CompSoc.layout @@ -3,7 +3,7 @@ # \DeclareCategory{Articles} # Author: Uwe Stöhr (uwestoehr@web.de) # -# IEEtran compsoc textclass definition file. +# IEEtran Computer Society textclass definition file. Format 43 @@ -23,6 +23,12 @@ Style Standard_in_Title End +# enable this if bug #8545 is fixed +#NoStyle Author_Name +#NoStyle Flex:Author_Affiliation +#NoStyle Flex:Author_Mark + + InsetLayout Flex:Author_Footnote LyxType custom LatexType command diff --git a/lib/templates/IEEEtran-CompSoc.lyx b/lib/templates/IEEEtran-CompSoc.lyx index 15179d0ae6..0c10316361 100644 --- a/lib/templates/IEEEtran-CompSoc.lyx +++ b/lib/templates/IEEEtran-CompSoc.lyx @@ -133,11 +133,11 @@ Computer Science \begin_inset Quotes erd \end_inset - journals use the + journals use one of the other \emph on -IEEEtran.lyx +IEEEtran-*.lyx \emph default -template file instead of this one! +template files instead of this one! \end_layout \end_inset @@ -152,7 +152,7 @@ status open \begin_layout Plain Layout It is important that you use the correct document class options for your document.. - These are explained in the IEEEtran document class documentation: + These are explained in the IEEEtran documentation: \begin_inset Flex URL status open @@ -475,7 +475,7 @@ copyright \begin_inset space ~ \end_inset -2007 IEEE +2012 IEEE \begin_inset Note Note status open @@ -566,18 +566,37 @@ status open \begin_layout Plain Layout This style is only necessary when using the document class option -\begin_inset Quotes eld -\end_inset - - \family sans conference \family default +. +\end_layout -\begin_inset Quotes erd \end_inset -. + +\end_layout + +\begin_layout Peer Review Title +\begin_inset Note Note +status open + +\begin_layout Plain Layout +Don't add text here! +\end_layout + +\end_inset + + +\begin_inset Note Note +status open + +\begin_layout Plain Layout +required if you use the document class option +\family sans +peerreview +\family default +, must otherwise not be used \end_layout \end_inset diff --git a/lib/templates/IEEEtran-Conference.lyx b/lib/templates/IEEEtran-Conference.lyx index 81754ac4fe..c5aa973074 100644 --- a/lib/templates/IEEEtran-Conference.lyx +++ b/lib/templates/IEEEtran-Conference.lyx @@ -99,7 +99,7 @@ This is a template LyX file for conference articles of conferences organized by the Institute of Electrical and Electronics Engineers (IEEE). For IEEE journal articles, see the template file \emph on -IEEEtran.lyx +IEEEtran-Journal.lyx \emph default . For general info see @@ -119,6 +119,32 @@ http://wiki.lyx.org/Examples/IEEE \end_inset +\end_layout + +\begin_layout Standard +\begin_inset Note Note +status open + +\begin_layout Plain Layout +It is important that you use the correct document class options for your + document.. + These are explained in the IEEEtran documentation: +\begin_inset Flex URL +status open + +\begin_layout Plain Layout + +http://mirror.ctan.org/macros/latex/contrib/IEEEtran/IEEEtran_HOWTO.pdf +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + \end_layout \begin_layout Title @@ -544,7 +570,11 @@ Don't add text here! status open \begin_layout Plain Layout -optional, only useful for peer review papers +required if you use the document class option +\family sans +peerreview +\family default +, must otherwise not be used \end_layout \end_inset diff --git a/lib/templates/IEEEtran.lyx b/lib/templates/IEEEtran-Journal.lyx similarity index 96% rename from lib/templates/IEEEtran.lyx rename to lib/templates/IEEEtran-Journal.lyx index dc1f4fc636..2f228941e0 100644 --- a/lib/templates/IEEEtran.lyx +++ b/lib/templates/IEEEtran-Journal.lyx @@ -11,6 +11,7 @@ \usepackage[caption=false,font=footnotesize]{subfig} \fi \end_preamble +\options journal \use_default_options false \maintain_unincluded_children false \language english @@ -127,7 +128,7 @@ status open \begin_layout Plain Layout It is important that you use the correct document class options for your document.. - These are explained in the IEEEtran document: + These are explained in the IEEEtran documentation: \begin_inset Flex URL status open @@ -365,7 +366,7 @@ copyright \begin_inset space ~ \end_inset -2007 IEEE +2012 IEEE \begin_inset Note Note status open @@ -386,6 +387,33 @@ This is the abstract text. simplicity, beauty, elegance \end_layout +\begin_layout Peer Review Title +\begin_inset Note Note +status open + +\begin_layout Plain Layout +Don't add text here! +\end_layout + +\end_inset + + +\begin_inset Note Note +status open + +\begin_layout Plain Layout +required if you use the document class option +\family sans +peerreview +\family default +, must otherwise not be used +\end_layout + +\end_inset + + +\end_layout + \begin_layout Section Introduction \end_layout -- 2.39.5