From c5dccc859aefe84f5bb227337000188631feedb1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Uwe=20St=C3=B6hr?= Date: Mon, 26 Nov 2012 05:54:45 +0100 Subject: [PATCH] JASATeX: update layout and template - fix problem with natbib - add a missing short title that was also already in the template (patch for branch follows) --- lib/layouts/jasatex.layout | 21 +++++++++++++-------- lib/templates/JASA.lyx | 33 +++++---------------------------- 2 files changed, 18 insertions(+), 36 deletions(-) diff --git a/lib/layouts/jasatex.layout b/lib/layouts/jasatex.layout index 3d8db6cd28..745e34ef90 100644 --- a/lib/layouts/jasatex.layout +++ b/lib/layouts/jasatex.layout @@ -6,14 +6,15 @@ Format 41 -Columns 1 -Sides 1 -SecNumDepth 3 -TocDepth 3 -DefaultStyle Standard +Columns 1 +Sides 1 +SecNumDepth 3 +TocDepth 3 +DefaultStyle Standard +Provides natbib 1 ClassOptions - FontSize 10|11|12 + FontSize 10|11|12 end Preamble @@ -68,6 +69,10 @@ Style Title ParSep 1 Align Center AlignPossible Left, Right + Argument 1 + LabelString "Short Title|S" + Tooltip "Short title that will appear in header line" + EndArgument LabelType No_Label Font Size Largest @@ -117,8 +122,8 @@ Style "Alternative Affiliation" LatexType Command LatexName altaffiliation Argument 1 - LabelString "Alternative Affiliation Option" - Tooltip "Option to the alternative affiliation command" + LabelString "Affiliation Prefix" + Tooltip "A prefix like 'Also at '" EndArgument End diff --git a/lib/templates/JASA.lyx b/lib/templates/JASA.lyx index aa04278645..7dd4e65c09 100644 --- a/lib/templates/JASA.lyx +++ b/lib/templates/JASA.lyx @@ -1,4 +1,4 @@ -#LyX 2.0 created this file. For more info see http://www.lyx.org/ +#LyX 2.1 created this file. For more info see http://www.lyx.org/ \lyxformat 413 \begin_document \begin_header @@ -19,7 +19,6 @@ \font_osf false \font_sf_scale 100 \font_tt_scale 100 - \graphics default \default_output_format default \output_sync 0 @@ -32,8 +31,8 @@ \use_geometry false \use_amsmath 1 \use_esint 1 -\use_mhchem 1 \use_mathdots 1 +\use_mhchem 1 \cite_engine basic \use_bibtopic false \use_indices false @@ -76,28 +75,6 @@ nopreprint \end_inset -\end_layout - -\begin_layout Standard -\begin_inset Note Note -status collapsed - -\begin_layout Plain Layout - -\series bold -Note -\series default -: Using the citation style -\family sans -Natbib -\family default - in the document settings would lead to LaTeX errors, because JasaTeX uses - its own natbib mechanism. -\end_layout - -\end_inset - - \end_layout \begin_layout Preprint number @@ -159,11 +136,11 @@ Also at \begin_inset Note Note -status collapsed +status open \begin_layout Plain Layout This affiliation appears as footnote. - The short title should be + The prefix should be \begin_inset Quotes eld \end_inset @@ -362,7 +339,7 @@ Bla, bla placement h wide false sideways false -status collapsed +status open \begin_layout Plain Layout \begin_inset Caption -- 2.39.2