From a0a6ee87f50900c9da58b180c5a38b66a6976dd5 Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Sun, 17 Apr 2011 00:51:03 +0000 Subject: [PATCH] Forgot new file. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38424 a592a061-630c-0410-9148-cb99ea01b6c8 --- lib/layouts/stdlyxlist.inc | 50 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 lib/layouts/stdlyxlist.inc diff --git a/lib/layouts/stdlyxlist.inc b/lib/layouts/stdlyxlist.inc new file mode 100644 index 0000000000..b0a102847b --- /dev/null +++ b/lib/layouts/stdlyxlist.inc @@ -0,0 +1,50 @@ +# The special "LyXList". Separated out for inclusion where the +# whole of stdlist.inc is not needed. + +Format 35 + +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 -- 2.39.5