-----------------------
+
+2018-08-16 Jürgen Spitzmüller <spitz@lyx.org>
+ * format incremented to 563: New inset argument type "listpreamble". The content will
+ be inserted between environment begin and first \item of a list.
+
2018-08-13 Jürgen Spitzmüller <spitz@lyx.org>
* format incremented to 562: New info-inset type l7n. This returns a localized version
of a string (in the GUI language) if available, removing trailing colons and
# Author: Julien Rioux <jrioux@lyx.org>
-Format 68
+Format 69
# The framework (biblatex|bibtex)
CiteFramework bibtex
# Author: Jürgen Spitzmüller <spitz@lyx.org>
-Format 68
+Format 69
Requires biblatex
# Author: Jürgen Spitzmüller <spitz@lyx.org>
-Format 68
+Format 69
Requires biblatex
# Author: Julien Rioux <jrioux@lyx.org>
-Format 68
+Format 69
Requires jurabib
# Author: Julien Rioux <jrioux@lyx.org>
-Format 68
+Format 69
Requires natbib
\end_inset
).
+\change_inserted -712698321 1534487781
+
+\end_layout
+
+\begin_layout Standard
+
+\change_inserted -712698321 1534488561
+Finally, there is a special argument type with the prefix
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -712698321 1534487844
+listpreamble:
+\change_unchanged
+
+\end_layout
+
+\end_inset
+
+.
+ It is not really an argument, but uses the argument interface (thus, the
+ prefix is also followed by a number, e.
+\begin_inset space \thinspace{}
+\end_inset
+
+g.
+
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -712698321 1534488412
+Argument listpreamble:1
+\end_layout
+
+\end_inset
+
+).
+ As the name implies, it is targeted at lists such as
+\family sans
+Itemize
+\family default
+,
+\family sans
+Enumerate
+\family default
+,
+\family sans
+Description
+\family default
+, or
+\family sans
+Bibliography
+\family default
+.
+ Its content will be output at the list start, before the first
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -712698321 1534488058
+
+\backslash
+item
+\change_unchanged
+
+\end_layout
+
+\end_inset
+
+, on an own line (a place that is otherwise not accessible in \SpecialChar LyX
+).
+ This way, users can insert redefinitions (of lengths etc.) to individual
+ lists.
+ By default, these arguments do not have a delimiter.
+\change_unchanged
+
\end_layout
\end_deeper
)
\end_layout
+\begin_layout Standard
+Schließlich gibt es noch einen Argumenttyp mit dem Präfix
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+listpreamble:
+\end_layout
+
+\end_inset
+
+.
+ Strenggenommen ist das, was damit erfasst wird, kein Argument, aber der
+ Mechanismus der \SpecialChar LyX
+-Argumente wird verwendet (daher folgt dem Präfix auch
+ wie üblich eine Nummer, bspw.
+
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+Argument listpreamble:1
+\end_layout
+
+\end_inset
+
+).
+ Wie der Name andeutet, zielt dieser Argumenttyp auf Listen wie
+\family sans
+Auflistung,
+\family default
+
+\family sans
+Aufzählung
+\family default
+,
+\family sans
+Beschreibung
+\family default
+ oder
+\family sans
+Literaturverzeichnis
+\family default
+.
+ Sein Inhalt wird am Start der Liste, vor dem ersten
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+item
+\end_layout
+
+\end_inset
+
+, auf einer eigenen Zeile ausgegeben (eine Stelle, die sonst in \SpecialChar LyX
+ nicht zugänglic
+h ist).
+ Auf diese Weise können Benutzer in individuellen Listen Re-Definitionen
+ (bspw.
+ von Längen) vornehmen.
+ In der Voreinstellung haben diese Argumente keine Begrenzungszeichen.
+\end_layout
+
\end_deeper
\begin_layout Description
\begin_inset Flex Code
# Authors : Koji Yokota <yokota@res.otaru-uc.ac.jp>
# Uwe Stöhr <uwestoehr@web.de>
-Format 68
+Format 69
Input stdclass.inc
Input theorems-ams.module
Input theorems-bytype.module
# IEEtran Computer Society textclass definition file.
-Format 68
+Format 69
Input IEEEtran.layout
# IEEtran Magnetics textclass definition file.
-Format 68
+Format 69
Input IEEEtran.layout
# IEEtran textclass definition file.
-Format 68
+Format 69
Sides 1
SecNumDepth 3
EndFont
TocLevel 1
IsTocCaption 0
+ Argument listpreamble:1
+ LabelString "Bib preamble"
+ MenuString "Bibiography Preamble"
+ Tooltip "LaTeX code to be inserted before the first bibliography item"
+ PassThru 1
+ Font
+ Family typewriter
+ Color latex
+ EndFont
+ EndArgument
End
#DescriptionEnd
#Author: Richard Heck <rgheck@lyx.org>
-Format 68
+Format 69
Style "In Preamble"
CopyStyle Standard
# Author: Yihui Xie
# Modified by: Scott Kostyshak
-Format 68
+Format 69
Input stdclass.inc
# \DeclareCategory{Posters}
# Wrapper layout for the a0poster poster class
-Format 68
+Format 69
# Authors: Günter Milde, Jürgen Spitzmüller
# 2013-05-26 Updated for aa.cls version 8.2
-Format 68
+Format 69
Columns 2
Sides 2
SecNumDepth 3
# Author: Peter Sütterlin <pit@uni-sw.gwdg.de>
-Format 68
+Format 69
Style Subtitle
Margin Static
LatexType Command
# and reconfigure LyX (after running texhash, of course).
-Format 68
+Format 69
Columns 2
Sides 2
SecNumDepth 3
# The new "aastex6.layout" depends on aastex6.cls but inputs this
# file for the definitions (cf. LyX ticket #10027)
-Format 68
+Format 69
Columns 1
Sides 1
#SecNumDepth 3
Size Normal
Series Bold
EndFont
+ Argument listpreamble:1
+ LabelString "Bib preamble"
+ MenuString "Bibiography Preamble"
+ Tooltip "LaTeX code to be inserted before the first bibliography item"
+ PassThru 1
+ Font
+ Family typewriter
+ Color latex
+ EndFont
+ EndArgument
End
# - aastex6.cls loads hyperref (with pre-set options) and url
# -> option clash if "Use Hyerref" is selected in Document>Settings
-Format 68
+Format 69
Input aastex.layout
# - aastex6.cls loads hyperref (with pre-set options) and url
# -> option clash if "Use Hyerref" is selected in Document>Settings
-Format 68
+Format 69
Provides hyperref 1
# textclass definition file for achemso 3.8 and 3.9
# Author: Uwe Stöhr (uwestoehr@web.de)
-Format 68
+Format 69
Columns 1
Sides 1
#
# Author: Gioele Barabucci
-Format 68
+Format 69
Input acm-sigs.inc
#
# Author: Gioele Barabucci
-Format 68
+Format 69
Input stdclass.inc
Columns 2
#
# Author: Gioele Barabucci
-Format 68
+Format 69
Input acm-sigs.inc
# Reviewed following tickets #10722 & #10723
# by Jean-Pierre Chrétien <jpc@lyx.org>
-Format 68
+Format 69
Provides amscls 1
Provides amsmath 1
# "TOG data URL", and "TOG code URL". The corresponding
# LaTeX commands are no longer supported.
-Format 68
+Format 69
Columns 1
Sides 1
# ACM style files can be obtained at
# http://www.acm.org/sigs/pubs/proceed/template.html
-Format 68
+Format 69
Columns 1
Sides 1
# Martin Vermeer <martin.vermeer@hut.fi>
-Format 68
+Format 69
Input agu_stdclass.inc
# Exclude higher, or equal, sections:
# It is desirable, as far as possible, to have the same look and feel for
# related layouts in latex and docbook.
-Format 68
+Format 69
OutputType docbook
Columns 1
# This include file contains all the counters that are defined as standard
# in AGU-Article LyX layouts.
-Format 68
+Format 69
Counter sect1
Within section
End
# It is desirable, as far as possible, to have the same look and feel for
# related layouts in latex and docbook.
-Format 68
+Format 69
Input stdlists.inc
# It is desirable, as far as possible, to have the same look and feel for
# related layouts in latex and docbook.
-Format 68
+Format 69
Input stdsections.inc
Style Part
# It is desirable, as far as possible, to have the same look and feel for
# related layouts in latex and docbook.
-Format 68
+Format 69
Input stdtitle.inc
# Author: Martin Vermeer <martin.vermeer@hut.fi>
-Format 68
+Format 69
Input aguplus.inc
ClassOptions
# ftp://ftp.agu.org/journals/latex/journals
-Format 68
+Format 69
Input stdclass.inc
SecNumDepth 4
# AGUTeX textclass definition file.
# Author: Uwe Stöhr (uwestoehr@web.de)
-Format 68
+Format 69
Columns 1
Sides 1
EndFont
TocLevel 1
IsTocCaption 0
+ Argument listpreamble:1
+ LabelString "Bib preamble"
+ MenuString "Bibiography Preamble"
+ Tooltip "LaTeX code to be inserted before the first bibliography item"
+ PassThru 1
+ Font
+ Family typewriter
+ Color latex
+ EndFont
+ EndArgument
End
#
#Author: Jürgen Spitzmüller
-Format 68
+Format 69
Requires algorithm2e
# Modularized Jan '08 by Richard Heck <rgheck@brown.edu>
# Moved "number within sections" to modules Aug '09 (Paul Rubin <rubin@msu.edu>)
-Format 68
+Format 69
Columns 1
Sides 2
# Moved "number within sections" to modules Aug '09 (Paul Rubin <rubin@msu.edu>)
-Format 68
+Format 69
Columns 1
Sides 2
\newenvironment{lyxxcb}{\begin{xcb}{Exercises}\begin{enumerate}}
{\end{enumerate}\end{xcb}}
EndPreamble
+ Argument listpreamble:1
+ LabelString "List preamble"
+ MenuString "List Preamble"
+ Tooltip "LaTeX code to be inserted before the first item"
+ PassThru 1
+ Font
+ Family typewriter
+ Color latex
+ EndFont
+ EndArgument
End
# Modularized Jan '08 by Richard Heck <rgheck@brown.edu>
# Including the maths stuff
-Format 68
+Format 69
# By default AMS articles & books use leqno option (as SIAM journals).
Provides leqno 1
EndFont
TocLevel 1
IsTocCaption 0
+ Argument listpreamble:1
+ LabelString "Bib preamble"
+ MenuString "Bibiography Preamble"
+ Tooltip "LaTeX code to be inserted before the first bibliography item"
+ PassThru 1
+ Font
+ Family typewriter
+ Color latex
+ EndFont
+ EndArgument
End
# \DeclareCategory{Articles}
# Author: Randy Gobbel <gobbel@andrew.cmu.edu>
-Format 68
+Format 69
Columns 1
Sides 1
PageStyle Headers
LabelString "Custom Item|s"
Tooltip "A customized item string"
EndArgument
+ Argument listpreamble:1
+ LabelString "List preamble"
+ MenuString "List Preamble"
+ Tooltip "LaTeX code to be inserted before the first item"
+ PassThru 1
+ Font
+ Family typewriter
+ Color latex
+ EndFont
+ EndArgument
End
LabelString "Custom Item|s"
Tooltip "A customized item string"
EndArgument
+ Argument listpreamble:1
+ LabelString "List preamble"
+ MenuString "List Preamble"
+ Tooltip "LaTeX code to be inserted before the first item"
+ PassThru 1
+ Font
+ Family typewriter
+ Color latex
+ EndFont
+ EndArgument
End
LabelString "(\alph{enumii})"
LabelStringAppendix "(\alph{enumii})"
RefPrefix ser
+ Argument listpreamble:1
+ LabelString "List preamble"
+ MenuString "List Preamble"
+ Tooltip "LaTeX code to be inserted before the first item"
+ PassThru 1
+ Font
+ Family typewriter
+ Color latex
+ EndFont
+ EndArgument
End
# \DeclareCategory{Articles}
# Author: Jacob Bishop <bishop.jacob@gmail.com> based on the apa
# layout written by Randy Gobbel.
-Format 68
+Format 69
Columns 1
Sides 1
PageStyle Headers
LabelString "Custom Item|s"
Tooltip "A customized item string"
EndArgument
+ Argument listpreamble:1
+ LabelString "List preamble"
+ MenuString "List Preamble"
+ Tooltip "LaTeX code to be inserted before the first item"
+ PassThru 1
+ Font
+ Family typewriter
+ Color latex
+ EndFont
+ EndArgument
End
LabelString "Custom Item|s"
Tooltip "A customized item string"
EndArgument
+ Argument listpreamble:1
+ LabelString "List preamble"
+ MenuString "List Preamble"
+ Tooltip "LaTeX code to be inserted before the first item"
+ PassThru 1
+ Font
+ Family typewriter
+ Color latex
+ EndFont
+ EndArgument
End
LabelString "(\alph{enumii})"
LabelStringAppendix "(\alph{enumii})"
RefPrefix ser
+ Argument listpreamble:1
+ LabelString "List preamble"
+ MenuString "List Preamble"
+ Tooltip "LaTeX code to be inserted before the first item"
+ PassThru 1
+ Font
+ Family typewriter
+ Color latex
+ EndFont
+ EndArgument
End
# Arabic article textclass definition file.
# Author: Dekel Tsur <dekel@math.tau.ac.il>
-Format 68
+Format 69
Input article
# \DeclareCategory{Articles}
# Author: Jürgen Spitzmüller <spitz@lyx.org>
-Format 68
+Format 69
# Includes
Input article.layout
# Transposed by Pascal André <andre@via.ecp.fr>
# Heavily modifed and enhanced by serveral developers.
-Format 68
+Format 69
Input stdclass.inc
SecNumDepth 3
# Richard Heck <rgheck@lyx.org>, Martin Vermeer <martin.vermeer@hut.fi> and probably others.
-Format 68
+Format 69
#
# GLOBAL SETTINGS
RightDelim >
PassThru 1
EndArgument
+ Argument listpreamble:1
+ LabelString "List preamble"
+ MenuString "List Preamble"
+ Tooltip "LaTeX code to be inserted before the first item"
+ PassThru 1
+ Font
+ Family typewriter
+ Color latex
+ EndFont
+ EndArgument
NextNoIndent 1
ToggleIndent Never
LeftMargin MMN
RightDelim >
PassThru 1
EndArgument
+ Argument listpreamble:1
+ LabelString "List preamble"
+ MenuString "List Preamble"
+ Tooltip "LaTeX code to be inserted before the first item"
+ PassThru 1
+ Font
+ Family typewriter
+ Color latex
+ EndFont
+ EndArgument
NextNoIndent 1
ToggleIndent Never
LeftMargin MMN
LabelString "Longest label|s"
Tooltip "The longest label in this list (to determine the indendation width)"
EndArgument
+ Argument listpreamble:1
+ LabelString "List preamble"
+ MenuString "List Preamble"
+ Tooltip "LaTeX code to be inserted before the first item"
+ PassThru 1
+ Font
+ Family typewriter
+ Color latex
+ EndFont
+ EndArgument
Argument item:1
MenuString "Item Overlay Specifications"
LabelString "On Slide"
LabelString "Width"
Tooltip "The width of the overprint area (default: text width)"
EndArgument
+ Argument listpreamble:1
+ LabelString "List preamble"
+ MenuString "List Preamble"
+ Tooltip "LaTeX code to be inserted before the first item"
+ PassThru 1
+ Font
+ Family typewriter
+ Color latex
+ EndFont
+ EndArgument
Argument item:1
MenuString "Item Overlay Specifications"
LabelString "On Slide"
EndFont
TocLevel 1
IsTocCaption 0
+ Argument listpreamble:1
+ LabelString "Bib preamble"
+ MenuString "Bibiography Preamble"
+ Tooltip "LaTeX code to be inserted before the first bibliography item"
+ PassThru 1
+ Font
+ Family typewriter
+ Color latex
+ EndFont
+ EndArgument
End
#
# Input general definitions
-Format 68
+Format 69
Input beamer.layout
#DescriptionEnd
#Author: Uwe Stöhr <uwestoehr@web.de>
-Format 68
+Format 69
Style "Caption setup"
LatexType command
# Heavily modifed and enhanced by serveral developers.
-Format 68
+Format 69
Input stdclass.inc
Input numreport.inc
#DescriptionEnd
# Author: Uwe Stöhr <uwestoehr@web.de>
-Format 68
+Format 69
AddToPreamble
\usepackage{braille}
# For theater plays
-Format 68
+Format 69
Columns 1
Sides 1
SecNumDepth 2
# Author : Koji Yokota (yokota6@gmail.com)
# This style provides japanese features
-Format 68
+Format 69
Provides japanese 1
# Input general definitions
# Author : Koji Yokota (yokota6@gmail.com)
# This style provides japanese features
-Format 68
+Format 69
Provides japanese 1
# Input general definitions
# Author : Koji Yokota (yokota6@gmail.com)
# This style provides japanese features
-Format 68
+Format 69
Provides japanese 1
# Input general definitions
# Author : Koji Yokota (yokota6@gmail.com)
# This style provides japanese features
-Format 68
+Format 69
Provides japanese 1
# Input general definitions
# tracking is turned off in the document.
#
-Format 68
+Format 69
AddToPreamble
\usepackage{changebar}
# \vspace*{-0.5in})
#
-Format 68
+Format 69
Requires chess
# Springer's cl2emult textclass definition file.
# Author : André Poenitz
-Format 68
+Format 69
Columns 1
Sides 1
SecNumDepth 2
EndFont
TocLevel 1
IsTocCaption 0
+ Argument listpreamble:1
+ LabelString "Bib preamble"
+ MenuString "Bibiography Preamble"
+ Tooltip "LaTeX code to be inserted before the first bibliography item"
+ PassThru 1
+ Font
+ Family typewriter
+ Color latex
+ EndFont
+ EndArgument
End
# Please do not edit this file unless you know what you are doing.
# At least make backup copies of all your project files!
-Format 68
+Format 69
Provides babel 1
Provides inputenc 1
EndFont
TocLevel 0
IsTocCaption 0
+ Argument listpreamble:1
+ LabelString "Bib preamble"
+ MenuString "Bibiography Preamble"
+ Tooltip "LaTeX code to be inserted before the first bibliography item"
+ PassThru 1
+ Font
+ Family typewriter
+ Color latex
+ EndFont
+ EndArgument
End
NoStyle Statements
# \DeclareLaTeXClass[ctexart,savesym.sty,xeCJK.sty]{Chinese Article (CTeX)}
# \DeclareCategory{Articles}
-Format 68
+Format 69
# Read the definitions from article.layout
Input article.layout
# \DeclareLaTeXClass[ctexbook,savesym.sty,xeCJK.sty]{Chinese Book (CTeX)}
# \DeclareCategory{Books}
-Format 68
+Format 69
# Read the definitions from book.layout
Input book.layout
# \DeclareLaTeXClass[ctexrep,savesym.sty,xeCJK.sty]{Chinese Report (CTeX)}
# \DeclareCategory{Reports}
-Format 68
+Format 69
# Read the definitions from report.layout
Input report.layout
#DescriptionEnd
#Author: Uwe Stöhr
-Format 68
+Format 69
Style "Left Header"
Category Header/Footer
# It is desirable, as far as possible, to have the same look and feel for
# related layouts in latex and docbook.
-Format 68
+Format 69
Input lyxmacros.inc
Style Code
# Author : José Abílio Oliveira Matos <jamatos@lyx.org>
# Character Styles definition
-Format 68
+Format 69
InsetLayout Flex:Filename
LyXType element
LabelString Filename
# It is desirable, as far as possible, to have the same look and feel for
# related layouts in latex and docbook.
-Format 68
+Format 69
OutputType docbook
Columns 1
# This include file contains all the counters that are defined as standard
# in Docbook LyX layouts.
-Format 68
+Format 69
Counter sect1
Within chapter
End
# It is desirable, as far as possible, to have the same look and feel for
# related layouts in latex and docbook.
-Format 68
+Format 69
Input stdlayouts.inc
Style Literal
# It is desirable, as far as possible, to have the same look and feel for
# related layouts in latex and docbook.
-Format 68
+Format 69
Input stdlists.inc
# It is desirable, as far as possible, to have the same look and feel for
# related layouts in latex and docbook.
-Format 68
+Format 69
Input stdsections.inc
Style Part
# modifying the style of the regular sectioning layouts.
-Format 68
+Format 69
Style Part*
CopyStyle Part
Margin Static
# It is desirable, as far as possible, to have the same look and feel for
# related layouts in latex and docbook.
-Format 68
+Format 69
Input stdstruct.inc
Style Abstract
# It is desirable, as far as possible, to have the same look and feel for
# related layouts in latex and docbook.
-Format 68
+Format 69
Input stdtitle.inc
# Modified by: Juergen Spitzmueller <spitz@lyx.org>
# use English strings, localization is done by gettext!
-Format 68
+Format 69
Input letter.layout
# Author : Jose' Matos <jamatos@lyx.org>
# hacked for books: Luc Abom <luc@abom.com>
-Format 68
+Format 69
Input report
Input db_stdclass.inc
# DocBook textclass definition file.
# Author : Jose' Matos <jamatos@lyx.org>
-Format 68
+Format 69
Input db_stdclass.inc
Style Title
# DocBook textclass definition file.
# Author : Jose' Matos <jamatos@lyx.org>
-Format 68
+Format 69
Input db_stdclass.inc
Style Title
# DocBook textclass definition file.
# Author : Jose' Matos <jamatos@lyx.org>
-Format 68
+Format 69
Input db_stdclass.inc
# Exclude higher, or equal, sections:
# TeX templates are found at http://www.inderscience.com/mapper.php?id=64
#
# Read the definitions from article.layout
-Format 68
+Format 69
Input article.layout
# Author : Herbert Voss <voss@lyx.org> 2001/08/13
-Format 68
+Format 69
Columns 1
Sides 2
SecNumDepth -1 # no counting
# \DeclareCategory{Articles}
# Author : Koji Yokota <yok...@res.otaru-uc.ac.jp>
-Format 68
+Format 69
Input article.layout
TitleLatexType Environment
# Converted article -> egs Martin Vermeer
-Format 68
+Format 69
Columns 2
Sides 1
PageStyle Plain
AlignPossible Block, Left
LabelType Manual
LabelString "00.00.0000"
+ Argument listpreamble:1
+ LabelString "List preamble"
+ MenuString "List Preamble"
+ Tooltip "LaTeX code to be inserted before the first item"
+ PassThru 1
+ Font
+ Family typewriter
+ Color latex
+ EndFont
+ EndArgument
End
LabelString "Custom Item|s"
Tooltip "A customized item string"
EndArgument
+ Argument listpreamble:1
+ LabelString "List preamble"
+ MenuString "List Preamble"
+ Tooltip "LaTeX code to be inserted before the first item"
+ PassThru 1
+ Font
+ Family typewriter
+ Color latex
+ EndFont
+ EndArgument
End
LabelString "Custom Item|s"
Tooltip "A customized item string"
EndArgument
+ Argument listpreamble:1
+ LabelString "List preamble"
+ MenuString "List Preamble"
+ Tooltip "LaTeX code to be inserted before the first item"
+ PassThru 1
+ Font
+ Family typewriter
+ Color latex
+ EndFont
+ EndArgument
End
LabelFont
Series Bold
EndFont
+ Argument listpreamble:1
+ LabelString "List preamble"
+ MenuString "List Preamble"
+ Tooltip "LaTeX code to be inserted before the first item"
+ PassThru 1
+ Font
+ Family typewriter
+ Color latex
+ EndFont
+ EndArgument
End
EndFont
TocLevel 1
IsTocCaption 0
+ Argument listpreamble:1
+ LabelString "Bib preamble"
+ MenuString "Bibiography Preamble"
+ Tooltip "LaTeX code to be inserted before the first bibliography item"
+ PassThru 1
+ Font
+ Family typewriter
+ Color latex
+ EndFont
+ EndArgument
End
# numbered sections, as does the class file.
-Format 68
+Format 69
Columns 1
Sides 2
PageStyle headings
# elsarticle textclass definition file.
# Author: Uwe Stöhr (uwestoehr@web.de)
-Format 68
+Format 69
Columns 1
Sides 1
SecNumDepth 3
TocDepth 3
-DefaultStyle Standard
-Provides natbib 1
-Provides refstyle 1
+DefaultStyle Standard
+Provides natbib 1
+Provides refstyle 1
ClassOptions
FontSize 10|11|12
EndFont
TocLevel 1
IsTocCaption 0
+ Argument listpreamble:1
+ LabelString "Bib preamble"
+ MenuString "Bibiography Preamble"
+ Tooltip "LaTeX code to be inserted before the first bibliography item"
+ PassThru 1
+ Font
+ Family typewriter
+ Color latex
+ EndFont
+ EndArgument
End
#\theendnotes in TeX-code where you want the endnotes to appear.
#DescriptionEnd
-Format 68
+Format 69
Counter endnotes
PrettyFormat "Endnote ##"
# Based on LyX article class; modified to support ENTCS class
# Reuben Thomas (rrt@sc3d.org) 27/5-2/6/01
-Format 68
+Format 69
Input article.layout
# only font size 11pt is really available
# both KOMA and non-KOMA document classes.
# 2011-01-12 bugfix: set elabeling label font to \normalfont.
-Format 68
+Format 69
# The package enumitem provides user control over the layout of the three
# basic list environments: enumerate, itemize and description. It supersedes
#the section number to the equation number, as in '(2.1)'.
#DescriptionEnd
-Format 68
+Format 69
Requires amsmath
# General textclass parameters
-Format 68
+Format 69
Columns 1
Sides 1
Margin Static
LatexType Item_Environment
LatexName ecvitemize
+ Argument listpreamble:1
+ LabelString "List preamble"
+ MenuString "List Preamble"
+ Tooltip "LaTeX code to be inserted before the first item"
+ PassThru 1
+ Font
+ Family typewriter
+ Color latex
+ EndFont
+ EndArgument
NextNoIndent 1
LeftMargin MMN
LabelSep xx
# General textclass parameters
-Format 68
+Format 69
Columns 1
Sides 1
SecNumDepth -1
# \DeclareCategory{Articles}
# Herbert Voss <voss@lyx.org>
-Format 68
+Format 69
Input article.layout
# change available fontsizes
# Extended book textclass definition file.
# Herbert Voss <voss@lyx.org>
-Format 68
+Format 69
Input book.layout
# change available fontsizes
# Extended article textclass definition file.
# Herbert Voss <voss@lyx.org>
-Format 68
+Format 69
Input letter.layout
# change available fontsizes
# Extented report textclass definition file.
# Herbert Voss <voss@lyx.org>
-Format 68
+Format 69
Input report.layout
# change available fontsizes
#the section number to the figure number, as in 'fig. 2.1'.
#DescriptionEnd
-Format 68
+Format 69
Requires amsmath
# Author : Patrick Atamaniuk <patrick-lyx@frobs.net>
-Format 68
+Format 69
Requires fix-cm
# Author : Georg Baum <baum@lyx.org>
-Format 68
+Format 69
Requires fixltx2e
# Authors: Mark Edgington <edgimar@gmail.com>
# Jürgen Spitzmüller <spitz@lyx.org>
-Format 68
+Format 69
OutlinerName fixme "Fixme"
# To do: Define class specific options.
-Format 68
+Format 69
Columns 1
Sides 1
LabelType Itemize
LabelString "_/"
Requires pifont
+ Argument listpreamble:1
+ LabelString "List preamble"
+ MenuString "List Preamble"
+ Tooltip "LaTeX code to be inserted before the first item"
+ PassThru 1
+ Font
+ Family typewriter
+ Color latex
+ EndFont
+ EndArgument
End
Style CrossList
LabelType Itemize
LabelString "><"
Requires pifont
+ Argument listpreamble:1
+ LabelString "List preamble"
+ MenuString "List Preamble"
+ Tooltip "LaTeX code to be inserted before the first item"
+ PassThru 1
+ Font
+ Family typewriter
+ Color latex
+ EndFont
+ EndArgument
End
#in TeX-code where you want the endnotes to appear.
#DescriptionEnd
-Format 68
+Format 69
Requires endnotes
# Layout file for the frletter class.
# Author : Liviu Andronic and Uwe Stöhr
-Format 68
+Format 69
# Read the definitions from letter.layout
Input letter.layout
# Letter textclass definition file.
# Author : Thomas Hartkens <thomas@hartkens.de>
-Format 68
+Format 69
Input stdinsets.inc
Input stdfloats.inc
Input stdcounters.inc
# Thomas Hartkens <thomas@hartkens.de>
# Input general definitions
-Format 68
+Format 69
Input stdfloats.inc
Input stdcounters.inc
Input stdinsets.inc
#Author: Jürgen Spitzmüller <spitz@lyx.org>
# Uwe Stöhr <uwestoehr@lyx.org>
-Format 68
+Format 69
InsetLayout Flex:Reflectbox
LyXType custom
#Copyright Peter R. Wilson.
#Released under the LaTeX Project Public License.
-Format 68
+Format 69
Style Hanging
LatexType Environment
# Author: Dekel Tsur <dekel@math.tau.ac.il>
# Few changes by Baruch Even <baruch.even@writeme.com>
-Format 68
+Format 69
Input article
Preamble
# Hebrew letter textclass definition file.
# Author: Dekel Tsur <dekel@math.tau.ac.il>
-Format 68
+Format 69
Input letter
# Based on course given by Lars Davidson
-Format 68
+Format 69
Columns 1
Sides 1
SecNumDepth 2
#DescriptionEnd
#Author: Uwe Stöhr <uwestoehr@web.de>
-Format 68
+Format 69
InsetLayout "Flex:H-P number"
LyxType custom
# Author: Uwe Stöhr (uwestoehr@web.de)
-Format 68
+Format 69
Sides 1
Columns 1
Margin Static
LatexType Item_Environment
LatexName itemlist
+ Argument listpreamble:1
+ LabelString "List preamble"
+ MenuString "List Preamble"
+ Tooltip "LaTeX code to be inserted before the first item"
+ PassThru 1
+ Font
+ Family typewriter
+ Color latex
+ EndFont
+ EndArgument
NextNoIndent 1
ToggleIndent Never
LeftMargin MMN
Tooltip "Use the largest item number in your list, e.g. '(iv)' for 4 Roman numbered items"
PassThru 1
EndArgument
+ Argument listpreamble:1
+ LabelString "List preamble"
+ MenuString "List Preamble"
+ Tooltip "LaTeX code to be inserted before the first item"
+ PassThru 1
+ Font
+ Family typewriter
+ Color latex
+ EndFont
+ EndArgument
NextNoIndent 1
LeftMargin MMN
LabelSep xx
EndFont
TocLevel 1
IsTocCaption 0
+ Argument listpreamble:1
+ LabelString "Bib preamble"
+ MenuString "Bibiography Preamble"
+ Tooltip "LaTeX code to be inserted before the first bibliography item"
+ PassThru 1
+ Font
+ Family typewriter
+ Color latex
+ EndFont
+ EndArgument
End
# Author: Uwe Stöhr (uwestoehr@web.de)
-Format 68
+Format 69
Sides 1
Columns 1
Margin Static
LatexType Item_Environment
LatexName itemlist
+ Argument listpreamble:1
+ LabelString "List preamble"
+ MenuString "List Preamble"
+ Tooltip "LaTeX code to be inserted before the first item"
+ PassThru 1
+ Font
+ Family typewriter
+ Color latex
+ EndFont
+ EndArgument
NextNoIndent 1
ToggleIndent Never
LeftMargin MMN
Tooltip "Use the largest item number in your list, e.g. '(iv)' for 4 Roman numbered items"
PassThru 1
EndArgument
+ Argument listpreamble:1
+ LabelString "List preamble"
+ MenuString "List Preamble"
+ Tooltip "LaTeX code to be inserted before the first item"
+ PassThru 1
+ Font
+ Family typewriter
+ Color latex
+ EndFont
+ EndArgument
NextNoIndent 1
LeftMargin MMN
LabelSep xx
EndFont
TocLevel 1
IsTocCaption 0
+ Argument listpreamble:1
+ LabelString "Bib preamble"
+ MenuString "Bibiography Preamble"
+ Tooltip "LaTeX code to be inserted before the first bibliography item"
+ PassThru 1
+ Font
+ Family typewriter
+ Color latex
+ EndFont
+ EndArgument
End
#DescriptionEnd
#Authors: Pavel Sanda and Uwe Stöhr
-Format 68
+Format 69
AddToPreamble
\@ifundefined{lettrine}{\usepackage{lettrine}}{}
# IOP article textclass definition file.
# Author: Uwe Stöhr (uwestoehr@web.de)
-Format 68
+Format 69
Columns 1
Sides 1
EndFont
TocLevel 1
IsTocCaption 0
+ Argument listpreamble:1
+ LabelString "Bib preamble"
+ MenuString "Bibiography Preamble"
+ Tooltip "LaTeX code to be inserted before the first bibliography item"
+ PassThru 1
+ Font
+ Family typewriter
+ Color latex
+ EndFont
+ EndArgument
End
# Heavily modifed and enhanced by serveral developers.
# Input general definitions
-Format 68
+Format 69
Input stdclass.inc
Sides 2
Columns 2
# Author: Uwe Stöhr (uwestoehr@web.de)
# IUCr LaTeX files can be downloaded from ftp://ftp.iucr.org/templates/latex/
-Format 68
+Format 69
Columns 1
Sides 1
SecNumDepth 3
TocDepth 3
-DefaultStyle Standard
+DefaultStyle Standard
ClassOptions
FontSize 10
ParIndent MM
ParSkip 0.4
Align Block
- AlignPossible Block, Left, Right, Center
+ AlignPossible Block, Left, Right, Center
LabelType No_Label
End
NoStyle Bibliography
Style Section
- LabelString \thesection.
+ LabelString \thesection.
LabelStringAppendix \thesection
- Align Center
+ Align Center
End
Style Subsection
- LabelString \thesubsection.
+ LabelString \thesubsection.
Font
- Shape Italic
- Size Normal
+ Shape Italic
+ Size Normal
EndFont
End
Style Subsubsection
- LabelString \thesubsubsection.
+ LabelString \thesubsubsection.
Font
- Shape Italic
+ Shape Italic
EndFont
End
LatexName cauthor
Category FrontMatter
InTitle 1
- NextNoIndent 1
+ NextNoIndent 1
Argument 1
- LabelString "Affiliation Key"
+ LabelString "Affiliation Key"
Tooltip "Affiliation key of the author"
EndArgument
Argument 2
Mandatory 1
- LabelString "Forename"
+ LabelString "Forename"
Tooltip "Forename"
EndArgument
Argument 3
Mandatory 1
- LabelString "Surname"
+ LabelString "Surname"
Tooltip "Surname"
EndArgument
Argument 4
Mandatory 1
- LabelString "Email"
+ LabelString "Email"
Tooltip "Email"
Font
Shape Italic
LabelString "Co-author"
ResetArgs 1
Argument 1
- LabelString "Affiliation Key"
+ LabelString "Affiliation Key"
Tooltip "Affiliation key of the co-author"
EndArgument
Argument 2
Mandatory 1
- LabelString "Forename"
+ LabelString "Forename"
Tooltip "Forename"
EndArgument
End
Category FrontMatter
LabelString "Affiliation:"
Argument 1
- LabelString "Affiliation Key"
+ LabelString "Affiliation Key"
Tooltip "Affiliation key"
EndArgument
Font
LatexName PDBreference
LabelString "PDB reference:"
Argument 1
- LabelString "Name"
+ LabelString "Name"
Tooltip "Optional name"
EndArgument
End
Style Synopsis
CopyStyle Abstract
LatexName synopsis
- LabelString "Synopsis"
+ LabelString "Synopsis"
Align Left
- AlignPossible Left
+ AlignPossible Left
End
Style Acknowledgements
CopyStyle "Short Author"
LatexName ack
InTitle 0
- LabelString "Acknowledgements:"
+ LabelString "Acknowledgements:"
Category BackMatter
TopSep 0.7
End
Category BackMatter
LatexType Item_Environment
LatexName references
- ItemCommand reference
+ ItemCommand reference
LabelType Centered
- LabelString "References"
+ LabelString "References"
LabelFont
Size larger
Series bold
EndFont
- ParagraphGroup 1
- NextNoIndent 1
+ ParagraphGroup 1
+ NextNoIndent 1
TopSep 0.7
BottomSep 0.7
+ Argument listpreamble:1
+ LabelString "List preamble"
+ MenuString "List Preamble"
+ Tooltip "LaTeX code to be inserted before the first item"
+ PassThru 1
+ Font
+ Family typewriter
+ Color latex
+ EndFont
+ EndArgument
Argument item:1
- LabelString "Reference"
- Mandatory 1
- AutoInsert 1
+ LabelString "Reference"
+ Mandatory 1
+ AutoInsert 1
EndArgument
Align Left
End
# Author : Koji Yokota (yokota6@gmail.com)
# This style provides japanese features
-Format 68
+Format 69
Provides japanese 1
# Input general definitions
# JASATeX textclass definition file.
# Author: Uwe Stöhr (uwestoehr@web.de)
-Format 68
+Format 69
Columns 1
Sides 1
EndFont
TocLevel 1
IsTocCaption 0
+ Argument listpreamble:1
+ LabelString "Bib preamble"
+ MenuString "Bibiography Preamble"
+ Tooltip "LaTeX code to be inserted before the first bibliography item"
+ PassThru 1
+ Font
+ Family typewriter
+ Color latex
+ EndFont
+ EndArgument
End
# Author : Koji Yokota (yokota6@gmail.com)
# This style provides japanese features
-Format 68
+Format 69
Provides japanese 1
# Input general definitions
# AGUplus JGR textclass definition file.
# Author: Martin Vermeer <martin.vermeer@hut.fi>
-Format 68
+Format 69
Input aguplus.inc
ClassOptions
# Author : Koji Yokota (yokota6@gmail.com)
# This style provides japanese features
-Format 68
+Format 69
Provides japanese 1
# Input general definitions
# Author : Koji Yokota (yokota6@gmail.com)
# This style provides japanese features
-Format 68
+Format 69
Provides japanese 1
# Input general definitions
# Author : Koji Yokota (yokota6@gmail.com)
# This style provides japanese features
-Format 68
+Format 69
Provides japanese 1
# Input general definitions
# License: GNU GPL version 2 or later
# JSS LaTeX files can be downloaded from http://www.jstatsoft.org/downloads/JSSstyle.zip
-Format 68
+Format 69
# Read the definitions from article.layout
Input article.layout
# 2003-03-03 Updated for lyx 1.3.0.
-Format 68
+Format 69
Columns 1
Sides 2
SecNumDepth 4
EndFont
TocLevel 1
IsTocCaption 0
+ Argument listpreamble:1
+ LabelString "Bib preamble"
+ MenuString "Bibiography Preamble"
+ Tooltip "LaTeX code to be inserted before the first bibliography item"
+ PassThru 1
+ Font
+ Family typewriter
+ Color latex
+ EndFont
+ EndArgument
End
#Category: literate
#Excludes: lilypond | sweave
-Format 68
+Format 69
Input litinsets.inc
#
#Author: Jürgen Spitzmüller <spitz@lyx.org>
-Format 68
+Format 69
InsetLayout Flex:Landscape
LyXType custom
# Latex8 textclass definition file.
# Author : Allan Rae <rae@elec.uq.edu.au>
-Format 68
+Format 69
Preamble
\usepackage{latex8}
\usepackage{times}
# Author : Matthias Ettrich <ettrich@informatik.uni-tuebingen.de>
# Heavily modifed and enhanced by serveral developers.
-Format 68
+Format 69
Input stdinsets.inc
Input stdletter.inc
Input stdlists.inc
# - remove the workaround for page format (not needed after v2.351)
-Format 68
+Format 69
#(pre)declarations (just to impose some order on the menus)
Style Standard
# Author: Julien Rioux <jrioux@lyx.org>
-Format 68
+Format 69
OutputFormat lilypond-book
InsetLayout "Flex:LilyPond"
# Author: Jürgen Spitzmüller <spitz@lyx.org>
-Format 68
+Format 69
Counter example
Within chapter
LabelType Enumerate
LabelCounter "example"
ResumeCounter true
+ Argument listpreamble:1
+ LabelString "List preamble"
+ MenuString "List Preamble"
+ Tooltip "LaTeX code to be inserted before the first item"
+ PassThru 1
+ Font
+ Family typewriter
+ Color latex
+ EndFont
+ EndArgument
Argument item:1
LabelString "Custom Numbering|s"
Tooltip "Customize the numeration"
# Note that this file is included in sweave.module,
# knitr.module and noweb.module.
-Format 68
+Format 69
Counter chunk
PrettyFormat "Chunk ##"
# Modified for LyX 12 by Jean-Marc Lasgouttes and MV.
-Format 68
+Format 69
Columns 1
Sides 1
PageStyle Plain
EndFont
TocLevel 0
IsTocCaption 0
+ Argument listpreamble:1
+ LabelString "Bib preamble"
+ MenuString "Bibiography Preamble"
+ Tooltip "LaTeX code to be inserted before the first bibliography item"
+ PassThru 1
+ Font
+ Family typewriter
+ Color latex
+ EndFont
+ EndArgument
End
# Author : Martin vermeer <martin.vermeer@hut.fi>
-Format 68
+Format 69
InsetLayout Flex:Noun
LyxType charstyle
# Author : Herbert Voss <voss@perce.de> 2001/08/13
-Format 68
+Format 69
Columns 2
Sides 2
#SecNumDepth # no counting
# be removed later.
-Format 68
+Format 69
Style LyX-Code
Category MainText
Margin Static
# feel free to contribute missing features!
-Format 68
+Format 69
Columns 1
Sides 2
SecNumDepth 1
# Redefines several insets (Index, Branch, URL) as being Minimalistic.
#DescriptionEnd
-Format 68
+Format 69
InsetLayout Index
Decoration minimalistic
# General textclass parameters
-Format 68
+Format 69
Columns 1
Sides 1
SecNumDepth -1
EndFont
TocLevel 1
IsTocCaption 0
+ Argument listpreamble:1
+ LabelString "Bib preamble"
+ MenuString "Bibiography Preamble"
+ Tooltip "LaTeX code to be inserted before the first bibliography item"
+ PassThru 1
+ Font
+ Family typewriter
+ Color latex
+ EndFont
+ EndArgument
End
Style Recipient
#DescriptionEnd
#Authors: Uwe Stöhr and Jürgen Spitzmüller
-Format 68
+Format 69
InsetLayout Flex:Multiple_Columns
LyXType custom
# Transposed by Tomasz Łuczak <tlu@technodat.com.pl>
# Heavily modifed and enhanced by several developers.
-Format 68
+Format 69
Input stdclass.inc
NoStyle Chapter
# Transposed by Tomasz Łuczak <tlu@technodat.com.pl>
# Heavily modifed and enhanced by serveral developers.
-Format 68
+Format 69
Input stdclass.inc
Input numreport.inc
# Transposed by Tomasz Łuczak <tlu@technodat.com.pl>
# Heavily modifed and enhanced by serveral developers.
-Format 68
+Format 69
Input stdclass.inc
Input numreport.inc
#
# Author: Jacob Bishop <bishop.jacob@gmail.com>
-Format 68
+Format 69
AddToPreamble
\usepackage[natbibapa]{apacite}
#DescriptionEnd
#Category: literate
-Format 68
+Format 69
Input litinsets.inc
OutputType literate
# Author : André Pönitz
# This include file contains label definitions for an article-like numbering.
-Format 68
+Format 69
# appendix applies to sections.
Counter section
# Author : André Pönitz
# This include file contains label definitions for a report-like numbering.
-Format 68
+Format 69
Counter chapter
Within ""
# This include files contains label definitions for a article-like numbering.
-Format 68
+Format 69
Style Section
LabelType Static
LabelCounter section
# Created by Jean-Marc Lasgouttes (Jean-Marc.Lasgouttes@inria.fr)
-Format 68
+Format 69
Columns 1
Sides 1
SecNumDepth 3
# Author: Georg Baum <baum@lyx.org>
# (structuring taken from enumitem.module by Günter Milde)
-Format 68
+Format 69
AddToPreamble
\usepackage{paralist}
# Author: Juergen Spitzmueller <spitz@lyx.org>
# Uwe Stöhr <uwestoehr@lyx.org>
-Format 68
+Format 69
#
# helper commands
#DescriptionEnd
# Author: Uwe Stöhr <uwestoehr@lyx.org>
-Format 68
+Format 69
#
# the form environment
# Created: 29-Aug-05 by Mael Hilléreau
# Modified: 20-May-06 by Uwe Stöhr, 18-Mar-2013 Jürgen Spitzmüller
-Format 68
+Format 69
Input stdcounters.inc
Input stdinsets.inc
LabelString "Itemize Options"
Tooltip "Optional arguments for this list (see enumitem manual)"
EndArgument
+ Argument listpreamble:1
+ LabelString "List preamble"
+ MenuString "List Preamble"
+ Tooltip "LaTeX code to be inserted before the first item"
+ PassThru 1
+ Font
+ Family typewriter
+ Color latex
+ EndFont
+ EndArgument
Argument item:1
LabelString "Custom Item|s"
Tooltip "A customized item string"
Tooltip "Optional arguments for this list (see enumitem manual)"
Requires 1
EndArgument
+ Argument listpreamble:1
+ LabelString "List preamble"
+ MenuString "List Preamble"
+ Tooltip "LaTeX code to be inserted before the first item"
+ PassThru 1
+ Font
+ Family typewriter
+ Color latex
+ EndFont
+ EndArgument
Argument item:1
LabelString "Custom Item|s"
Tooltip "A customized item string"
LabelBottomSep 0
TocLevel 1
IsTocCaption 0
+ Argument listpreamble:1
+ LabelString "Bib preamble"
+ MenuString "Bibiography Preamble"
+ Tooltip "LaTeX code to be inserted before the first bibliography item"
+ PassThru 1
+ Font
+ Family typewriter
+ Color latex
+ EndFont
+ EndArgument
End
###
# Another command, \ingred{...}, is defined to typeset a
# list of ingredients.
-Format 68
+Format 69
Input scrclass.inc
Input numreport.inc
# Transposed by Pascal André <andre@via.ecp.fr>
# Heavily modifed and enhanced by serveral developers.
-Format 68
+Format 69
Input stdclass.inc
Input numreport.inc
# Amir Karger (LyX v11.34 style modifications - using changes
# made by Jean-Marc Lasgouttes to amsart.layout)
-Format 68
+Format 69
Columns 1
Sides 1
PageStyle Headers
# - add support for \onlinecite{}
-Format 68
+Format 69
Input stdclass.inc
Input numrevtex.inc
# Amir Karger (RevTeX 4 beta) 9/1999, 7/2000
# Heavily modifed and enhanced by serveral developers.
-Format 68
+Format 69
Columns 1
Sides 1
#DescriptionEnd
#Author: Uwe Stöhr <uwestoehr@web.de>
-Format 68
+Format 69
InsetLayout "Flex:R-S number"
LyxType custom
#
# Input general definitions
-Format 68
+Format 69
Input stdclass.inc
# KOMA scrartcl textclass definition file.
# Bernd Rellermeyer <100.41728@germanynet.de>, 1998/7/11.
-Format 68
+Format 69
Input scrclass.inc
SecNumDepth 3
# \DeclareCategory{Articles}
# Author: Jürgen Spitzmüller <spitz@lyx.org>
-Format 68
+Format 69
# Includes
Input scrartcl.layout
# KOMA scrbook textclass definition file.
# Bernd Rellermeyer <100.41728@germanynet.de>, 1998/7/11.
-Format 68
+Format 69
Input scrclass.inc
Input numreport.inc
# Labeling is now used also in non-KOMA classes
-Format 68
+Format 69
SecNumDepth 2
TocDepth 2
DefaultStyle Standard
# KOMA scrlettr textclass definition file.
# Bernd Rellermeyer <100.41728@germanynet.de>, 1999/2/17.
-Format 68
+Format 69
Style Standard
Category MainText
LatexName dummy
# Juergen Spitzmueller <spitz@lyx.org>, 2003/2/17.
# Uwe Stöhr <uwestoehr@web.de>, 2008/2/03.
-Format 68
+Format 69
Provides subscript 1
Style Standard
# KOMA scrreprt textclass definition file.
# Bernd Rellermeyer <100.41728@germanynet.de>, 1998/7/11.
-Format 68
+Format 69
Input scrclass.inc
Input numreport.inc
# Author: Jürgen Spitzmüller <spitz@lyx.org>
-Format 68
+Format 69
InsetLayout Flex:SectionBox
LyXType custom
# 1.4 2008-10-08 Günter Milde (use --Separator-- "look")
# 1.5 2011-06-09 Günter Milde (Use Flex insets)
-Format 68
+Format 69
Sides 1
Columns 1
#DescriptionEnd
#Author: Uwe Stöhr <uwestoehr@web.de>
-Format 68
+Format 69
AddToPreamble
% used for custom paragraph shapes
# Modified from amsart.layout May '08 by Andrew Corrigan <acorriga@gmu.edu>
-Format 68
+Format 69
Columns 1
Sides 2
PageStyle Headers
EndFont
TocLevel 1
IsTocCaption 0
+ Argument listpreamble:1
+ LabelString "Bib preamble"
+ MenuString "Bibiography Preamble"
+ Tooltip "LaTeX code to be inserted before the first bibliography item"
+ PassThru 1
+ Font
+ Family typewriter
+ Color latex
+ EndFont
+ EndArgument
End
NoStyle Chapter
# ACM style files can be obtained at
# http://www.acm.org/sigs/pubs/proceed/template.html
-Format 68
+Format 69
Columns 1
Sides 1
# Author : Jean-Marc Lasgouttes (Jean-Marc.Lasgouttes@inria.fr)
-Format 68
+Format 69
Columns 1
Sides 1
SecNumDepth -1
Margin Manual
LatexType Item_environment
LatexName topic
+ Argument listpreamble:1
+ LabelString "List preamble"
+ MenuString "List Preamble"
+ Tooltip "LaTeX code to be inserted before the first item"
+ PassThru 1
+ Font
+ Family typewriter
+ Color latex
+ EndFont
+ EndArgument
NextNoIndent 1
LabelSep xxx
ParSkip 0.4
Margin Static
LatexType Item_Environment
LatexName itemize
+ Argument listpreamble:1
+ LabelString "List preamble"
+ MenuString "List Preamble"
+ Tooltip "LaTeX code to be inserted before the first item"
+ PassThru 1
+ Font
+ Family typewriter
+ Color latex
+ EndFont
+ EndArgument
NextNoIndent 1
ToggleIndent Never
LeftMargin MMN
EndFont
TocLevel 1
IsTocCaption 0
+ Argument listpreamble:1
+ LabelString "Bib preamble"
+ MenuString "Bibiography Preamble"
+ Tooltip "LaTeX code to be inserted before the first bibliography item"
+ PassThru 1
+ Font
+ Family typewriter
+ Color latex
+ EndFont
+ EndArgument
End
# TeX templates are found at http://www.inderscience.com/mapper.php?id=64
#
# Read the definitions from article.layout
-Format 68
+Format 69
Input article.layout
# \DeclareCategory{Obsolete}
# Read the definitions from article.layout
-Format 68
+Format 69
Input article.layout
#
-Format 68
+Format 69
Columns 1
Sides 1
PageStyle Plain
# to be used with the spie.cls LaTex-style available at
# http://public.lanl.gov/kmh/spie/
-Format 68
+Format 69
Input stdclass.inc
NoStyle Chapter
# Author : Martin vermeer <martin.vermeer@hut.fi>
# Character Styles definition
-Format 68
+Format 69
# Error fallback:
InsetLayout Flex
# Author: Richard Heck <rgheck@comcast.net>
# Jürgen Spitzmüller <spitz@lyx.org>
-Format 68
+Format 69
CiteFormat default
#
# ``standard'' layouts, like article and friends.
-Format 68
+Format 69
Columns 1
Sides 1
SecNumDepth 2
# in most LyX layouts.
-Format 68
+Format 69
Counter part
LabelString "\Roman{part}"
PrettyFormat "Part \Roman{part}"
# Author : Martin vermeer <martin.vermeer@tkk.fi>
# Custom Inset layouts definition
-Format 68
+Format 69
# Error fallback:
InsetLayout "Flex:Custom"
# This defines the names used by common Float types.
-Format 68
+Format 69
OutlinerName table "Tables"
OutlinerName figure "Figures"
# in most LyX layouts.
-Format 68
+Format 69
Input stdfloatnames.inc
#
# Detailed format description is available in the customization manual
-Format 68
+Format 69
Provides stdinsets 1
# quotations and such.
-Format 68
+Format 69
Style Quotation
Category MainText
# Heavily modifed and enhanced by several developers.
-Format 68
+Format 69
Columns 1
Sides 1
PageStyle Empty
# This include files contains various standard environments for lists.
-Format 68
+Format 69
Input stdlyxlist.inc
LabelString "Custom Item|s"
Tooltip "A customized item string"
EndArgument
+ Argument listpreamble:1
+ LabelString "List preamble"
+ MenuString "List Preamble"
+ Tooltip "LaTeX code to be inserted before the first item"
+ PassThru 1
+ Font
+ Family typewriter
+ Color latex
+ EndFont
+ EndArgument
End
LabelString "Custom Item|s"
Tooltip "A customized item string"
EndArgument
+ Argument listpreamble:1
+ LabelString "List preamble"
+ MenuString "List Preamble"
+ Tooltip "LaTeX code to be inserted before the first item"
+ PassThru 1
+ Font
+ Family typewriter
+ Color latex
+ EndFont
+ EndArgument
End
Style Description
HTMLStyle
dl.description dt { font-weight: bold; }
EndHTMLStyle
+ Argument listpreamble:1
+ LabelString "List preamble"
+ MenuString "List Preamble"
+ Tooltip "LaTeX code to be inserted before the first item"
+ PassThru 1
+ Font
+ Family typewriter
+ Color latex
+ EndFont
+ EndArgument
End
# The special "LyXList". Separated out for inclusion where the
# whole of stdlist.inc is not needed.
-Format 68
+Format 69
Style Labeling
Category List
AlignPossible Block, Left
LabelType Manual
LabelString "00.00.0000"
+ Argument listpreamble:1
+ LabelString "List preamble"
+ MenuString "List Preamble"
+ Tooltip "LaTeX code to be inserted before the first item"
+ PassThru 1
+ Font
+ Family typewriter
+ Color latex
+ EndFont
+ EndArgument
HTMLTag ol
HTMLAttr class='lyxlist'
HTMLItem li
# in stdclass.inc, so any file that includes either of these will get
# the standard RefPrefix definitions.
-Format 68
+Format 69
ModifyStyle Part
RefPrefix part
# commands that are useful for article-like document classes, but not
# for letters.
-Format 68
+Format 69
Style Part
Category Sectioning
# modifying the style of the regular sectioning layouts.
-Format 68
+Format 69
Style Part*
CopyStyle Part
Category Unnumbered
# a document, like abstract, bibliography and such.
-Format 68
+Format 69
Style Abstract
Margin Static
LatexType Environment
EndHTMLStyle
TocLevel 1
ISTocCaption 0
+ Argument listpreamble:1
+ LabelString "Bib preamble"
+ MenuString "Bibiography Preamble"
+ Tooltip "LaTeX code to be inserted before the first bibliography item"
+ PassThru 1
+ Font
+ Family typewriter
+ Color latex
+ EndFont
+ EndArgument
End
# a document, like title, author and such.
-Format 68
+Format 69
Style Title
# Author: Joel A. Kulesza (jkulesza@gmail.com)
-Format 68
+Format 69
InsetLayout Flex:Subequations
LyxType custom
# see http://www.springer.com/authors for class files and further instructions
-Format 68
+Format 69
PageStyle Plain
EndFont
TocLevel 0
IsTocCaption 0
+ Argument listpreamble:1
+ LabelString "Bib preamble"
+ MenuString "Bibiography Preamble"
+ Tooltip "LaTeX code to be inserted before the first bibliography item"
+ PassThru 1
+ Font
+ Family typewriter
+ Color latex
+ EndFont
+ EndArgument
End
Style Description
# see www.springer.de/author/tex/help-journals.html for class files
-Format 68
+Format 69
Input svcommon.inc
NoStyle Front_Matter
#
# see ftp://ftp.springer.de/pub/tex/latex/svjour3/ for class files
-Format 68
+Format 69
Input svcommon.inc
# see www.springer.de/author/tex/help-journals.html for class files
-Format 68
+Format 69
Input svcommon.inc
NoStyle Front_Matter
# Class and style files and templates are found at:
# http://wiki.lyx.org/Examples/Springer
#
-Format 68
+Format 69
Input svcommon.inc
TocDepth 2
# Class and style files and templates are found at:
# http://wiki.lyx.org/Examples/Springer
#
-Format 68
+Format 69
Input svcommon.inc
# see www.springer.de/author/tex/help-journals.html for class files
-Format 68
+Format 69
Input svcommon.inc
NoStyle Front_Matter
#Category: literate
#Excludes: lilypond
-Format 68
+Format 69
Input litinsets.inc
#the section number to the table number, as in 'Table 2.1'.
#DescriptionEnd
-Format 68
+Format 69
Requires amsmath
# Author : Koji Yokota (yokota6@gmail.com)1
# This style provides japanese features
-Format 68
+Format 69
Provides japanese 1
# Input general definitions
# Author : Koji Yokota (yokota6@gmail.com)
# This style provides japanese features
-Format 68
+Format 69
Provides japanese 1
# Input general definitions
#Authors: Jürgen Spitzmüller
# Uwe Stöhr <uwestoehr@lyx.org>
-Format 68
+Format 69
InsetLayout Flex:Color_Box
LyXType custom
# - Case (by inclusion)
# We need separate counters for each theorem-like style.
-Format 68
+Format 69
Counter theorem
End
Counter corollary
# Modularized Jan 08 by Richard Heck <rgheck@comcast.net>
# Hacked June '09 by Paul Rubin <rubin@msu.edu> to use separate counters
-Format 68
+Format 69
Requires amsmath,amsthm
# We need separate counters for each theorem-like style.
-Format 68
+Format 69
Counter theorem
End
Counter corollary
# Hacked June '09 by Paul Rubin <rubin@msu.edu> to use separate counters
# Chapter dependence added Oct '16 by Andrew Parsloe <aparsloe@clear.net.nz>
-Format 68
+Format 69
Requires amsmath,amsthm
# Modularized Jan 08 by Richard Heck <rgheck@comcast.net>
# Hacked June '09 by Paul Rubin <rubin@msu.edu> to use separate counters
-Format 68
+Format 69
Requires amsmath
# Hacked June '09 by Paul Rubin <rubin@msu.edu> to use separate counters
# Chapter dependence added Oct '16 by Andrew Parsloe <aparsloe@clear.net.nz>
-Format 68
+Format 69
Requires amsmath
# Tinkered with Sep. '07 by Paul Rubin <rubin@msu.edu>
# Modularized Jan 08 by Richard Heck <rgheck@comcast.net>
-Format 68
+Format 69
Requires amsmath
# - Proof
# - Case (by inclusion)
-Format 68
+Format 69
OutlinerName thm "Definitions & Theorems"
# Tinkered with Sep. '07 by Paul Rubin <rubin@msu.edu>
# Modularized Jan 08 by Richard Heck <rgheck@comcast.net>
-Format 68
+Format 69
Requires amsmath,amsthm
# - Proof
# - Case (by inclusion)
-Format 68
+Format 69
Style Theorem
Category Reasoning
# Author: Paul Rubin <rubin@msu.edu> (hacked from Richard Heck's theorems-std.module)
-Format 68
+Format 69
# We need separate counters for each theorem-like style.
Counter theorem
# Define Case as an enumeration environment
# with its own counters
-Format 68
+Format 69
Counter casei
LabelString "Case \arabic{casei}."
Style Case
Category Reasoning
-
Margin Static
LatexType Item_Environment
LatexName casenv
HTMLItem li
HTMLLabel NONE
RefPrefix enu
+ Argument listpreamble:1
+ LabelString "List preamble"
+ MenuString "List Preamble"
+ Tooltip "LaTeX code to be inserted before the first item"
+ PassThru 1
+ Font
+ Family typewriter
+ Color latex
+ EndFont
+ EndArgument
Argument item:1
LabelString "Custom Item|s"
Tooltip "A customized item string"
# Author: Paul Rubin <rubin@msu.edu> (hacked from Richard Heck's various modules)
-Format 68
+Format 69
# We need separate counters for each theorem-like style.
Counter theorem
# Author: Richard Heck <rgheck@comcast.net>
-Format 68
+Format 69
Counter theorem
Within chapter
#DescriptionEnd
#Original Author: John Perry
-Format 68
+Format 69
ProvideStyle Theorem*
Category Reasoning
# Sets the order of the main theorem environments
# Author: Richard Heck
-Format 68
+Format 69
#Get the order right
Style Theorem
# Moved here by rgheck. Original author cloudy.
-Format 68
+Format 69
#This is just a hacked version of the AMS proof environment
Style Proof
# Tinkered with Sep. '07 by Paul Rubin <rubin@msu.edu>
# Modularized Jan 08 by Richard Heck <rgheck@comcast.net>
-Format 68
+Format 69
Style Proof
Category Reasoning
# Reference prefixes for theorem environments
-Format 68
+Format 69
ModifyStyle Theorem
RefPrefix thm
# Author: Paul Rubin <rubin@msu.edu> (hacked from Richard Heck's various modules)
-Format 68
+Format 69
# We need separate counters for each theorem-like style.
Counter theorem
# Author: Richard Heck <rgheck@comcast.net>
-Format 68
+Format 69
Counter theorem
Within section
# Sets the order of the main theorem environments
# Author: Richard Heck
-Format 68
+Format 69
Style Theorem
CopyStyle Theorem*
# - Claim
# - Proof
-Format 68
+Format 69
OutlinerName thm "Definitions & Theorems"
# Author: Richard Heck <rgheck@comcast.net>
-Format 68
+Format 69
Input theorems-order.inc
Input theorems-starred.inc
# Author: Richard Heck <rgheck@comcast.net>
-Format 68
+Format 69
Counter theorem
End
# - Note
-Format 68
+Format 69
OutlinerName thm "Definitions & Theorems"
# - Claim
# - Case (by inclusion)
-Format 68
+Format 69
OutlinerName thm "Definitions & Theorems"
# Authors: Stephen <stephen4mailinglists@googlemail.com>
# Jürgen Spitzmüller <spitz@lyx.org>
-Format 68
+Format 69
OutlinerName todonotes "TODO"
# Author : Koji Yokota (yokota@res.otaru-uc.ac.jp)
# This style provides japanese features
-Format 68
+Format 69
Provides japanese 1
# Input general definitions
# Jason Waskiewicz <jason.waskiewicz@sendit.nodak.edu>, 2009/10/18
# Modified by Uwe Stöhr <uwestoehr@web.de>, 2009/11/15
-Format 68
+Format 69
Provides geometry 1
Provides natbib-internal 1
# Juergen Spitzmueller <juergen@spitzmueller.org>, 2008/10/22
# Modified by Uwe Stöhr <uwestoehr@web.de>, 2009/11/15
-Format 68
+Format 69
# import other layouts
Input stdlayouts.inc
# Authors: Guillaume Munch <gm@lyx.org>
# Jürgen Spitzmüller <spitz@lyx.org>
-Format 68
+Format 69
InsetLayout Flex:Minipage_(Var._Width)
LyXType custom
# Uncomment only what you need to import, please.
from parser_tools import (count_pars_in_inset, find_end_of_inset, find_end_of_layout,
- find_token, find_re, get_bool_value, get_option_value, get_value, get_quoted_value)
+ find_token, find_re, get_bool_value, get_containing_layout,
+ get_option_value, get_value, get_quoted_value)
# del_token, del_value, del_complete_lines,
# find_complete_lines, find_end_of,
# find_re, find_substring, find_token_backwards,
-# get_containing_inset, get_containing_layout,
+# get_containing_inset,
# is_in_inset, set_bool_value
# find_tokens, find_token_exact, check_token
i = i + 1
+def revert_listpargs(document):
+ " Reverts listpreamble arguments to TeX-code "
+ i = 0
+ while True:
+ i = find_token(document.body, "\\begin_inset Argument listpreamble:", i)
+ if i == -1:
+ return
+ j = find_end_of_inset(document.body, i)
+ # Find containing paragraph layout
+ parent = get_containing_layout(document.body, i)
+ if parent == False:
+ document.warning("Malformed LyX document: Can't find parent paragraph layout")
+ i += 1
+ continue
+ parbeg = parent[3]
+ beginPlain = find_token(document.body, "\\begin_layout Plain Layout", i)
+ endPlain = find_end_of_layout(document.body, beginPlain)
+ content = document.body[beginPlain + 1 : endPlain]
+ del document.body[i:j+1]
+ subst = ["\\begin_inset ERT", "status collapsed", "", "\\begin_layout Plain Layout",
+ "{"] + content + ["}", "\\end_layout", "", "\\end_inset", ""]
+ document.body[parbeg : parbeg] = subst
+ i += 1
+
+
##
# Conversion hub
#
[559, []],
[560, []],
[561, [convert_dejavu]],
- [562, []]
+ [562, []],
+ [563, []]
]
revert = [
+ [562, [revert_listpargs]],
[561, [revert_l7ninfo]],
[560, [revert_dejavu]],
[559, [revert_timeinfo, revert_namenoextinfo]],
# This script will update a .layout file to current format
# The latest layout format is also defined in src/TextClass.cpp
-currentFormat = 68
+currentFormat = 69
# Incremented to format 4, 6 April 2007, lasgouttes
# Incremented to format 68, 21 May 2018 by spitz
# New Layout tag "AddToCiteEngine"
+# Incremented to format 69, 16 August 2018 by spitz
+# New argument type "listpreamble"
+
# Do not forget to document format change in Customization
# Manual (section "Declaring a new text class").
i += 1
continue
- if format >= 65 and format <= 67:
+ if format >= 65 and format <= 68:
# nothing to do.
i += 1
continue
latexargs_.clear();
itemargs_.clear();
postcommandargs_.clear();
+ listpreamble_.clear();
}
break;
latexarg arg;
// writeArgument() makes use of these default values
arg.mandatory = false;
+ arg.nodelims = false;
arg.autoinsert = false;
arg.insertcotext = false;
bool error = false;
lex >> id;
bool const itemarg = prefixIs(id, "item:");
bool const postcmd = prefixIs(id, "post:");
+ bool const listpreamble = prefixIs(id, "listpreamble:");
while (!finished && lex.isOK() && !error) {
lex.next();
itemargs_[id] = arg;
else if (postcmd)
postcommandargs_[id] = arg;
- else
+ else if (listpreamble) {
+ // list preamble has no delimiters by default
+ arg.nodelims = true;
+ listpreamble_[id] = arg;
+ } else
latexargs_[id] = arg;
}
for (LaTeXArgMap::const_iterator it = postcommandargs_.begin();
it != postcommandargs_.end(); ++it)
writeArgument(os, it->first, it->second);
+ for (LaTeXArgMap::const_iterator it = listpreamble_.begin();
+ it != listpreamble_.end(); ++it)
+ writeArgument(os, it->first, it->second);
os << "\tNeedProtect " << needprotect << "\n"
"\tNeedCProtect " << needcprotect << "\n"
"\tKeepEmpty " << keepempty << '\n';
bool Layout::hasArgs() const
{
return !latexargs_.empty() || !postcommandargs_.empty() ||
- !itemargs_.empty();
+ !itemargs_.empty() || !listpreamble_.empty();
}
LaTeXArgMap args = latexargs_;
if (!postcommandargs_.empty())
args.insert(postcommandargs_.begin(), postcommandargs_.end());
+ if (!listpreamble_.empty())
+ args.insert(listpreamble_.begin(), listpreamble_.end());
if (!itemargs_.empty())
args.insert(itemargs_.begin(), itemargs_.end());
return args;
docstring labelstring;
docstring menustring;
bool mandatory;
+ bool nodelims;
docstring ldelim;
docstring rdelim;
docstring defaultarg;
///
LaTeXArgMap const & postcommandargs() const { return postcommandargs_; }
///
+ LaTeXArgMap const & listpreamble() const { return listpreamble_; }
+ ///
LaTeXArgMap const & itemargs() const { return itemargs_; }
/// Returns true is the layout has arguments. If false, then an
/// InsetArgument in this layout stands for the parent InsetText.
///
LaTeXArgMap postcommandargs_;
///
+ LaTeXArgMap listpreamble_;
+ ///
LaTeXArgMap itemargs_;
///
bool add_to_toc_;
// You should also run the development/tools/updatelayouts.py script,
// to update the format of all of our layout files.
//
-int const LAYOUT_FORMAT = 68; //spitz: New layout tag AddToCiteEngine
+int const LAYOUT_FORMAT = 69; //spitz: New argument type listpreamble
// Layout format for the current lyx file format. Controls which format is
runparams.pass_thru = isPassThru();
InsetText::latex(ots, runparams);
TexString ts = ots.release();
- bool const add_braces = ldelim != "{" && support::contains(ts.str, rdelim);
+ bool const add_braces = !ldelim.empty() && ldelim != "{"
+ && support::contains(ts.str, rdelim);
os << ldelim;
if (add_braces)
os << '{';
<< "}\n";
} else
os << from_ascii(style.latexparam()) << '\n';
+ if (style.latextype == LATEX_BIB_ENVIRONMENT
+ || style.latextype == LATEX_ITEM_ENVIRONMENT
+ || style.latextype == LATEX_LIST_ENVIRONMENT) {
+ OutputParams rp = runparams;
+ rp.local_font = &pit->getFirstFontSettings(bparams);
+ latexArgInsets(paragraphs, pit, os, rp, style.listpreamble(),
+ "listpreamble:");
+ }
}
data.style = &style;
latexargs.find(ins->name());
if (lait != latexargs.end()) {
Layout::latexarg arg = (*lait).second;
- docstring ldelim = arg.mandatory ?
+ docstring ldelim;
+ docstring rdelim;
+ if (!arg.nodelims) {
+ ldelim = arg.mandatory ?
from_ascii("{") : from_ascii("[");
- docstring rdelim = arg.mandatory ?
+ rdelim = arg.mandatory ?
from_ascii("}") : from_ascii("]");
+ }
if (!arg.ldelim.empty())
ldelim = arg.ldelim;
if (!arg.rdelim.empty())
rdelim = arg.rdelim;
ins->latexArgument(os, runparams, ldelim, rdelim, arg.presetarg);
+ if (prefix == "listpreamble:")
+ os << breakln;
inserted = true;
}
}
556 Bib files encoding
\begin_inset CommandInset bibtex Biblatex: bibencoding=<encoding> [latex name]
encoding=<encoding> [lyx name] BibTeX: \bgroup\inputencoding{<encoding>}...\egroup
+563 InsetArgument listpreamble:<nr> All content between \begin{env} and first \item of a list
// Do not remove the comment below, so we get merge conflict in
// independent branches. Instead add your own.
-#define LYX_FORMAT_LYX 562 // spitz: l7n info inset
-#define LYX_FORMAT_TEX2LYX 562
+#define LYX_FORMAT_LYX 563 // spitz: listpreamble arguments
+#define LYX_FORMAT_TEX2LYX 563
#if LYX_FORMAT_TEX2LYX != LYX_FORMAT_LYX
#ifndef _MSC_VER