lyx_mirror/lib/layouts/stdlyxlist.inc
Juergen Spitzmueller bbf287a3c6 Allow for cite engine and format definitions/modifications in layouts
Now layout files and modules can extend the cite engines or completely
overwrite them, and modify the cite formats.

Any CiteEngine definition in a layout/module will completely overwrite
those by cite engine files.

AddToCiteEngine will extend them (add if they do not exist yet).

Any CiteFormat definition in a layout will be preferred to those in cite
engines. CiteFormat definitions that are not touched by the former are
still active, though (so, as opposed to CiteEngine, a CiteFormat does
not completely overwrite those by the engine files).

Layout format change.
2018-05-21 12:46:53 +02:00

51 lines
1.1 KiB
PHP

# The special "LyXList". Separated out for inclusion where the
# whole of stdlist.inc is not needed.
Format 68
Style Labeling
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;
}
li.labeling_item {
text-indent: -5em;
margin-left: 5em;
}
span.lyxlist {
margin-right: 1em;
}
EndHTMLStyle
End