diff --git a/.gitignore b/.gitignore index 7d010fc70cc06290ae9defafa26bbba6327f8704..ec7c43740b06118ab855aada6943dc3f6bf5ad13 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ build/ *.synctex.gz *.synctex(busy) +*.log \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000000000000000000000000000000000000..7184c28fc56b7cbbeffdbb04449360198e555a32 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,36 @@ +# Change Log +All notable changes to this project will be documented in this file. + + +## [V 1.1] - 2021-04-22 + +This version provides mostly minor fixed and upgrades. +**IMPORTANT:** the personal.tex has been removed + +### Added + - dtx installer file. All class files can be generated from this file. this removes code duplications and allows for more easy maintenance as well as + deployment. This file will only be available on a separate branche and not be part of the master branch. + +### Changed + - Makefile has been reworked. should now be more stable and easier to understand + - Titlepage as been improved. You can now align the standart titlepage as you prefer + - the declaration of authorship now uses the proper babel interface for localisation + - License is now LPPL + +### Removed + - personal.tex has been removed. It pretty much not used anyway. All contents have been moved to the project files preamble. + + +## [V 1.0] - 2021-03-31 +Initial Version. Official first release + +### Added + - HsH-article class + - HsH-report class + - HsH-standalone class + - config.tex file + - personal.tex file + - folder structure, with readme files for every folder + - empty project file + - makefile + - example on the example branche \ No newline at end of file diff --git a/README.md b/README.md index e6aca673ab026e2fa330e47a4f5984953c5406f4..30774b2e40202a92bdcd92a18baca5ebcc95ca72 100644 --- a/README.md +++ b/README.md @@ -12,8 +12,8 @@ classes and customize them them with specific configurations, presets and provid HsH-book (planed) HsH-standalone -**Version:** 1.0 -**Date:** 20.03.2021 +**Version:** 1.1 +**Date:** 21.04.2021 ## Check out the **Example-Branche** # License diff --git a/project.tex b/project.tex index 33fda0fe32d8450230d4b23e2470a9fcd3e3a592..455907acd161f51f6c010b2788441535eb5792fb 100644 --- a/project.tex +++ b/project.tex @@ -1,7 +1,24 @@ -\documentclass[twoside,ngerman,f1]{HsH-report} % documentclass +\documentclass[twoside,f1]{HsH-report} % documentclass % include packages here -\begin{document} +%% projects specific data: +\author{ + Max Mustermann, + Mira Musterfrau +} +\matrikelnr{ + 1234567, + 9876543 +} +\titlehead{titlehead} +\subject{Subject} +\title{Title} +\subtitle{Subtitle} +\date{\today} +\professor{Professor} +\keywords{keyword} + +\begin{document} % -------------------------------------------------------------------------------- % your code goes here \end{document} diff --git a/src/HsH-article.cls b/src/HsH-article.cls index 7aac3627d1402e85373316e00098f6279f738f75..a352dad2a4d35327392601a432c75c969be28222 100644 --- a/src/HsH-article.cls +++ b/src/HsH-article.cls @@ -20,10 +20,10 @@ %% and version 1.3 or later is part of all distributions of LaTeX version %% 2021/01/01 or later. %% -\typeout{Adapted from KOMA script for use in Hochschule Hannover <2021-03-18> Jan Wille} +\typeout{Adapted from KOMA script for use in Hochschule Hannover <2021-04-21> Jan Wille} \NeedsTeXFormat{LaTeX2e} \newcommand{\myClassName}{HsH-article} -\ProvidesClass{\myClassName}[2021/03/18 v1.0 HsH-Class based on KOMA] +\ProvidesClass{\myClassName}[2021/04/21 v1.1 HsH-Class based on KOMA] %% commands for HsH-logo \newcommand{\HsHlogoPath}{HSH-Logo.pdf} @@ -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..46a0aed803a428facd9fc08f77036f7304c686ed 100644 --- a/src/HsH-report.cls +++ b/src/HsH-report.cls @@ -20,10 +20,10 @@ %% and version 1.3 or later is part of all distributions of LaTeX version %% 2021/01/01 or later. %% -\typeout{Adapted from KOMA script for use in Hochschule Hannover <2021-03-18> Jan Wille} +\typeout{Adapted from KOMA script for use in Hochschule Hannover <2021-04-21> Jan Wille} \NeedsTeXFormat{LaTeX2e} \newcommand{\myClassName}{HsH-report} -\ProvidesClass{\myClassName}[2021/03/18 v1.0 HsH-Class based on KOMA] +\ProvidesClass{\myClassName}[2021/04/21 v1.1 HsH-Class based on KOMA] %% commands for HsH-logo \newcommand{\HsHlogoPath}{HSH-Logo.pdf} @@ -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..44cd027f9b2767cacdf805b33b9eb6b8b8320254 100644 --- a/src/HsH-standalone.cls +++ b/src/HsH-standalone.cls @@ -20,10 +20,10 @@ %% and version 1.3 or later is part of all distributions of LaTeX version %% 2021/01/01 or later. %% -\typeout{Adapted from KOMA script for use in Hochschule Hannover <2021-03-18> Jan Wille} +\typeout{Adapted from KOMA script for use in Hochschule Hannover <2021-04-21> Jan Wille} \NeedsTeXFormat{LaTeX2e} \newcommand{\myClassName}{HsH-standalone} -\ProvidesClass{\myClassName}[2021/03/18 v1.0 HsH-Class based on KOMA] +\ProvidesClass{\myClassName}[2021/04/21 v1.1 HsH-Class based on KOMA] %% commands for HsH-logo \newcommand{\HsHlogoPath}{HSH-Logo.pdf} @@ -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/config.tex b/src/config.tex index f877076a075773beb9adaa3d05a884d668317a80..9b9ff9ed5ddf0cee55e4ac68f7d21a4afad34a01 100644 --- a/src/config.tex +++ b/src/config.tex @@ -8,7 +8,7 @@ Keywords={\@keywords} } } -} +}{} %% configs for optional packages: \@ifpackageloaded{biblatex}{ \ExecuteBibliographyOptions{ diff --git a/src/personal.tex b/src/personal.tex deleted file mode 100644 index 961cf82c01f30e761548d50f88143ea0210526e8..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{keyword}