From 80754f825561b8a4f88478201ac9a55f1c775559 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Uwe=20St=C3=B6hr?= Date: Tue, 19 Jul 2011 05:11:12 +0000 Subject: [PATCH] - UserGuide.lyx: new section how to customize lists (description of the module enumitem) - remove the file enumitem.lyx: its content is now part of the UserGuide git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39344 a592a061-630c-0410-9148-cb99ea01b6c8 --- development/scons/scons_manifest.py | 1 - lib/Makefile.am | 1 - lib/doc/UserGuide.lyx | 1226 +++++++++++++++-------- lib/doc/de/UserGuide.lyx | 1290 ++++++++++++++++-------- lib/doc/es/UserGuide.lyx | 1398 ++++++++++++++++++-------- lib/doc/fr/UserGuide.lyx | 1397 ++++++++++++++++++-------- lib/doc/ja/UserGuide.lyx | 1411 +++++++++++++++++++-------- lib/examples/enumitem.lyx | 559 ----------- 8 files changed, 4683 insertions(+), 2600 deletions(-) delete mode 100644 lib/examples/enumitem.lyx diff --git a/development/scons/scons_manifest.py b/development/scons/scons_manifest.py index b793f25ec0..1a247f6e42 100644 --- a/development/scons/scons_manifest.py +++ b/development/scons/scons_manifest.py @@ -2549,7 +2549,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 32ae1fe1d4..5956d379b2 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/doc/UserGuide.lyx b/lib/doc/UserGuide.lyx index fe777525ac..4b15473dc7 100644 --- a/lib/doc/UserGuide.lyx +++ b/lib/doc/UserGuide.lyx @@ -60,6 +60,7 @@ \use_default_options false \begin_modules customHeadersFooters +enumitem \end_modules \maintain_unincluded_children false \language english @@ -6229,6 +6230,798 @@ HFill at the beginning of the label and one at the end centers it. \end_layout +\begin_layout Subsection +Customized Lists +\begin_inset Index idx +status collapsed + +\begin_layout Plain Layout +Lists ! Customized +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +To use the features described in this section, you must load the module + +\family sans +Customisable Lists (enumitem) +\family default + in the document settings. + This loads the features of the LaTeX-package +\series bold +enumitem +\series default + +\begin_inset Index idx +status collapsed + +\begin_layout Plain Layout +LaTeX-packages ! enumitem +\end_layout + +\end_inset + +. +\end_layout + +\begin_layout Subsubsection +Custom Enumerate Lists +\begin_inset Index idx +status collapsed + +\begin_layout Plain Layout +Lists ! Enumerate ! Custom +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\noindent +The default numbering of numbered lists can be changed by adding an optional + argument (menu +\family sans +Insert\SpecialChar \menuseparator +Short Title +\family default +) to the first item of each level in the list. + There you add the command +\end_layout + +\begin_layout Standard + +\series bold +label= +\backslash +roman{enumi} +\end_layout + +\begin_layout Standard +in TeX Code (shortcut +\begin_inset Info +type "shortcut" +arg "ert-insert" +\end_inset + +). +\begin_inset Foot +status collapsed + +\begin_layout Plain Layout +For more about TeX Code, look at section +\begin_inset space ~ +\end_inset + + +\begin_inset CommandInset ref +LatexCommand ref +reference "sec:TeX-Code" + +\end_inset + +. +\end_layout + +\end_inset + + +\emph on + enumi +\emph default + is hereby the counter of the enumeration in the first level. + The command +\series bold + +\backslash +roman +\series default + outputs the counter as small Roman numeral. + For capital Roman numerals replace in the command above +\series bold + +\backslash +roman +\series default + by +\series bold + +\backslash +Roman +\series default +. + For Arabic numerals use +\series bold + +\backslash +arabic +\series default +. + To +\begin_inset Quotes eld +\end_inset + +number +\begin_inset Quotes erd +\end_inset + + items with capital or small Latin letters use +\series bold + +\backslash +Alph +\series default + or +\series bold + +\backslash +alph +\series default +, respectively. +\end_layout + +\begin_layout Standard +\noindent +\begin_inset Note Greyedout +status open + +\begin_layout Plain Layout + +\series bold +Note: +\series default + You can only number 26 +\begin_inset space ~ +\end_inset + +items with Latin letters, because this numbering is limited to single letters. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +To change the numbering for the list sublevels, replace the 'i' in the command + by the small Roman numeral of the level (enumi, enumii, enumiii, enumiv). +\end_layout + +\begin_layout Standard +As example a list with custom numbering: +\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 +# +\backslash +Alph{enumi} +\backslash +# +\end_layout + +\end_inset + + +\end_layout + +\end_inset + +Level 1 +\end_layout + +\begin_deeper +\begin_layout Enumerate +\begin_inset Argument +status open + +\begin_layout Plain Layout +\begin_inset ERT +status open + +\begin_layout Plain Layout + +label= +\backslash +Alph{enumi}. +\backslash +arabic{enumii} +\end_layout + +\end_inset + + +\end_layout + +\end_inset + +Level 2 +\end_layout + +\begin_layout Enumerate +Level 2 +\end_layout + +\begin_deeper +\begin_layout Enumerate +\begin_inset Argument +status open + +\begin_layout Plain Layout +\begin_inset ERT +status open + +\begin_layout Plain Layout + +label= +\backslash +bf{ +\backslash +arabic{enumiii}} +\end_layout + +\end_inset + + +\end_layout + +\end_inset + +Level 3 +\end_layout + +\begin_deeper +\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 +roman{enumiv})} +\end_layout + +\end_inset + + +\end_layout + +\end_inset + +Level 4 +\end_layout + +\end_deeper +\end_deeper +\end_deeper +\begin_layout Standard +For this list these commands were used: +\end_layout + +\begin_layout Standard +\noindent + +\series bold +label= +\backslash +# +\backslash +Alph{enumi} +\backslash +# +\begin_inset Newline newline +\end_inset + +label= +\backslash +Alph{enumi}. +\backslash +arabic{enumii} +\begin_inset Newline newline +\end_inset + +label= +\backslash +bf{ +\backslash +arabic{enumiii}} +\begin_inset Newline newline +\end_inset + +label= +\backslash +emph{ +\backslash +roman{enumiv})} +\end_layout + +\begin_layout Standard +where the command +\series bold + +\backslash +emph{} +\series default + makes the label emphasized and +\series bold + +\backslash +bf{} +\series default + makes it bold. +\end_layout + +\begin_layout Standard +\begin_inset Note Greyedout +status open + +\begin_layout Plain Layout + +\series bold +Note: +\series default + When you changed the label of a list level, it will be used for all following + lists until you change the definition. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Subsubsection +Resumed Enumeration +\begin_inset Index idx +status collapsed + +\begin_layout Plain Layout +Lists ! Enumerate ! Resumed +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +Enumerations can be resumed after intermediate paragraphs: +\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 +arabic{enumi}. +\end_layout + +\end_inset + + +\end_layout + +\end_inset + +first +\begin_inset Note Note +status open + +\begin_layout Plain Layout +goes back to default numbering +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Enumerate +second +\end_layout + +\begin_layout Standard +regular text +\end_layout + +\begin_layout Enumerate-Resume +resumed +\end_layout + +\begin_layout Standard +To resume an enumeration, use the style +\family sans +Enumerate-Resume +\family default +. + Its numbering appears in blue within LyX to indicate that it is a resumed + list and that the numbering will not be correct in LyX, but in the output. +\end_layout + +\begin_layout Standard +\begin_inset Note Greyedout +status open + +\begin_layout Plain Layout + +\series bold +Note: +\series default + If there is no previous enumeration to resume, you will get a LaTeX error. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +In some cases you might want to resume the list with a different number + than the next one. + Or you want to start a new enumeration, but with a different number. + This is also possible by adding an optional argument to the first list + item. + There insert the command +\end_layout + +\begin_layout Standard + +\series bold +start=number +\end_layout + +\begin_layout Standard +where +\emph on +number +\emph default + is the number with which you want to resume the list. + An example: +\end_layout + +\begin_layout Enumerate +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 +\begin_inset ERT +status open + +\begin_layout Plain Layout + +start=4 +\end_layout + +\end_inset + + +\end_layout + +\end_inset + +This enumeration starts at 4 +\end_layout + +\begin_layout Subsubsection +List Spacing +\begin_inset Index idx +status collapsed + +\begin_layout Plain Layout +Lists ! Spacing +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +In some cases you might want less or more vertical space between the items + of a list. + For example the default space is too much in your opinion: +\end_layout + +\begin_layout Itemize +A bullet list +\end_layout + +\begin_layout Itemize +with standard spacing +\end_layout + +\begin_layout Standard +You can decrease the space by adding an optional argument to the first item + of the list. + There add the command +\series bold +nolistsep +\series default + to get no space like in this example: +\end_layout + +\begin_layout Itemize +\begin_inset Argument +status open + +\begin_layout Plain Layout +\begin_inset ERT +status open + +\begin_layout Plain Layout + +nolistsep +\end_layout + +\end_inset + + +\end_layout + +\end_inset + +A bullet list +\end_layout + +\begin_layout Itemize +with no additional +\end_layout + +\begin_layout Itemize +vertical space +\end_layout + +\begin_layout Standard +To add space you can use several other commands provided by the LaTeX-package + +\series bold +enumitem +\series default + +\begin_inset Index idx +status collapsed + +\begin_layout Plain Layout +LaTeX-packages ! enumitem +\end_layout + +\end_inset + +. + For more info see its documentation, +\begin_inset CommandInset citation +LatexCommand cite +key "enumitem" + +\end_inset + +. +\end_layout + +\begin_layout Standard +There are also many commands available to change the horizontal spacing + and indentation. + Here is an example where the indentation was changed to the negative one + of the paragraphs in the document and the label separation was set to 2 +\begin_inset space \thinspace{} +\end_inset + +cm. +\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, labelsep=2cm +\end_layout + +\end_inset + + +\end_layout + +\end_inset + +An enumeration +\end_layout + +\begin_layout Enumerate +with negative indentation +\end_layout + +\begin_layout Subsubsection +Further Customization +\begin_inset Index idx +status collapsed + +\begin_layout Plain Layout +Lists ! Description +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +You can also change the style of description lists. + The command +\end_layout + +\begin_layout Standard + +\series bold +font=definition +\end_layout + +\begin_layout Standard +changes the description label font, the command +\end_layout + +\begin_layout Standard + +\series bold +style=definition +\end_layout + +\begin_layout Standard +sets the list style. +\end_layout + +\begin_layout Standard +An example where the command +\end_layout + +\begin_layout Standard + +\series bold +font= +\backslash +itshape, style=nextline +\end_layout + +\begin_layout Standard +is used: +\end_layout + +\begin_layout Description +Ionizing +\begin_inset space ~ +\end_inset + +radiation: +\begin_inset Argument +status open + +\begin_layout Plain Layout +\begin_inset ERT +status open + +\begin_layout Plain Layout + +labelindent=0pt, labelsep=1cm, font= +\backslash +itshape, style=nextline +\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 +There are many more commands and features provided by the LaTeX-package + +\series bold +enumitem +\series default + +\begin_inset Index idx +status collapsed + +\begin_layout Plain Layout +LaTeX-packages ! enumitem +\end_layout + +\end_inset + +. + For more info see its documentation, +\begin_inset CommandInset citation +LatexCommand cite +key "enumitem" + +\end_inset + + +\end_layout + \begin_layout Subsection Letters \begin_inset Index idx @@ -9058,391 +9851,6 @@ Itemize You have a huge variety of options at your disposal. \end_layout -\begin_layout Subsection -Custom Numbering of Numbered Lists -\begin_inset Index idx -status collapsed - -\begin_layout Plain Layout -Lists ! Enumerate ! Customized -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Standard -\noindent -The default numbering of numbered lists can be changed by adding this command - in TeX Code (shortcut -\begin_inset Info -type "shortcut" -arg "ert-insert" -\end_inset - -) -\begin_inset Foot -status collapsed - -\begin_layout Plain Layout -For more about TeX Code, look at section -\begin_inset space ~ -\end_inset - - -\begin_inset CommandInset ref -LatexCommand ref -reference "sec:TeX-Code" - -\end_inset - -. -\end_layout - -\end_inset - - to your document preamble or in the text: -\end_layout - -\begin_layout Standard - -\series bold - -\backslash -renewcommand{ -\backslash -labelenumi}{ -\backslash -roman{enumi}} -\end_layout - -\begin_layout Standard - -\emph on -enumi -\emph default - is hereby the counter of the enumeration in the first level. - The command -\series bold - -\backslash -roman -\series default - outputs the counter as small Roman numeral. - For capital Roman numerals replace in the command above -\series bold - -\backslash -roman -\series default - by -\series bold - -\backslash -Roman -\series default -. - For Arabic numerals use -\series bold - -\backslash -arabic -\series default -. - To -\begin_inset Quotes eld -\end_inset - -number -\begin_inset Quotes erd -\end_inset - - items with capital or small Latin letters use -\series bold - -\backslash -Alph -\series default - or -\series bold - -\backslash -alph -\series default -, respectively. - To -\begin_inset Quotes eld -\end_inset - -number -\begin_inset Quotes erd -\end_inset - - items with symbols use -\series bold - -\backslash -fnsymbol -\series default -. -\end_layout - -\begin_layout Standard -\noindent -\begin_inset Note Greyedout -status open - -\begin_layout Plain Layout - -\series bold -Note: -\series default - You can only number 26 -\begin_inset space ~ -\end_inset - -items with Latin letters, because this numbering is limited to single letters. -\end_layout - -\end_inset - - -\begin_inset Newline newline -\end_inset - - -\begin_inset Note Greyedout -status open - -\begin_layout Plain Layout - -\series bold -Note: -\series default - You can only number 9 -\begin_inset space ~ -\end_inset - -items with symbols. -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Standard -To change the numbering for the list sublevels, replace each 'i' in the - command by the small Roman numeral of the level (enumi, enumii, enumiii, - enumiv). -\end_layout - -\begin_layout Standard -As example a list with custom numbering: -\end_layout - -\begin_layout Standard -\begin_inset ERT -status open - -\begin_layout Plain Layout - - -\backslash -renewcommand{ -\backslash -labelenumi}{ -\backslash -# -\backslash -Alph{enumi} -\backslash -#} -\end_layout - -\begin_layout Plain Layout - - -\backslash -renewcommand{ -\backslash -labelenumii}{ -\backslash -Alph{enumi}. -\backslash -arabic{enumii}} -\end_layout - -\begin_layout Plain Layout - - -\backslash -renewcommand{ -\backslash -labelenumiii}{ -\backslash -fnsymbol{enumiii}} -\end_layout - -\begin_layout Plain Layout - - -\backslash -renewcommand{ -\backslash -labelenumiv}{( -\backslash -roman{enumiv})} -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Enumerate -Level 1 -\end_layout - -\begin_deeper -\begin_layout Enumerate -Level 2 -\end_layout - -\begin_layout Enumerate -Level 2 -\end_layout - -\begin_deeper -\begin_layout Enumerate -Level 3 -\end_layout - -\begin_deeper -\begin_layout Enumerate -Level 4 -\end_layout - -\end_deeper -\end_deeper -\end_deeper -\begin_layout Standard -For this list these commands were used: -\end_layout - -\begin_layout Standard -\noindent - -\series bold - -\backslash -renewcommand{ -\backslash -labelenumi}{ -\backslash -# -\backslash -Alph{enumi} -\backslash -#} -\begin_inset Newline newline -\end_inset - - -\backslash -renewcommand{ -\backslash -labelenumii}{ -\backslash -Alph{enumi}. -\backslash -arabic{enumii}} -\begin_inset Newline newline -\end_inset - - -\backslash -renewcommand{ -\backslash -labelenumiii}{ -\backslash -fnsymbol{enumiii}} -\begin_inset Newline newline -\end_inset - - -\backslash -renewcommand{ -\backslash -labelenumiv}{( -\backslash -roman{enumiv})} -\end_layout - -\begin_layout Standard -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - - -\backslash -renewcommand{ -\backslash -labelenumi}{ -\backslash -arabic{enumi}.} -\end_layout - -\begin_layout Plain Layout - - -\backslash -renewcommand{ -\backslash -labelenumii}{ -\backslash -alph{enumi})} -\end_layout - -\begin_layout Plain Layout - - -\backslash -renewcommand{ -\backslash -labelenumiii}{ -\backslash -roman{enumiii}.} -\end_layout - -\begin_layout Plain Layout - - -\backslash -renewcommand{ -\backslash -labelenumiv}{ -\backslash -Alph{enumiv}.} -\end_layout - -\end_inset - - -\begin_inset Note Note -status open - -\begin_layout Plain Layout -set the numbering back to the default -\end_layout - -\end_inset - - -\end_layout - \begin_layout Section Spacing, pagination and line breaks \begin_inset Index idx @@ -47278,6 +47686,54 @@ ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption.pdf \end_inset +\end_layout + +\begin_layout Bibliography +\labelwidthstring Literaturverzeichnis +\begin_inset CommandInset bibitem +LatexCommand bibitem +key "enumitem" + +\end_inset + + +\begin_inset CommandInset href +LatexCommand href +name "Documentation" +target "http://mirrors.ctan.org/macros/latex/contrib/enumitem/enumitem.pdf" + +\end_inset + + of the LaTeX-package +\series bold +enumitem +\series default + +\begin_inset Index idx +status collapsed + +\begin_layout Plain Layout +LaTeX-packages ! enumitem +\end_layout + +\end_inset + +: +\begin_inset Newline newline +\end_inset + + +\begin_inset Flex URL +status collapsed + +\begin_layout Plain Layout + +http://mirrors.ctan.org/macros/latex/contrib/enumitem/enumitem.pdf +\end_layout + +\end_inset + + \end_layout \begin_layout Bibliography diff --git a/lib/doc/de/UserGuide.lyx b/lib/doc/de/UserGuide.lyx index 9aaaa48cf9..6a749ccf2f 100644 --- a/lib/doc/de/UserGuide.lyx +++ b/lib/doc/de/UserGuide.lyx @@ -60,6 +60,7 @@ \use_default_options false \begin_modules customHeadersFooters +enumitem \end_modules \maintain_unincluded_children false \language ngerman @@ -8138,6 +8139,861 @@ reference "Umgebungen-schachteln" ff wegen Schachtelungen lesen sollten? \end_layout +\begin_layout Subsection +Benutzerdefinierte Listen +\begin_inset Index idx +status collapsed + +\begin_layout Plain Layout +Liste ! Benutzerdefiniert +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +Um die Features nutzen zu können, die in diesem Abschnitt vorgestellt werden, + müssen Sie das Modul +\family sans +Flexible Listen (enumitem) +\family default + in den Dokumenteinstellungen laden. + Dies lädt die Features des LaTeX-Pakets +\series bold +enumitem +\series default + +\begin_inset Index idx +status collapsed + +\begin_layout Plain Layout +LaTeX-Paket ! enumitem +\end_layout + +\end_inset + +. +\end_layout + +\begin_layout Subsubsection +Benutzerdefinierte Aufzählungen +\begin_inset Index idx +status collapsed + +\begin_layout Plain Layout +Liste ! Aufzahlung@Aufzählung ! Benutzerdefiniert +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\noindent +Die voreingestellte Nummerierung von Aufzählungen kann geändert werden, + indem man ein optionales Argument (Menü +\family sans +Einfügen\SpecialChar \menuseparator +Kurztitel +\family default +) zum ersten Eintrag jeder Stufe der Liste hinzufügt. + Darin fügt man den Befehl +\end_layout + +\begin_layout Standard + +\series bold +label= +\backslash +roman{enumi} +\end_layout + +\begin_layout Standard +als TeX-Code (Tastenkürzel +\family sans +Strg+L +\family default +) ein. +\begin_inset Foot +status collapsed + +\begin_layout Plain Layout +Für mehr über TeX-Code, siehe Abschnitt +\begin_inset space ~ +\end_inset + + +\begin_inset CommandInset ref +LatexCommand ref +reference "sec:TeX-Code" + +\end_inset + +. +\end_layout + +\end_inset + + +\emph on + enumi +\emph default + ist hierbei der Zähler der Nummerierung der ersten Stufe. + Der Befehl +\series bold + +\backslash +roman +\series default + gibt den Zähler als kleine römische Zahl aus. + Für große römische Zahlen ersetzen Sie in obigem Befehl +\series bold + +\backslash +roman +\series default + durch +\series bold + +\backslash +Roman +\series default +. + Für arabische Zahlen verwenden Sie +\series bold + +\backslash +arabic +\series default +. + Um Punkte mit großen oder kleinen Buchstaben zu +\begin_inset Quotes gld +\end_inset + +nummerieren +\begin_inset Quotes grd +\end_inset + +, verwenden Sie die Befehle +\series bold + +\backslash +Alph +\series default + oder +\series bold + +\backslash +alph +\series default +. +\end_layout + +\begin_layout Standard +\noindent +\begin_inset Note Greyedout +status open + +\begin_layout Plain Layout + +\series bold +Achtung: +\series default + Mit Buchstaben können höchstens 26 +\begin_inset space ~ +\end_inset + +Punkte nummeriert werden, weil nur +\emph on +ein +\emph default + Buchstabe verwendet wird. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +Um die Nummerierung für die anderen Stufen der Liste zu ändern, ersetzen + Sie im Befehl das 'i' jeweils durch die kleine römische Zahl der Stufe + (enumi, enumii, enumiii, enumiv). +\end_layout + +\begin_layout Standard +Als Beispiel eine Liste mit benutzerdefinierter Nummerierung: +\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 +# +\backslash +Alph{enumi} +\backslash +# +\end_layout + +\end_inset + + +\end_layout + +\end_inset + +Stufe 1 +\end_layout + +\begin_deeper +\begin_layout Enumerate +\begin_inset Argument +status open + +\begin_layout Plain Layout +\begin_inset ERT +status open + +\begin_layout Plain Layout + +label= +\backslash +Alph{enumi}. +\backslash +arabic{enumii} +\end_layout + +\end_inset + + +\end_layout + +\end_inset + +Stufe 2 +\end_layout + +\begin_layout Enumerate +Level 2 +\end_layout + +\begin_deeper +\begin_layout Enumerate +\begin_inset Argument +status open + +\begin_layout Plain Layout +\begin_inset ERT +status open + +\begin_layout Plain Layout + +label= +\backslash +bf{ +\backslash +arabic{enumiii}} +\end_layout + +\end_inset + + +\end_layout + +\end_inset + +Stufe 3 +\end_layout + +\begin_deeper +\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 +roman{enumiv})} +\end_layout + +\end_inset + + +\end_layout + +\end_inset + +Stufe 4 +\end_layout + +\end_deeper +\end_deeper +\end_deeper +\begin_layout Standard +Für diese Liste wurden diese Befehle verwendet: +\end_layout + +\begin_layout Standard +\noindent + +\series bold +label= +\backslash +# +\backslash +Alph{enumi} +\backslash +# +\begin_inset Newline newline +\end_inset + +label= +\backslash +Alph{enumi}. +\backslash +arabic{enumii} +\begin_inset Newline newline +\end_inset + +label= +\backslash +bf{ +\backslash +arabic{enumiii}} +\begin_inset Newline newline +\end_inset + +label= +\backslash +emph{ +\backslash +roman{enumiv})} +\end_layout + +\begin_layout Standard +wobei der Befehl +\series bold + +\backslash +emph{} +\series default + die Nummerierung hervorhebt und +\series bold + +\backslash +bf{} +\series default + sie fett druckt. +\end_layout + +\begin_layout Standard +\begin_inset Note Greyedout +status open + +\begin_layout Plain Layout + +\series bold +Achtung: +\series default + Wenn Sie die Nummerierung einer Listenstufe geändert haben, wird sie von + allen weiteren Listen verwendet, bis Sie die Definition wieder ändern. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Subsubsection +Unterbrochene Aufzählungen +\begin_inset Index idx +status collapsed + +\begin_layout Plain Layout +Liste ! Aufzahlung@Aufzählung ! Unterbrochen +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +Aufzählungen können nach Unterbrechungen fortgesetzt werden: +\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 +arabic{enumi}. +\end_layout + +\end_inset + + +\end_layout + +\end_inset + +Erstens +\begin_inset Note Note +status open + +\begin_layout Plain Layout +geht zurück auf Standard-Nummerierung +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Enumerate +Zweitens +\end_layout + +\begin_layout Standard +Normaler Text +\end_layout + +\begin_layout Enumerate-Resume +Fortgesetzt +\end_layout + +\begin_layout Standard +Um eine Aufzählung fortzusetzen, verwendet man den Stil +\family sans +Aufzählung +\begin_inset space ~ +\end_inset + +fortführen +\family default +. + Dessen Nummerierung erscheint in blau in LyX um zu zeigen, das es eine + fortgesetzte Liste ist und die Nummerierung in LyX nicht korrekt ist, aber + in der Ausgabe. +\end_layout + +\begin_layout Standard +\begin_inset Note Greyedout +status open + +\begin_layout Plain Layout + +\series bold +Achtung: +\series default + Falls es keine vorhergehende Liste gibt, die fortgesetzt werden kann, bekommt + man einen LaTeX-Fehler. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard + +\lang english +In some cases you might want to resume the list with a different number + than the next one. + Or you want to start a new +\lang ngerman +Aufzählung +\lang english +, but with a different +\lang ngerman +Nummer +\lang english +. + This is also possible by adding an optional argument to the first list + item. + There insert the +\lang ngerman +Befehl +\end_layout + +\begin_layout Standard + +\series bold +start=Nummer +\end_layout + +\begin_layout Standard +wobei +\emph on +Nummer +\emph default + die Nummer ist, mit der Sie die Liste fortsetzen wollen. + Ein Beispiel: +\end_layout + +\begin_layout Enumerate +Erstens +\end_layout + +\begin_layout Enumerate +Zweitens +\end_layout + +\begin_layout Standard +Aufzählung startet bei gegebenem Wert: +\end_layout + +\begin_layout Enumerate +\begin_inset Argument +status open + +\begin_layout Plain Layout +\begin_inset ERT +status open + +\begin_layout Plain Layout + +start=4 +\end_layout + +\end_inset + + +\end_layout + +\end_inset + +Diese Aufzählung startet bei 4 +\end_layout + +\begin_layout Subsubsection +Abstände in Listen +\begin_inset Index idx +status collapsed + +\begin_layout Plain Layout +Liste ! Abstände +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard + +\lang english +In some cases you might want less or more vertical space between the items + of a list. + For example the default space is too much in your opinion: +\end_layout + +\begin_layout Itemize + +\lang english +A bullet list +\end_layout + +\begin_layout Itemize + +\lang english +with standard spacing +\end_layout + +\begin_layout Standard + +\lang english +You can decrease the space by adding an optional argument to the first item + of the list. + There add the +\lang ngerman + Befehl +\series bold +nolistsep +\series default + +\lang english +to get no space like in this +\lang ngerman + Beispiel +\lang english +: +\end_layout + +\begin_layout Itemize +\begin_inset Argument +status open + +\begin_layout Plain Layout +\begin_inset ERT +status open + +\begin_layout Plain Layout + +nolistsep +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\lang english +A bullet list +\end_layout + +\begin_layout Itemize + +\lang english +with no additional +\end_layout + +\begin_layout Itemize + +\lang english +vertical space +\end_layout + +\begin_layout Standard +Im Abstand hinzuzufügen können Sie verschiedene andere Befehle des LaTeX-Pakets + +\series bold +enumitem +\series default + +\begin_inset Index idx +status collapsed + +\begin_layout Plain Layout +LaTeX-Paket ! enumitem +\end_layout + +\end_inset + + verwenden. + Für mehr Informationen siehe dessen Dokumentation, +\begin_inset CommandInset citation +LatexCommand cite +key "enumitem" + +\end_inset + +. +\end_layout + +\begin_layout Standard + +\lang english +There are also many +\lang ngerman +Befehle +\lang english + available to change the horizontal spacing and indentation. + Here is an +\lang ngerman +Beispiel +\lang english + where the indentation was changed to the negative one of the paragraphs + in the document and the label separation was set to +\lang ngerman + 2 +\begin_inset space \thinspace{} +\end_inset + +cm. +\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, labelsep=2cm +\end_layout + +\end_inset + + +\end_layout + +\end_inset + +Eine Aufzählung +\end_layout + +\begin_layout Enumerate + +\lang english +with negative indentation +\end_layout + +\begin_layout Subsubsection +Weitere Anpassungen +\begin_inset Index idx +status collapsed + +\begin_layout Plain Layout +Liste ! Beschreibung +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +Sie können auch den Stil von Beschreibungen ändern. + Der Befehl +\end_layout + +\begin_layout Standard + +\series bold +font=Definition +\end_layout + +\begin_layout Standard +ändert den Beschreibungstitel, der Befehl +\end_layout + +\begin_layout Standard + +\series bold +style=Definition +\end_layout + +\begin_layout Standard +legt den Listenstil fest. +\end_layout + +\begin_layout Standard +Ein Beispiel bei dem der Befehl +\end_layout + +\begin_layout Standard + +\series bold +font= +\backslash +itshape, style=nextline +\end_layout + +\begin_layout Standard +verwendet wird: +\end_layout + +\begin_layout Description + +\lang english +Ionizing +\begin_inset space ~ +\end_inset + +radiation: +\lang ngerman + +\begin_inset Argument +status open + +\begin_layout Plain Layout +\begin_inset ERT +status open + +\begin_layout Plain Layout + +labelindent=0pt, labelsep=1cm, font= +\backslash +itshape, style=nextline +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\lang english +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 + +\lang english +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 +Es gibt viele weitere Befehle und Features des LaTeX-Pakets +\series bold +enumitem +\series default + +\begin_inset Index idx +status collapsed + +\begin_layout Plain Layout +LaTeX-Paket ! enumitem +\end_layout + +\end_inset + +. + Für mehr Informationen siehe dessen Dokumentation, +\begin_inset CommandInset citation +LatexCommand cite +key "enumitem" + +\end_inset + + +\end_layout + \begin_layout Subsection Briefe \begin_inset Index idx @@ -11432,393 +12288,6 @@ Auflistung Sie haben jede Menge Möglichkeiten zur Auswahl. \end_layout -\begin_layout Subsection -Benutzerdefinierte Nummerierung von Nummerierten Listen -\begin_inset Index idx -status collapsed - -\begin_layout Plain Layout -Liste ! Aufzahlung@Aufzählung ! Benutzerdefiniert -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Standard -\noindent -Die voreingestellte Nummerierung von nummerierten Listen kann geändert werden, - indem man diesen Befehl als TeX-Code (Tastenkürzel -\family sans -Strg+L -\family default -) -\begin_inset Foot -status collapsed - -\begin_layout Plain Layout -Für mehr über TeX-Code, siehe Abschnitt -\begin_inset space ~ -\end_inset - - -\begin_inset CommandInset ref -LatexCommand ref -reference "sec:TeX-Code" - -\end_inset - -. -\end_layout - -\end_inset - - in in die Dokumentpräambel oder den Text einfügt: -\end_layout - -\begin_layout Standard - -\series bold - -\backslash -renewcommand{ -\backslash -labelenumi}{ -\backslash -roman{enumi}} -\end_layout - -\begin_layout Standard - -\emph on -enumi -\emph default - ist hierbei der Zähler der Nummerierung der ersten Stufe. - Der Befehl -\series bold - -\backslash -roman -\series default - gibt den Zähler als kleine römische Zahl. - Für große römische Zahlen ersetzen Sie in obigem Befehl -\series bold - -\backslash -roman -\series default - durch -\series bold - -\backslash -Roman -\series default -. - Für arabische Zahlen verwenden Sie -\series bold - -\backslash -arabic -\series default -. - Um Punkte mit großen oder kleinen Buchstaben zu -\begin_inset Quotes gld -\end_inset - -nummerieren -\begin_inset Quotes grd -\end_inset - -, verwenden Sie die Befehle -\series bold - -\backslash -Alph -\series default - oder -\series bold - -\backslash -alph -\series default -. - Für die -\begin_inset Quotes gld -\end_inset - -Nummerierung -\begin_inset Quotes grd -\end_inset - - mit Symbolen steht der Befehl -\series bold - -\backslash -fnsymbol -\series default - zur Verfügung. -\end_layout - -\begin_layout Standard -\noindent -\begin_inset Note Greyedout -status open - -\begin_layout Plain Layout - -\series bold -Bemerkung 1: -\series default - Mit Buchstaben können höchstens 26 -\begin_inset space ~ -\end_inset - -Punkte nummeriert werden, weil nur -\emph on -ein -\emph default - Buchstabe verwendet wird. -\end_layout - -\end_inset - - -\begin_inset Newline newline -\end_inset - - -\begin_inset Note Greyedout -status open - -\begin_layout Plain Layout - -\series bold -Bemerkung 2: -\series default - Mit Symbolen können höchstens 9 -\begin_inset space ~ -\end_inset - -Punkte nummeriert werden. -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Standard -Um die Nummerierung für die anderen Stufen der Liste zu ändern, ersetzen - Sie im Befehl die 'i' jeweils durch die kleine römische Zahl der Stufe - (enumi, enumii, enumiii, enumiv). -\end_layout - -\begin_layout Standard -Als Beispiel eine Liste mit benutzerdefinierter Nummerierung: -\end_layout - -\begin_layout Standard -\begin_inset ERT -status open - -\begin_layout Plain Layout - - -\backslash -renewcommand{ -\backslash -labelenumi}{ -\backslash -# -\backslash -Alph{enumi} -\backslash -#} -\end_layout - -\begin_layout Plain Layout - - -\backslash -renewcommand{ -\backslash -labelenumii}{ -\backslash -Alph{enumi}. -\backslash -arabic{enumii}} -\end_layout - -\begin_layout Plain Layout - - -\backslash -renewcommand{ -\backslash -labelenumiii}{ -\backslash -fnsymbol{enumiii}} -\end_layout - -\begin_layout Plain Layout - - -\backslash -renewcommand{ -\backslash -labelenumiv}{( -\backslash -roman{enumiv})} -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Enumerate -Stufe 1 -\end_layout - -\begin_deeper -\begin_layout Enumerate -Stufe 2 -\end_layout - -\begin_layout Enumerate -Stufe 2 -\end_layout - -\begin_deeper -\begin_layout Enumerate -Stufe 3 -\end_layout - -\begin_deeper -\begin_layout Enumerate -Stufe 4 -\end_layout - -\end_deeper -\end_deeper -\end_deeper -\begin_layout Standard -Für diese Liste wurden diese Befehle verwendet: -\end_layout - -\begin_layout Standard -\noindent - -\series bold - -\backslash -renewcommand{ -\backslash -labelenumi}{ -\backslash -# -\backslash -Alph{enumi} -\backslash -#} -\begin_inset Newline newline -\end_inset - - -\backslash -renewcommand{ -\backslash -labelenumii}{ -\backslash -Alph{enumi}. -\backslash -arabic{enumii}} -\begin_inset Newline newline -\end_inset - - -\backslash -renewcommand{ -\backslash -labelenumiii}{ -\backslash -fnsymbol{enumiii}} -\begin_inset Newline newline -\end_inset - - -\backslash -renewcommand{ -\backslash -labelenumiv}{( -\backslash -roman{enumiv})} -\end_layout - -\begin_layout Standard -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - - -\backslash -renewcommand{ -\backslash -labelenumi}{ -\backslash -arabic{enumi}.} -\end_layout - -\begin_layout Plain Layout - - -\backslash -renewcommand{ -\backslash -labelenumii}{ -\backslash -alph{enumi})} -\end_layout - -\begin_layout Plain Layout - - -\backslash -renewcommand{ -\backslash -labelenumiii}{ -\backslash -roman{enumiii}.} -\end_layout - -\begin_layout Plain Layout - - -\backslash -renewcommand{ -\backslash -labelenumiv}{ -\backslash -Alph{enumiv}.} -\end_layout - -\end_inset - - -\begin_inset Note Note -status open - -\begin_layout Plain Layout -setzt die Nummerierung zurück auf die Voreinstellung -\end_layout - -\end_inset - - -\end_layout - \begin_layout Section Abstände, Seiten- und Zeilenumbrüche \end_layout @@ -45531,6 +46000,53 @@ ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption.pdf \end_inset +\end_layout + +\begin_layout Bibliography +\labelwidthstring Literaturverzeichnis +\begin_inset CommandInset bibitem +LatexCommand bibitem +key "enumitem" + +\end_inset + + +\begin_inset CommandInset href +LatexCommand href +name "Dokumentation" +target "http://mirrors.ctan.org/macros/latex/contrib/enumitem/enumitem.pdf" + +\end_inset + + des LaTeX-Pakets +\series bold +enumitem +\series default + +\begin_inset Index idx +status collapsed + +\begin_layout Plain Layout +LaTeX-Paket ! enumitem +\end_layout + +\end_inset + +: +\begin_inset Newline newline +\end_inset + + +\begin_inset Flex URL +status collapsed + +\begin_layout Plain Layout +http://mirrors.ctan.org/macros/latex/contrib/enumitem/enumitem.pdf +\end_layout + +\end_inset + + \end_layout \begin_layout Bibliography diff --git a/lib/doc/es/UserGuide.lyx b/lib/doc/es/UserGuide.lyx index bbddf55eaa..518a4b66cf 100644 --- a/lib/doc/es/UserGuide.lyx +++ b/lib/doc/es/UserGuide.lyx @@ -60,6 +60,7 @@ \use_default_options false \begin_modules customHeadersFooters +enumitem \end_modules \maintain_unincluded_children false \language spanish @@ -6413,6 +6414,935 @@ Relleno horizontal al principio y otro al final la centra. \end_layout +\begin_layout Subsection + +\lang english +Customized Lists +\begin_inset Index idx +status collapsed + +\begin_layout Plain Layout + +\lang english +Lists ! Customized +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard + +\lang english +To use the features described in this section, you must load the module + +\family sans +Customisable Lists (enumitem) +\family default + in the document settings. + This loads the features of the LaTeX-package +\lang spanish + +\series bold +enumitem +\series default + +\begin_inset Index idx +status collapsed + +\begin_layout Plain Layout +LaTeX, paquetes ! enumitem +\end_layout + +\end_inset + +. +\end_layout + +\begin_layout Subsubsection + +\lang english +Custom Enumerate Lists +\begin_inset Index idx +status collapsed + +\begin_layout Plain Layout + +\lang english +Lists ! Enumerate ! Custom +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\noindent + +\lang english +The default numbering of numbered lists can be changed by adding an optional + argument (menu +\family sans +Insert\SpecialChar \menuseparator +Short Title +\family default +) to the first item of each level in the list. + There you add the command +\end_layout + +\begin_layout Standard + +\series bold +label= +\backslash +roman{enumi} +\end_layout + +\begin_layout Standard + +\lang english +in TeX Code (shortcut +\begin_inset Info +type "shortcut" +arg "ert-insert" +\end_inset + +). +\begin_inset Foot +status collapsed + +\begin_layout Plain Layout + +\lang english +For more about TeX Code, look at section +\lang spanish + +\begin_inset space ~ +\end_inset + + +\begin_inset CommandInset ref +LatexCommand ref +reference "sec:Código-TeX" + +\end_inset + +. +\end_layout + +\end_inset + + +\emph on + enumi +\emph default + is hereby the counter of the enumeration in the first level. + The command +\series bold + +\backslash +roman +\series default + outputs the counter as small Roman numeral. + For capital Roman numerals replace in the command above +\series bold + +\backslash +roman +\series default + by +\series bold + +\backslash +Roman +\series default +. + For Arabic numerals use +\series bold + +\backslash +arabic +\series default +. + To +\begin_inset Quotes eld +\end_inset + +number +\begin_inset Quotes erd +\end_inset + + items with capital or small Latin letters use +\series bold + +\backslash +Alph +\series default + or +\series bold + +\backslash +alph +\series default +, respectively. +\end_layout + +\begin_layout Standard +\noindent + +\lang english +\begin_inset Note Greyedout +status open + +\begin_layout Plain Layout + +\series bold +\lang english +Note: +\series default + You can only number 26 +\begin_inset space ~ +\end_inset + +items with Latin letters, because this numbering is limited to single letters. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard + +\lang english +To change the numbering for the list sublevels, replace the 'i' in the command + by the small Roman numeral of the level (enumi, enumii, enumiii, enumiv). +\end_layout + +\begin_layout Standard + +\lang english +As example a list with custom numbering: +\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 +# +\backslash +Alph{enumi} +\backslash +# +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\lang english +Level 1 +\end_layout + +\begin_deeper +\begin_layout Enumerate +\begin_inset Argument +status open + +\begin_layout Plain Layout +\begin_inset ERT +status open + +\begin_layout Plain Layout + +label= +\backslash +Alph{enumi}. +\backslash +arabic{enumii} +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\lang english +Level 2 +\end_layout + +\begin_layout Enumerate + +\lang english +Level 2 +\end_layout + +\begin_deeper +\begin_layout Enumerate +\begin_inset Argument +status open + +\begin_layout Plain Layout +\begin_inset ERT +status open + +\begin_layout Plain Layout + +label= +\backslash +bf{ +\backslash +arabic{enumiii}} +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\lang english +Level 3 +\end_layout + +\begin_deeper +\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 +roman{enumiv})} +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\lang english +Level 4 +\end_layout + +\end_deeper +\end_deeper +\end_deeper +\begin_layout Standard + +\lang english +For this list these commands were used: +\end_layout + +\begin_layout Standard +\noindent + +\series bold +label= +\backslash +# +\backslash +Alph{enumi} +\backslash +# +\begin_inset Newline newline +\end_inset + +label= +\backslash +Alph{enumi}. +\backslash +arabic{enumii} +\begin_inset Newline newline +\end_inset + +label= +\backslash +bf{ +\backslash +arabic{enumiii}} +\begin_inset Newline newline +\end_inset + +label= +\backslash +emph{ +\backslash +roman{enumiv})} +\end_layout + +\begin_layout Standard + +\lang english +where the command +\series bold + +\backslash +emph{} +\series default + makes the label emphasized and +\series bold + +\backslash +bf{} +\series default + makes it bold. +\end_layout + +\begin_layout Standard + +\lang english +\begin_inset Note Greyedout +status open + +\begin_layout Plain Layout + +\series bold +\lang english +Note: +\series default + When you changed the label of a list level, it will be used for all following + lists until you change the definition. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Subsubsection + +\lang english +Resumed Enumeration +\begin_inset Index idx +status collapsed + +\begin_layout Plain Layout + +\lang english +Lists ! Enumerate ! Resumed +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard + +\lang english +Enumerations can be resumed after intermediate paragraphs: +\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 +arabic{enumi}. +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\lang english +first +\begin_inset Note Note +status open + +\begin_layout Plain Layout + +\lang english +goes back to default numbering +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Enumerate + +\lang english +second +\end_layout + +\begin_layout Standard + +\lang english +regular text +\end_layout + +\begin_layout Enumerate-Resume + +\lang english +resumed +\end_layout + +\begin_layout Standard + +\lang english +To resume an enumeration, use the style +\family sans +Enumerate-Resume +\family default +. + Its numbering appears in blue within LyX to indicate that it is a resumed + list and that the numbering will not be correct in LyX, but in the output. +\end_layout + +\begin_layout Standard + +\lang english +\begin_inset Note Greyedout +status open + +\begin_layout Plain Layout + +\series bold +\lang english +Note: +\series default + If there is no previous enumeration to resume, you will get a LaTeX error. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard + +\lang english +In some cases you might want to resume the list with a different number + than the next one. + Or you want to start a new enumeration, but with a different number. + This is also possible by adding an optional argument to the first list + item. + There insert the command +\end_layout + +\begin_layout Standard + +\series bold +start=number +\end_layout + +\begin_layout Standard + +\lang english +where +\emph on +number +\emph default + is the number with which you want to resume the list. + An example: +\end_layout + +\begin_layout Enumerate + +\lang english +first item +\end_layout + +\begin_layout Enumerate + +\lang english +second item +\end_layout + +\begin_layout Standard + +\lang english +Enumeration starting at a given value: +\end_layout + +\begin_layout Enumerate +\begin_inset Argument +status open + +\begin_layout Plain Layout +\begin_inset ERT +status open + +\begin_layout Plain Layout + +start=4 +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\lang english +This enumeration starts at 4 +\end_layout + +\begin_layout Subsubsection + +\lang english +List Spacing +\begin_inset Index idx +status collapsed + +\begin_layout Plain Layout + +\lang english +Lists ! Spacing +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard + +\lang english +In some cases you might want less or more vertical space between the items + of a list. + For example the default space is too much in your opinion: +\end_layout + +\begin_layout Itemize + +\lang english +A bullet list +\end_layout + +\begin_layout Itemize + +\lang english +with standard spacing +\end_layout + +\begin_layout Standard + +\lang english +You can decrease the space by adding an optional argument to the first item + of the list. + There add the command +\series bold +nolistsep +\series default + to get no space like in this example: +\end_layout + +\begin_layout Itemize +\begin_inset Argument +status open + +\begin_layout Plain Layout +\begin_inset ERT +status open + +\begin_layout Plain Layout + +nolistsep +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\lang english +A bullet list +\end_layout + +\begin_layout Itemize + +\lang english +with no additional +\end_layout + +\begin_layout Itemize + +\lang english +vertical space +\end_layout + +\begin_layout Standard + +\lang english +To add space you can use several other commands provided by the LaTeX-package + +\series bold +enumitem +\series default +\lang spanish + +\begin_inset Index idx +status collapsed + +\begin_layout Plain Layout +LaTeX, paquetes ! enumitem +\end_layout + +\end_inset + + +\lang english +. + For more info see its documentation +\lang spanish +, +\begin_inset CommandInset citation +LatexCommand cite +key "enumitem" + +\end_inset + +. +\end_layout + +\begin_layout Standard + +\lang english +There are also many commands available to change the horizontal spacing + and indentation. + Here is an example where the indentation was changed to the negative one + of the paragraphs in the document and the label separation was set to 2 +\begin_inset space \thinspace{} +\end_inset + +cm. +\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, labelsep=2cm +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\lang english +An enumeration +\end_layout + +\begin_layout Enumerate + +\lang english +with negative indentation +\end_layout + +\begin_layout Subsubsection + +\lang english +Further Customization +\begin_inset Index idx +status collapsed + +\begin_layout Plain Layout + +\lang english +Lists ! Description +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard + +\lang english +You can also change the style of description lists. + The command +\end_layout + +\begin_layout Standard + +\series bold +font=definition +\end_layout + +\begin_layout Standard + +\lang english +changes the description label font, the command +\end_layout + +\begin_layout Standard + +\series bold +style=definition +\end_layout + +\begin_layout Standard + +\lang english +sets the list style. +\end_layout + +\begin_layout Standard + +\lang english +An example where the command +\end_layout + +\begin_layout Standard + +\series bold +font= +\backslash +itshape, style=nextline +\end_layout + +\begin_layout Standard + +\lang english +is used: +\end_layout + +\begin_layout Description + +\lang english +Ionizing +\begin_inset space ~ +\end_inset + +radiation: +\lang spanish + +\begin_inset Argument +status open + +\begin_layout Plain Layout +\begin_inset ERT +status open + +\begin_layout Plain Layout + +labelindent=0pt, labelsep=1cm, font= +\backslash +itshape, style=nextline +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\lang english +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 + +\lang english +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 + +\lang english +There are many more commands and features provided by the LaTeX-package + +\series bold +enumitem +\series default +\lang spanish + +\begin_inset Index idx +status collapsed + +\begin_layout Plain Layout +LaTeX, paquetes ! enumitem +\end_layout + +\end_inset + + +\lang english +. + For more info see its documentation +\lang spanish +, +\begin_inset CommandInset citation +LatexCommand cite +key "enumitem" + +\end_inset + + +\end_layout + \begin_layout Subsection Cartas \begin_inset Index idx @@ -9256,427 +10186,6 @@ Enumeración* Tienes a tu disposición una amplia variedad de opciones. \end_layout -\begin_layout Subsection - -\lang english -Custom Numbering of Numbered Lists -\begin_inset Index idx -status collapsed - -\begin_layout Plain Layout - -\lang english -Lists ! Enumerate ! Customized -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Standard -\noindent - -\lang english -The default numbering of numbered lists can be changed by adding this command - in TeX Code (shortcut -\begin_inset Info -type "shortcut" -arg "ert-insert" -\end_inset - -) -\begin_inset Foot -status collapsed - -\begin_layout Plain Layout - -\lang english -For more about TeX Code, look at section -\begin_inset space ~ -\end_inset - - -\begin_inset CommandInset ref -LatexCommand ref -reference "sec:Código-TeX" - -\end_inset - -. -\end_layout - -\end_inset - - to your document preamble or in the text: -\end_layout - -\begin_layout Standard - -\series bold -\lang english - -\backslash -renewcommand{ -\backslash -labelenumi}{ -\backslash -roman{enumi}} -\end_layout - -\begin_layout Standard - -\emph on -\lang english -enumi -\emph default - is hereby the counter of the enumeration in the first level. - The command -\series bold - -\backslash -roman -\series default - outputs the counter as small Roman numeral. - For capital Roman numerals replace in the command above -\series bold - -\backslash -roman -\series default - by -\series bold - -\backslash -Roman -\series default -. - For Arabic numerals use -\series bold - -\backslash -arabic -\series default -. - To -\begin_inset Quotes eld -\end_inset - -number -\begin_inset Quotes erd -\end_inset - - items with capital or small Latin letters use -\series bold - -\backslash -Alph -\series default - or -\series bold - -\backslash -alph -\series default -, respectively. - To -\begin_inset Quotes eld -\end_inset - -number -\begin_inset Quotes erd -\end_inset - - items with symbols use -\series bold - -\backslash -fnsymbol -\series default -. -\end_layout - -\begin_layout Standard -\noindent - -\lang english -\begin_inset Note Greyedout -status open - -\begin_layout Plain Layout - -\series bold -\lang english -Note: -\series default - You can only number 26 -\begin_inset space ~ -\end_inset - -items with Latin letters, because this numbering is limited to single letters. -\end_layout - -\end_inset - - -\begin_inset Newline newline -\end_inset - - -\begin_inset Note Greyedout -status open - -\begin_layout Plain Layout - -\series bold -\lang english -Note: -\series default - You can only number 9 -\begin_inset space ~ -\end_inset - -items with symbols. -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Standard - -\lang english -To change the numbering for the list sublevels, replace each 'i' in the - command by the small Roman numeral of the level (enumi, enumii, enumiii, - enumiv). -\end_layout - -\begin_layout Standard - -\lang english -As example a list with custom numbering: -\end_layout - -\begin_layout Standard -\begin_inset ERT -status open - -\begin_layout Plain Layout - - -\backslash -renewcommand{ -\backslash -labelenumi}{ -\backslash -# -\backslash -Alph{enumi} -\backslash -#} -\end_layout - -\begin_layout Plain Layout - - -\backslash -renewcommand{ -\backslash -labelenumii}{ -\backslash -Alph{enumi}. -\backslash -arabic{enumii}} -\end_layout - -\begin_layout Plain Layout - - -\backslash -renewcommand{ -\backslash -labelenumiii}{ -\backslash -fnsymbol{enumiii}} -\end_layout - -\begin_layout Plain Layout - - -\backslash -renewcommand{ -\backslash -labelenumiv}{( -\backslash -roman{enumiv})} -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Enumerate - -\lang english -Level 1 -\end_layout - -\begin_deeper -\begin_layout Enumerate - -\lang english -Level 2 -\end_layout - -\begin_layout Enumerate - -\lang english -Level 2 -\end_layout - -\begin_deeper -\begin_layout Enumerate - -\lang english -Level 3 -\end_layout - -\begin_deeper -\begin_layout Enumerate - -\lang english -Level 4 -\end_layout - -\end_deeper -\end_deeper -\end_deeper -\begin_layout Standard - -\lang english -For this list these commands were used -\lang spanish -: -\end_layout - -\begin_layout Standard -\noindent - -\series bold - -\backslash -renewcommand{ -\backslash -labelenumi}{ -\backslash -# -\backslash -Alph{enumi} -\backslash -#} -\begin_inset Newline newline -\end_inset - - -\backslash -renewcommand{ -\backslash -labelenumii}{ -\backslash -Alph{enumi}. -\backslash -arabic{enumii}} -\begin_inset Newline newline -\end_inset - - -\backslash -renewcommand{ -\backslash -labelenumiii}{ -\backslash -fnsymbol{enumiii}} -\begin_inset Newline newline -\end_inset - - -\backslash -renewcommand{ -\backslash -labelenumiv}{( -\backslash -roman{enumiv})} -\end_layout - -\begin_layout Standard -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - - -\backslash -renewcommand{ -\backslash -labelenumi}{ -\backslash -arabic{enumi}.} -\end_layout - -\begin_layout Plain Layout - - -\backslash -renewcommand{ -\backslash -labelenumii}{ -\backslash -alph{enumi})} -\end_layout - -\begin_layout Plain Layout - - -\backslash -renewcommand{ -\backslash -labelenumiii}{ -\backslash -roman{enumiii}.} -\end_layout - -\begin_layout Plain Layout - - -\backslash -renewcommand{ -\backslash -labelenumiv}{ -\backslash -Alph{enumiv}.} -\end_layout - -\end_inset - - -\lang english - -\begin_inset Note Note -status open - -\begin_layout Plain Layout - -\lang english -set the numbering back to the default -\end_layout - -\end_inset - - -\end_layout - \begin_layout Section Espacios, paginación y saltos de línea \begin_inset Index idx @@ -48113,6 +48622,53 @@ ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption.pdf \end_inset +\end_layout + +\begin_layout Bibliography +\labelwidthstring Bibliografía +\begin_inset CommandInset bibitem +LatexCommand bibitem +key "enumitem" + +\end_inset + + +\begin_inset CommandInset href +LatexCommand href +name "Documentación" +target "http://mirrors.ctan.org/macros/latex/contrib/enumitem/enumitem.pdf" + +\end_inset + + del paquete LaTeX +\series bold +enumitem +\series default + +\begin_inset Index idx +status collapsed + +\begin_layout Plain Layout +LaTeX, paquetes ! enumitem +\end_layout + +\end_inset + +: +\begin_inset Newline newline +\end_inset + + +\begin_inset Flex URL +status collapsed + +\begin_layout Plain Layout +http://mirrors.ctan.org/macros/latex/contrib/enumitem/enumitem.pdf +\end_layout + +\end_inset + + \end_layout \begin_layout Bibliography diff --git a/lib/doc/fr/UserGuide.lyx b/lib/doc/fr/UserGuide.lyx index a1ec8c9eb4..857e08f870 100644 --- a/lib/doc/fr/UserGuide.lyx +++ b/lib/doc/fr/UserGuide.lyx @@ -63,6 +63,7 @@ \use_default_options false \begin_modules customHeadersFooters +enumitem \end_modules \maintain_unincluded_children false \language french @@ -6348,6 +6349,933 @@ reference "sec:Emboîter-les-Environnements" ? \end_layout +\begin_layout Subsection + +\lang english +Customized Lists +\begin_inset Index idx +status collapsed + +\begin_layout Plain Layout + +\lang english +Lists ! Customized +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard + +\lang english +To use the features described in this section, you must load the module + +\family sans +Customisable Lists (enumitem) +\family default + in the document settings. + This loads the features of the LaTeX-package +\lang french + +\series bold +enumitem +\series default + +\begin_inset Index idx +status collapsed + +\begin_layout Plain Layout +Paquetages LaTeX ! enumitem +\end_layout + +\end_inset + +. +\end_layout + +\begin_layout Subsubsection + +\lang english +Custom Enumerate Lists +\begin_inset Index idx +status collapsed + +\begin_layout Plain Layout + +\lang english +Lists ! Enumerate ! Custom +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\noindent + +\lang english +The default numbering of numbered lists can be changed by adding an optional + argument (menu +\family sans +Insert\SpecialChar \menuseparator +Short Title +\family default +) to the first item of each level in the list. + There you add the command +\end_layout + +\begin_layout Standard + +\series bold +label= +\backslash +roman{enumi} +\end_layout + +\begin_layout Standard + +\lang english +in TeX Code (shortcut +\begin_inset Info +type "shortcut" +arg "ert-insert" +\end_inset + +). +\begin_inset Foot +status collapsed + +\begin_layout Plain Layout + +\lang english +For more about TeX Code, look at section +\begin_inset space ~ +\end_inset + + +\begin_inset CommandInset ref +LatexCommand ref +reference "sec:Code-TeX" + +\end_inset + +. +\end_layout + +\end_inset + + +\emph on + enumi +\emph default + is hereby the counter of the enumeration in the first level. + The command +\series bold + +\backslash +roman +\series default + outputs the counter as small Roman numeral. + For capital Roman numerals replace in the command above +\series bold + +\backslash +roman +\series default + by +\series bold + +\backslash +Roman +\series default +. + For Arabic numerals use +\series bold + +\backslash +arabic +\series default +. + To +\begin_inset Quotes eld +\end_inset + +number +\begin_inset Quotes erd +\end_inset + + items with capital or small Latin letters use +\series bold + +\backslash +Alph +\series default + or +\series bold + +\backslash +alph +\series default +, respectively. +\end_layout + +\begin_layout Standard +\noindent + +\lang english +\begin_inset Note Greyedout +status open + +\begin_layout Plain Layout + +\series bold +\lang english +Note: +\series default + You can only number 26 +\begin_inset space ~ +\end_inset + +items with Latin letters, because this numbering is limited to single letters. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard + +\lang english +To change the numbering for the list sublevels, replace the 'i' in the command + by the small Roman numeral of the level (enumi, enumii, enumiii, enumiv). +\end_layout + +\begin_layout Standard + +\lang english +As example a list with custom numbering: +\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 +# +\backslash +Alph{enumi} +\backslash +# +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\lang english +Level 1 +\end_layout + +\begin_deeper +\begin_layout Enumerate +\begin_inset Argument +status open + +\begin_layout Plain Layout +\begin_inset ERT +status open + +\begin_layout Plain Layout + +label= +\backslash +Alph{enumi}. +\backslash +arabic{enumii} +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\lang english +Level 2 +\end_layout + +\begin_layout Enumerate + +\lang english +Level 2 +\end_layout + +\begin_deeper +\begin_layout Enumerate +\begin_inset Argument +status open + +\begin_layout Plain Layout +\begin_inset ERT +status open + +\begin_layout Plain Layout + +label= +\backslash +bf{ +\backslash +arabic{enumiii}} +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\lang english +Level 3 +\end_layout + +\begin_deeper +\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 +roman{enumiv})} +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\lang english +Level 4 +\end_layout + +\end_deeper +\end_deeper +\end_deeper +\begin_layout Standard + +\lang english +For this list these commands were used: +\end_layout + +\begin_layout Standard +\noindent + +\series bold +label= +\backslash +# +\backslash +Alph{enumi} +\backslash +# +\begin_inset Newline newline +\end_inset + +label= +\backslash +Alph{enumi}. +\backslash +arabic{enumii} +\begin_inset Newline newline +\end_inset + +label= +\backslash +bf{ +\backslash +arabic{enumiii}} +\begin_inset Newline newline +\end_inset + +label= +\backslash +emph{ +\backslash +roman{enumiv})} +\end_layout + +\begin_layout Standard + +\lang english +where the command +\series bold + +\backslash +emph{} +\series default + makes the label emphasized and +\series bold + +\backslash +bf{} +\series default + makes it bold. +\end_layout + +\begin_layout Standard + +\lang english +\begin_inset Note Greyedout +status open + +\begin_layout Plain Layout + +\series bold +\lang english +Note: +\series default + When you changed the label of a list level, it will be used for all following + lists until you change the definition. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Subsubsection + +\lang english +Resumed Enumeration +\begin_inset Index idx +status collapsed + +\begin_layout Plain Layout + +\lang english +Lists ! Enumerate ! Resumed +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard + +\lang english +Enumerations can be resumed after intermediate paragraphs: +\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 +arabic{enumi}. +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\lang english +first +\begin_inset Note Note +status open + +\begin_layout Plain Layout + +\lang english +goes back to default numbering +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Enumerate + +\lang english +second +\end_layout + +\begin_layout Standard + +\lang english +regular text +\end_layout + +\begin_layout Enumerate-Resume + +\lang english +resumed +\end_layout + +\begin_layout Standard + +\lang english +To resume an enumeration, use the style +\family sans +Enumerate-Resume +\family default +. + Its numbering appears in blue within LyX to indicate that it is a resumed + list and that the numbering will not be correct in LyX, but in the output. +\end_layout + +\begin_layout Standard + +\lang english +\begin_inset Note Greyedout +status open + +\begin_layout Plain Layout + +\series bold +\lang english +Note: +\series default + If there is no previous enumeration to resume, you will get a LaTeX error. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard + +\lang english +In some cases you might want to resume the list with a different number + than the next one. + Or you want to start a new enumeration, but with a different number. + This is also possible by adding an optional argument to the first list + item. + There insert the command +\end_layout + +\begin_layout Standard + +\series bold +start=number +\end_layout + +\begin_layout Standard + +\lang english +where +\emph on +number +\emph default + is the number with which you want to resume the list. + An example: +\end_layout + +\begin_layout Enumerate + +\lang english +first item +\end_layout + +\begin_layout Enumerate + +\lang english +second item +\end_layout + +\begin_layout Standard + +\lang english +Enumeration starting at a given value: +\end_layout + +\begin_layout Enumerate +\begin_inset Argument +status open + +\begin_layout Plain Layout +\begin_inset ERT +status open + +\begin_layout Plain Layout + +start=4 +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\lang english +This enumeration starts at 4 +\end_layout + +\begin_layout Subsubsection + +\lang english +List Spacing +\begin_inset Index idx +status collapsed + +\begin_layout Plain Layout + +\lang english +Lists ! Spacing +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard + +\lang english +In some cases you might want less or more vertical space between the items + of a list. + For example the default space is too much in your opinion: +\end_layout + +\begin_layout Itemize + +\lang english +A bullet list +\end_layout + +\begin_layout Itemize + +\lang english +with standard spacing +\end_layout + +\begin_layout Standard + +\lang english +You can decrease the space by adding an optional argument to the first item + of the list. + There add the command +\series bold +nolistsep +\series default + to get no space like in this example: +\end_layout + +\begin_layout Itemize +\begin_inset Argument +status open + +\begin_layout Plain Layout +\begin_inset ERT +status open + +\begin_layout Plain Layout + +nolistsep +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\lang english +A bullet list +\end_layout + +\begin_layout Itemize + +\lang english +with no additional +\end_layout + +\begin_layout Itemize + +\lang english +vertical space +\end_layout + +\begin_layout Standard + +\lang english +To add space you can use several other commands provided by the LaTeX-package + +\series bold +enumitem +\series default +\lang french + +\begin_inset Index idx +status collapsed + +\begin_layout Plain Layout +Paquetages LaTeX ! enumitem +\end_layout + +\end_inset + + +\lang english +. + For more info see its documentation +\lang french +, +\begin_inset CommandInset citation +LatexCommand cite +key "enumitem" + +\end_inset + +. +\end_layout + +\begin_layout Standard + +\lang english +There are also many commands available to change the horizontal spacing + and indentation. + Here is an example where the indentation was changed to the negative one + of the paragraphs in the document and the label separation was set to 2 +\begin_inset space \thinspace{} +\end_inset + +cm. +\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, labelsep=2cm +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\lang english +An enumeration +\end_layout + +\begin_layout Enumerate + +\lang english +with negative indentation +\end_layout + +\begin_layout Subsubsection + +\lang english +Further Customization +\begin_inset Index idx +status collapsed + +\begin_layout Plain Layout + +\lang english +Lists ! Description +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard + +\lang english +You can also change the style of description lists. + The command +\end_layout + +\begin_layout Standard + +\series bold +font=definition +\end_layout + +\begin_layout Standard + +\lang english +changes the description label font, the command +\end_layout + +\begin_layout Standard + +\series bold +style=definition +\end_layout + +\begin_layout Standard + +\lang english +sets the list style. +\end_layout + +\begin_layout Standard + +\lang english +An example where the command +\end_layout + +\begin_layout Standard + +\series bold +font= +\backslash +itshape, style=nextline +\end_layout + +\begin_layout Standard + +\lang english +is used: +\end_layout + +\begin_layout Description + +\lang english +Ionizing +\begin_inset space ~ +\end_inset + +radiation: +\lang french + +\begin_inset Argument +status open + +\begin_layout Plain Layout +\begin_inset ERT +status open + +\begin_layout Plain Layout + +labelindent=0pt, labelsep=1cm, font= +\backslash +itshape, style=nextline +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\lang english +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 + +\lang english +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 + +\lang english +There are many more commands and features provided by the LaTeX-package + +\series bold +enumitem +\series default +\lang french + +\begin_inset Index idx +status collapsed + +\begin_layout Plain Layout +Paquetages LaTeX ! enumitem +\end_layout + +\end_inset + + +\lang english +. + For more info see its documentation +\lang french +, +\begin_inset CommandInset citation +LatexCommand cite +key "enumitem" + +\end_inset + + +\end_layout + \begin_layout Subsection Lettres \begin_inset Index idx @@ -9495,428 +10423,6 @@ ListePuces Vous avez une énorme variété d'options à votre disposition. \end_layout -\begin_layout Subsection - -\lang english -Custom Numbering of Numbered Lists -\begin_inset Index idx -status collapsed - -\begin_layout Plain Layout - -\lang english -Lists ! Enumerate ! Customized -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Standard -\noindent - -\lang english -The default numbering of numbered lists can be changed by adding this command - in TeX Code (shortcut -\begin_inset Info -type "shortcut" -arg "ert-insert" -\end_inset - -) -\begin_inset Foot -status collapsed - -\begin_layout Plain Layout - -\lang english -For more about TeX Code, look at section -\begin_inset space ~ -\end_inset - - -\begin_inset CommandInset ref -LatexCommand ref -reference "sec:Code-TeX" - -\end_inset - -. -\end_layout - -\end_inset - - to your document preamble or in the text: -\end_layout - -\begin_layout Standard - -\series bold - -\backslash -renewcommand{ -\backslash -labelenumi}{ -\backslash -roman{enumi}} -\end_layout - -\begin_layout Standard - -\emph on -\lang english -enumi -\emph default - is hereby the counter of the enumeration in the first level. - The command -\series bold - -\backslash -roman -\series default - outputs the counter as small Roman numeral. - For capital Roman numerals replace in the command above -\series bold - -\backslash -roman -\series default - by -\series bold - -\backslash -Roman -\series default -. - For Arabic numerals use -\series bold - -\backslash -arabic -\series default -. - To -\begin_inset Quotes eld -\end_inset - -number -\begin_inset Quotes erd -\end_inset - - items with capital or small Latin letters use -\series bold - -\backslash -Alph -\series default - or -\series bold - -\backslash -alph -\series default -, respectively. - To -\begin_inset Quotes eld -\end_inset - -number -\begin_inset Quotes erd -\end_inset - - items with symbols use -\series bold - -\backslash -fnsymbol -\series default -. -\end_layout - -\begin_layout Standard -\noindent - -\lang english -\begin_inset Note Greyedout -status open - -\begin_layout Plain Layout - -\series bold -\lang english -Note: -\series default - You can only number 26 -\begin_inset space ~ -\end_inset - -items with Latin letters, because this numbering is limited to single letters. -\end_layout - -\end_inset - - -\begin_inset Newline newline -\end_inset - - -\begin_inset Note Greyedout -status open - -\begin_layout Plain Layout - -\series bold -\lang english -Note: -\series default - You can only number 9 -\begin_inset space ~ -\end_inset - -items with symbols. -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Standard - -\lang english -To change the numbering for the list sublevels, replace each 'i' in the - command by the small Roman numeral of the level (enumi, enumii, enumiii, - enumiv). -\end_layout - -\begin_layout Standard - -\lang english -As example a list with custom numbering -\lang french -: -\end_layout - -\begin_layout Standard -\begin_inset ERT -status open - -\begin_layout Plain Layout - - -\backslash -renewcommand{ -\backslash -labelenumi}{ -\backslash -# -\backslash -Alph{enumi} -\backslash -#} -\end_layout - -\begin_layout Plain Layout - - -\backslash -renewcommand{ -\backslash -labelenumii}{ -\backslash -Alph{enumi}. -\backslash -arabic{enumii}} -\end_layout - -\begin_layout Plain Layout - - -\backslash -renewcommand{ -\backslash -labelenumiii}{ -\backslash -fnsymbol{enumiii}} -\end_layout - -\begin_layout Plain Layout - - -\backslash -renewcommand{ -\backslash -labelenumiv}{( -\backslash -roman{enumiv})} -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Enumerate - -\lang english -Level 1 -\end_layout - -\begin_deeper -\begin_layout Enumerate - -\lang english -Level 2 -\end_layout - -\begin_layout Enumerate - -\lang english -Level 2 -\end_layout - -\begin_deeper -\begin_layout Enumerate - -\lang english -Level 3 -\end_layout - -\begin_deeper -\begin_layout Enumerate - -\lang english -Level 4 -\end_layout - -\end_deeper -\end_deeper -\end_deeper -\begin_layout Standard - -\lang english -For this list these commands were used -\lang french -: -\end_layout - -\begin_layout Standard -\noindent - -\series bold - -\backslash -renewcommand{ -\backslash -labelenumi}{ -\backslash -# -\backslash -Alph{enumi} -\backslash -#} -\begin_inset Newline newline -\end_inset - - -\backslash -renewcommand{ -\backslash -labelenumii}{ -\backslash -Alph{enumi}. -\backslash -arabic{enumii}} -\begin_inset Newline newline -\end_inset - - -\backslash -renewcommand{ -\backslash -labelenumiii}{ -\backslash -fnsymbol{enumiii}} -\begin_inset Newline newline -\end_inset - - -\backslash -renewcommand{ -\backslash -labelenumiv}{( -\backslash -roman{enumiv})} -\end_layout - -\begin_layout Standard -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - - -\backslash -renewcommand{ -\backslash -labelenumi}{ -\backslash -arabic{enumi}.} -\end_layout - -\begin_layout Plain Layout - - -\backslash -renewcommand{ -\backslash -labelenumii}{ -\backslash -alph{enumi})} -\end_layout - -\begin_layout Plain Layout - - -\backslash -renewcommand{ -\backslash -labelenumiii}{ -\backslash -roman{enumiii}.} -\end_layout - -\begin_layout Plain Layout - - -\backslash -renewcommand{ -\backslash -labelenumiv}{ -\backslash -Alph{enumiv}.} -\end_layout - -\end_inset - - -\lang english - -\begin_inset Note Note -status open - -\begin_layout Plain Layout - -\lang english -set the numbering back to the default -\end_layout - -\end_inset - - -\end_layout - \begin_layout Standard \end_layout @@ -46913,6 +47419,53 @@ ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption.pdf \end_inset +\end_layout + +\begin_layout Bibliography +\labelwidthstring Bibliographie +\begin_inset CommandInset bibitem +LatexCommand bibitem +key "enumitem" + +\end_inset + + +\begin_inset CommandInset href +LatexCommand href +name "Documentation" +target "http://mirrors.ctan.org/macros/latex/contrib/enumitem/enumitem.pdf" + +\end_inset + + du paquetage LaTeX +\series bold +enumitem +\series default + +\begin_inset Index idx +status collapsed + +\begin_layout Plain Layout +Paquetages LaTeX ! enumitem +\end_layout + +\end_inset + +: +\begin_inset Newline newline +\end_inset + + +\begin_inset Flex URL +status collapsed + +\begin_layout Plain Layout +http://mirrors.ctan.org/macros/latex/contrib/enumitem/enumitem.pdf +\end_layout + +\end_inset + + \end_layout \begin_layout Bibliography diff --git a/lib/doc/ja/UserGuide.lyx b/lib/doc/ja/UserGuide.lyx index beea907cab..856e3b50a0 100644 --- a/lib/doc/ja/UserGuide.lyx +++ b/lib/doc/ja/UserGuide.lyx @@ -73,6 +73,7 @@ \use_default_options false \begin_modules customHeadersFooters +enumitem \end_modules \maintain_unincluded_children false \language japanese @@ -9784,6 +9785,935 @@ reference "sub:水平方向の空白" を入れると中央揃えになります。 \end_layout +\begin_layout Subsection + +\lang english +Customized Lists +\begin_inset Index idx +status collapsed + +\begin_layout Plain Layout + +\lang english +Lists ! Customized +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard + +\lang english +To use the features described in this section, you must load the module + +\family sans +Customisable Lists (enumitem) +\family default + in the document settings. + This loads the features of the LaTeX-package +\lang japanese + +\series bold +enumitem +\series default + +\begin_inset Index idx +status collapsed + +\begin_layout Plain Layout +Latexぱっけーじ@LaTeXパッケージ ! enumitem +\end_layout + +\end_inset + +. +\end_layout + +\begin_layout Subsubsection + +\lang english +Custom Enumerate Lists +\begin_inset Index idx +status collapsed + +\begin_layout Plain Layout + +\lang english +Lists ! Enumerate ! Custom +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\noindent + +\lang english +The default numbering of numbered lists can be changed by adding an optional + argument (menu +\family sans +Insert\SpecialChar \menuseparator +Short Title +\family default +) to the first item of each level in the list. + There you add the command +\end_layout + +\begin_layout Standard + +\series bold +label= +\backslash +roman{enumi} +\end_layout + +\begin_layout Standard + +\lang english +in TeX Code (shortcut +\begin_inset Info +type "shortcut" +arg "ert-insert" +\end_inset + +). +\begin_inset Foot +status collapsed + +\begin_layout Plain Layout + +\lang english +For more about TeX Code, look at section +\lang japanese + +\begin_inset space ~ +\end_inset + + +\begin_inset CommandInset ref +LatexCommand ref +reference "sec:TeXコード" + +\end_inset + +. +\end_layout + +\end_inset + + +\emph on + enumi +\emph default + is hereby the counter of the enumeration in the first level. + The command +\series bold + +\backslash +roman +\series default + outputs the counter as small Roman numeral. + For capital Roman numerals replace in the command above +\series bold + +\backslash +roman +\series default + by +\series bold + +\backslash +Roman +\series default +. + For Arabic numerals use +\series bold + +\backslash +arabic +\series default +. + To +\begin_inset Quotes eld +\end_inset + +number +\begin_inset Quotes erd +\end_inset + + items with capital or small Latin letters use +\series bold + +\backslash +Alph +\series default + or +\series bold + +\backslash +alph +\series default +, respectively. +\end_layout + +\begin_layout Standard +\noindent + +\lang english +\begin_inset Note Greyedout +status open + +\begin_layout Plain Layout + +\series bold +\lang english +Note: +\series default + You can only number 26 +\begin_inset space ~ +\end_inset + +items with Latin letters, because this numbering is limited to single letters. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard + +\lang english +To change the numbering for the list sublevels, replace the 'i' in the command + by the small Roman numeral of the level (enumi, enumii, enumiii, enumiv). +\end_layout + +\begin_layout Standard + +\lang english +As example a list with custom numbering: +\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 +# +\backslash +Alph{enumi} +\backslash +# +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\lang english +Level 1 +\end_layout + +\begin_deeper +\begin_layout Enumerate +\begin_inset Argument +status open + +\begin_layout Plain Layout +\begin_inset ERT +status open + +\begin_layout Plain Layout + +label= +\backslash +Alph{enumi}. +\backslash +arabic{enumii} +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\lang english +Level 2 +\end_layout + +\begin_layout Enumerate + +\lang english +Level 2 +\end_layout + +\begin_deeper +\begin_layout Enumerate +\begin_inset Argument +status open + +\begin_layout Plain Layout +\begin_inset ERT +status open + +\begin_layout Plain Layout + +label= +\backslash +bf{ +\backslash +arabic{enumiii}} +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\lang english +Level 3 +\end_layout + +\begin_deeper +\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 +roman{enumiv})} +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\lang english +Level 4 +\end_layout + +\end_deeper +\end_deeper +\end_deeper +\begin_layout Standard + +\lang english +For this list these commands were used: +\end_layout + +\begin_layout Standard +\noindent + +\series bold +label= +\backslash +# +\backslash +Alph{enumi} +\backslash +# +\begin_inset Newline newline +\end_inset + +label= +\backslash +Alph{enumi}. +\backslash +arabic{enumii} +\begin_inset Newline newline +\end_inset + +label= +\backslash +bf{ +\backslash +arabic{enumiii}} +\begin_inset Newline newline +\end_inset + +label= +\backslash +emph{ +\backslash +roman{enumiv})} +\end_layout + +\begin_layout Standard + +\lang english +where the command +\series bold + +\backslash +emph{} +\series default + makes the label emphasized and +\series bold + +\backslash +bf{} +\series default + makes it bold. +\end_layout + +\begin_layout Standard + +\lang english +\begin_inset Note Greyedout +status open + +\begin_layout Plain Layout + +\series bold +\lang english +Note: +\series default + When you changed the label of a list level, it will be used for all following + lists until you change the definition. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Subsubsection + +\lang english +Resumed Enumeration +\begin_inset Index idx +status collapsed + +\begin_layout Plain Layout + +\lang english +Lists ! Enumerate ! Resumed +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard + +\lang english +Enumerations can be resumed after intermediate paragraphs: +\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 +arabic{enumi}. +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\lang english +first +\begin_inset Note Note +status open + +\begin_layout Plain Layout + +\lang english +goes back to default numbering +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Enumerate + +\lang english +second +\end_layout + +\begin_layout Standard + +\lang english +regular text +\end_layout + +\begin_layout Enumerate-Resume + +\lang english +resumed +\end_layout + +\begin_layout Standard + +\lang english +To resume an enumeration, use the style +\family sans +Enumerate-Resume +\family default +. + Its numbering appears in blue within LyX to indicate that it is a resumed + list and that the numbering will not be correct in LyX, but in the output. +\end_layout + +\begin_layout Standard + +\lang english +\begin_inset Note Greyedout +status open + +\begin_layout Plain Layout + +\series bold +\lang english +Note: +\series default + If there is no previous enumeration to resume, you will get a LaTeX error. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard + +\lang english +In some cases you might want to resume the list with a different number + than the next one. + Or you want to start a new enumeration, but with a different number. + This is also possible by adding an optional argument to the first list + item. + There insert the command +\end_layout + +\begin_layout Standard + +\series bold +start=number +\end_layout + +\begin_layout Standard + +\lang english +where +\emph on +number +\emph default + is the number with which you want to resume the list. + An example: +\end_layout + +\begin_layout Enumerate + +\lang english +first item +\end_layout + +\begin_layout Enumerate + +\lang english +second item +\end_layout + +\begin_layout Standard + +\lang english +Enumeration starting at a given value: +\end_layout + +\begin_layout Enumerate +\begin_inset Argument +status open + +\begin_layout Plain Layout +\begin_inset ERT +status open + +\begin_layout Plain Layout + +start=4 +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\lang english +This enumeration starts at 4 +\end_layout + +\begin_layout Subsubsection + +\lang english +List Spacing +\begin_inset Index idx +status collapsed + +\begin_layout Plain Layout + +\lang english +Lists ! Spacing +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard + +\lang english +In some cases you might want less or more vertical space between the items + of a list. + For example the default space is too much in your opinion: +\end_layout + +\begin_layout Itemize + +\lang english +A bullet list +\end_layout + +\begin_layout Itemize + +\lang english +with standard spacing +\end_layout + +\begin_layout Standard + +\lang english +You can decrease the space by adding an optional argument to the first item + of the list. + There add the command +\series bold +nolistsep +\series default + to get no space like in this example: +\end_layout + +\begin_layout Itemize +\begin_inset Argument +status open + +\begin_layout Plain Layout +\begin_inset ERT +status open + +\begin_layout Plain Layout + +nolistsep +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\lang english +A bullet list +\end_layout + +\begin_layout Itemize + +\lang english +with no additional +\end_layout + +\begin_layout Itemize + +\lang english +vertical space +\end_layout + +\begin_layout Standard + +\lang english +To add space you can use several other commands provided by the LaTeX-package + +\series bold +enumitem +\series default +\lang japanese + +\begin_inset Index idx +status collapsed + +\begin_layout Plain Layout +Latexぱっけーじ@LaTeXパッケージ ! enumitem +\end_layout + +\end_inset + + +\lang english +. + For more info see its documentation +\lang japanese +, +\begin_inset CommandInset citation +LatexCommand cite +key "enumitem" + +\end_inset + +. +\end_layout + +\begin_layout Standard + +\lang english +There are also many commands available to change the horizontal spacing + and indentation. + Here is an example where the indentation was changed to the negative one + of the paragraphs in the document and the label separation was set to 2 +\begin_inset space \thinspace{} +\end_inset + +cm. +\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, labelsep=2cm +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\lang english +An enumeration +\end_layout + +\begin_layout Enumerate + +\lang english +with negative indentation +\end_layout + +\begin_layout Subsubsection + +\lang english +Further Customization +\begin_inset Index idx +status collapsed + +\begin_layout Plain Layout + +\lang english +Lists ! Description +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard + +\lang english +You can also change the style of description lists. + The command +\end_layout + +\begin_layout Standard + +\series bold +font=definition +\end_layout + +\begin_layout Standard + +\lang english +changes the description label font, the command +\end_layout + +\begin_layout Standard + +\series bold +style=definition +\end_layout + +\begin_layout Standard + +\lang english +sets the list style. +\end_layout + +\begin_layout Standard + +\lang english +An example where the command +\end_layout + +\begin_layout Standard + +\series bold +font= +\backslash +itshape, style=nextline +\end_layout + +\begin_layout Standard + +\lang english +is used: +\end_layout + +\begin_layout Description + +\lang english +Ionizing +\begin_inset space ~ +\end_inset + +radiation: +\lang japanese + +\begin_inset Argument +status open + +\begin_layout Plain Layout +\begin_inset ERT +status open + +\begin_layout Plain Layout + +labelindent=0pt, labelsep=1cm, font= +\backslash +itshape, style=nextline +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\lang english +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 + +\lang english +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 + +\lang english +There are many more commands and features provided by the LaTeX-package + +\series bold +enumitem +\series default +\lang japanese + +\begin_inset Index idx +status collapsed + +\begin_layout Plain Layout +Latexぱっけーじ@LaTeXパッケージ ! enumitem +\end_layout + +\end_inset + + +\lang english +. + For more info see its documentation +\lang japanese +, +\begin_inset CommandInset citation +LatexCommand cite +key "enumitem" + +\end_inset + + +\end_layout + \begin_layout Subsection 書簡 \begin_inset Foot @@ -15118,430 +16048,6 @@ Moosegroin, MT 00100 を入れることも簡単にできます。膨大な選択肢を自由にお使いいただけるのです。 \end_layout -\begin_layout Subsection - -\lang english -Custom Numbering of Numbered Lists -\begin_inset Index idx -status collapsed - -\begin_layout Plain Layout - -\lang english -Lists ! Enumerate ! Customized -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Standard -\noindent - -\lang english -The default numbering of numbered lists can be changed by adding this command - in TeX Code (shortcut -\begin_inset Info -type "shortcut" -arg "ert-insert" -\end_inset - -) -\begin_inset Foot -status collapsed - -\begin_layout Plain Layout - -\lang english -For more about TeX Code, look at section -\lang japanese - -\begin_inset space ~ -\end_inset - - -\begin_inset CommandInset ref -LatexCommand ref -reference "sec:TeXコード" - -\end_inset - -. -\end_layout - -\end_inset - - to your document preamble or in the text: -\end_layout - -\begin_layout Standard - -\series bold - -\backslash -renewcommand{ -\backslash -labelenumi}{ -\backslash -roman{enumi}} -\end_layout - -\begin_layout Standard - -\emph on -\lang english -enumi -\emph default - is hereby the counter of the enumeration in the first level. - The command -\series bold - -\backslash -roman -\series default - outputs the counter as small Roman numeral. - For capital Roman numerals replace in the command above -\series bold - -\backslash -roman -\series default - by -\series bold - -\backslash -Roman -\series default -. - For Arabic numerals use -\series bold - -\backslash -arabic -\series default -. - To -\begin_inset Quotes eld -\end_inset - -number -\begin_inset Quotes erd -\end_inset - - items with capital or small Latin letters use -\series bold - -\backslash -Alph -\series default - or -\series bold - -\backslash -alph -\series default -, respectively. - To -\begin_inset Quotes eld -\end_inset - -number -\begin_inset Quotes erd -\end_inset - - items with symbols use -\series bold - -\backslash -fnsymbol -\series default -. -\end_layout - -\begin_layout Standard -\noindent - -\lang english -\begin_inset Note Greyedout -status open - -\begin_layout Plain Layout - -\series bold -\lang english -Note: -\series default - You can only number 26 -\begin_inset space ~ -\end_inset - -items with Latin letters, because this numbering is limited to single letters. -\end_layout - -\end_inset - - -\begin_inset Newline newline -\end_inset - - -\begin_inset Note Greyedout -status open - -\begin_layout Plain Layout - -\series bold -\lang english -Note: -\series default - You can only number 9 -\begin_inset space ~ -\end_inset - -items with symbols. -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Standard - -\lang english -To change the numbering for the list sublevels, replace each 'i' in the - command by the small Roman numeral of the level (enumi, enumii, enumiii, - enumiv). -\end_layout - -\begin_layout Standard - -\lang english -As example a list with custom numbering -\lang japanese -: -\end_layout - -\begin_layout Standard -\begin_inset ERT -status open - -\begin_layout Plain Layout - - -\backslash -renewcommand{ -\backslash -labelenumi}{ -\backslash -# -\backslash -Alph{enumi} -\backslash -#} -\end_layout - -\begin_layout Plain Layout - - -\backslash -renewcommand{ -\backslash -labelenumii}{ -\backslash -Alph{enumi}. -\backslash -arabic{enumii}} -\end_layout - -\begin_layout Plain Layout - - -\backslash -renewcommand{ -\backslash -labelenumiii}{ -\backslash -fnsymbol{enumiii}} -\end_layout - -\begin_layout Plain Layout - - -\backslash -renewcommand{ -\backslash -labelenumiv}{( -\backslash -roman{enumiv})} -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Enumerate - -\lang english -Level 1 -\end_layout - -\begin_deeper -\begin_layout Enumerate - -\lang english -Level 2 -\end_layout - -\begin_layout Enumerate - -\lang english -Level 2 -\end_layout - -\begin_deeper -\begin_layout Enumerate - -\lang english -Level 3 -\end_layout - -\begin_deeper -\begin_layout Enumerate - -\lang english -Level 4 -\end_layout - -\end_deeper -\end_deeper -\end_deeper -\begin_layout Standard - -\lang english -For this list these commands were used -\lang japanese -: -\end_layout - -\begin_layout Standard -\noindent - -\series bold - -\backslash -renewcommand{ -\backslash -labelenumi}{ -\backslash -# -\backslash -Alph{enumi} -\backslash -#} -\begin_inset Newline newline -\end_inset - - -\backslash -renewcommand{ -\backslash -labelenumii}{ -\backslash -Alph{enumi}. -\backslash -arabic{enumii}} -\begin_inset Newline newline -\end_inset - - -\backslash -renewcommand{ -\backslash -labelenumiii}{ -\backslash -fnsymbol{enumiii}} -\begin_inset Newline newline -\end_inset - - -\backslash -renewcommand{ -\backslash -labelenumiv}{( -\backslash -roman{enumiv})} -\end_layout - -\begin_layout Standard -\begin_inset ERT -status collapsed - -\begin_layout Plain Layout - - -\backslash -renewcommand{ -\backslash -labelenumi}{ -\backslash -arabic{enumi}.} -\end_layout - -\begin_layout Plain Layout - - -\backslash -renewcommand{ -\backslash -labelenumii}{ -\backslash -alph{enumi})} -\end_layout - -\begin_layout Plain Layout - - -\backslash -renewcommand{ -\backslash -labelenumiii}{ -\backslash -roman{enumiii}.} -\end_layout - -\begin_layout Plain Layout - - -\backslash -renewcommand{ -\backslash -labelenumiv}{ -\backslash -Alph{enumiv}.} -\end_layout - -\end_inset - - -\lang english - -\begin_inset Note Note -status open - -\begin_layout Plain Layout - -\lang english -set the numbering back to the default -\end_layout - -\end_inset - - -\end_layout - \begin_layout Section 余白取りとページ付けおよび改行 \begin_inset Index idx @@ -50851,6 +51357,16 @@ LaTeXパッケージ \series bold caption \series default + +\begin_inset Index idx +status collapsed + +\begin_layout Plain Layout +Latexぱっけーじ@LaTeXパッケージ ! caption +\end_layout + +\end_inset + の \begin_inset CommandInset href LatexCommand href @@ -50875,6 +51391,53 @@ ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption.pdf \end_inset +\end_layout + +\begin_layout Bibliography +\labelwidthstring 参考文献 +\begin_inset CommandInset bibitem +LatexCommand bibitem +key "enumitem" + +\end_inset + +LaTeXパッケージ +\series bold +enumitem +\series default + +\begin_inset Index idx +status collapsed + +\begin_layout Plain Layout +Latexぱっけーじ@LaTeXパッケージ ! enumitem +\end_layout + +\end_inset + +の +\begin_inset CommandInset href +LatexCommand href +name "取扱説明書" +target "http://mirrors.ctan.org/macros/latex/contrib/enumitem/enumitem.pdf" + +\end_inset + +: +\begin_inset Newline newline +\end_inset + + +\begin_inset Flex URL +status collapsed + +\begin_layout Plain Layout +http://mirrors.ctan.org/macros/latex/contrib/enumitem/enumitem.pdf +\end_layout + +\end_inset + + \end_layout \begin_layout Bibliography diff --git a/lib/examples/enumitem.lyx b/lib/examples/enumitem.lyx deleted file mode 100644 index f107a0ac5c..0000000000 --- a/lib/examples/enumitem.lyx +++ /dev/null @@ -1,559 +0,0 @@ -#LyX 2.0 created this file. For more info see http://www.lyx.org/ -\lyxformat 413 -\begin_document -\begin_header -\textclass article -\use_default_options false -\begin_modules -enumitem -\end_modules -\maintain_unincluded_children false -\language british -\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 false -\pdf_bookmarks true -\pdf_bookmarksnumbered false -\pdf_bookmarksopen false -\pdf_bookmarksopenlevel 1 -\pdf_breaklinks false -\pdf_pdfborder true -\pdf_colorlinks true -\pdf_backref section -\pdf_pdfusetitle true -\papersize a4paper -\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 indent -\paragraph_indentation default -\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 Section* -The enumitem Module -\end_layout - -\begin_layout Standard -The enumitem 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 Subsection* -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 -\begin_inset ERT -status open - -\begin_layout Plain Layout - -TeX code box -\end_layout - -\end_inset - -. -\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 Subsection* -Resume enumeration -\end_layout - -\begin_layout Standard -\begin_inset Note Note -status open - -\begin_layout Enumerate-Resume -Attention, 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 Subsection* -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 Subsection* -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 -- 2.39.2