diff options
Diffstat (limited to 'Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-writecls.html')
-rw-r--r-- | Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-writecls.html | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-writecls.html b/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-writecls.html deleted file mode 100644 index f16bdc144fc..00000000000 --- a/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-writecls.html +++ /dev/null @@ -1,47 +0,0 @@ -<head> -<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 -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 -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). -Beyond this, a good knowledge of TeX itself is valuable: thus books -such as the <a href="FAQ-books.html">TeXbook</a> or -<a href="FAQ-ol-books.html">TeX by topic</a> are relevant. With good TeX -knowledge it is possible to use the documented source of LaTeX as -reference material (dedicated authors will acquaint themselves with the -source as a matter of course). A complete set of the documented -source of LaTeX may be prepared by processing the file -<i>source2e.tex</i> in the LaTeX distribution. Such processing is -noticeably tedious, but Heiko Oberdiek has prepared a well-linked -PDF version, which is in the file <i>base.tds.zip</i> of his -<i>latex-tds</i> distribution. Individual files in the LaTeX -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 -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://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="http://mirror.ctan.org/macros/latex/base/classes.dtx">macros/latex/base/classes.dtx</a> -<dt><tt><i>clsguide.pdf</i></tt><dd><a href="http://mirror.ctan.org/macros/latex/doc/clsguide.pdf">macros/latex/doc/clsguide.pdf</a>; <a href="http://mirror.ctan.org//help/Catalogue/entries/clsguide.html">catalogue entry</a> -<dt><tt><i>latex-tds collection</i></tt><dd><a href="http://mirror.ctan.org/macros/latex/contrib/latex-tds">macros/latex/contrib/latex-tds</a>; <a href="http://mirror.ctan.org//help/Catalogue/entries/latex-tds.html">catalogue entry</a> -<dt><tt><i>ltxguide.cls</i></tt><dd><a href="http://mirror.ctan.org/macros/latex/base/ltxguide.cls">macros/latex/base/ltxguide.cls</a> -<dt><tt><i>LaTeX documentation</i></tt><dd><a href="http://mirror.ctan.org/macros/latex/doc.zip">macros/latex/doc</a> (or <a href="http://mirror.ctan.org/macros/latex/doc/">browse the directory</a>); <a href="http://mirror.ctan.org/help/Catalogue/entries/latex-doc.html">catalogue entry</a> -<dt><tt><i>source2e.tex</i></tt><dd><a href="http://mirror.ctan.org/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> -</body> |