Skip to content

Commit

Permalink
improve grammer & spelling (#154)
Browse files Browse the repository at this point in the history
  • Loading branch information
infacc authored Dec 11, 2023
1 parent 19a291f commit 067e629
Show file tree
Hide file tree
Showing 9 changed files with 55 additions and 55 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
Currently, it is the unofficial LaTeX template for Master, Bachelor, Diploma, and Student Theses.

See [docs/](docs/) or <http://latextemplates.github.io/scientific-thesis-template/> for a documentation of the template.
See [docs/](docs/) or <http://latextemplates.github.io/scientific-thesis-template/> for documentation of the template.

## License

The license of this work is [CC0](https://creativecommons.org/publicdomain/zero/1.0/), which corresponds to "public domain".

### Exceptions

The images in `logos` are subject to other copyright from other parties:
The images in `logos` are subject to other copyrights from other parties:

- `UPB_LOGO_GB_RGB_15.pdf` and `UPB_Logo_RGB_D_2012.pdf` are copyright Paderborn University.
Refer to <https://www.uni-paderborn.de/universitaet/marketing/design-vorgaben-templates/> for proper use.
Expand Down
48 changes: 24 additions & 24 deletions config.tex
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@

% EN: Enable copy and paste of text from the PDF
% Only required for pdflatex. It "just works" in the case of lualatex.
% mmap enables mathematical symbols, but does not work with the newtx font set
% mmap enables mathematical symbols but does not work with the newtx font set
% See: https://tex.stackexchange.com/a/64457/9075
% Other solutions outlined at http://goemonx.blogspot.de/2012/01/pdflatex-ligaturen-und-copynpaste.html and http://tex.stackexchange.com/questions/4397/make-ligatures-in-linux-libertine-copyable-and-searchable
% Trouble shooting outlined at https://tex.stackexchange.com/a/100618/9075
% Troubleshooting outlined at https://tex.stackexchange.com/a/100618/9075

\ifluatex
\else
Expand Down Expand Up @@ -140,7 +140,7 @@
% rm = libertine im Brottext, Linux Biolinum NICHT als serifenlose Schrift, sondern helvet (von oben) beibehalten
%\usepackage[rm]{libertine}

% EN: Alternative Font: Palantino. It is recommeded by Prof. Ludewig for German texts
% EN: Alternative Font: Palantino. It is recommended by Prof. Ludewig for German texts
% DE: Alternative Schriftart: Palantino, Packageparamter [osf] = Minuskel-Ziffern
% Bitte nur in deutschen Texten
%\usepackage{mathpazo} %ftp://ftp.dante.de/tex-archive/fonts/mathpazo/ - Tipp aus DE-TEX-FAQ 8.2.1
Expand All @@ -154,7 +154,7 @@
%\usepackage[scaled=0.83]{beramono}

% EN: backticks (`) are rendered as such in verbatim environments.
% See following links for details:
% See the following links for details:
% - https://tex.stackexchange.com/a/341057/9075
% - https://tex.stackexchange.com/a/47451/9075
% - https://tex.stackexchange.com/a/166791/9075
Expand Down Expand Up @@ -193,7 +193,7 @@
% DE: Optischer Randausgleich und Grauwertkorrektur

\usepackage[
babel=true, % EN: Enable language-specific kerning. Take language-settings from the languge of the current document (see Section 6 of microtype.pdf)
babel=true, % EN: Enable language-specific kerning. Take language-settings from the language of the current document (see Section 6 of microtype.pdf)
expansion=alltext,
protrusion=alltext-nott, % EN: Ensure that at listings, there is no change at the margin of the listing
final % EN: Always enable microtype, even if in draft mode. This helps finding bad boxes quickly.
Expand Down Expand Up @@ -222,7 +222,7 @@


% EN: Fixes bugs in AMS math
% Corrently conflicts with unicode-math
% Currently conflicts with unicode-math
% \usepackage{mathtools}

%\numberwithin{equation}{section}
Expand All @@ -247,7 +247,7 @@
\usepackage{lccaps}


% EN: Defintion of colors. Argument "hyperref" is not used as we do not want to change border colors of links: Links are not colored anymore.
% EN: Definition of colors. The "hyperref" argument is not used as we do not want to change the border colors of links: Links are not colored anymore.
% DE: Farbdefinitionen
\usepackage[dvipsnames]{xcolor}

Expand Down Expand Up @@ -279,9 +279,9 @@
\usepackage[ngerman]{selnolig}
\fi
\else
% EN: Set English as language and allow to write hyphenated"=words
% EN: Set English as the language and allow to write hyphenated"=words
% `american`, `english` and `USenglish` are synonyms for babel package (according to https://tex.stackexchange.com/questions/12775/babel-english-american-usenglish).
% "english" has to go last to set it as default language
% "english" has to go last to set it as the default language
\usepackage[ngerman,main=english]{babel}
% EN: Hint by http://tex.stackexchange.com/a/321066/9075 -> enable "= as dashes
\addto\extrasenglish{\languageshorthands{ngerman}\useshorthands{"}}
Expand All @@ -304,7 +304,7 @@


% EN: For even easier quotations: \qq{text}.
% Is not smart in the case of nesting, but good enough for the most cases
% Is not smart in the case of nesting, but good enough for most cases
\usepackage{textcmds}
\ifdeutsch
% EN: German quotes are different. So do not use the English quotes, but the ones provided by the csquotes package.
Expand Down Expand Up @@ -453,7 +453,7 @@
% Siehe https://tex.stackexchange.com/a/3034/9075.
\usepackage[hyphens]{url}
%
% EN: When activated, use text font as url font, not the monospaced one.
% EN: When activated, use text font as URL font, not the monospaced one.
% For all options see https://tex.stackexchange.com/a/261435/9075.
% \urlstyle{same}
%
Expand Down Expand Up @@ -540,7 +540,7 @@
\RecustomVerbatimCommand{\VerbatimInput}{VerbatimInput}{fontsize=\footnotesize}
%
% EN: Hack for fancyvrb based on http://newsgroups.derkeiler.com/Archive/Comp/comp.text.tex/2008-12/msg00075.html
% Change of the solution: \Vref somehow collidated with cleveref/varioref as the output of \Vref{} was "Abschnitt 4.3 auf Seite 85"; therefore changed to \myVref -- so completely removed
% Change of the solution: \Vref somehow collided with cleveref/varioref as the output of \Vref{} was "Abschnitt 4.3 auf Seite 85"; therefore changed to \myVref -- so completely removed
% See https://tex.stackexchange.com/q/132420/9075 for more information.
\newcommand{\Vlabel}[1]{\label[line]{#1}\hypertarget{#1}{}}
\newcommand{\lref}[1]{\hyperlink{#1}{\FancyVerbLineautorefname~\ref*{#1}}}
Expand All @@ -561,7 +561,7 @@


% EN: Required for proper environments of fancyvrb and lstlistings
% There is also the newfloat pacakge (recommended by minted), but we currently have no expericene with that
% There is also the newfloat package (recommended by minted), but we currently have no experience with that
% DE: Wird für fancyvrb und für lstlistings verwendet
\usepackage{float}
%
Expand Down Expand Up @@ -599,7 +599,7 @@
% Abstand zwischen Fußnoten vergrößern:
%\setlength{\footnotesep}{.85\baselineskip}
%
% EN: Following command disables the separting line of the footnote
% EN: Following command disables the separating line of the footnote
% DE: Folgendes Kommando deaktiviert die Trennlinie zur Fußnote
%\renewcommand{\footnoterule}{}
%
Expand Down Expand Up @@ -695,7 +695,7 @@
\renewcommand*\bibnamedelimc{\addnbspace}
\renewcommand*\bibnamedelimd{\addnbspace}

%Replace last "and" by comma in bibliography
%Replace last "and" with a comma in bibliography
%See http://tex.stackexchange.com/a/41532/9075
\AtBeginBibliography{%
\renewcommand*{\finalnamedelim}{\addcomma\space}%
Expand Down Expand Up @@ -767,7 +767,7 @@
\definecolor{black}{rgb}{0,0,0}


% EN: Define color of links and more
% EN: Define the color of links and more
\hypersetup{
% have both title and number hyperlinking to content
linktoc=all,
Expand Down Expand Up @@ -937,7 +937,7 @@
\ChTitleVar{\raggedright\Large\sffamily\bfseries}
\fi

% EN: Complete different chapter style - self made
% EN: Complete different chapter style - self-made

% Innen drin kann man dann noch zwischen
% * serifenloser Schriftart (eingestellt)
Expand Down Expand Up @@ -1010,7 +1010,7 @@
\displaywidowpenalty = 10000


% EN: Try to get rid of "overfull hbox" things and let text flow batter
% EN: Try to get rid of "overfull hbox" things and let the text flow better
% See also
% - http://groups.google.de/group/de.comp.text.tex/browse_thread/thread/f97da71d90442816/f5da290593fd647e?lnk=st&q=tolerance+emergencystretch&rnum=5&hl=de#f5da290593fd647e
% - http://www.tex.ac.uk/cgi-bin/texfaq2html?label=overfull
Expand Down Expand Up @@ -1105,7 +1105,7 @@


% EN: Enable footnotes in tables.
% This package superseeds the 1997 package "footnote"
% This package supersedes the 1997 package "footnote"
\usepackage{footnotehyper}
% TODO: The footnotehyper author recommends to enclose the respective area with \begin{savenotes} ... \end{savenotes}
\makesavenoteenv{tabular}
Expand All @@ -1114,7 +1114,7 @@
\crefformat{footnote}{#2\footnotemark[#1]#3}


% EN: pgfplots (optional if the ppackage is installed)
% EN: pgfplots (optional if the package is installed)
% PGFPlots draws high-qual­ity func­tion plots in nor­mal or log­a­rith­mic scal­ing
\IfFileExists{pgfplots.sty}{
\usepackage{pgfplots}
Expand All @@ -1123,8 +1123,8 @@
}{}


% EN: pgfplotstable (optional if the ppackage is installed)
% PGFPlots generates tables from csv files
% EN: pgfplotstable (optional if the package is installed)
% PGFPlots generates tables from CSV files
\IfFileExists{pgfplotstable.sty}{
\usepackage{pgfplotstable}
}{}
Expand All @@ -1148,7 +1148,7 @@
}{}


% EN: Layout: bottoms of pages not aligned to each other
% EN: Layout: bottoms of pages not aligned with each other
% DE: Der untere Rand darf "flattern"
\raggedbottom

Expand Down Expand Up @@ -1182,7 +1182,7 @@
\pdfcompresslevel=9


% EN: Required for recent version of komascript, as some packges are not that compatible with KOMAScript as they should be
% EN: Required for a recent version of komascript, as some packages are not as compatible with KOMAScript as they should be
% Has to be loaded at the *very* end, so we use "\AtEndPreamble" by etoolsbox
\usepackage{etoolbox}
\AtEndPreamble{\usepackage{scrhack}}
Expand Down
30 changes: 15 additions & 15 deletions latexhints-english.tex
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ \chapter{LaTeX Hints}
In LaTeX, you can do that by using two backslashes (\textbackslash\textbackslash).
This is rarely used.

Please do \textit{not} use two backslahes for new paragraphs.
Please do \textit{not} use two backslashes for new paragraphs.
For instance, this sentence belongs to the same paragraph, whereas the last one started a new one.
A long motivation for that is provided at \url{http://loopspace.mathforge.org/HowDidIDoThat/TeX/VCS/#section.3}.

Expand Down Expand Up @@ -59,7 +59,7 @@ \section{Citations}
\end{filecontents*}
\PrintDemo{style=parallel}

The following sentence demonstrates that you can overwrite the text part of the generated label using \texttt{label} in a bibliopgrahie"=entry, but the year and the uniqueness is still generated by biber.
The following sentence demonstrates that you can overwrite the text part of the generated label using \texttt{label} in a bibliopgrahie"=entry, but the year and the uniqueness are still generated by biber.

\begin{filecontents*}[overwrite]{\democodefile}
The workflow engine Apache ODE \cite{ApacheODE} executes \BPEL processes reliably.
Expand All @@ -84,7 +84,7 @@ \section{Formulas and Equations}
A list with all available mathematical symbols is provided at \url{http://texdoc.net/pkg/symbols-a4}.

\begin{filecontents*}[overwrite]{\democodefile}
As example the set of natural numbers is given by $\mathbb{N}$.
As an example, the set of natural numbers is given by $\mathbb{N}$.
\end{filecontents*}
\PrintDemo{style=parallel}

Expand All @@ -99,28 +99,28 @@ \section{Formulas and Equations}
\end{filecontents*}
\PrintDemo{style=parallel}

Following equation is not numbered because of using \texttt{\textbackslash align*} as environment.
The following equation is not numbered because of using \texttt{\textbackslash align*} as environment.
\begin{filecontents*}[overwrite]{\democodefile}
\begin{align*}
x = y
\end{align*}
\end{filecontents*}
\PrintDemo{style=parallel}

The template offers \verb+\abs+ to enable the bars scaling well at the absolute value:
The template offers \verb+\abs+ to enable the bars to scale well at the absolute value:

\begin{filecontents*}[overwrite]{\democodefile}
$\abs{X}$.
\end{filecontents*}
\PrintDemo{style=parallel}

More details about mathematical environments provides the documentation available at \url{http://www.ctan.org/tex-archive/help/Catalogue/entries/voss-mathmode.html}.
The documentation available at \url{http://www.ctan.org/tex-archive/help/Catalogue/entries/voss-mathmode.html} provides more details about mathematical environments.


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{Sourcecode}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\Cref{lst:ListingANDlstlisting} shows how to emmbed source code.
\Cref{lst:ListingANDlstlisting} shows how to embed source code.
With \texttt{\textbackslash lstinputlisting} the source code can be loaded directly from files.

%Listing-Umgebung wurde durch \newfloat{Listing} definiert
Expand Down Expand Up @@ -193,7 +193,7 @@ \section{Pseudocode}
\vskip.3em%\vskip\belowcaptionskip\relax
\hrule height .5pt width\textwidth
\end{minipage}
%without the following line, the text is nerer at the rule
%without the following line, the text is never at the rule
\vskip-.3em
%
code goes here\\
Expand Down Expand Up @@ -343,7 +343,7 @@ \section{Figures with tikz}
\foreach \y in {0.5,1,1.5,2,2.5,3,3.5}
\draw(\x,\y) circle (1pt);
\end{tikzpicture}
\caption{A regular grid genrated with easily with two for loops.}\label{fig:tikz_example}
\caption{A regular grid generated easily with two for loops.}\label{fig:tikz_example}
\end{figure}


Expand Down Expand Up @@ -470,7 +470,7 @@ \subsection{Tables with pgfplots}
display columns/0/.style={string type,column name={}}
]
{data/data.csv}
\caption{Table direclty generated from the values of a csf file.}
\caption{Table directly generated from the values of a csf file.}
\end{table}
}{}

Expand Down Expand Up @@ -581,7 +581,7 @@ \section{Tables spanning multiple pages}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{Abbreviations}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
At the first pass the \gls{fr} was 5.
At the first pass, the \gls{fr} was 5.
At the second pass was \gls{fr} 3.
The plural form can be seen here: \glspl{er}.
To demonstrate what the list of abbreviations looks like for longer description texts, \glspl{rdbms} must be mentioned here.
Expand All @@ -601,7 +601,7 @@ \section{References}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
For distant sections \qq{varioref} is recommended:
\qq{See \vref{sec:mf}}.
The command \texttt{\textbackslash{}vref} works similar to \texttt{\textbackslash{}cref} the difference beeing that a reference to the page is additionally added.
The command \texttt{\textbackslash{}vref} works similarly to \texttt{\textbackslash{}cref} the difference being that a reference to the page is additionally added.
\texttt{vref}: \qq{\vref{sec:firstsectioninlatexhints}}, \texttt{cref}: \qq{\cref{sec:firstsectioninlatexhints}}, \texttt{ref}: \qq{\ref{sec:firstsectioninlatexhints}}.

If \qq{varioref} causes difficulties, then \qq{cref} can be used instead.
Expand Down Expand Up @@ -641,8 +641,8 @@ \section{Various Things}
\label{sec:diff}
\ifdeutsch
Numbers (123\,654\,789) are nicely set.
Either in a line or as non-lining figure.
The latter is reached by parameter \texttt{osf} at package \texttt{libertine} or.\ \texttt{mathpazo} in \text{fonts.tex}.
Either in a line or as a non-lining figure.
The latter is reached by the parameter \texttt{osf} at package \texttt{libertine} or.\ \texttt{mathpazo} in \text{fonts.tex}.
\fi

\begin{filecontents*}[overwrite]{\democodefile}
Expand All @@ -656,7 +656,7 @@ \section{Various Things}
The words \qq{workflow} and \qq{dwarflike} can be copied from the PDF and pasted to a text file.

\begin{filecontents*}[overwrite]{\democodefile}
In case \LuaLaTeX{} is used as compiler, there is no ligature at \qq{f\/l} in the word \qq{dwarflike} (in contrast to \qq{fl} at \qq{workflow}).
In case \LuaLaTeX{} is used as the compiler, there is no ligature at \qq{f\/l} in the word \qq{dwarflike} (in contrast to \qq{fl} at \qq{workflow}).
In other words: \qq{dwarflike} and \qq{dwarf\/like} look the same in the PDF.
In case they do not, there is an issue with Lua\LaTeX{} and the selnolig package.
\end{filecontents*}
Expand Down
2 changes: 1 addition & 1 deletion latexhints-german.tex
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ \section{Pseudocode}
\vskip.3em%\vskip\belowcaptionskip\relax
\hrule height .5pt width\textwidth
\end{minipage}
%without the following line, the text is nerer at the rule
%without the following line, the text is never at the rule
\vskip-.3em
%
code goes here\\
Expand Down
4 changes: 2 additions & 2 deletions main-english.tex
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
\documentclass[
% fontsize=11pt is the standard
a4paper, % Standard format - only KOMAScript uses paper=a4 - https://tex.stackexchange.com/a/61044/9075
twoside, % we are optimizing for both screen and two-side printing. So the page numbers will jump, but the content is configured to stay in the middle (by using the geometry package)
twoside, % we are optimizing for both screen and two-sided printing. So the page numbers will jump, but the content is configured to stay in the middle (by using the geometry package)
bibliography=totoc,
% idxtotoc, %Index ins Inhaltsverzeichnis
% liststotoc, %List of X ins Inhaltsverzeichnis, mit liststotocnumbered werden die Abbildungsverzeichnisse nummeriert
Expand Down Expand Up @@ -47,7 +47,7 @@

%tex4ht-Konvertierung verschönern
\iftex4ht
% tell tex4ht to create picures also for formulas starting with '$'
% tell tex4ht to create pictures also for formulas starting with '$'
% WARNING: a tex4ht run now takes forever!
\Configure{$}{\PicMath}{\EndPicMath}{}
%$ % <- syntax highlighting fix for emacs
Expand Down
4 changes: 2 additions & 2 deletions main-german.tex
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
ngerman,
% fontsize=11pt is the standard
a4paper, % Standard format - only KOMAScript uses paper=a4 - https://tex.stackexchange.com/a/61044/9075
twoside, % we are optimizing for both screen and two-side printing. So the page numbers will jump, but the content is configured to stay in the middle (by using the geometry package)
twoside, % we are optimizing for both screen and two-sided printing. So the page numbers will jump, but the content is configured to stay in the middle (by using the geometry package)
bibliography=totoc,
% idxtotoc, %Index ins Inhaltsverzeichnis
% liststotoc, %List of X ins Inhaltsverzeichnis, mit liststotocnumbered werden die Abbildungsverzeichnisse nummeriert
Expand Down Expand Up @@ -48,7 +48,7 @@

%tex4ht-Konvertierung verschönern
\iftex4ht
% tell tex4ht to create picures also for formulas starting with '$'
% tell tex4ht to create pictures also for formulas starting with '$'
% WARNING: a tex4ht run now takes forever!
\Configure{$}{\PicMath}{\EndPicMath}{}
%$ % <- syntax highlighting fix for emacs
Expand Down
Loading

0 comments on commit 067e629

Please sign in to comment.