summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/elteikthesis
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-09-20 20:03:33 +0000
committerKarl Berry <karl@freefriends.org>2021-09-20 20:03:33 +0000
commit4841994ef44ae962dfa79b220ac52ff8b007b58f (patch)
tree2df29df11ad729be90493f811ec6d429d998deaf /Master/texmf-dist/doc/latex/elteikthesis
parent685957c432bb81345a2654bade4bcefd4c1d069b (diff)
elteikthesis (20sep21)
git-svn-id: svn://tug.org/texlive/trunk@60563 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/elteikthesis')
-rw-r--r--Master/texmf-dist/doc/latex/elteikthesis/LICENSE2
-rw-r--r--Master/texmf-dist/doc/latex/elteikthesis/README.md11
-rw-r--r--Master/texmf-dist/doc/latex/elteikthesis/README.pdfbin152282 -> 157578 bytes
-rw-r--r--Master/texmf-dist/doc/latex/elteikthesis/README_hu.md11
-rw-r--r--Master/texmf-dist/doc/latex/elteikthesis/README_hu.pdfbin156453 -> 161570 bytes
-rw-r--r--Master/texmf-dist/doc/latex/elteikthesis/chapters/impl.tex32
-rw-r--r--Master/texmf-dist/doc/latex/elteikthesis/chapters/user.tex4
-rw-r--r--Master/texmf-dist/doc/latex/elteikthesis/elteikthesis-minted.pdfbin0 -> 20680 bytes
-rw-r--r--Master/texmf-dist/doc/latex/elteikthesis/elteikthesis-minted.tex33
-rw-r--r--Master/texmf-dist/doc/latex/elteikthesis/elteikthesis.pdfbin461186 -> 446255 bytes
-rw-r--r--Master/texmf-dist/doc/latex/elteikthesis/elteikthesis.tex26
-rw-r--r--Master/texmf-dist/doc/latex/elteikthesis/settings.tex16
12 files changed, 87 insertions, 48 deletions
diff --git a/Master/texmf-dist/doc/latex/elteikthesis/LICENSE b/Master/texmf-dist/doc/latex/elteikthesis/LICENSE
index 569279193ff..d760da3dee2 100644
--- a/Master/texmf-dist/doc/latex/elteikthesis/LICENSE
+++ b/Master/texmf-dist/doc/latex/elteikthesis/LICENSE
@@ -1,6 +1,6 @@
MIT License
-Copyright (c) 2013-2020 Máté Cserép <mcserep@inf.elte.hu>, Bálint Bognár
+Copyright (c) 2013-2021 Máté Cserép <mcserep@inf.elte.hu>, Bálint Bognár
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
diff --git a/Master/texmf-dist/doc/latex/elteikthesis/README.md b/Master/texmf-dist/doc/latex/elteikthesis/README.md
index fc0e06a1c41..4b8add09a0a 100644
--- a/Master/texmf-dist/doc/latex/elteikthesis/README.md
+++ b/Master/texmf-dist/doc/latex/elteikthesis/README.md
@@ -27,12 +27,17 @@ pdflatex elteikthesis.tex
Compilation might be carried out through a preferred IDE (e.g. [TexStudio](https://www.texstudio.org/)), given the same commands should be executed.
+## Syntax highlighting of code blocks
+
+The minted package is also supported for syntax highlighting. For its usage the Python interpreter and the `Pygments` package must be installed as a prerequisite.
+See the `elteikthesis-minted.tex` file for example.
+
## Required packages (without completeness)
**Image handling:**
* Minimal and maximal size: [adjustbox](https://ctan.org/pkg/adjustbox)
-* Subfigures: [subfigure](https://ctan.org/pkg/subfigure)
+* Subfigures: [subcaption](https://ctan.org/pkg/subcaption)
* Rotation: [rotating](https://ctan.org/pkg/rotating)
**Table management:**
@@ -51,8 +56,8 @@ Compilation might be carried out through a preferred IDE (e.g. [TexStudio](https
* Mathematical formulas: [amsmath](https://ctan.org/pkg/amsmath)
* Mathematical definitions: [amsthm](https://ctan.org/pkg/amsthm)
* Mathematical symbols: [amsfonts](https://ctan.org/pkg/amsfonts)
-* Algorithms: [algorithmic](https://ctan.org/pkg/algorithms)
-* Code blocks: [listingsutf8](https://ctan.org/pkg/listingsutf8)
+* Algorithms: [algpseudocode](https://www.ctan.org/pkg/algorithmicx)
+* Code blocks: [listingsutf8](https://ctan.org/pkg/listingsutf8), [minted](https://ctan.org/pkg/minted)
**Miscellaneous:**
diff --git a/Master/texmf-dist/doc/latex/elteikthesis/README.pdf b/Master/texmf-dist/doc/latex/elteikthesis/README.pdf
index 4392582e6e2..0cfeb829608 100644
--- a/Master/texmf-dist/doc/latex/elteikthesis/README.pdf
+++ b/Master/texmf-dist/doc/latex/elteikthesis/README.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/elteikthesis/README_hu.md b/Master/texmf-dist/doc/latex/elteikthesis/README_hu.md
index 3e393847178..0f9550a3392 100644
--- a/Master/texmf-dist/doc/latex/elteikthesis/README_hu.md
+++ b/Master/texmf-dist/doc/latex/elteikthesis/README_hu.md
@@ -27,12 +27,17 @@ pdflatex elteikthesis.tex
A fordításhoz tetszőleges fejlesztő környezet is használható (pl. [TexStudio](https://www.texstudio.org/)), ugyanezen utasítások kiadásával.
+## Kódblokkok szintaxis kiemelése
+
+A *minted* csomag támogatott a forráskódok szedésére és szintaxis kiemelésére. Használatához szükséges a Python interpreter és a `Pygments` csomag telepítése.
+Lásd a `elteikthesis-minted.tex` fájlt példaként.
+
## Fontosabb függőségi csomagok
**Képkezelés:**
* Minimális és maximális méret: [adjustbox](https://ctan.org/pkg/adjustbox)
-* Alábrák: [subfigure](https://ctan.org/pkg/subfigure)
+* Alábrák: [subcaption](https://ctan.org/pkg/subcaption)
* Forgatás: [rotating](https://ctan.org/pkg/rotating)
**Táblázatkezelés:**
@@ -51,8 +56,8 @@ A fordításhoz tetszőleges fejlesztő környezet is használható (pl. [TexStu
* Matematikai formulák: [amsmath](https://ctan.org/pkg/amsmath)
* Matematikai definíciók: [amsthm](https://ctan.org/pkg/amsthm)
* Matematikai szimbólumok: [amsfonts](https://ctan.org/pkg/amsfonts)
-* Algoritmusok: [algorithmic](https://ctan.org/pkg/algorithms)
-* Kódblokkok: [listingsutf8](https://ctan.org/pkg/listingsutf8)
+* Algoritmusok: [algpseudocode](https://www.ctan.org/pkg/algorithmicx)
+* Kódblokkok: [listingsutf8](https://ctan.org/pkg/listingsutf8), [minted](https://ctan.org/pkg/minted)
**Egyebek:**
diff --git a/Master/texmf-dist/doc/latex/elteikthesis/README_hu.pdf b/Master/texmf-dist/doc/latex/elteikthesis/README_hu.pdf
index d1f7c5f38e5..dc5029c0b5c 100644
--- a/Master/texmf-dist/doc/latex/elteikthesis/README_hu.pdf
+++ b/Master/texmf-dist/doc/latex/elteikthesis/README_hu.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/elteikthesis/chapters/impl.tex b/Master/texmf-dist/doc/latex/elteikthesis/chapters/impl.tex
index aad6f326f3d..7f9e0a81fcd 100644
--- a/Master/texmf-dist/doc/latex/elteikthesis/chapters/impl.tex
+++ b/Master/texmf-dist/doc/latex/elteikthesis/chapters/impl.tex
@@ -95,21 +95,21 @@ Példa forrása: \href{https://www.inf.u-szeged.hu/actacybernetica/}{Acta Cybern
\label{alg:ibb}
\textbf{\underline{Funct}} IBB($S,f$)
\begin{algorithmic}[1] % sorszámok megjelenítése minden n. sor előtt, most n = 1
-\STATE Set the working list ${\cal L}_W$ := $\{S\}$ and the final list ${\cal L}_Q$ := $\{\}$
-\WHILE{( ${\cal L}_W \neq \emptyset$ )} \label{alg:igoend}
- \STATE Select an interval $X$ from ${\cal L}_W$ \label{step:selrule}\COMMENT{Selection rule}
- \STATE Compute $lbf(X)$ \COMMENT{Bounding rule}
- \IF[Elimination rule]{$X$ cannot be eliminated}
- \STATE Divide $X$ into $X^j,\ j=1,\dots, p$, subintervals \COMMENT{Division rule}
- \FOR{$j=1,\ldots,p$}
- \IF[Termination rule]{$X^j$ satisfies the termination criterion}
- \STATE Store $X^j$ in ${\cal L}_W$
- \ELSE
- \STATE Store $X^j$ in ${\cal L}_W$
- \ENDIF
- \ENDFOR
- \ENDIF
-\ENDWHILE
-\STATE \textbf{return} ${\cal L}_Q$
+\State Set the working list ${\cal L}_W$ := $\{S\}$ and the final list ${\cal L}_Q$ := $\{\}$
+\While{( ${\cal L}_W \neq \emptyset$ )} \label{alg:igoend}
+ \State Select an interval $X$ from ${\cal L}_W$ \label{step:selrule}\Comment{Selection rule}
+ \State Compute $lbf(X)$ \Comment{Bounding rule}
+ \If{$X$ cannot be eliminated} \Comment{Elimination rule}
+ \State Divide $X$ into $X^j,\ j=1,\dots, p$, subintervals \Comment{Division rule}
+ \For{$j=1,\ldots,p$}
+ \If{$X^j$ satisfies the termination criterion} \Comment{Termination rule}
+ \State Store $X^j$ in ${\cal L}_W$
+ \Else
+ \State Store $X^j$ in ${\cal L}_W$
+ \EndIf
+ \EndFor
+ \EndIf
+\EndWhile
+\State \textbf{return} ${\cal L}_Q$
\end{algorithmic}
\end{algorithm}
diff --git a/Master/texmf-dist/doc/latex/elteikthesis/chapters/user.tex b/Master/texmf-dist/doc/latex/elteikthesis/chapters/user.tex
index 47e302f99e5..f0318a5c2f8 100644
--- a/Master/texmf-dist/doc/latex/elteikthesis/chapters/user.tex
+++ b/Master/texmf-dist/doc/latex/elteikthesis/chapters/user.tex
@@ -85,10 +85,10 @@ In non ipsum fermentum urna feugiat rutrum a at odio. Pellentesque habitant morb
\begin{figure}[H]
\centering
- \subfigure[Vestibulum quis mattis urna]{
+ \subcaptionbox{Vestibulum quis mattis urna}{
\includegraphics[width=0.45\linewidth]{elte_cimer_szines}}
\hspace{5pt}
- \subfigure[Donec hendrerit quis dui sit amet venenatis]{
+ \subcaptionbox{Donec hendrerit quis dui sit amet venenatis}{
\includegraphics[width=0.45\linewidth]{elte_cimer_szines}}
\caption{Aenean porttitor mi volutpat massa gravida}
\label{fig:example-2}
diff --git a/Master/texmf-dist/doc/latex/elteikthesis/elteikthesis-minted.pdf b/Master/texmf-dist/doc/latex/elteikthesis/elteikthesis-minted.pdf
new file mode 100644
index 00000000000..409b9704557
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/elteikthesis/elteikthesis-minted.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/elteikthesis/elteikthesis-minted.tex b/Master/texmf-dist/doc/latex/elteikthesis/elteikthesis-minted.tex
new file mode 100644
index 00000000000..c45a1afa5c1
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/elteikthesis/elteikthesis-minted.tex
@@ -0,0 +1,33 @@
+\documentclass{elteikthesis}[2021/09/20]
+
+\usepackage[newfloat]{minted}
+
+\begin{document}
+\documentlang{magyar}
+
+\chapter{Minted forráskód}
+\label{ch:chapter}
+
+\begin{listing}[H]
+\begin{minted}{cpp}
+#include <stdio>
+
+int main()
+{
+ int c;
+ std::cout << "Hello World!" << std::endl;
+
+ std::cout << "Press any key to exit." << std::endl;
+ std::cin >> c;
+
+ return 0;
+}
+\end{minted}
+\caption{Hello World in C++}
+\end{listing}
+
+\phantomsection
+\addcontentsline{toc}{chapter}{\lstcodelabel}
+\listoflistings
+
+\end{document} \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/elteikthesis/elteikthesis.pdf b/Master/texmf-dist/doc/latex/elteikthesis/elteikthesis.pdf
index 58ec02b7cfb..a637d85d329 100644
--- a/Master/texmf-dist/doc/latex/elteikthesis/elteikthesis.pdf
+++ b/Master/texmf-dist/doc/latex/elteikthesis/elteikthesis.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/elteikthesis/elteikthesis.tex b/Master/texmf-dist/doc/latex/elteikthesis/elteikthesis.tex
index 162ce58e7c4..c72a65a4e1e 100644
--- a/Master/texmf-dist/doc/latex/elteikthesis/elteikthesis.tex
+++ b/Master/texmf-dist/doc/latex/elteikthesis/elteikthesis.tex
@@ -3,13 +3,18 @@
%noindent, % Bekezdésének első sora ne legyen behúzva / No indentation of first lines in each paragraph
%nohyp, % Szavak sorvégi elválasztásának tiltása / No hyphenation of words
%twoside, % Kétoldalas nyomtatás / Double sided format
+ %draft, % Gyorsabb fordítás ábrák rajzolása nélkül / Quicker draft compilation without rendering images
%final, % Teendők elrejtése / Set final to hide todos
-]{elteikthesis}[2020/05/15]
+]{elteikthesis}[2021/09/20]
+
+% A minted csomag támogatott a forráskódok szedésére
+% The minted package is also supported for source highlighting
+%\usepackage[newfloat]{minted}
% Dolgozat metaadatai
% Document's metadata
\title{Dolgozat címe} % cím / title
-\date{2020} % védés éve / year of defense
+\date{2021} % védés éve / year of defense
% Szerző metaadatai
% Author's metadata
@@ -46,11 +51,7 @@
% Teendők listája (final dokumentumban nincs)
% List of todos (not in the final document)
-\listoftodos[\todolabel]
-
-% Dokumentum beállítások
-% Some document settings
-\input{settings.tex}
+%\listoftodos[\todolabel]
% Címlap (kötelező)
% Title page (mandatory)
@@ -84,24 +85,35 @@
% Irodalomjegyzék (kötelező)
% Bibliography (mandatory)
+\phantomsection
\addcontentsline{toc}{chapter}{\biblabel}
\printbibliography[title=\biblabel]
\cleardoublepage
% Ábrajegyzék (opcionális) - 3-5 ábra fölött érdemes
% List of figures (optional) - useful over 3-5 figures
+\phantomsection
\addcontentsline{toc}{chapter}{\lstfigurelabel}
\listoffigures
\cleardoublepage
% Táblázatjegyzék (opcionális) - 3-5 táblázat fölött érdemes
% List of tables (optional) - useful over 3-5 tables
+\phantomsection
\addcontentsline{toc}{chapter}{\lsttablelabel}
\listoftables
\cleardoublepage
+% Algorithmusjegyzék
+% List of algorithms
+\phantomsection
+\addcontentsline{toc}{chapter}{\lstalgorithmlabel}
+\listofalgorithms
+\cleardoublepage
+
% Forráskódjegyzék (opcionális) - 3-5 kódpélda fölött érdemes
% List of codes (optional) - useful over 3-5 code samples
+\phantomsection
\addcontentsline{toc}{chapter}{\lstcodelabel}
\lstlistoflistings
\cleardoublepage
diff --git a/Master/texmf-dist/doc/latex/elteikthesis/settings.tex b/Master/texmf-dist/doc/latex/elteikthesis/settings.tex
deleted file mode 100644
index d2040f9d242..00000000000
--- a/Master/texmf-dist/doc/latex/elteikthesis/settings.tex
+++ /dev/null
@@ -1,16 +0,0 @@
-% Lábjegyzet folytonos számozása fejezetek között
-% Continuous counting of footnotes among chapters
-\counterwithout{footnote}{chapter}
-
-% Tartalomjegyzék oldalszámozásának rejtése
-% Hide page numbering of ToC
-\newcounter{conpageno}
-\let\oldtableofcontents\tableofcontents
-\renewcommand{\tableofcontents}{
- \pagenumbering{gobble}
- \oldtableofcontents
- \cleardoublepage
- \setcounter{conpageno}{\value{page}}
- \pagenumbering{arabic}
- \setcounter{page}{\value{conpageno}}
-}