Skip to content
Snippets Groups Projects
Commit 99efe28f authored by Jan Wille's avatar Jan Wille
Browse files

modiffied dtx file to use one big block for all src files

parent 7fd5976c
No related branches found
No related tags found
No related merge requests found
...@@ -24,9 +24,6 @@ ...@@ -24,9 +24,6 @@
%<standalone>\newcommand{\myClassName}{HsH-standalone} %<standalone>\newcommand{\myClassName}{HsH-standalone}
\ProvidesClass{\myClassName}[2021/04/21 v1.1 HsH-Class based on KOMA] \ProvidesClass{\myClassName}[2021/04/21 v1.1 HsH-Class based on KOMA]
%</article|report|standalone>
%
%<*article|report|standalone>
%% commands for HsH-logo %% commands for HsH-logo
\newcommand{\HsHlogoPath}{HSH-Logo.pdf} \newcommand{\HsHlogoPath}{HSH-Logo.pdf}
\newcommand{\HsHlogoPage}{1} \newcommand{\HsHlogoPage}{1}
...@@ -77,9 +74,6 @@ ...@@ -77,9 +74,6 @@
%<standalone>\LoadClass[multi=tikzpicture,multi=circuitikz]{standalone} %<standalone>\LoadClass[multi=tikzpicture,multi=circuitikz]{standalone}
%<article|report>\KOMAoption{toc}{bibliography,listof} %<article|report>\KOMAoption{toc}{bibliography,listof}
%</article|report|standalone>
%
%<*article|report|standalone>
%% package loading and config --------------------------------------------------------------------- %% package loading and config ---------------------------------------------------------------------
% %
% inputencoding, utf8 recomendet % inputencoding, utf8 recomendet
...@@ -102,9 +96,7 @@ ...@@ -102,9 +96,7 @@
% german dezimal numbers % german dezimal numbers
\if@german\RequirePackage{ziffer}\fi \if@german\RequirePackage{ziffer}\fi
% %
%</article|report|standalone>
%<*article|report> %<*article|report>
%
% required for changing layout % required for changing layout
\PassOptionsToPackage{left=3cm,right=2.5cm,top=3cm,bottom=3cm}{geometry} \PassOptionsToPackage{left=3cm,right=2.5cm,top=3cm,bottom=3cm}{geometry}
\RequirePackage{geometry} \RequirePackage{geometry}
...@@ -137,14 +129,12 @@ ...@@ -137,14 +129,12 @@
\RequirePackage{pgffor} \RequirePackage{pgffor}
% %
%</article|report> %</article|report>
%<*article|report|standalone>
%% options for not loaded packages ----------------------------------------------------------------
% %
%% options for not loaded packages ----------------------------------------------------------------
%<article|report>\PassOptionsToPackage{backend=biber,style=alphabetic,sorting=nyt}{biblatex} %<article|report>\PassOptionsToPackage{backend=biber,style=alphabetic,sorting=nyt}{biblatex}
\PassOptionsToPackage{free-standing-units}{siunitx} \PassOptionsToPackage{free-standing-units}{siunitx}
\PassOptionsToPackage{european,EFvoltages,straightvoltages,betterproportions}{circuitikz} \PassOptionsToPackage{european,EFvoltages,straightvoltages,betterproportions}{circuitikz}
%</article|report|standalone>
% %
%<*article|report> %<*article|report>
%% title matters ---------------------------------------------------------------------------------- %% title matters ----------------------------------------------------------------------------------
...@@ -160,7 +150,6 @@ ...@@ -160,7 +150,6 @@
%</article|report> %</article|report>
% %
%<*article|report|standalone>
%% typesetting indexes upright or standart %% typesetting indexes upright or standart
\def\subinrm#1{\sb{\mathrm{#1}}} \def\subinrm#1{\sb{\mathrm{#1}}}
{\catcode`\_=13 \global\let_=\subinrm} {\catcode`\_=13 \global\let_=\subinrm}
...@@ -172,16 +161,15 @@ ...@@ -172,16 +161,15 @@
% setting upright as default % setting upright as default
\upsubscripts \upsubscripts
%</article|report|standalone>
% %
%<*article|report> %<*article|report>
%% header and footer %% header and footer
\pagestyle{scrheadings} \pagestyle{scrheadings}
\clearpairofpagestyles \clearpairofpagestyles
%<article>\automark{section} %<article>\automark{section}
%<report>\automark{chapter}
% Chaptertitles get same header/footer as everything: % Chaptertitles get same header/footer as everything:
%<report>\renewcommand*{\chapterpagestyle}{scrheadings} %<report>\renewcommand*{\chapterpagestyle}{scrheadings}
%<report>\automark{chapter}
\ohead{\headmark} \ohead{\headmark}
\ihead{\@title} \ihead{\@title}
\ofoot*{\pagemark} \ofoot*{\pagemark}
...@@ -227,7 +215,6 @@ ...@@ -227,7 +215,6 @@
\newcommand{\lowroman}[1]{\romannumeral#1\relax} \newcommand{\lowroman}[1]{\romannumeral#1\relax}
%</article|report> %</article|report>
% %
%<*article|report|standalone>
%% load config at beginning of document %% load config at beginning of document
\AtBeginDocument{ \AtBeginDocument{
\makeatletter \makeatletter
...@@ -251,7 +238,6 @@ ...@@ -251,7 +238,6 @@
\providecommand{\abs}[1]{\ensuremath{\left\vert#1\right\vert}} \providecommand{\abs}[1]{\ensuremath{\left\vert#1\right\vert}}
\makeatother \makeatother
} }
%</article|report|standalone>
% %
%<*article|report> %<*article|report>
%% nicer abstract --------------------------------------------------------------------------------- %% nicer abstract ---------------------------------------------------------------------------------
...@@ -308,7 +294,7 @@ ...@@ -308,7 +294,7 @@
{\centering\huge\textbf{\dATitlename}\par} {\centering\huge\textbf{\dATitlename}\par}
\vskip 3em \vskip 3em
{\dATextname\par} {\dATextname\par}
% creating a line for every author % creating a signature line for every author
{\raggedleft {\raggedleft
\foreach \x in \@author{ \foreach \x in \@author{
\begin{tabular}[t]{r} \begin{tabular}[t]{r}
...@@ -319,14 +305,12 @@ ...@@ -319,14 +305,12 @@
} }
\par} \par}
} }
%</article|report>
% %
%<*article|report>
%% reconfig Titlepage ----------------------------------------------------------------------------- %% reconfig Titlepage -----------------------------------------------------------------------------
\newtoks\@tabtoks \newtoks\@tabtoks
\newcommand\addtabtoks[1]{\global\@tabtoks\expandafter{\the\@tabtoks#1}} \newcommand\addtabtoks[1]{\global\@tabtoks\expandafter{\the\@tabtoks#1}}
\newcommand\eaddtabtoks[1]{\edef\mytmp{#1}\expandafter\addtabtoks\expandafter{\mytmp}} \newcommand\eaddtabtoks[1]{\edef\mytmp{#1}\expandafter\addtabtoks\expandafter{\mytmp}}
%\newcommand*\resettabtoks{\global\@tabtoks{}} % %%\newcommand*\resettabtoks{\global\@tabtoks{}}
\newcommand*\printtabtoks{\the\@tabtoks} \newcommand*\printtabtoks{\the\@tabtoks}
\addtokomafont{publishers}{\normalsize} \addtokomafont{publishers}{\normalsize}
% %
...@@ -588,6 +572,7 @@ ...@@ -588,6 +572,7 @@
\global\let\and\relax \global\let\and\relax
} }
%</article|report> %</article|report>
%</article|report|standalone>
% %
% Config file ------------------------------------------------------------------------------------- % Config file -------------------------------------------------------------------------------------
%<*config> %<*config>
......
...@@ -51,6 +51,7 @@ and version 1.3 or later is part of all distributions of LaTeX version ...@@ -51,6 +51,7 @@ and version 1.3 or later is part of all distributions of LaTeX version
\Msg{* To finish the installation you have to move the following *} \Msg{* To finish the installation you have to move the following *}
\Msg{* file into a directory searched by TeX: *} \Msg{* file into a directory searched by TeX: *}
\Msg{* *} \Msg{* *}
\Msg{* HsH-logo.pdf *}
\Msg{* HsH-article.cls *} \Msg{* HsH-article.cls *}
\Msg{* HsH-report.cls *} \Msg{* HsH-report.cls *}
\Msg{* HsH-standalone.cls *} \Msg{* HsH-standalone.cls *}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment