"Fossies" - the Fresh Open Source Software Archive

Member "hevea-2.35/examples/list.tex" (16 Jan 2021, 1157 Bytes) of package /linux/www/hevea-2.35.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) TeX and LaTeX source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 \documentclass{article}
    2 \title{List test}
    3 \date{}
    4 \footerfalse
    5 \newenvironment{list2}
    6 {\begin{list}{}{\setlength{\itemsep}{0em}\setlength{\labelsep}{0em}%
    7       \renewcommand{\makelabel}[1]{\textbf{$\bullet$\ ##1}}}}
    8 {\end{list}}%
    9 \begin{document}\maketitle
   10 \section{Paragraphs}
   11 Long text,
   12 long text,
   13 long text,
   14 long text,
   15 long text,
   16 long text,
   17 long text,
   18 long text,
   19 long text,
   20 long text,
   21 long text,
   22 long text,
   23 long text.
   24 
   25 Long text,
   26 long text,
   27 long text,
   28 long text,
   29 long text,
   30 long text,
   31 long text,
   32 long text,
   33 long text,
   34 long text,
   35 long text,
   36 long text,
   37 long text.
   38 
   39 \section{Simple lists}Environment \texttt{itemize}
   40 \begin{itemize}
   41 \item First item.
   42 \item Second item.
   43 \end{itemize}
   44 
   45 Environment \texttt{enumerate}
   46 \begin{enumerate}
   47 \item First item.
   48 \item Second item.
   49 \end{enumerate}
   50 
   51 Environment \texttt{description}
   52 \begin{description}
   53 \item[First] item.
   54 \item[Second] item.
   55 \item[Third] long item, long item, long item, long item, long item, long item, long item, long item, long item.
   56 \end{description}
   57 
   58 \section{Complex list}
   59 \begin{list2}
   60 \item Coucou
   61 \item Zobi
   62 \begin{list2}
   63 \item[a] Coucou
   64 \item[b] Zobi
   65 \end{list2}
   66 \end{list2}
   67 
   68 \end{document}