[latexrefman-commits] r400 - in /trunk: ChangeLog latex2e.texi
jhefferon at domain.hid
jhefferon at domain.hid
Thu Aug 13 23:16:01 CEST 2015
Author: jhefferon
Date: Thu Aug 13 23:16:00 2015
New Revision: 400
URL: http://svn.gna.org/viewcvs/latexrefman?rev=400&view=rev
Log:
add node \item
Modified:
trunk/ChangeLog
trunk/latex2e.texi
Modified: trunk/ChangeLog
URL: http://svn.gna.org/viewcvs/latexrefman/trunk/ChangeLog?rev=400&r1=399&r2=400&view=diff
==============================================================================
--- trunk/ChangeLog (original)
+++ trunk/ChangeLog Thu Aug 13 23:16:00 2015
@@ -1,6 +1,11 @@
2015-08-13 Jim Hefferon <jhefferon at domain.hid>
- * latex2e.texi (array): Fis description of optional position
+ * latex2e.texi (item): Add node for this command, subordinate to
+ the list node.
+
+2015-08-13 Jim Hefferon <jhefferon at domain.hid>
+
+ * latex2e.texi (array): Fix description of optional position
argument for array.
2015-08-12 Jim Hefferon <jhefferon at domain.hid>
Modified: trunk/latex2e.texi
URL: http://svn.gna.org/viewcvs/latexrefman/trunk/latex2e.texi?rev=400&r1=399&r2=400&view=diff
==============================================================================
--- trunk/latex2e.texi (original)
+++ trunk/latex2e.texi Thu Aug 13 23:16:00 2015
@@ -2062,8 +2062,8 @@
@example
\begin at domain.hid@}
-\item @var{item1}
-\item @var{item2}
+\item [@var{first label}] text of first item
+\item [@var{second label}] text of second item
...
\end at domain.hid@}
@end example
@@ -2661,6 +2661,63 @@
The width used for typesetting the list items is specified by
@code{\linewidth} (@pxref{Page layout parameters}).
+
+ at menu
+* \item:: An entry in a list.
+ at end menu
+
+
+ at node \item
+
+Synopsis:
+
+ at example
+\item text of item
+ at end example
+
+or
+ at example
+\item[@var{optional label}] text of item
+ at end example
+
+An entry in a list. The entries are prefixed by a label, whose default
+depends on the list type.
+
+ at LaTeX{}'s default is that an @code{itemize} list is labelled with
+bullets. In a @code{description} list each @code{\item} should use the
+ at var{optional label}, otherwise @LaTeX{} leaves the label empty. By
+default an @code{enumerate} list at the outermost level (that is, not
+nested inside another list) is labelled with ascending arabic numbers
+followed by a period, as in @samp{1.}. If an @code{enumerate} list is
+nested inside another to make a second level list, then by default it is
+labelled with a lower case letter inside parentheses, as in @samp{(a)}.
+At the third level by default it is labelled with a lower case roman
+numeral followed by a period, and at the fourth level of nesting it is
+labelled with an upper case letter followed by a period.
+
+Because the optional argument @var{optional label} is surrounded by
+square brackets at domain.hid{[} and @code{]}), to use square brackets
+inside the optional argument you must hide them inside curly braces, as
+in @code{\item[Close square bracket, @{]@}]}. Similarly, to use an open
+square bracket as first character in the text of the item, also hide it
+inside curly braces.
+
+In this example the @code{enumerate} list has two items that use the
+default label and one that uses the optional label.
+
+ at example
+\begin at domain.hid@}
+ \item Moe
+ \item[sometimes] Shemp
+ \item Larry
+\end at domain.hid@}
+ at end example
+
+The first item is labelled @samp{1.}, the second item is labelled
+ at samp{sometimes}, and the third item is labelled @samp{2.} (note that,
+because of the optional label in the second item, the third item does
+not get a @samp{3.}).
+
@node math
More information about the latexrefman-commits
mailing list