From: Uwe Stöhr Date: Tue, 19 Jul 2011 17:51:16 +0000 (+0000) Subject: remove the file enumitem.lyx: its content is now part of the UserGuide X-Git-Tag: 2.0.1~86 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=47a279dd93498d9e851078de2ab3a98e0819a45d;p=features.git remove the file enumitem.lyx: its content is now part of the UserGuide git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39348 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/development/scons/scons_manifest.py b/development/scons/scons_manifest.py index 38808d6754..99b369880f 100644 --- a/development/scons/scons_manifest.py +++ b/development/scons/scons_manifest.py @@ -2523,7 +2523,6 @@ lib_examples_files = Split(''' CV-image.eps CV-image.png docbook_article.lyx - enumitem.lyx europeCV.lyx example_lyxified.lyx example_raw.lyx diff --git a/lib/Makefile.am b/lib/Makefile.am index a85d12b8c9..9c3d46ce09 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -249,7 +249,6 @@ dist_examples_DATA = \ examples/chess-article.lyx \ examples/chessgame.lyx \ examples/docbook_article.lyx \ - examples/enumitem.lyx \ examples/europeCV.lyx \ examples/example_lyxified.lyx \ examples/example_raw.lyx \ diff --git a/lib/examples/enumitem.lyx b/lib/examples/enumitem.lyx deleted file mode 100644 index dd431ffef3..0000000000 --- a/lib/examples/enumitem.lyx +++ /dev/null @@ -1,571 +0,0 @@ -#LyX 2.0 created this file. For more info see http://www.lyx.org/ -\lyxformat 413 -\begin_document -\begin_header -\textclass scrartcl -\use_default_options false -\begin_modules -enumitem -\end_modules -\maintain_unincluded_children false -\language english -\language_package default -\inputencoding auto -\fontencoding global -\font_roman lmodern -\font_sans lmss -\font_typewriter lmtt -\font_default_family default -\use_non_tex_fonts false -\font_sc false -\font_osf false -\font_sf_scale 100 -\font_tt_scale 100 - -\graphics default -\default_output_format default -\output_sync 0 -\bibtex_command default -\index_command default -\paperfontsize default -\spacing single -\use_hyperref true -\pdf_bookmarks true -\pdf_bookmarksnumbered true -\pdf_bookmarksopen true -\pdf_bookmarksopenlevel 1 -\pdf_breaklinks false -\pdf_pdfborder true -\pdf_colorlinks false -\pdf_backref section -\pdf_pdfusetitle true -\papersize default -\use_geometry false -\use_amsmath 1 -\use_esint 1 -\use_mhchem 1 -\use_mathdots 1 -\cite_engine basic -\use_bibtopic false -\use_indices false -\paperorientation portrait -\suppress_date false -\use_refstyle 0 -\index Index -\shortcut idx -\color #008000 -\end_index -\secnumdepth 3 -\tocdepth 3 -\paragraph_separation skip -\defskip medskip -\quotes_language english -\papercolumns 1 -\papersides 1 -\paperpagestyle default -\tracking_changes false -\output_changes false -\html_math_output 0 -\html_css_as_file 0 -\html_be_strict false -\end_header - -\begin_body - -\begin_layout Title -The enumitem Module -\end_layout - -\begin_layout Standard -\begin_inset CommandInset toc -LatexCommand tableofcontents - -\end_inset - - -\end_layout - -\begin_layout Standard -\begin_inset VSpace bigskip -\end_inset - - -\end_layout - -\begin_layout Standard -The -\family sans -enumitem -\family default - module provides customisable list styles using the -\begin_inset CommandInset href -LatexCommand href -name "enumitem LaTeX package" -target "http://dante.ctan.org/CTAN/help/Catalogue/entries/enumitem.html" - -\end_inset - -. -\end_layout - -\begin_layout Section -Lists with optional arguments -\end_layout - -\begin_layout Standard -Itemize, Enumeration, and Description lists may have an optional arguments. - If the optional argument contains special characters (e. -\begin_inset space \thinspace{} -\end_inset - -g. -\begin_inset space ~ -\end_inset - -the backslash), put it in a TeX Code box. -\end_layout - -\begin_layout Enumerate -\begin_inset Argument -status open - -\begin_layout Plain Layout -\begin_inset ERT -status open - -\begin_layout Plain Layout - -labelindent= -\backslash -parindent,leftmargin=*,label= -\backslash -Roman*.,widest=IV,align=left -\end_layout - -\end_inset - - -\end_layout - -\end_inset - - An enumeration -\end_layout - -\begin_layout Enumerate -with left-aligned roman -\end_layout - -\begin_layout Enumerate -numbering -\end_layout - -\begin_layout Enumerate -1of items. -\end_layout - -\begin_layout Standard -Enumerating with -\begin_inset Quotes eld -\end_inset - -Spanish layout -\begin_inset Quotes erd -\end_inset - -: italic letters followed by ) -\end_layout - -\begin_layout Enumerate -\begin_inset Argument -status open - -\begin_layout Plain Layout -\begin_inset ERT -status open - -\begin_layout Plain Layout - -label= -\backslash -emph{ -\backslash -alph*}) -\end_layout - -\end_inset - - -\end_layout - -\end_inset - - first item -\end_layout - -\begin_layout Enumerate -second item -\end_layout - -\begin_layout Standard -Enumeration starting at a given value: -\end_layout - -\begin_layout Enumerate -\begin_inset Argument -status open - -\begin_layout Plain Layout -start=4 -\end_layout - -\end_inset - - This enumeration -\end_layout - -\begin_layout Enumerate -starts at 4. -\end_layout - -\begin_layout Standard -Description with emphasized (instead of bold) label and left margin 1.5 - em: -\end_layout - -\begin_layout Description -Ionizing -\begin_inset space ~ -\end_inset - -radiation: -\begin_inset Argument -status open - -\begin_layout Plain Layout -leftmargin=1.5em, -\begin_inset ERT -status open - -\begin_layout Plain Layout - -font= -\backslash -itshape -\backslash -mdseries -\end_layout - -\end_inset - - -\end_layout - -\end_inset - - Ionizing radiation consists of particles or electromagnetic waves that - are energetic enough to detach electrons from atoms or molecules, therefore - ionizing them. -\end_layout - -\begin_layout Description -Reference -\begin_inset space ~ -\end_inset - -counting: In computer science, reference counting is a technique of storing - the number of references, pointers, or handles to a resource such as an - object, block of memory, disk space or other resource. -\end_layout - -\begin_layout Standard -More details and examples in -\begin_inset CommandInset href -LatexCommand href -name "enumitem.pdf" -target "http://dante.ctan.org/CTAN/macros/latex/contrib/enumitem/enumitem.pdf" - -\end_inset - -. -\end_layout - -\begin_layout Section -Resume enumeration -\end_layout - -\begin_layout Standard -\begin_inset Note Note -status open - -\begin_layout Plain Layout - -\series bold -Note: -\series default - If there is no previous enumeration to resume, a latex error is thrown! -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Standard -Enumerations can be resumed after intermediate paragraphs: -\end_layout - -\begin_layout Enumerate -first -\end_layout - -\begin_layout Enumerate -second -\end_layout - -\begin_layout Standard -regular text -\end_layout - -\begin_layout Enumerate-Resume -resumed (the numbering is not continued in the LyX GUI but correct in the - LaTeX output). -\end_layout - -\begin_layout Standard -Nesting enumerations: -\end_layout - -\begin_layout Enumerate -depth 1 -\end_layout - -\begin_deeper -\begin_layout Enumerate -first -\end_layout - -\begin_deeper -\begin_layout Enumerate-Resume -resume without something to resume! (Works here.) -\end_layout - -\end_deeper -\begin_layout Enumerate -second -\end_layout - -\begin_deeper -\begin_layout Enumerate -with something nested inside -\end_layout - -\end_deeper -\begin_layout Standard -regular text -\end_layout - -\begin_layout Enumerate-Resume -resumed at depth 2 -\end_layout - -\end_deeper -\begin_layout Standard -regular text outside the list -\end_layout - -\begin_layout Section -Compact Lists -\end_layout - -\begin_layout Standard -There are keywords for more compact variants of the standard lists: -\end_layout - -\begin_layout Itemize -A bullet list -\end_layout - -\begin_layout Itemize -with standard spacing -\end_layout - -\begin_layout Standard -lorem ipsum -\end_layout - -\begin_layout Itemize -A bullet list -\begin_inset Argument -status open - -\begin_layout Plain Layout -nolistsep -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Itemize -with less -\end_layout - -\begin_layout Itemize -vertical space. - (nolistsep) -\end_layout - -\begin_layout Standard -lorem ipsum -\end_layout - -\begin_layout Itemize -A bullet list -\begin_inset Argument -status open - -\begin_layout Plain Layout -noitemsep -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Itemize -with less -\end_layout - -\begin_layout Itemize -vertical space. - (noitemsep) -\end_layout - -\begin_layout Standard -You can customize the itemset and listsep for all base lists in the LaTeX - preamble. - (Also per list type.) See -\begin_inset CommandInset href -LatexCommand href -name "enumitem.pdf" -target "http://dante.ctan.org/CTAN/macros/latex/contrib/enumitem/enumitem.pdf" - -\end_inset - -. -\end_layout - -\begin_layout Section -Customisable LyX-List/Labeling -\end_layout - -\begin_layout Standard -The LyX -\begin_inset Quotes eld -\end_inset - -List -\begin_inset Quotes erd -\end_inset - - style (or KOMA script -\begin_inset Quotes eld -\end_inset - -labeling -\begin_inset Quotes erd -\end_inset - -) is re-defined on the base of enumitems -\begin_inset Quotes eld -\end_inset - -description -\begin_inset Quotes erd -\end_inset - - to allow customisation like the base lists. -\end_layout - -\begin_layout Labeling -\labelwidthstring 00.00.0000 -nice description -\end_layout - -\begin_layout Labeling -\labelwidthstring 00.00.0000 -with several items and -\end_layout - -\begin_layout Labeling -\labelwidthstring 00.00.0000 -including -\begin_inset space ~ -\end_inset - -one -\begin_inset space ~ -\end_inset - -very -\begin_inset space ~ -\end_inset - -long -\begin_inset space ~ -\end_inset - -label at last. - -\end_layout - -\begin_layout Standard -It also takes an optional argument: -\end_layout - -\begin_layout Labeling -\labelwidthstring withNN -nice description -\begin_inset Argument -status open - -\begin_layout Plain Layout -style=nextline -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Labeling -\labelwidthstring withNN -with several items and -\end_layout - -\begin_layout Labeling -\labelwidthstring withNN -including -\begin_inset space ~ -\end_inset - -one -\begin_inset space ~ -\end_inset - -very -\begin_inset space ~ -\end_inset - -long -\begin_inset space ~ -\end_inset - -label and the item content starting at the next line. -\end_layout - -\end_body -\end_document