diff options
author | Karl Berry <karl@freefriends.org> | 2011-05-04 23:39:21 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2011-05-04 23:39:21 +0000 |
commit | 16bfcc69400c93c3d779a104107606ae122a7dbe (patch) | |
tree | e2456232be21108418db974f47ea118eec770469 /Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-atsigns.html | |
parent | 9a8f00b89c2c1cd283f5fd0fb54959ef0690646f (diff) |
FAQ-en 3.22 (4may11)
git-svn-id: svn://tug.org/texlive/trunk@22304 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-atsigns.html')
-rw-r--r-- | Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-atsigns.html | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-atsigns.html b/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-atsigns.html deleted file mode 100644 index 4aa0f3ab2a4..00000000000 --- a/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-atsigns.html +++ /dev/null @@ -1,52 +0,0 @@ -<head> -<title>UK TeX FAQ -- question label atsigns</title> -</head><body> -<h3><code>\</code><code>@</code> and <code>@</code> in macro names</h3> -<p/>Macro names containing <code>@</code> are <em>internal</em> to LaTeX, and -without special treatment just don’t work in ordinary use. A nice -example of the problems caused is discussed in -<a href="FAQ-atvert.html"><code>\</code><code>@</code> in vertical mode</a>”. -<p/>The problems users see are caused by copying bits of a class -(<code>.cls</code> file) or -package (<code>.sty</code> file) into a document, or by including a class or -package file into a LaTeX document by some means other than -<code>\</code><code>documentclass</code> or <code>\</code><code>usepackage</code>. LaTeX defines internal -commands whose names contain the character <code>@</code> to -avoid clashes between its internal names and names that we would -normally use in our documents. In order that these commands may work -at all, <code>\</code><code>documentclass</code> and <code>\</code><code>usepackage</code> play around with the -meaning of <code>@</code>. -<p/>If you’ve included a file some other way (for example, using -<code>\</code><code>input</code>), you can probably solve the problem by using the correct -command. -<p/>If you’re using a fragment of a package or class, you may well feel -confused: books such as the first edition of the -<a href="FAQ-books.html">The LaTeX Companion</a> -are full of fragments of packages as examples for you to employ. -The second edition of the <em>Companion</em> makes clearer how you -should use these fragments, and in addition, the code of -all the examples is now available on CTAN. -To see the technique in practice, look at the example below, from file -<i>2-2-7.ltx</i> in the <em>Companion</em> examples directory: -<blockquote> -<pre> -\makeatletter -\renewcommand\subsection{\@startsection - {subsection}{2}{0mm}%name, level, indent - {-\baselineskip}% beforeskip - {0.5\baselineskip}% afterskip - {\normalfont\normalsize\itshape}}% style -\makeatother -</pre> -</blockquote><p> -(That example appears on page 29 of <em>The LaTeX Companion</em>, -second edition.) -<p/>The alternative is to treat all these fragments as a package proper, -bundling them up into a <code>.sty</code> file and including them with -<code>\</code><code>usepackage</code>; this way you hide your LaTeX internal code somewhere -that LaTeX internal code is expected, which often looks ‘tidier’. -<dl> -<dt><tt><i>Examples from the Companion</i></tt><dd><a href="http://mirror.ctan.org/info/examples/tlc2.zip">info/examples/tlc2</a> (or <a href="http://mirror.ctan.org/info/examples/tlc2/">browse the directory</a>) -</dl> -<p/><p>This question on the Web: <a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=atsigns">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=atsigns</a> -</body> |