[DMDB] Set up glossary

This commit is contained in:
2026-06-22 08:05:19 +02:00
parent 8ee4ba0259
commit 9806123eb7
6 changed files with 37 additions and 11 deletions
Binary file not shown.
@@ -2,6 +2,9 @@
\input{~/projects/latex/janishutz-helpers.tex} \input{~/projects/latex/janishutz-helpers.tex}
\setupGlossary
\input{glossary/main.tex}
\usepackage{lmodern} \usepackage{lmodern}
\setFontType{sans} \setFontType{sans}
@@ -12,36 +15,41 @@
\vspace{1cm} \vspace{1cm}
\begin{center} \begin{center}
\includegraphics[width=0.5\linewidth]{~/projects/latex/assets/logo.jpg} \includegraphics[width=0.5\linewidth]{~/projects/latex/assets/logo.jpg}
\end{center} \end{center}
\vspace{2cm} \vspace{2cm}
\begin{center} \begin{center}
\begin{Large} \begin{Large}
\quote{A curry can be written in many different ways} \quote{A curry can be written in many different ways}
\end{Large} \end{Large}
\hspace{3cm} - Prof. Dr. Gustavo Alonso, 2026 \hspace{3cm} - Prof. Dr. Gustavo Alonso, 2026
\end{center} \end{center}
\vspace{1.5cm} \vspace{1.5cm}
\begin{center} \begin{center}
FS2026, ETHZ FS2026, ETHZ
\begin{Large} \begin{Large}
Summary of the Script and Lectures Summary of the Script and Lectures
\end{Large} \end{Large}
\end{center} \end{center}
\newpage \newpage
\printtoc{Aquamarine} \printtoc{Aquamarine}
\newpage
\section{Introduction} \section{Introduction}
A note on the quote on the title page: He did not \textit{actually} mean ``curry'', but of course ``query'', but he just pronounced it that way. A note on the quote on the title page: He did not \textit{actually} mean ``curry'', but of course ``query'', but he just pronounced it that way.
This summary assumes some basic knowledge about databases.
All words written in \textbf{bold} should be clickable and should link you to the corresponding term in the glossary.
If I did not forget a term that is, of course.
\newsection \newsection
\section{SQL} \section{SQL}
@@ -49,5 +57,7 @@ A note on the quote on the title page: He did not \textit{actually} mean ``curry
\input{parts/00_sql/01_operations.tex} \input{parts/00_sql/01_operations.tex}
\printGlossary
\end{document} \end{document}
+1
View File
@@ -0,0 +1 @@
\newacronym{sql}{SQL}{Structured Query Language}
+12
View File
@@ -0,0 +1,12 @@
\newglossaryentry{declarative}{
name={declarative},
description={Describes \textit{what} to achieve, but not how}
}
\newglossaryentry{imperative}{
name={imperative},
description={Describes how to achieve something}
}
% \newglossaryentry{}{
% name={},
% description={}
% }
+3
View File
@@ -0,0 +1,3 @@
\input{glossary/acronyms.tex}
\input{glossary/basics.tex}
% \input{}
+1 -1
View File
@@ -1 +1 @@
SQL is a declarative programming language, used to describe and operate on databases. \refacr{sql} is a \refgls{declarative} programming language, used to describe and operate on databases.