diff options
author | Karl Berry <karl@freefriends.org> | 2007-12-28 19:57:02 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2007-12-28 19:57:02 +0000 |
commit | c7cfef6687f65c2538898ddd7c6bc9c9ba50e58d (patch) | |
tree | 8f4de70d1a11463779871162ba84c1dbc874155b /Master/texmf-doc/doc/english/FAQ-en/html/FAQ-writecls.html | |
parent | 8948a31a6e2ac27883f7adac1b339003961ba43f (diff) |
uk-tex-faq 3.17 (7nov07)
git-svn-id: svn://tug.org/texlive/trunk@5977 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-doc/doc/english/FAQ-en/html/FAQ-writecls.html')
-rw-r--r-- | Master/texmf-doc/doc/english/FAQ-en/html/FAQ-writecls.html | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/Master/texmf-doc/doc/english/FAQ-en/html/FAQ-writecls.html b/Master/texmf-doc/doc/english/FAQ-en/html/FAQ-writecls.html index 846e1509a5e..492b1347ae9 100644 --- a/Master/texmf-doc/doc/english/FAQ-en/html/FAQ-writecls.html +++ b/Master/texmf-doc/doc/english/FAQ-en/html/FAQ-writecls.html @@ -2,11 +2,11 @@ <title>UK TeX FAQ -- question label writecls</title> </head><body> <h3>Learning to write LaTeX classes and packages</h3> -<p>There’s nothing particularly magic about the commands you use when +<p/>There’s nothing particularly magic about the commands you use when writing a package, so you can simply bundle up a set of LaTeX <code>\</code><code>(re)newcommand</code> and <code>\</code><code>(re)newenvironment</code> commands, put them in a file <i>package.sty</i> and you have a package. -<p>However, any but the most trivial package will require rather more +<p/>However, any but the most trivial package will require rather more sophistication. Some details of LaTeX commands for the job are to be found in ‘LaTeX2e for class and package writers’ (<i>clsguide</i>, part of the LaTeX documentation distribution). @@ -20,23 +20,24 @@ source of LaTeX may be prepared by processing the file <i>source2e.tex</i> in the LaTeX distribution, but individual files in the distribution may be processed separately with LaTeX, like any well-constructed <a href="FAQ-dtx.html"><code>.dtx</code> file</a>. -<p>Writing good classes is not easy; it’s a good idea to read some +<p/>Writing good classes is not easy; it’s a good idea to read some established ones (<i>classes.dtx</i>, for example, is the documented source of the standard classes other than <i>Letter</i>, and may itself be formatted with LaTeX). Classes that are not part of the distribution are commonly based on ones that are, and start by loading the standard class with <code>\</code><code>LoadClass</code> — an example of this technique may be seen in <i>ltxguide.cls</i> -<p>An -<a href="http://www.tug.org/pracjourn/2006-4/flynn/flynn.pdf">annotated version of <i>article</a></i>, -as it appears in <i>classes.dtx</i>, was published in the PracTeX -Journal 2006, No. 4. The article is by Peter Flynn, and offers a -slightly easier way in to understanding <i>classes.dtx</i> +<p/>An +<a href="http://tug.org/TUGboat/Articles/tb28-1/tb88flynn.pdf">annotated version of <i>article</a></i>, +as it appears in <i>classes.dtx</i>, was published in +<i>TUGboat</i> 28(1). The article, by Peter Flynn, which is some help in +understanding <i>classes.dtx</i> <dl> <dt><tt><i>classes.dtx</i></tt><dd><a href="ftp://cam.ctan.org/tex-archive/macros/latex/base/classes.dtx">macros/latex/base/classes.dtx</a> +<dt><tt><i>clsguide.pdf</i></tt><dd><a href="ftp://cam.ctan.org/tex-archive/macros/latex/doc/clsguide.pdf">macros/latex/doc/clsguide.pdf</a> <dt><tt><i>ltxguide.cls</i></tt><dd><a href="ftp://cam.ctan.org/tex-archive/macros/latex/base/ltxguide.cls">macros/latex/base/ltxguide.cls</a> <dt><tt><i>LaTeX documentation</i></tt><dd><a href="ftp://cam.ctan.org/tex-archive/macros/latex/doc.zip">macros/latex/doc</a> (<a href="ftp://cam.ctan.org/tex-archive/macros/latex/doc.tar.gz">gzipped tar</a>, <a href="http://www.tex.ac.uk/tex-archive/macros/latex/doc/">browse</a>) <dt><tt><i>source2e.tex</i></tt><dd><a href="ftp://cam.ctan.org/tex-archive/macros/latex/base/source2e.tex">macros/latex/base/source2e.tex</a> </dl> -<p><p>This question on the Web: <a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=writecls">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=writecls</a> +<p/><p>This question on the Web: <a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=writecls">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=writecls</a> </body> |