summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/changes/changes.drv
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/changes/changes.drv')
-rw-r--r--Master/texmf-dist/source/latex/changes/changes.drv75
1 files changed, 68 insertions, 7 deletions
diff --git a/Master/texmf-dist/source/latex/changes/changes.drv b/Master/texmf-dist/source/latex/changes/changes.drv
index b79184c8f45..cfd116554cc 100644
--- a/Master/texmf-dist/source/latex/changes/changes.drv
+++ b/Master/texmf-dist/source/latex/changes/changes.drv
@@ -1,21 +1,77 @@
%%%
% driver file of changes package
-\documentclass[twoside, titlepage, parskip=half, toc=flat, cleardoublepage=empty, captions=nooneline, origlongtable, english]{scrartcl}
+\documentclass[titlepage, parskip=half, toc=flat, cleardoublepage=empty, captions=nooneline, origlongtable, english]{scrartcl}
% code definition and documentation
\usepackage{doc}
% basis layout
-\usepackage[font=charter]{basis}
+\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{changes}
+\usepackage[commentmarkup=uwave]{changes}
+%\usepackage{changes}
\definechangesauthor[name={Ekkart Kleinod}, color=orange]{EK}
-\setremarkmarkup{(#2)}
% improve list layout
\usepackage{enumitem}
@@ -63,10 +119,15 @@
% \iflanguage{french}{\FRENCHtrue\ENGLISHfalse}{}
% example environment
+\newcommand{\chexample}[1]{
+ \input{userdoc/in_#1}
+
+ \lstinputlisting{userdoc/ex_#1}
+}
\newenvironment{chusage}{
\small
\begin{tabbing}
- m\=\kill
+ m\=m\=m\=\kill
\usagecall
}{%
\end{tabbing}
@@ -91,11 +152,11 @@
% document title
\ifENGLISH
\title{The \chpackage{changes}-package}
- \subtitle{Manual change markup --- version 2.1.0}
+ \subtitle{Manual change markup --- version 3.0.0}
\fi
\ifGERMAN
\title{Das \chpackage{changes}-Paket}
- \subtitle{Manuelle Änderungsmarkierung -- Version 2.1.0}
+ \subtitle{Manuelle Änderungsmarkierung -- Version 3.0.0}
\fi
\author{Ekkart Kleinod}