From 2b671572604dc62a642ab4ac22d3182b5a56ee69 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Uwe=20St=C3=B6hr?= Date: Tue, 22 Jan 2013 00:20:51 +0100 Subject: [PATCH] Revert "achemso: complete revision of layout and example" This reverts commit 56da307e19a8d3ddb60b8963b4cd710269d0930c. Revert the achemso.layout changes because they were not that pressing (preamble stuff was supported via styles). For modernCV I don't see another way than to let it in because it is not working as it was, neither with TeXLive 2012 nor with MiKTeX and therefore in most cases unusable --- lib/examples/achemso.lyx | 237 ++++++++++----------------- lib/layouts/achemso.layout | 321 ++++++++++++++++++------------------- 2 files changed, 236 insertions(+), 322 deletions(-) diff --git a/lib/examples/achemso.lyx b/lib/examples/achemso.lyx index 88bac72696..464755445f 100644 --- a/lib/examples/achemso.lyx +++ b/lib/examples/achemso.lyx @@ -4,10 +4,37 @@ \begin_header \textclass achemso \begin_preamble -% If issues arise when submitting your manuscript, you may want to -% un-comment the next line. This provides information on the -% version of every file you have used. -%\listfiles +% Each author should be given as a separate \author command. +% +% Corresponding authors should have an e-mail given after the author +% name as an \email command. +% +% The affiliation of authors is given after the authors; each +% \affiliation command applies to all preceding authors not already +% assigned an affiliation. +% +% The affiliation takes an option argument for the short name. This +% will typically be something like "University of Somewhere". +% +% Notice that \alsoaffiliation is used when one (or more) authors work +% at multiple institutions, while \altaffiliation is intended for previous +% addresses (or other notes). Only \affiliation applies to multiple +% authors: both \alsoaffiliation and \altaffiliation are set on a per +% author basis. + +\author{Author Person} +\author{Second Bloke} +\email{second.bloke@some.place} +\affiliation[University of Sometown]{University of Somewhere, Sometown, USA} +\altaffiliation{Previous address: Minute University, Nowhereville, USA} +\author{Indus Trialguy} +\email{i.trialguy@sponsor.co} +\affiliation[SponsoCo]{Research Department, SponsorCo, BigCity, USA} +\alsoaffiliation{University of Somewhere, Sometown, USA} + +% A short title can be given as a *suggestion* for running headers. +\title[\texttt{achemso} demonstration] +{A demonstration of the \textsf{achemso} \LaTeX class} \end_preamble \options journal=jacsat,manuscript=article \use_default_options false @@ -105,36 +132,8 @@ status open \series bold Note: \series default - The journal where you want to submit is specified in the document class - options of this file. -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Title -A demonstration of the achemso LaTeX class -\begin_inset Argument -status open - -\begin_layout Plain Layout - -\family sans -achemso -\family default - demonstration -\end_layout - -\end_inset - - -\begin_inset Foot -status open - -\begin_layout Plain Layout -A footnote for the title + The author, affiliation, email addresses, and the document title have to + set up in the LaTeX preamble of this document! \end_layout \end_inset @@ -142,100 +141,17 @@ A footnote for the title \end_layout -\begin_layout Author -Andrew N. - Other -\end_layout - -\begin_layout Alt Affiliation -A shared footnote -\end_layout - -\begin_layout Author -Fred T. - Secondauthor -\end_layout - -\begin_layout Affiliation -Current address: Some other place, Othertöwn, Germany -\end_layout - -\begin_layout Author -I. - Ken Groupleader -\end_layout - -\begin_layout Affiliation -A shared footnote -\end_layout - \begin_layout Standard \begin_inset Note Note status open -\begin_layout Plain Layout -The affiliation of authors is given after the authors; each -\family sans -Affiliation -\family default - applies to all preceding authors not already assigned an affiliation. -\end_layout - -\begin_layout Plain Layout - -\family sans -Altaffiliation -\family default - should be used for new address, etc. -\end_layout - \begin_layout Plain Layout -\family sans -Alsoaffiliation -\family default - is used on a per author basis when authors are associated with multiple - institutions. -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Email -i.k.groupleader@unknown.uu -\end_layout - -\begin_layout Phone -+123 (0)123 4445556 -\end_layout - -\begin_layout Fax -+123 (0)123 4445557 -\end_layout - -\begin_layout Affiliation -Department of Chemistry, Unknown University, Unknown Town -\begin_inset Argument -status open - -\begin_layout Plain Layout -Unknown University -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Also Affiliation -Department of Chemistry, Second University, Nearby Town -\begin_inset Argument -status open - -\begin_layout Plain Layout -Second University +\series bold +Note: +\series default + The journal where you want to sumit is specified in the document class + options of this file. \end_layout \end_inset @@ -243,14 +159,6 @@ Second University \end_layout -\begin_layout Abbreviations -IR,NMR,UV -\end_layout - -\begin_layout Keywords -American Chemical Society, LaTeX -\end_layout - \begin_layout Abstract This is the abstract. \end_layout @@ -500,41 +408,64 @@ H2SO4 \end_layout -\begin_layout Acknowledgement -Acknowledgments go here. +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +acknowledgement \end_layout -\begin_layout SupplementalInfo -Supplemental informations go here. +\end_inset + + +\begin_inset Note Note +status open + +\begin_layout Plain Layout +Optional +\end_layout + +\end_inset + + \end_layout -\begin_layout TOC entry -Some journals require a graphical entry for the Table of Contents. - This should be laid out ``print ready'' so that the sizing of the text - is correct. +\begin_layout Standard +Acknowledgments go here. +\end_layout + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +suppinfo \end_layout -\begin_layout TOC entry -The surrounding frame is 9 -\begin_inset space \thinspace{} \end_inset -cm by 3.5 -\begin_inset space \thinspace{} + +\begin_inset Note Note +status open + +\begin_layout Plain Layout +Optional +\end_layout + \end_inset -cm, which is the maximum permitted for -\emph on -Journal of the American Chemical Society -\emph default - graphical table of content entries. - The box will not resize if the content is too big: instead it will overflow - the edge of the box. + \end_layout -\begin_layout TOC entry -This box and the associated title will always be printed on a separate page - at the end of the document. +\begin_layout Standard +Supplemental informations go here. \end_layout \begin_layout Standard diff --git a/lib/layouts/achemso.layout b/lib/layouts/achemso.layout index d209e7c96f..3c0ca982f0 100644 --- a/lib/layouts/achemso.layout +++ b/lib/layouts/achemso.layout @@ -1,17 +1,17 @@ #% Do not delete the line below; configure depends on this # \DeclareLaTeXClass[achemso,caption.sty,courier.sty,cleveref.sty,float.sty,helvet.sty,mathptmx.sty,mciteplus.sty,natbib.sty,natmove.sty,setspace.sty,xkeyval.sty]{article (ACS)} -# textclass definition file for achemso 3.7c +# achemso textclass definition file. # Author: Uwe Stöhr (uwestoehr@web.de) Format 35 -Columns 1 -Sides 1 -SecNumDepth 3 -TocDepth 3 -DefaultStyle Standard +Columns 1 +Sides 1 +SecNumDepth 3 +TocDepth 3 +DefaultStyle Standard -Provides float 1 +Provides float 1 ClassOptions FontSize 10|11|12 @@ -52,238 +52,221 @@ NoCounter chapter NoStyle Chapter* Style Title - Margin Static - LatexType Command - Category FrontMatter - InPreamble 1 - LatexName title - ParSkip 0.4 - ItemSep 0 - TopSep 0 - BottomSep 0.7 - ParSep 1 - Align Center - LabelType No_Label + Margin Static + LatexType Command + Category FrontMatter + InTitle 1 + InPreamble 1 + LatexName title + ParSkip 0.4 + ItemSep 0 + TopSep 0 + BottomSep 1 + ParSep 1 + Align Center + LabelType No_Label Font - Family Sans - Size Largest - Series Bold - EndFont - HTMLTag h1 - HTMLTitle true - OptionalArgs 1 -End + Family Sans + Size Largest + EndFont + HTMLTag h1 + HTMLTitle true + OptionalArgs 1 +End Style Author - LatexType command - LatexName author - Category FrontMatter - InPreamble 1 - TopSep 0.7 - Align Center + LatexType command + LatexName author + InTitle 1 + InPreamble 1 + Align Center Font - Family Sans - Size Large + Family Sans + Size Large EndFont End Style Email - CopyStyle Author - LatexName email - TopSep 1 - Font - Size Normal - EndFont + CopyStyle Author + LatexName email End Style Affiliation - CopyStyle Email - LatexName affiliation - Font - Shape Italic - EndFont - OptionalArgs 1 + CopyStyle Author + LatexName affiliation + OptionalArgs 1 End Style Alt_Affiliation - CopyStyle Affiliation - LatexName altaffiliation - TopSep 0.7 + CopyStyle Author + LatexName altaffiliation End Style Also_Affiliation - CopyStyle Affiliation - LatexName alsoaffiliation - TopSep 0.5 + CopyStyle Author + LatexName alsoaffiliation End Style Fax - CopyStyle Email - LatexName fax - TopSep 0 - LabelSep xx - LabelType Static - LabelString "Fax:" + CopyStyle Author + LatexName fax End Style Phone - CopyStyle Fax - LatexName phone - LabelString "Phone:" - TopSep 0.5 -End - -Style Abbreviations - CopyStyle Fax - Margin Dynamic - LatexName abbreviations - TopSep 1 - Align Left - LabelString "Abbreviations:" - LabelFont - Color Blue - EndFont -End - -Style Keywords - CopyStyle Abbreviations - LatexName keywords - LabelString "Keywords:" - TopSep 0.3 + CopyStyle Author + LatexName phone End Float - Type scheme - GuiName Scheme - Placement tbp - Extension los - NumberWithin none - Style plain - ListName "List of Schemes" - IsPredefined true - UsesFloatPkg true + Type scheme + GuiName Scheme + Placement tbp + Extension los + NumberWithin none + Style plain + ListName "List of Schemes" + IsPredefined true + UsesFloatPkg true End InsetLayout scheme - LabelString Scheme + LabelString Scheme LabelFont - Color collapsable - Size Small + Color collapsable + Size Small EndFont - MultiPar true + MultiPar true End Float - Type chart - GuiName Chart - Placement tbp - Extension loc - NumberWithin none - Style plain - ListName "List of Charts" - IsPredefined true - UsesFloatPkg true + Type chart + GuiName Chart + Placement tbp + Extension loc + NumberWithin none + Style plain + ListName "List of Charts" + IsPredefined true + UsesFloatPkg true End InsetLayout chart - LabelString Chart + LabelString Chart LabelFont - Color collapsable - Size Small + Color collapsable + Size Small EndFont - MultiPar true + MultiPar true End Float - Type graph - GuiName Graph - Placement tbp - Extension loh - NumberWithin none - Style plain - ListName "List of Graphs" - IsPredefined true - UsesFloatPkg true + Type graph + GuiName Graph + Placement tbp + Extension loh + NumberWithin none + Style plain + ListName "List of Graphs" + IsPredefined true + UsesFloatPkg true End InsetLayout graph - LabelString Graph + LabelString Graph LabelFont - Color collapsable - Size Small + Color collapsable + Size Small EndFont - MultiPar true + MultiPar true End -# insert Abtract and Bibliography style -Input stdstruct.inc - -Style Acknowledgement - CopyStyle Abstract - LatexName acknowledgement - Category BackMatter - InTitle 0 - BottomSep 0.7 - LabelType Top_Environment - LabelString "Acknowledgement" + +Style Abstract + Margin Static + LatexType Environment + LatexName abstract + Category FrontMatter + InTitle 1 + NextNoIndent 1 + LeftMargin MMM + RightMargin MMM + ParIndent MM + ItemSep 0 + TopSep 0.7 + BottomSep 0.7 + ParSep 0 + Align Block + AlignPossible Block + LabelType Centered_Top_Environment + LabelString "Abstract" + LabelBottomSep 0.5 Font - Size Normal + Size Small EndFont LabelFont - Series Bold - Size Large + Series Bold + Size Large EndFont End -Style SupplementalInfo - CopyStyle Acknowledgement - LatexName suppinfo - LabelString "Supporting Information Available" -End - -Style TOC_entry - CopyStyle Acknowledgement - LatexName tocentry - ParSep 0.3 - LabelString "Graphical TOC Entry" -End - InsetLayout Flex:Bibnote - LyxType custom - LatexType command - LatexName bibnote - LabelString "bibnote" - Decoration Classic + LyxType custom + LatexType command + LatexName bibnote + LabelString "bibnote" + Decoration Classic Font - Color foreground - Size Small - Family Roman - Shape Up - Series Medium - Misc No_Emph - Misc No_Noun - Misc No_Bar + Color foreground + Size Small + Family Roman + Shape Up + Series Medium + Misc No_Emph + Misc No_Noun + Misc No_Bar EndFont LabelFont - Size Small + Size Small + EndFont + MultiPar true +End + + +Style Bibliography + Margin First_Dynamic + LatexType Bib_Environment + LatexName thebibliography + NextNoIndent 1 + LeftMargin MM + ParSkip 0.4 + ItemSep 0 + TopSep 0.7 + BottomSep 0.7 + ParSep 0.5 + Align Block + AlignPossible Block, Left + LabelType Bibliography + LabelString "References" + LabelBottomSep 1.2 + LabelFont + Series Bold + Size Larger EndFont - MultiPar true End InsetLayout Flex:Chemistry - CopyStyle Flex:Bibnote - LatexName ce - LabelString "chemistry" + CopyStyle Flex:Bibnote + LatexName ce + LabelString "chemistry" Preamble \usepackage[version=3]{mhchem} EndPreamble LabelFont - Color blue + Color blue EndFont - MultiPar false + MultiPar false End - -- 2.39.5