LaTeX / Tex Template
- A personal default template with some basic stuff and packages. Living page, there are constantly changes here.
\documentclass[a4paper,12pt]{report}
\usepackage{geometry}
\usepackage{helvet}
\renewcommand{\familydefault}{\sfdefault}
\usepackage[T1]{fontenc}
\usepackage{titlesec}
\usepackage{graphicx}
\usepackage{makeidx}
\usepackage{glossaries}
\usepackage[bottom]{footmisc}
\setlength{\parskip}{\baselineskip}%
\setlength{\parindent}{0pt}%
\usepackage{caption}
\renewcommand{\footnoterule}{%
\kern 3pt
\hrule width \textwidth height 0.5pt
\kern 2pt
}
\renewcommand{\chaptername}{Kapitel}
\renewcommand{\contentsname}{Inhaltsverzeichnis}
\renewcommand{\figurename}{Abbildung}
\renewcommand*\entryname{Name}
\renewcommand*\descriptionname{Bedeutung}
\setglossarystyle{long3colheader}
\font\myfont=cmr12 at 40pt
\title{{\myfont ABCi}}
\author{Emanuel @ 2023}
\date{\today{}m, Wien}
\makeindex
\makeglossaries$
\newglossaryentry{latex}{$
name=abc, $
description={abc is a test}$
}$
\begin{document}
\maketitle
\pagebreak
\tableofcontents
\pagebreak
\chapter{ABC}
\section{Abc}
\label{sec:abc}
This is a test....
\index{Specialword}
Another test\footnote{Some notes} with more tests and this is a glossary entry for \gls{abc}.
\pagebreak
\chapter{ABC}
\section{ABC}
This test will be fine (see also \ref{sec:abc}).
\begin{figure}
\includegraphics[width=\textwidth]{abc.jpg}
\caption[Caption]{This is a test}
\end{figure}
\printindex
\printglossary[type=main,title={Bedeutung},style=long-name-desc]$
\end{document}
- For creating the index run Latex, then
makeindex abc.idx
and then again LateX.
- For creating the glossaries it's the same procedure, so use
makeglossaries abc
and then again the LateX command.