summaryrefslogtreecommitdiff
path: root/info/beginlatex/src/demodoc.xml
blob: 8352b176e68a556d8603467f26f8f8cb1b6d9d5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<?xml version="1.0"?>
<!DOCTYPE sect1 SYSTEM "/dtds/docbook/docbookx.dtd" [
<!ENTITY LaTeX "\LaTeX{}">
]>
<sect1>
  <title>My first document</title>
  <para>This is a short example of a &LaTeX; document I wrote on
    <systemitem class="resource" lang="LaTeX">\today</systemitem>. It
    shows a few simple features of automated typesetting,
    including</para>
  <itemizedlist>
    <listitem>
      <para>setting the default font size to 12pt;</para>
    </listitem>
    <listitem>
      <para>specifying <methodname>article</methodname> type
	formatting;</para>
    </listitem>
    <listitem>
      <para>using the Palatino typeface;</para>
    </listitem>
    <listitem>
      <para>adding special formatting for URLs;</para>
    </listitem>
    <listitem>
      <para>formatting a heading in <methodname>section</methodname>
	style;</para>
    </listitem>
    <listitem>
      <para>using the &LaTeX; logo;</para>
    </listitem>
    <listitem>
      <para>generating today's date;</para>
    </listitem>
    <listitem>
      <para>formatting a list of items;</para>
    </listitem>
    <listitem>
      <para>centering and italicizing;</para>
    </listitem>
    <listitem>
      <para>autonumbering the pages.</para>
    </listitem>
  </itemizedlist>
  <sect2>
    <title>More information</title>
    <para>This example was taken from <link linkend="fi"
	remap="title"></link>, which you can download from <link
	linkend="fi" remap="url"></link> and use as a teach-yourself
      guide.</para>
    <sidebar>
      <para remap="\itshape">Have a nice day!</para>
    </sidebar>
  </sect2>
  <bibliography>
    <biblioentry id="fi">
      <articleinfo>
	<author>
	  <surname>Flynn</surname>
	  <firstname>Peter</firstname>
	</author>
	<title>Formatting Information</title>
      </articleinfo>
      <title>TUGboat</title>
      <volumenum>23</volumenum>
      <issuenum>2</issuenum>
      <date>2002</date>
      <artpagenums>115-250</artpagenums>
      <address>http://www.ctan.org/tex-archive/info/beginlatex/</address>
    </biblioentry>
  </bibliography>
</sect1>