%%% % driver file of changes package \documentclass[titlepage, parskip=half, toc=flat, cleardoublepage=empty, captions=nooneline, origlongtable, english]{scrartcl} % code definition and documentation \usepackage{doc} % basis layout \usepackage[font=charter, oneside]{basis} % listings \usepackage{listings} \lstset{ language=[AlLaTeX]TeX, float=hbp, numberstyle=\tiny\ttfamily, basicstyle=\ttfamily, identifierstyle=\color{DimGrey}, morekeywords={ }, keywordstyle=\color{LightSlateBlue}, commentstyle=\itshape\color{Thistle}, backgroundcolor=\color{PapayaWhip}, columns=fixed, tabsize=4, frame=single, extendedchars=true, showspaces=false, showstringspaces=false, numbers=none, breaklines=true, breakindent=3em, breakautoindent=true, captionpos=t, xleftmargin=1em, xrightmargin=1em, lineskip=0pt, numbersep=1em, classoffset=1, morekeywords={ added, changes, color, comment, compactsummary, deleted, definechangesauthor, highlight, id, listofchanges, name, replaced, setsummarywidth, setsummarytowidth, settruncatewidth, style, xcolor, }, keywordstyle=\color{Chocolate}, moredelim=[s][\color{SlateGrey}]{<}{>}, classoffset=0 } % todo notes \usepackage{todonotes} % language selection \selectlanguage{english} % use change management ;) \usepackage[commentmarkup=uwave]{changes} %\usepackage{changes} \definechangesauthor[name={Ekkart Kleinod}, color=orange]{EK} % improve list layout \usepackage{enumitem} \setlist{noitemsep} % full index \EnableCrossrefs % with line numbers \CodelineIndex % formatting \newcommand{\chpackage}[1]{\textsl{#1}} \newcommand{\choption}[1]{\texttt{#1}} \newcommand{\chfile}[1]{\texttt{#1}} \newcommand{\chcommand}[1]{\texttt{\textbackslash{}#1}} % makro headings \makeatletter \def\Describe@Macro#1{% \endgroup% \fbox{\PrintDescribeMacro{#1}}\par% \SpecialUsageIndex{#1}\@esphack\ignorespaces% } \def\Describe@Env#1{% \endgroup% \fbox{\PrintDescribeEnv{#1}}\par% \SpecialEnvIndex{#1}\@esphack\ignorespaces } \makeatother % catchall - english \newif\ifENGLISH \ENGLISHtrue % german \newif\ifGERMAN \GERMANfalse \iflanguage{ngerman}{\GERMANtrue\ENGLISHfalse}{} \iflanguage{german}{\GERMANtrue\ENGLISHfalse}{} % new language example: french % \newif\ifFRENCH % \FRENCHfalse % \iflanguage{french}{\FRENCHtrue\ENGLISHfalse}{} % example environment \newcommand{\chexample}[1]{ \input{userdoc/in_#1} \lstinputlisting{userdoc/ex_#1} } \newenvironment{chusage}{ \small \begin{tabbing} m\=m\=m\=\kill \usagecall }{% \end{tabbing} } \newcommand{\usagecall}{ \ifENGLISH \textsl{Call}\\ \fi \ifGERMAN \textsl{Aufruf}\\ \fi } \newcommand{\usageexample}{ \ifENGLISH \textsl{Examples}\\ \fi \ifGERMAN \textsl{Beispiele}\\ \fi } % document title \ifENGLISH \title{The \chpackage{changes}-package} \subtitle{Manual change markup --- version 3.0.0} \fi \ifGERMAN \title{Das \chpackage{changes}-Paket} \subtitle{Manuelle Änderungsmarkierung -- Version 3.0.0} \fi \author{Ekkart Kleinod} \email{ekleinod@edgesoft.de} % only description part? %\OnlyDescription % content \begin{document} \DocInput{changes.dtx} \end{document}