diff --git a/README.md b/README.md index 4516919b1c3d23e134134c06a18106fdd3d17379..d24ab933886f469b5b8c8cae79a21e77370cee9e 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ them with specific configurations and presets as well as providing commonly need HsH-book (planed) HsH-standalone -**Version:** BETA 0.4, 08.02.2021 +**Version:** BETA 0.5, 14.03.2021 ## Check out the **Example-Branche** diff --git a/bib/README.md b/bib/README.md new file mode 100644 index 0000000000000000000000000000000000000000..02f60e39fb0b2ae79ae310977ec6f8e1f543eb6d --- /dev/null +++ b/bib/README.md @@ -0,0 +1,4 @@ +# Bibliograpy folder + +This folder is for bibliographic purpises. Here should be `.bib` files for useage with the `biblatex`package and source dokuments like pdfs, +presentations or downloaded web-pages. \ No newline at end of file diff --git a/src/localBibliography.bib b/bib/localBibliography.bib similarity index 100% rename from src/localBibliography.bib rename to bib/localBibliography.bib diff --git a/crc/README.md b/crc/README.md index 73c39dbda14ec0cc6e6f65c67837863eb14f129d..c58b4f77452b2dedbb8371d33afd07419b5282fa 100644 --- a/crc/README.md +++ b/crc/README.md @@ -1,4 +1,4 @@ -# Circuits-folder +# Circuits folder This folder is for Circuit diagramms. It is recommended to use the `circuitikz` package. This extents the `tikz` package with commands for close to all your circuit diagramm needs. Have a look at the documentation. \ No newline at end of file diff --git a/csv/README.md b/csv/README.md index 919f6182511a5257c7305084f43cddc1153e7099..b943f23d558b652f011c73695d9e5f61f592b0e2 100644 --- a/csv/README.md +++ b/csv/README.md @@ -1,7 +1,8 @@ # CSV folder (Comma Speeratet Values) This folder is for measurement readings and other kinds of data collection. -It is named *csv*, but you could also use different filetypes, even though the `.csv` type is the easiest to include in LaTex. +It is named *csv*, but you could also use different filetypes, even though the `.csv` type is the easiest to include in LaTex. +Keep in mind, that the config selts the ';' as the seperator, which is the german standart # Export Excel to CSV diff --git a/src/HsH-article.cls b/src/HsH-article.cls index 6a77e2991ba6d272c61f5ce20cc4f325e93b59ac..cce302e4e199f22c039452db0e856e9b75fe49f1 100644 --- a/src/HsH-article.cls +++ b/src/HsH-article.cls @@ -1,8 +1,8 @@ -\typeout{Adapted from KOMA script for use in Hochschule Hannover <2022-03-08> Jan Wille} +\typeout{Adapted from KOMA script for use in Hochschule Hannover <2022-03-13> Jan Wille} \NeedsTeXFormat{LaTeX2e} \newcommand{\myClassName}{HsH-article} -\ProvidesClass{\myClassName}[2021-03-08 HsH Report based on KOMA] +\ProvidesClass{\myClassName}[2021/03/13 HsH Report based on KOMA] \newcommand{\HsHlogoPath}{HSH-Logo.pdf} \newcommand{\HsHlogoPage}{1} @@ -18,25 +18,32 @@ } \DeclareOption{english}{% \PassOptionsToPackage{\CurrentOption}{babel} + \@germanfalse } -\DeclareOption{f1}{% +\DeclareOption{f1}{% use logo of fakulty 1 \renewcommand{\HsHlogoPage}{2} } -\DeclareOption{f2}{% +\DeclareOption{f2}{% use logo of fakulty 2 \renewcommand{\HsHlogoPage}{3} } -\DeclareOption{f3}{% +\DeclareOption{f3}{% use logo of fakulty 3 \renewcommand{\HsHlogoPage}{4} } -\DeclareOption{f4}{% +\DeclareOption{f4}{% use logo of fakulty 4 \renewcommand{\HsHlogoPage}{5} } -\DeclareOption{f5}{% +\DeclareOption{f5}{% use logo of fakulty 5 \renewcommand{\HsHlogoPage}{6} } +\DeclareOption{sans}{% use san serif font + \renewcommand{\familydefault}{\sfdefault} +} +\DeclareOption{roman}{% use roman/serif font + \renewcommand{\familydefault}{\rmdefault} +} \DeclareOption*{\PassOptionsToClass{\CurrentOption}{scrartcl}} -\@ifclasswith{\myClassName}{english}{}{\@ifclasswith{\myClassName}{ngerman}{}{\ExecuteOptions{ngerman}}} +\ExecuteOptions{fontsize=11pt,a4paper,ngerman,sans} % standart options \ProcessOptions\relax % Load KOMA class @@ -107,7 +114,6 @@ \renewcommand{\fps@figure}{h!t} % positioning of figures \renewcommand{\fps@table}{h!t} % Positonierung of tables \renewcommand{\layercontentsmeasure}{\empty} % rulers when using draft disabled -\renewcommand{\familydefault}{\sfdefault} % Sans-Serif Font as standard \MakeOuterQuote{"} % easy quotationmarks % custom commands @@ -172,8 +178,12 @@ } % load config at beginning of document -\AtBeginDocument { +\AtBeginDocument{ \makeatletter + \renewcommand*{\mkbibacro}[1]{\MakeUppercase{#1}} % solves fontype warning in San-Serif + \@ifpackageloaded{subfigure}{ + \newcommand{\subfigureautorefname}{\figureautorefname} + }{}% \InputIfFileExists{config.tex}{ \ClassInfo{\myClassName}{config.tex was found. Using it...} }{ diff --git a/src/HsH-report.cls b/src/HsH-report.cls index 0005cdd7ec5bf89f031105a26db06717c0164ffc..16cc82a7d3db8588820fcde73d8ec963b9b562ee 100644 --- a/src/HsH-report.cls +++ b/src/HsH-report.cls @@ -1,8 +1,8 @@ -\typeout{Adapted from KOMA script for use in Hochschule Hannover <2022-02-09> Jan Wille} +\typeout{Adapted from KOMA script for use in Hochschule Hannover <2021-03-13> Jan Wille} \NeedsTeXFormat{LaTeX2e} \newcommand{\myClassName}{HsH-report} -\ProvidesClass{\myClassName}[2021/02/09 HsH Report based on KOMA] +\ProvidesClass{\myClassName}[2021/03/13 HsH-Report based on KOMA] \newcommand{\HsHlogoPath}{HSH-Logo.pdf} \newcommand{\HsHlogoPage}{1} @@ -18,25 +18,32 @@ } \DeclareOption{english}{% \PassOptionsToPackage{\CurrentOption}{babel} + \@germanfalse } -\DeclareOption{f1}{% +\DeclareOption{f1}{% use logo of fakulty 1 \renewcommand{\HsHlogoPage}{2} } -\DeclareOption{f2}{% +\DeclareOption{f2}{% use logo of fakulty 2 \renewcommand{\HsHlogoPage}{3} } -\DeclareOption{f3}{% +\DeclareOption{f3}{% use logo of fakulty 3 \renewcommand{\HsHlogoPage}{4} } -\DeclareOption{f4}{% +\DeclareOption{f4}{% use logo of fakulty 4 \renewcommand{\HsHlogoPage}{5} } -\DeclareOption{f5}{% +\DeclareOption{f5}{% use logo of fakulty 5 \renewcommand{\HsHlogoPage}{6} } +\DeclareOption{sans}{% use san serif font + \renewcommand{\familydefault}{\sfdefault} +} +\DeclareOption{roman}{% use roman/serif font + \renewcommand{\familydefault}{\rmdefault} +} \DeclareOption*{\PassOptionsToClass{\CurrentOption}{scrreprt}} -\@ifclasswith{\myClassName}{english}{}{\@ifclasswith{\myClassName}{ngerman}{}{\ExecuteOptions{ngerman}}} +\ExecuteOptions{fontsize=11pt,a4paper,ngerman,sans} % standart options \ProcessOptions\relax % Load KOMA class @@ -108,7 +115,6 @@ \renewcommand{\fps@figure}{h!t} % positioning of figures \renewcommand{\fps@table}{h!t} % Positonierung of tables \renewcommand{\layercontentsmeasure}{\empty} % rulers when using draft disabled -\renewcommand{\familydefault}{\sfdefault} % Sans-Serif Font as standard \MakeOuterQuote{"} % easy quotationmarks % custom commands @@ -182,8 +188,12 @@ } % load config at beginning of document -\AtBeginDocument { +\AtBeginDocument{ \makeatletter + \renewcommand*{\mkbibacro}[1]{\MakeUppercase{#1}} % solves fontype warning in San-Serif + \@ifpackageloaded{subfigure}{ + \newcommand{\subfigureautorefname}{\figureautorefname} + }{}% \InputIfFileExists{config.tex}{ \ClassInfo{\myClassName}{config.tex was found. Using it...} }{ diff --git a/src/HsH-standalone.cls b/src/HsH-standalone.cls index bd9faa5ab65f0519464f443ee38092532a09f057..7cd02ba8c01001115fb2782932eb536521699a39 100644 --- a/src/HsH-standalone.cls +++ b/src/HsH-standalone.cls @@ -2,8 +2,7 @@ \NeedsTeXFormat{LaTeX2e} \newcommand{\myClassName}{HsH-standalone} -\ProvidesClass{\myClassName}[2020/01/22 HsH Report based on KOMA] -\LoadClass[multi=tikzpicture,multi=circuitikz]{standalone} +\ProvidesClass{\myClassName}[2020/03/13 HsH Report based on KOMA] \newcommand{\HsHlogoPath}{HSH-Logo.pdf} \newcommand{\HsHlogoPage}{1} @@ -21,25 +20,37 @@ } \DeclareOption{english}{% \PassOptionsToPackage{\CurrentOption}{babel} + \@germanfalse } -\DeclareOption{f1}{% +\DeclareOption{f1}{% use logo of fakulty 1 \renewcommand{\HsHlogoPage}{2} } -\DeclareOption{f2}{% +\DeclareOption{f2}{% use logo of fakulty 2 \renewcommand{\HsHlogoPage}{3} } -\DeclareOption{f3}{% +\DeclareOption{f3}{% use logo of fakulty 3 \renewcommand{\HsHlogoPage}{4} } -\DeclareOption{f4}{% +\DeclareOption{f4}{% use logo of fakulty 4 \renewcommand{\HsHlogoPage}{5} } -\DeclareOption{f5}{% +\DeclareOption{f5}{% use logo of fakulty 5 \renewcommand{\HsHlogoPage}{6} } +\DeclareOption{sans}{% use san serif font + \renewcommand{\familydefault}{\sfdefault} +} +\DeclareOption{roman}{% use roman/serif font + \renewcommand{\familydefault}{\rmdefault} +} \DeclareOption*{\PassOptionsToClass{\CurrentOption}{standalone}} + +\ExecuteOptions{fontsize=11pt,a4paper,ngerman,sans} % standart options \ProcessOptions\relax +\LoadClass[multi=tikzpicture,multi=circuitikz]{standalone} + + \newcommand*{\@titlehead}{}% \newcommand{\titlehead}[1]{\gdef\@titlehead{#1}}% \newcommand*{\@subject}{}% @@ -85,8 +96,11 @@ \providecommand{\abs}[1]{\ensuremath{\left\vert#1\right\vert}} % Makro for vertical lines around absolute values % load config at beginning of document -\AtBeginDocument { +\AtBeginDocument{ \makeatletter + \@ifpackageloaded{subfigure}{ + \newcommand{\subfigureautorefname}{\figureautorefname} + }{}% \InputIfFileExists{config.tex}{ \ClassInfo{\myClassName}{config.tex was found. Using it...} }{ diff --git a/src/README.md b/src/README.md index 86a20f0fc96c2d6cd975ea39eaf88b5d1d5b5977..768541f69ff38c131774b57337e889b6d342abda 100644 --- a/src/README.md +++ b/src/README.md @@ -1,4 +1,3 @@ -# Der Sources Ordner +# The sources Folder -This folder is for additional source files. It provides the custom classes and support files as well as being good for storing your assignments or -documents you need for information. \ No newline at end of file +This folder is for additional source files. It provides the custom classes and support files. \ No newline at end of file diff --git a/src/config.tex b/src/config.tex index 2a4f58ea45dd925bde7a850f18cbd3ad58352e0e..bc5de7e796bc601bb4eb0d48842db0f9c209317c 100644 --- a/src/config.tex +++ b/src/config.tex @@ -12,9 +12,6 @@ \setcapwidth[c]{0.8\textwidth} % center all captions %\setcapwidth[l]{0.8\textwidth} % leftalign all captions \fi -\@ifpackageloaded{subfigure}{ - \newcommand{\subfigureautorefname}{\figureautorefname} -}{}% \@ifpackageloaded{biblatex}{ \ExecuteBibliographyOptions{ bibwarn=true, diff --git a/src/personal.tex b/src/personal.tex index 196aa7cf888c0623637d78afb36164e0cfe3d6f8..69c3a928c2db4cc8fce0ad8e7755b14a6e2cc4e8 100644 --- a/src/personal.tex +++ b/src/personal.tex @@ -6,4 +6,4 @@ \subject{Subject} \title{Title} \subtitle{Subtitle} -\date{\st{01.10.2020}\\\today} +\date{\today}