diff options
author | Karl Berry <karl@freefriends.org> | 2014-05-09 22:39:48 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2014-05-09 22:39:48 +0000 |
commit | 610c45beb863b008027a871701c889fe40bed7fb (patch) | |
tree | 5b879b56850db183fd749a497edd1d91172edf69 /Master/texmf-dist/source/latex/tools/somedefs.dtx | |
parent | 18fa80c232cf479ae713b01b17d48bdc1d653aac (diff) |
latex2e 2014/05/01 (via latex-tds)
git-svn-id: svn://tug.org/texlive/trunk@33946 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/tools/somedefs.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/tools/somedefs.dtx | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/Master/texmf-dist/source/latex/tools/somedefs.dtx b/Master/texmf-dist/source/latex/tools/somedefs.dtx index bf00286e678..f611912d0bc 100644 --- a/Master/texmf-dist/source/latex/tools/somedefs.dtx +++ b/Master/texmf-dist/source/latex/tools/somedefs.dtx @@ -3,22 +3,22 @@ % Copyright 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 % 2006 2008 2009 % The LaTeX3 Project and any individual authors listed elsewhere -% in this file. -% +% in this file. +% % This file is part of the Standard LaTeX `Tools Bundle'. % ------------------------------------------------------- -% +% % It may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3c % of this license or (at your option) any later version. % The latest version of this license is in % http://www.latex-project.org/lppl.txt -% and version 1.3c or later is part of all distributions of LaTeX +% and version 1.3c or later is part of all distributions of LaTeX % version 2005/12/01 or later. -% +% % The list of all files belonging to the LaTeX `Tools Bundle' is % given in the file `manifest.txt'. -% +% % \fi % \title{The \textsf{somedefs} toolkit package} % \date{long time ago in a different century\ldots} @@ -35,14 +35,14 @@ % % \section*{Overview} % -% This is an example `programmers toolkit' package, for use by package -% writers. It allows package writers to provide options which switch -% definitions on and off. For example, a package |fred| might define a +% This is an example `programmers toolkit' package, for use by package +% writers. It allows package writers to provide options which switch +% definitions on and off. For example, a package |fred| might define a % large number of commands, including |\foo| and |\baz|, so: % \begin{verbatim} % \usepackage{fred} % \end{verbatim} -% would use a lot of memory, even if |\foo| and |\baz| were the only +% would use a lot of memory, even if |\foo| and |\baz| were the only % commands needed. However, if the author of |fred| used the |somedefs| % package, then the user would be able to say: % \begin{verbatim} @@ -57,13 +57,13 @@ % \end{verbatim} % You can then use four new commands: % \begin{flushleft}\begin{itemize} -% \item |\UseAllDefinitions| which says that all the commands in the -% file should be defined. -% \item |\UseSomeDefinitions| which says that only the commands +% \item |\UseAllDefinitions| which says that all the commands in the +% file should be defined. +% \item |\UseSomeDefinitions| which says that only the commands % specified by |\UseDefinition| should be defined. -% \item |\UseDefinition{|\meta{name}|}| which says that the command +% \item |\UseDefinition{|\meta{name}|}| which says that the command % |\name| should be defined. -% \item |\ProvidesDefinition{|\meta{definition}|}| which provides one +% \item |\ProvidesDefinition{|\meta{definition}|}| which provides one % definition, of the form |\definingcommand{\command}...| % \end{itemize}\end{flushleft} % For example, the package |fred| could say: @@ -76,9 +76,9 @@ % \ProvidesDefinition{\newcommand{\foo}{...}} % \ProvidesDefinition{\newcommand{\baz}{...}} % \end{verbatim} -% One of the commands |\UseAllDefinitions| or |\UseSomeDefinitions| -% should always be used. You may have some commands which need other -% commands, in which case you have to declare the options by hand. For +% One of the commands |\UseAllDefinitions| or |\UseSomeDefinitions| +% should always be used. You may have some commands which need other +% commands, in which case you have to declare the options by hand. For % example, if the command |\bar| needs the command |\foo|, you could % say: % \begin{verbatim} @@ -113,13 +113,13 @@ % \begin{macro}{\@providesdefinition} % \begin{macro}{\@provides@definition} % \begin{macro}{\@unprovided@definition} -% The package works by having |\UseDefinition{|\meta{name}|}| define -% |\name| to be |\@unprovided@definition|. -% If |\UseSomeDefinitions| has been called, -% then |\ProvidesDefinition| looks to see if |\name| -% is |\@unprovided@definition|. If -% |\UseAllDefinitions| has been called, then |\ProvidesDefinition| -% does nothing. If neither has been called, then +% The package works by having |\UseDefinition{|\meta{name}|}| define +% |\name| to be |\@unprovided@definition|. +% If |\UseSomeDefinitions| has been called, +% then |\ProvidesDefinition| looks to see if |\name| +% is |\@unprovided@definition|. If +% |\UseAllDefinitions| has been called, then |\ProvidesDefinition| +% does nothing. If neither has been called, then % |\ProvidesDefinition| produces an error message. % \begin{macrocode} \def\UseSomeDefinitions{% |