# Standard textclass definition file. Taken from initial LyX source code
# Author : Matthias Ettrich <ettrich@informatik.uni-tuebingen.de>
-# Transposed by Pascal André <andre@via.ecp.fr>
+# Transposed by Pascal André <andre@via.ecp.fr>
# Heavily modifed and enhanced by several developers.
# This include files contains various standard environments for lists.
-# Itemize style definition
+
+Format 34
+
Style Itemize
+ Category List
Margin Static
LatexType Item_Environment
LatexName itemize
ParSep 0.3
Align Block
AlignPossible Block, Left
- LabelType Static
- LabelString *
+ LabelType Itemize
+ LabelString "*"
+ HTMLTag ul
+ HTMLItem li
+ HTMLLabel NONE
End
-# Enumerate style definition
+
Style Enumerate
+ Category List
Margin Static
LatexType Item_Environment
LatexName enumerate
ParSep 0.3
Align Block
AlignPossible Block, Left
- LabelType Counter_EnumI
+ LabelType Enumerate
+ LabelCounter "enum"
+ HTMLTag ol
+ HTMLItem li
+ HTMLLabel NONE
+ RefPrefix enu
End
-# Description style definition
Style Description
+ Category List
Margin First_Dynamic
LatexType Item_environment
LatexName description
Align Block
AlignPossible Block, Left
LabelType Manual
- LabelString MM
-
- # label font definition
- LabelFont
+ 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
-# List style definition
-Style List
+
+Style Labeling
+ Category List
Margin Manual
LatexType List_Environment
LatexName lyxlist
Align Block
AlignPossible Block, Left
LabelType Manual
- LabelString 00.00.0000
+ 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}}
+ \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;
+ }
+ li.labeling_item {
+ text-indent: -5em;
+ margin-left: 5em;
+ }
+ span.lyxlist {
+ margin-right: 1em;
+ }
+ EndHTMLStyle
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
-