diff --git a/HsH-classes.dtx b/HsH-classes.dtx index e2729f1d485aa275c6e5d02ce8ca073b26e7fab6..0d118db3c47f60449c09cc6d27fc04c1be0f33eb 100644 --- a/HsH-classes.dtx +++ b/HsH-classes.dtx @@ -146,17 +146,9 @@ %</article|report|standalone> % -%<*article|report|standalone> +%<*article|report> %% title matters ---------------------------------------------------------------------------------- % -%<*standalone> -\newcommand*{\@titlehead}{}% -\newcommand{\titlehead}[1]{\gdef\@titlehead{#1}}% -\newcommand*{\@subject}{}% -\newcommand*{\subject}[1]{\gdef\@subject{#1}}% -\newcommand*{\@subtitle}{}% -\newcommand*{\subtitle}[1]{\gdef\@subtitle{#1}}% -%</standalone> \newcommand*{\@matrikelnr}{}% \newcommand{\matrikelnr}[1]{\gdef\@matrikelnr{#1}}% \newcommand*{\@professor}{}% @@ -165,13 +157,8 @@ \newcommand{\keywords}[1]{\gdef\@keywords{#1}}% \let\@author\@empty \let\@keywords\@empty -\InputIfFileExists{personal.tex}{ - \ClassInfo{\myClassName}{personal.tex was found. Using it...} -}{ - \ClassInfo{\myClassName}{no personal.tex! Configre the titlepage yourself} -} -%</article|report|standalone> +%</article|report> % %<*article|report|standalone> %% typesetting indexes upright or standart diff --git a/src/HsH-article.cls b/src/HsH-article.cls index 7aac3627d1402e85373316e00098f6279f738f75..16baa0a5c3db68c3d4cec80936573a6aa8440271 100644 --- a/src/HsH-article.cls +++ b/src/HsH-article.cls @@ -108,11 +108,6 @@ \newcommand{\keywords}[1]{\gdef\@keywords{#1}}% \let\@author\@empty \let\@keywords\@empty -\InputIfFileExists{personal.tex}{ - \ClassInfo{\myClassName}{personal.tex was found. Using it...} -}{ - \ClassInfo{\myClassName}{no personal.tex! Configre the titlepage yourself} -} %% typesetting indexes upright or standart \def\subinrm#1{\sb{\mathrm{#1}}} diff --git a/src/HsH-report.cls b/src/HsH-report.cls index e4463c16a95c74a0ea0c853d3afcb2132a781e9a..58e5c87cfaa67a7ec358776de0768383d8353ffb 100644 --- a/src/HsH-report.cls +++ b/src/HsH-report.cls @@ -108,11 +108,6 @@ \newcommand{\keywords}[1]{\gdef\@keywords{#1}}% \let\@author\@empty \let\@keywords\@empty -\InputIfFileExists{personal.tex}{ - \ClassInfo{\myClassName}{personal.tex was found. Using it...} -}{ - \ClassInfo{\myClassName}{no personal.tex! Configre the titlepage yourself} -} %% typesetting indexes upright or standart \def\subinrm#1{\sb{\mathrm{#1}}} diff --git a/src/HsH-standalone.cls b/src/HsH-standalone.cls index 417fc5e5ea416f6a7bf54f7a2ec3279345fb5bfc..03b7ac618c955fec46c5c87d90b96d50bf8d8cd1 100644 --- a/src/HsH-standalone.cls +++ b/src/HsH-standalone.cls @@ -82,27 +82,6 @@ \PassOptionsToPackage{free-standing-units,abbreviations}{siunitx} \PassOptionsToPackage{european,EFvoltages,straightvoltages,betterproportions}{circuitikz} -%% title matters ---------------------------------------------------------------------------------- -\newcommand*{\@titlehead}{}% -\newcommand{\titlehead}[1]{\gdef\@titlehead{#1}}% -\newcommand*{\@subject}{}% -\newcommand*{\subject}[1]{\gdef\@subject{#1}}% -\newcommand*{\@subtitle}{}% -\newcommand*{\subtitle}[1]{\gdef\@subtitle{#1}}% -\newcommand*{\@matrikelnr}{}% -\newcommand{\matrikelnr}[1]{\gdef\@matrikelnr{#1}}% -\newcommand*{\@professor}{}% -\newcommand{\professor}[1]{\gdef\@professor{#1}}% -\newcommand*{\@keywords}{}% -\newcommand{\keywords}[1]{\gdef\@keywords{#1}}% -\let\@author\@empty -\let\@keywords\@empty -\InputIfFileExists{personal.tex}{ - \ClassInfo{\myClassName}{personal.tex was found. Using it...} -}{ - \ClassInfo{\myClassName}{no personal.tex! Configre the titlepage yourself} -} - %% typesetting indexes upright or standart \def\subinrm#1{\sb{\mathrm{#1}}} {\catcode`\_=13 \global\let_=\subinrm} diff --git a/src/personal.tex b/src/personal.tex deleted file mode 100644 index 625f7924be9d51d0660284067140239907a29228..0000000000000000000000000000000000000000 --- a/src/personal.tex +++ /dev/null @@ -1,16 +0,0 @@ -% \extratitle{SCHMUTZTITEL} -\author{ - Max Mustermann, - Mira Musterfrau -} -\matrikelnr{ - 1234567, - 9876543 -} -\titlehead{titlehead} -\subject{Subject} -\title{Title} -\subtitle{Subtitle} -\date{\today} -\professor{Professor} -\keywords{test, baum} diff --git a/test.tex b/test.tex index 41ba96ddd98eaafdd1e9f75fa49003442c4210c4..9542069db3dbffa6cdec414e99ff72be9c8d9691 100644 --- a/test.tex +++ b/test.tex @@ -1,4 +1,4 @@ -\documentclass[twoside,f1,ngerman]{HsH-report} +\documentclass[twoside,f1]{HsH-report} \usepackage{color} \usepackage{lipsum} @@ -7,6 +7,24 @@ \usepackage{soul} \addbibresource{bib/localBibliography.bib} +%% documents personal data: +\author{ + Max Mustermann, + Mira Musterfrau +} +\matrikelnr{ + 1234567, + 9876543 +} +\titlehead{titlehead} +\subject{Subject} +\title{Title} +\subtitle{Subtitle} +\date{\today} +\professor{Professor} +\keywords{test, baum} + + \begin{document} \pagenumbering{Roman}