Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QOL Updates - Größtenteils Aufräumen plus kleine bugfixes #126

Merged
merged 10 commits into from
Mar 4, 2022
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
charset = utf8
end_of_line = crlf
insert_final_newline = true

[*.bib]
indent_style = tab
trim_trailing_whitespace = true
RvNovae marked this conversation as resolved.
Show resolved Hide resolved

[*.tex]
indent_style = space
Expand Down
54 changes: 35 additions & 19 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,19 +1,35 @@
*.aux
*.log
*.out
*.gz
*.toc
*.pdf
*.bcf
*.blg
*.bbl
*.run.xml
*.fls
*.fdb_latexmk
*.synctex.gz
*.synctex(busy)
*.lof
*.xdv
*.alt
*.lot
*.acr
# ignore all
**

!.gitignore
!.editorconfig

!*.md
!*.tex
!*.latex
!*.bib

!.github/
!.github/workflows
!.github/workflows/**

!.vscode/
!.vscode/**

!assets/
!assets/img/
!assets/img/.gitkeep
!assets/img/*.png
!assets/img/*.jpg
RvNovae marked this conversation as resolved.
Show resolved Hide resolved

RvNovae marked this conversation as resolved.
Show resolved Hide resolved
!assets/readme/
!assets/readme/**
RvNovae marked this conversation as resolved.
Show resolved Hide resolved

!build/
!build/template.tex
!build/components/
!build/components/*.tex
!build/components/*.cbx

!build/tests/
!build/tests/**
12 changes: 12 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,23 @@
"cSpell.words": [
"acro",
"amssymb",
"Autorreferat",
"belowskip",
"Bera",
RvNovae marked this conversation as resolved.
Show resolved Hide resolved
"biber",
"captionsetup",
"cauthor",
"CFANCYFONTS",
"citestyle",
"csquotes",
"deckblatt",
"defernumbers",
"dhge",
"dhgefigure",
"einkommentieren",
"enumitem",
"etoolbox",
"euler",
"fancyhdr",
"fancyplain",
"footmisc",
Expand All @@ -22,14 +29,19 @@
"ibidtracker",
"icomma",
"ifthen",
"labelfont",
RvNovae marked this conversation as resolved.
Show resolved Hide resolved
"literatur",
RvNovae marked this conversation as resolved.
Show resolved Hide resolved
"lmodern",
"mathrm",
"minalphanames",
"minbibnames",
"ngerman",
"Palatino",
"pdfauthor",
"secnumdepth",
"setspace",
"singlelinecheck",
"Thesenblatt",
"titletoc",
"tocdepth",
"tocloft",
Expand Down
7 changes: 7 additions & 0 deletions .vscode/tex_snippets.code-snippets
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@
], // einzufügender snippet
"description": "Insert \\DeclareAcronym" // beschreibung
},
"Abkürzung - singleline": {
"prefix": ["singleabk", "singledhgeabk"], // auf welchem namen der snippet auffindbar ist
"scope": "latex,tex", // welche files der snippet betreffen soll
"body": ["\\DeclareAcronym{${1:ac-used-name}}{short = {${2:abk}}, long = {${3:non_abk}}}"
], // einzufügender snippet
"description": "Insert singleline \\DeclareAcronym" // beschreibung
},
// Im 'body' könne parameter verwendet werden, um bestimmte Ziele zu erreichen. (z.B. tabbing)
// Nummern entsprechen Reihenfolge
// einfachste Anwendung => $1
Expand Down
4 changes: 2 additions & 2 deletions abk.tex
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
% Für alles Weitere schauen Sie sich bitte die Dokumentation des Acro Packages an.

\DeclareAcronym{dhge}{
short = {DHGE},
long = {Duale Hochschule Gera-Eisenach},
short = {DHGE},
long = {Duale Hochschule Gera-Eisenach},
}
10 changes: 5 additions & 5 deletions bachelor.tex
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@
{
\begin{enumerate}
\item These 1
\vspace{0.5cm}
\vspace{0.5cm}

\item These 2
\vspace{0.5cm}
\vspace{0.5cm}

\item These 3
\vspace{0.5cm}
\vspace{0.5cm}

\item These 4
\vspace{0.5cm}
\vspace{0.5cm}

\item These 5
\vspace{0.5cm}
\vspace{0.5cm}
\end{enumerate}
}

Expand Down
76 changes: 38 additions & 38 deletions build/components/alphabetic-ibid.cbx
Original file line number Diff line number Diff line change
Expand Up @@ -10,54 +10,54 @@
\newbool{cbx:loccit}

\newbibmacro*{cite}{%
\global\boolfalse{cbx:loccit}%
\ifthenelse{\ifciteibid\AND\NOT\iffirstonpage}{
\usebibmacro{cite:ibid}
}
{\addspace\printtext[bibhyperref]{\printtext[brackets]{%
\printfield{labelprefix}%
\printfield{labelalpha}%
\printfield{extraalpha}%
\ifbool{bbx:subentry} {
\printfield{entrysetcount}
}
}}}
\global\boolfalse{cbx:loccit}%
\ifthenelse{\ifciteibid\AND\NOT\iffirstonpage}{
\usebibmacro{cite:ibid}
}
{\addspace\printtext[bibhyperref]{\printtext[brackets]{%
\printfield{labelprefix}%
\printfield{labelalpha}%
\printfield{extraalpha}%
\ifbool{bbx:subentry} {
\printfield{entrysetcount}
}
}}}
}

\newbibmacro*{cite-clean}{%
{\printtext[bibhyperref]{\printtext{%
\printfield{labelprefix}%
\printfield{labelalpha}%
\printfield{extraalpha}%
\ifbool{bbx:subentry} {
\printfield{entrysetcount}
}
}}}
{\printtext[bibhyperref]{\printtext{%
\printfield{labelprefix}%
\printfield{labelalpha}%
\printfield{extraalpha}%
\ifbool{bbx:subentry} {
\printfield{entrysetcount}
}
}}}
}

\newbibmacro*{cite:ibid}{%
\printtext[bibhyperref]{\biblstring[\mkibid]{ibidem}}%
\ifloccit
{\global\booltrue{cbx:loccit}}
{}}
\printtext[bibhyperref]{\biblstring[\mkibid]{ibidem}}%
\ifloccit
{\global\booltrue{cbx:loccit}}
{}}

\DeclareCiteCommand{\cite}
{\usebibmacro{prenote}}
{\usebibmacro{citeindex}\usebibmacro{cite}}
{\multicitedelim}
{\usebibmacro{postnote}}
\DeclareCiteCommand{\cite}
{\usebibmacro{prenote}}
{\usebibmacro{citeindex}\usebibmacro{cite}}
{\multicitedelim}
{\usebibmacro{postnote}}

\DeclareCiteCommand{\footcite}[\mkbibfootnote]
{\usebibmacro{prenote}}
{\usebibmacro{citeindex}{\usebibmacro{cite}}}
{\multicitedelim}
{\usebibmacro{postnote}}
{\usebibmacro{prenote}}
{\usebibmacro{citeindex}{\usebibmacro{cite}}}
{\multicitedelim}
{\usebibmacro{postnote}}

\DeclareCiteCommand{\supercite}[\textsuperscript]
{\usebibmacro{prenote}}
{\usebibmacro{citeindex}{\bibleftbracket\usebibmacro{cite-clean}\usebibmacro{postnote}}\unspace\bibrightbracket}
{\multicitedelim}
{}
{\usebibmacro{prenote}}
{\usebibmacro{citeindex}{\bibleftbracket\usebibmacro{cite-clean}\usebibmacro{postnote}}\unspace\bibrightbracket}
{\multicitedelim}
{}

\DeclareFieldFormat{url}{\newline\url{#1}}
\DeclareFieldFormat
Expand All @@ -70,6 +70,6 @@ inproceedings,patent,thesis,unpublished,booklet,conference,mastersthesis]
\renewcommand{\finentrypunct}{}

\renewcommand{\bibfootnotewrapper}[1]{%
\bibsentence#1}
\bibsentence#1}

\endinput
111 changes: 0 additions & 111 deletions build/components/com.tex

This file was deleted.

Loading