X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Fstdlists.inc;h=0eef65c665a9ead0e7b168ffe01ab68898722991;hb=761648b1f7d1df9de87921143b8004b6d3dd21e9;hp=7d0c33be77cca2fb80605d825f16edadffa8ee9b;hpb=12d02d04b2b26bdd49ca8dfcc0c53529c8a20f9d;p=lyx.git diff --git a/lib/layouts/stdlists.inc b/lib/layouts/stdlists.inc index 7d0c33be77..0eef65c665 100644 --- a/lib/layouts/stdlists.inc +++ b/lib/layouts/stdlists.inc @@ -1,17 +1,22 @@ - # Standard textclass definition file. Taken from initial LyX source code # Author : Matthias Ettrich -# Transposed by Pascal André +# Transposed by Pascal André # Heavily modifed and enhanced by several developers. # This include files contains various standard environments for lists. -# Itemize style definition + +Format 82 + +Input stdlyxlist.inc + Style Itemize + Category List Margin Static LatexType Item_Environment LatexName itemize NextNoIndent 1 + ToggleIndent Never LeftMargin MMN LabelSep xx ItemSep 0.2 @@ -20,16 +25,37 @@ Style Itemize ParSep 0.3 Align Block AlignPossible Block, Left - LabelType Static - LabelString * + LabelType Itemize + HTMLTag ul + HTMLItem li + HTMLLabel NONE + Argument item:1 + 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 + DocBookTag itemizedlist + DocBookItemTag listitem + DocBookItemInnerTag para End -# Enumerate style definition + Style Enumerate + Category List Margin Static LatexType Item_Environment LatexName enumerate NextNoIndent 1 + ToggleIndent Never LeftMargin MMN LabelSep xx ParSkip 0.0 @@ -39,11 +65,33 @@ Style Enumerate ParSep 0.3 Align Block AlignPossible Block, Left - LabelType Counter_EnumI + LabelType Enumerate + LabelCounter "enum" + HTMLTag ol + HTMLItem li + HTMLLabel NONE + RefPrefix enu + Argument item:1 + 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 + DocBookTag orderedlist + DocBookItemTag listitem + DocBookItemInnerTag para End -# Description style definition Style Description + Category List Margin First_Dynamic LatexType Item_environment LatexName description @@ -58,98 +106,35 @@ Style Description Align Block AlignPossible Block, Left LabelType Manual - LabelString MM - - # label font definition - LabelFont + LabelFont Series Bold EndFont -End - -# List style definition -Style List - Margin Manual - LatexType List_Environment - LatexName lyxlist - NextNoindent 1 - LabelSep xxx - ParSkip 0.4 - TopSep 0.7 - BottomSep 0.7 - ParSep 0.5 - Align Block - AlignPossible Block, Left - LabelType Manual - LabelString 00.00.0000 - - #define the environment lyxlist - Preamble - \newenvironment{lyxlist}[1] - {\begin{list}{} - {\settowidth{\labelwidth}{#1} - \setlength{\leftmargin}{\labelwidth} - \addtolength{\leftmargin}{\labelsep} - \renewcommand{\makelabel}[1]{##1\hfil}}} - {\end{list}} - EndPreamble - + HTMLTag dl + HTMLAttr class='description' + HTMLItem dd + HTMLLabel dt + HTMLLabelFirst 1 + 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 + DocBookTag variablelist + DocBookItemWrapperTag varlistentry + DocBookItemTag listitem + DocBookItemInnerTag para + DocBookItemLabelTag term End - -Style Bibliography - Margin Static - LatexType Bib_Environment - LatexName thebibliography - NextNoIndent 1 - LeftMargin MMN - LabelSep xx - ParSkip 0.0 - ItemSep 0.2 - TopSep 0.7 - BottomSep 0.7 - ParSep 0.3 - Align Block - AlignPossible Block, Left - LabelType Counter_EnumI +Style List + Obsoletedby Labeling End - - -# -# New environments (not active yet) -# -#Environment Itemize -# LaTeXHeader "\begin{itemize}" -# LaTeXFooter "\end{itemize}" -# LabelString * -# Margin Static -# LatexType Item_Environment -# NextNoIndent 1 -# LeftMargin MMN -# LabelSep xx -# ItemSep 0.2 -# TopSep 0.7 -# BottomSep 0.7 -# ParSep 0.3 -# Align Block -# AlignPossible Block, Left -# LabelType Static -#End - -#Environment Enumerate -# Margin Static -# LatexType Item_Environment -# LatexName enumerate -# NextNoIndent 1 -# LeftMargin MMN -# LabelSep xx -# ParSkip 0.0 -# ItemSep 0.2 -# TopSep 0.7 -# BottomSep 0.7 -# ParSep 0.3 -# Align Block -# AlignPossible Block, Left -# LabelType Counter_EnumI -#End -