Untitled diff

Created Diff never expires
4 removals
143 lines
6 additions
145 lines
% \iffalse meta-comment
% \iffalse meta-comment
%<*internal>
%<*internal>
\iffalse
\iffalse
%</internal>
%</internal>
%<*readme>
%<*readme>
----------------------------------------------------------------
----------------------------------------------------------------
democls --- description text
democls --- description text
E-mail: you@your.domain
E-mail: you@your.domain
Released under the LaTeX Project Public License v1.3c or later
Released under the LaTeX Project Public License v1.3c or later
See http://www.latex-project.org/lppl.txt
See http://www.latex-project.org/lppl.txt
----------------------------------------------------------------
----------------------------------------------------------------
Some text about the class: probably the same as the abstract.
Some text about the class: probably the same as the abstract.
%</readme>
%</readme>
%<*internal>
%<*internal>
\fi
\fi
\def\nameofplainTeX{plain}
\def\nameofplainTeX{plain}
\ifx\fmtname\nameofplainTeX\else
\ifx\fmtname\nameofplainTeX\else
\expandafter\begingroup
\expandafter\begingroup
\fi
\fi
%</internal>
%</internal>
%<*install>
%<*install>
\input docstrip.tex
\input docstrip.tex
\keepsilent
\keepsilent
\askforoverwritefalse
\askforoverwritefalse
\preamble
\preamble
----------------------------------------------------------------
----------------------------------------------------------------
democls --- description text
democls --- description text
E-mail: you@your.domain
E-mail: you@your.domain
Released under the LaTeX Project Public License v1.3c or later
Released under the LaTeX Project Public License v1.3c or later
See http://www.latex-project.org/lppl.txt
See http://www.latex-project.org/lppl.txt
----------------------------------------------------------------
----------------------------------------------------------------
\endpreamble
\endpreamble
\postamble
\postamble
Copyright (C) 2009 by You <you@your.domain>
Copyright (C) 2009 by You <you@your.domain>
This work may be distributed and/or modified under the
This work may be distributed and/or modified under the
conditions of the LaTeX Project Public License (LPPL), either
conditions of the LaTeX Project Public License (LPPL), either
version 1.3c of this license or (at your option) any later
version 1.3c of this license or (at your option) any later
version. The latest version of this license is in the file:
version. The latest version of this license is in the file:
http://www.latex-project.org/lppl.txt
http://www.latex-project.org/lppl.txt
This work is "maintained" (as per LPPL maintenance status) by
This work is "maintained" (as per LPPL maintenance status) by
You.
You.
This work consists of the file democls.dtx
This work consists of the file democls.dtx
and the derived files democls.ins,
and the derived files democls.ins,
democls.pdf and
democls.pdf and
democls.cls.
democls.cls.
\endpostamble
\endpostamble
\usedir{tex/latex/democls}
\usedir{tex/latex/democls}
\generate{
\generate{
\file{\jobname.cls}{\from{\jobname.dtx}{class}}
\file{\jobname.cls}{\from{\jobname.dtx}{class}}
}
}
%</install>
%</install>
%<install>\endbatchfile
%<install>\endbatchfile
%<*internal>
%<*internal>
\usedir{source/latex/democls}
\usedir{source/latex/democls}
\generate{
\generate{
\file{\jobname.ins}{\from{\jobname.dtx}{install}}
\file{\jobname.ins}{\from{\jobname.dtx}{install}}
}
}
\nopreamble\nopostamble
\nopreamble\nopostamble
\usedir{doc/latex/democls}
\usedir{doc/latex/democls}
\generate{
\generate{
\file{README.txt}{\from{\jobname.dtx}{readme}}
\file{README.txt}{\from{\jobname.dtx}{readme}}
}
}
\ifx\fmtname\nameofplainTeX
\ifx\fmtname\nameofplainTeX
\expandafter\endbatchfile
\expandafter\endbatchfile
\else
\else
\expandafter\endgroup
\expandafter\endgroup
\fi
\fi
%</internal>
%</internal>
% \def\fileversion{v1.0}
% \def\filedate{2009/10/06}
%<*class>
%<*class>
\def\fileversion{v1.0}
\def\filedate{2009/10/06}
%
\NeedsTeXFormat{LaTeX2e}
\NeedsTeXFormat{LaTeX2e}
%</class>
%</class>
%<*driver>
%<*driver>
\documentclass{ltxdoc}
\documentclass{ltxdoc}
\usepackage[T1]{fontenc}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{lmodern}
\usepackage[numbered]{hypdoc}
\usepackage[numbered]{hypdoc}
\EnableCrossrefs
\EnableCrossrefs
\CodelineIndex
\CodelineIndex
\RecordChanges
\RecordChanges
\begin{document}
\begin{document}
\DocInput{\jobname.dtx}
\DocInput{\jobname.dtx}
\end{document}
\end{document}
%</driver>
%</driver>
% \fi
% \fi
%
%
% \def\fileversion{v1.0}
% \def\filedate{2009/10/06}
%
%\title{^^A
%\title{^^A
% \textsf{democls} --- description text\thanks{^^A
% \textsf{democls} --- description text\thanks{^^A
% This file describes version \fileversion, last revised \filedate.^^A
% This file describes version \fileversion, last revised \filedate.^^A
% }^^A
% }^^A
%}
%}
%\author{^^A
%\author{^^A
% You\thanks{E-mail: you@your.domain}^^A
% You\thanks{E-mail: you@your.domain}^^A
%}
%}
%\date{Released \filedate}
%\date{Released \filedate}
%
%
%\maketitle
%\maketitle
%
%
%\changes{v1.0}{2009/10/06}{First public release}
%\changes{v1.0}{2009/10/06}{First public release}
%
%
%\DescribeMacro{\examplemacro}
%\DescribeMacro{\examplemacro}
% Some text about an example macro called \cs{examplemacro}, which
% Some text about an example macro called \cs{examplemacro}, which
% might have an optional argument \oarg{arg1} and mandatory one
% might have an optional argument \oarg{arg1} and mandatory one
% \marg{arg2}.
% \marg{arg2}.
%
%
%\StopEventually{^^A
%\StopEventually{^^A
% \PrintChanges
% \PrintChanges
% \PrintIndex
% \PrintIndex
%}
%}
%
%
% \begin{macrocode}
% \begin{macrocode}
%<*class>
%<*class>
% \end{macrocode}
% \end{macrocode}
%
%
% \begin{macrocode}
% \begin{macrocode}
\ProvidesClass{democls}[2009/10/06 v1.0 description text]
\ProvidesClass{democls}[\filedate\space\fileversion\space description]
% \end{macrocode}
% \end{macrocode}
%
%
%\begin{macro}{\examplemacro}
%\begin{macro}{\examplemacro}
%\changes{v1.0}{2009/10/06}{Some change from the previous version}
%\changes{v1.0}{2009/10/06}{Some change from the previous version}
% \begin{macrocode}
% \begin{macrocode}
\newcommand*\examplemacro[2][]{%
\newcommand*\examplemacro[2][]{%
Some code here, probably
Some code here, probably
}
}
% \end{macrocode}
% \end{macrocode}
%\end{macro}
%\end{macro}
%
%
% \begin{macrocode}
% \begin{macrocode}
%</class>
%</class>
% \end{macrocode}
% \end{macrocode}
%\Finale
%\Finale