X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Fstdlists.inc;h=182c4f34ececbbd487bb800621669d0a186c8bb4;hb=b474aa5d4d8437eef35c751c7cfb9b6a30e7ee97;hp=d4beb4ae9f93784d7e6c424b9f1ecfcbb4653e20;hpb=062db8b67960a544687179188a861ad8de5defa3;p=lyx.git diff --git a/lib/layouts/stdlists.inc b/lib/layouts/stdlists.inc index d4beb4ae9f..182c4f34ec 100644 --- a/lib/layouts/stdlists.inc +++ b/lib/layouts/stdlists.inc @@ -1,4 +1,3 @@ - # Standard textclass definition file. Taken from initial LyX source code # Author : Matthias Ettrich # Transposed by Pascal André @@ -7,13 +6,17 @@ # This include files contains various standard environments for lists. -Format 11 +Format 63 + +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 @@ -23,9 +26,13 @@ Style Itemize Align Block AlignPossible Block, Left LabelType Itemize - LabelString "*" HTMLTag ul HTMLItem li + HTMLLabel NONE + Argument item:1 + LabelString "Custom Item|s" + Tooltip "A customized item string" + EndArgument End @@ -35,6 +42,7 @@ Style Enumerate LatexType Item_Environment LatexName enumerate NextNoIndent 1 + ToggleIndent Never LeftMargin MMN LabelSep xx ParSkip 0.0 @@ -48,6 +56,12 @@ Style Enumerate LabelCounter "enum" HTMLTag ol HTMLItem li + HTMLLabel NONE + RefPrefix enu + Argument item:1 + LabelString "Custom Item|s" + Tooltip "A customized item string" + EndArgument End Style Description @@ -66,54 +80,20 @@ Style Description Align Block AlignPossible Block, Left LabelType Manual - LabelString "MM" LabelFont Series Bold EndFont HTMLTag dl + HTMLAttr class='description' HTMLItem dd HTMLLabel dt + HTMLLabelFirst 1 + HTMLStyle + dl.description dt { font-weight: bold; } + EndHTMLStyle End Style List - Category 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" - HTMLTag ol - HTMLAttr class='lyxlist' - HTMLItem li - HTMLLabel span - HTMLLabelAttr class='lyxlist' - - #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 - - HTMLStyle - ol.lyxlist { - list-style-type: none; - } - span.lyxlist { - margin-right: 3em; - } - EndHTMLStyle + Obsoletedby Labeling End