Init
This commit is contained in:
+19
@@ -0,0 +1,19 @@
|
|||||||
|
/.agent-shell/
|
||||||
|
|
||||||
|
# LaTeX build artifacts
|
||||||
|
*.aux
|
||||||
|
*.bbl
|
||||||
|
*.bcf
|
||||||
|
*.blg
|
||||||
|
*.fdb_latexmk
|
||||||
|
*.fls
|
||||||
|
*.lof
|
||||||
|
*.log
|
||||||
|
*.lot
|
||||||
|
*.out
|
||||||
|
*.run.xml
|
||||||
|
*.synctex.gz
|
||||||
|
*.toc
|
||||||
|
*.tocheb
|
||||||
|
.cache/
|
||||||
|
result
|
||||||
@@ -0,0 +1,31 @@
|
|||||||
|
\thispagestyle{plain}
|
||||||
|
|
||||||
|
\begin{center}
|
||||||
|
\Large
|
||||||
|
\thesistitle
|
||||||
|
|
||||||
|
\vspace{0.4cm}
|
||||||
|
\large
|
||||||
|
\thesisauthorname
|
||||||
|
|
||||||
|
\vspace{0.4cm}
|
||||||
|
\large
|
||||||
|
Master of Sciences Thesis
|
||||||
|
|
||||||
|
\vspace{0.2cm}
|
||||||
|
\large
|
||||||
|
Ben-Gurion University of the Negev
|
||||||
|
|
||||||
|
\vspace{0.2cm}
|
||||||
|
\large
|
||||||
|
\thesisyear
|
||||||
|
|
||||||
|
\vspace{0.9cm}
|
||||||
|
\Large
|
||||||
|
\textbf{Abstract}
|
||||||
|
\end{center}
|
||||||
|
|
||||||
|
In this paper we present ...
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -0,0 +1,34 @@
|
|||||||
|
\thispagestyle{empty}
|
||||||
|
\selectlanguage{hebrew}
|
||||||
|
|
||||||
|
\begin{center}
|
||||||
|
\Large
|
||||||
|
\thesistitlehe
|
||||||
|
|
||||||
|
\vspace{0.4cm}
|
||||||
|
\large
|
||||||
|
\thesisauthornamehe
|
||||||
|
|
||||||
|
\vspace{0.4cm}
|
||||||
|
\large
|
||||||
|
עבודת גמר לתואר מוסמך למדעי הטבע
|
||||||
|
|
||||||
|
\vspace{0.2cm}
|
||||||
|
\large
|
||||||
|
אוניברסיטת בן-גוריון בנגב
|
||||||
|
|
||||||
|
\vspace{0.2cm}
|
||||||
|
\large
|
||||||
|
|
||||||
|
\selectlanguage{english}
|
||||||
|
\thesisyear
|
||||||
|
|
||||||
|
\selectlanguage{hebrew}
|
||||||
|
\vspace{0.9cm}
|
||||||
|
\Large
|
||||||
|
\textbf{תקציר}
|
||||||
|
\end{center}
|
||||||
|
|
||||||
|
בלה בלה בלה בלה בלה בלה .
|
||||||
|
|
||||||
|
\selectlanguage{english}
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
\chapter*{Acknowledgements}
|
||||||
|
|
||||||
|
First and foremost, I would like to thank my inspiration Alan Turing...
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 60 KiB |
@@ -0,0 +1,36 @@
|
|||||||
|
|
||||||
|
\begin{titlepage}
|
||||||
|
\begin{center}
|
||||||
|
\vspace*{1cm}
|
||||||
|
|
||||||
|
\includegraphics[width=0.1\textwidth]{Main_pages/bgu.png}\\
|
||||||
|
\selectlanguage{hebrew}אוניברסיטת בן-גוריון בנגב\\הפקולטה למדעי הטבע\\המחלקה למדעי המחשב\selectlanguage{english}
|
||||||
|
|
||||||
|
\vspace{2cm}
|
||||||
|
|
||||||
|
\selectlanguage{hebrew}
|
||||||
|
{\Large \thesistitlehe}
|
||||||
|
\selectlanguage{english}
|
||||||
|
|
||||||
|
\vspace{1.5cm}
|
||||||
|
|
||||||
|
\selectlanguage{hebrew}
|
||||||
|
חיבור זה מהווה חלק מהדרישות לקבלת התואר מוסמך למדעי הטבע\selectlanguage{english}(M.Sc)
|
||||||
|
\vspace{1cm}
|
||||||
|
|
||||||
|
\selectlanguage{hebrew}
|
||||||
|
\thesisauthornamehe
|
||||||
|
\selectlanguage{english}
|
||||||
|
\vspace{1cm}
|
||||||
|
|
||||||
|
\selectlanguage{hebrew}
|
||||||
|
בהנחיית \thesissupervisernamehe
|
||||||
|
\selectlanguage{english}
|
||||||
|
|
||||||
|
\vfill
|
||||||
|
\selectlanguage{hebrew}
|
||||||
|
\thesismonthhe \quad
|
||||||
|
\selectlanguage{english}
|
||||||
|
\thesisyear
|
||||||
|
\end{center}
|
||||||
|
\end{titlepage}
|
||||||
@@ -0,0 +1,31 @@
|
|||||||
|
\begin{titlepage}
|
||||||
|
\begin{center}
|
||||||
|
\vspace*{1cm}
|
||||||
|
|
||||||
|
\includegraphics[width=0.1\textwidth]{Main_pages/bgu.png}\\
|
||||||
|
Ben-Gurion University of the Negev\\
|
||||||
|
The Faculty of Natural Sciences\\
|
||||||
|
The Department of Computer Science
|
||||||
|
|
||||||
|
\vspace{2cm}
|
||||||
|
|
||||||
|
{\Large \thesistitle}
|
||||||
|
|
||||||
|
\vspace{1cm}
|
||||||
|
|
||||||
|
Thesis submitted in partial fulfillment of the requirements\\for the Master of Sciences degree
|
||||||
|
|
||||||
|
\vspace{1cm}
|
||||||
|
|
||||||
|
\thesisauthorname
|
||||||
|
|
||||||
|
\vspace{1cm}
|
||||||
|
|
||||||
|
Under the supervision of \thesissupervisername
|
||||||
|
|
||||||
|
\vfill
|
||||||
|
|
||||||
|
\thesismonth \quad \thesisyear
|
||||||
|
|
||||||
|
\end{center}
|
||||||
|
\end{titlepage}
|
||||||
@@ -0,0 +1,38 @@
|
|||||||
|
\begin{titlepage}
|
||||||
|
\begin{center}
|
||||||
|
\vspace*{1cm}
|
||||||
|
|
||||||
|
\includegraphics[width=0.1\textwidth]{Main_pages/bgu.png}\\
|
||||||
|
Ben-Gurion University of the Negev\\
|
||||||
|
The Faculty of Natural Sciences\\
|
||||||
|
The Department of Computer Science
|
||||||
|
|
||||||
|
\vspace{1cm}
|
||||||
|
|
||||||
|
{\Large \thesistitle}
|
||||||
|
|
||||||
|
\vspace{0.5cm}
|
||||||
|
|
||||||
|
Thesis submitted in partial fulfillment of the requirements\\for the Master of Sciences degree
|
||||||
|
|
||||||
|
\vspace{0.5cm}
|
||||||
|
|
||||||
|
\thesisauthorname
|
||||||
|
|
||||||
|
\vspace{0.5cm}
|
||||||
|
|
||||||
|
Under the supervision of \thesissupervisername
|
||||||
|
|
||||||
|
\vspace{0.5cm}
|
||||||
|
|
||||||
|
\begin{flushleft}
|
||||||
|
Signature of student: \( \rule{3cm}{0.15mm} \) \hfill Date: \( \rule{3cm}{0.15mm} \)\\
|
||||||
|
Signature of supervisor: \( \rule{3cm}{0.15mm} \) \hfill Date: \( \rule{3cm}{0.15mm} \)\\
|
||||||
|
Signature of chairperson of the\\committee for graduate studies: \( \rule{3cm}{0.15mm} \) \hfill Date: \( \rule{3cm}{0.15mm} \)
|
||||||
|
\end{flushleft}
|
||||||
|
|
||||||
|
\vfill
|
||||||
|
|
||||||
|
\thesismonth \quad \thesisyear
|
||||||
|
\end{center}
|
||||||
|
\end{titlepage}
|
||||||
@@ -0,0 +1,21 @@
|
|||||||
|
@article{demaine2007jigsaw,
|
||||||
|
title={Jigsaw puzzles, edge matching, and polyomino packing: Connections and complexity},
|
||||||
|
author={Demaine, Erik D. and Demaine, Martin L.},
|
||||||
|
journal={Graphs and Combinatorics},
|
||||||
|
volume={23},
|
||||||
|
number={1},
|
||||||
|
pages={195--208},
|
||||||
|
year={2007},
|
||||||
|
publisher={Springer}
|
||||||
|
}
|
||||||
|
|
||||||
|
@article{altman1989solving,
|
||||||
|
title={Solving the jigsaw puzzle problem in linear time},
|
||||||
|
author={Altman, Tom},
|
||||||
|
journal={Applied Artificial Intelligence an International Journal},
|
||||||
|
volume={3},
|
||||||
|
number={4},
|
||||||
|
pages={453--462},
|
||||||
|
year={1989},
|
||||||
|
publisher={Taylor \& Francis}
|
||||||
|
}
|
||||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1 @@
|
|||||||
|
To be continued.
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
To be continued.
|
||||||
@@ -0,0 +1,17 @@
|
|||||||
|
|
||||||
|
\section{Data Sets}\label{sec:experiments:data_sets}
|
||||||
|
\addcontentsline{tocheb}{section}{\protect\numberline{\secnumforhebrewtoc}{מערך נתונים}}
|
||||||
|
|
||||||
|
\section{Performance Measures}\label{sec:experiments:performance_measures}
|
||||||
|
\addcontentsline{tocheb}{section}{\protect\numberline{\secnumforhebrewtoc}{מדדי ביצועים}}
|
||||||
|
|
||||||
|
To be continued\footnotemark.
|
||||||
|
|
||||||
|
\footnotetext{foot note text}
|
||||||
|
|
||||||
|
\section{Configurations and Parameter Settings}
|
||||||
|
\label{sec:experiments:configurations}
|
||||||
|
\addcontentsline{tocheb}{section}{\protect\numberline{\secnumforhebrewtoc}{קונפיגורציה ופרמטרים}}
|
||||||
|
|
||||||
|
\section{Results}\label{sec:experiments:results}
|
||||||
|
\addcontentsline{tocheb}{section}{\protect\numberline{\secnumforhebrewtoc}{תוצאות}}
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
Some references \cite{demaine2007jigsaw, altman1989solving}.
|
||||||
|
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 2.2 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 450 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 459 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 480 KiB |
@@ -0,0 +1,119 @@
|
|||||||
|
\section{topic a}
|
||||||
|
\label{sec:related_work:jigsaw_puzzles}
|
||||||
|
\addcontentsline{tocheb}{section}{\protect\numberline{\secnumforhebrewtoc}{נושא א}}
|
||||||
|
|
||||||
|
To be continued.
|
||||||
|
|
||||||
|
|
||||||
|
\section{topic b}
|
||||||
|
\label{sec:related_work:relaxation_labeling}
|
||||||
|
\addcontentsline{tocheb}{section}{\protect\numberline{\secnumforhebrewtoc}{נושא ב}}
|
||||||
|
|
||||||
|
To be continued.
|
||||||
|
|
||||||
|
\subsection{sub topic b.1}
|
||||||
|
\label{subsec:formulation_as_rl:rationale:type_2}
|
||||||
|
\addcontentsline{tocheb}{subsection}{\protect\numberline{\subsecnumforhebrewtoc}{תת נושא ב1}}
|
||||||
|
|
||||||
|
To be continued.
|
||||||
|
|
||||||
|
\begin{figure}[H]
|
||||||
|
\centering
|
||||||
|
|
||||||
|
\begin{subfigure}[b]{0.3\textwidth}
|
||||||
|
\begin{tikzpicture}
|
||||||
|
\node[anchor=south west, inner sep=0] at (0,0) {\includegraphics[width=\textwidth]{content/related_work/images/2x2_puzzle_grid.png}};
|
||||||
|
\draw[step=0.5\textwidth] (0,0) grid (\textwidth,\textwidth);
|
||||||
|
\node[font=\large] at (0.25\textwidth,0.75\textwidth) {(1,1)};
|
||||||
|
\node[font=\large] at (0.75\textwidth,0.75\textwidth) {(1,2)};
|
||||||
|
\node[font=\large] at (0.25\textwidth,0.25\textwidth) {(2,1)};
|
||||||
|
\node[font=\large] at (0.75\textwidth,0.25\textwidth) {(2,2)};
|
||||||
|
\end{tikzpicture}
|
||||||
|
\caption{}
|
||||||
|
\label{fig:type_1_goal_and_labeling:dimensions}
|
||||||
|
\end{subfigure}
|
||||||
|
\hfill
|
||||||
|
\begin{subfigure}[b]{0.3\textwidth}
|
||||||
|
\begin{tikzpicture}
|
||||||
|
\node[anchor=south west, inner sep=0] at (0,0) {\includegraphics[width=\textwidth]{content/related_work/images/2x2puzzle_type_1.png}};
|
||||||
|
\draw[step=0.5\textwidth] (0,0) grid (\textwidth,\textwidth);
|
||||||
|
\node[font=\large, color=red] at (0.25\textwidth,0.75\textwidth) {Piece 1};
|
||||||
|
\node[font=\large, color=red] at (0.75\textwidth,0.75\textwidth) {Piece 2};
|
||||||
|
\node[font=\large, color=red] at (0.25\textwidth,0.25\textwidth) {Piece 3};
|
||||||
|
\node[font=\large, color=red] at (0.75\textwidth,0.25\textwidth) {Piece 4};
|
||||||
|
\end{tikzpicture}
|
||||||
|
\caption{}
|
||||||
|
\label{fig:type_1_goal_and_labeling:pieces}
|
||||||
|
\end{subfigure}
|
||||||
|
\hfill
|
||||||
|
\begin{subfigure}[b]{0.3\textwidth}
|
||||||
|
\begin{tikzpicture}
|
||||||
|
\node[anchor=south west, inner sep=0] at (0,0) {\includegraphics[width=\textwidth]{content/related_work/images/2x2puzzle_solution.png}};
|
||||||
|
\draw[step=0.5\textwidth] (0,0) grid (\textwidth,\textwidth);
|
||||||
|
|
||||||
|
\node[font=\large, color=red] at (0.25\textwidth,0.75\textwidth) {Piece 3};
|
||||||
|
|
||||||
|
\node[font=\large, color=red] at (0.75\textwidth,0.75\textwidth) {Piece 2};
|
||||||
|
|
||||||
|
\node[font=\large, color=red] at (0.25\textwidth,0.25\textwidth) {Piece 4};
|
||||||
|
|
||||||
|
\node[font=\large, color=red] at (0.75\textwidth,0.25\textwidth) {Piece 1};
|
||||||
|
\end{tikzpicture}
|
||||||
|
\caption{}
|
||||||
|
\label{fig:type_1_goal_and_labeling:solution}
|
||||||
|
\end{subfigure}
|
||||||
|
\vfill
|
||||||
|
\begin{subfigure}[b]{1\textwidth}
|
||||||
|
\centering
|
||||||
|
|
||||||
|
\begin{tikzpicture}
|
||||||
|
\def\scaletitles{0.88}
|
||||||
|
\def\minimumEntrySize{0.95cm}
|
||||||
|
|
||||||
|
\matrix[matrix of nodes,
|
||||||
|
nodes={draw, align=center, minimum size=\minimumEntrySize},
|
||||||
|
row 1/.style={nodes={draw=none, gray, font=\footnotesize, scale=\scaletitles}},
|
||||||
|
column 1/.style={nodes={draw=none, gray, font=\footnotesize,
|
||||||
|
scale=\scaletitles}}]
|
||||||
|
{
|
||||||
|
\node{}; &
|
||||||
|
\node{(1,1)}; &
|
||||||
|
\node{(1,2)}; &
|
||||||
|
\node{(2,1)}; &
|
||||||
|
\node{(2,2)};\\
|
||||||
|
%----------%
|
||||||
|
\node{Piece 1}; &
|
||||||
|
\node{0}; & \node{0}; & \node{0}; & \node[text=blue]{1};\\
|
||||||
|
%----------%
|
||||||
|
\node{Piece 2}; &
|
||||||
|
\node{0}; & \node[text=blue]{1}; & \node{0}; & \node{0};\\
|
||||||
|
%----------%
|
||||||
|
\node{Piece 3}; &
|
||||||
|
\node[text=blue]{1}; & \node{0}; & \node{0}; & \node{0};\\
|
||||||
|
%----------%
|
||||||
|
\node{Piece 4}; &
|
||||||
|
\node{0}; & \node{0}; & \node[text=blue]{1}; & \node{0};\\
|
||||||
|
};
|
||||||
|
\end{tikzpicture}
|
||||||
|
\caption{}
|
||||||
|
\label{fig:type_1_goal_and_labeling:labeling}
|
||||||
|
\end{subfigure}
|
||||||
|
\caption[fig A - Example for fig]{Some example}
|
||||||
|
\label{fig:type_1_goal_and_labeling}
|
||||||
|
\end{figure}
|
||||||
|
|
||||||
|
|
||||||
|
\begin{table}[H]
|
||||||
|
\centering
|
||||||
|
\begin{tabular}{ |c|c|c|c|c|c| }
|
||||||
|
\hline
|
||||||
|
\multicolumn{1}{|c|}{Puzzle Type} & Direct & Neighbor & Perfect & Occupied & Feasible \\
|
||||||
|
\hline
|
||||||
|
Type 1 & {0\%} & {0.1\%} & 0 & {1\%} & 0 \\
|
||||||
|
\hline
|
||||||
|
Type 2 & {0.001\%} & {0.1\%} & 0 & {1.2\%} & 0 \\
|
||||||
|
\hline
|
||||||
|
\end{tabular}
|
||||||
|
\caption[Table A - Example for table]{Some example}
|
||||||
|
\label{table:plain_rl_results}
|
||||||
|
\end{table}
|
||||||
Generated
+27
@@ -0,0 +1,27 @@
|
|||||||
|
{
|
||||||
|
"nodes": {
|
||||||
|
"nixpkgs": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1781607440,
|
||||||
|
"narHash": "sha256-rxO+uc/KFbSJp+pgyXRuAX6QlG9hJdnt0BXpEQRXY+U=",
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "3e41b24abd260e8f71dbe2f5737d24122f972158",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "NixOS",
|
||||||
|
"ref": "nixpkgs-unstable",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"root": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": "nixpkgs"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"root": "root",
|
||||||
|
"version": 7
|
||||||
|
}
|
||||||
@@ -0,0 +1,76 @@
|
|||||||
|
{
|
||||||
|
description = "BGU MSc Thesis — ROLL Method";
|
||||||
|
|
||||||
|
inputs = {
|
||||||
|
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
||||||
|
};
|
||||||
|
|
||||||
|
outputs = { self, nixpkgs }:
|
||||||
|
let
|
||||||
|
system = "x86_64-linux";
|
||||||
|
pkgs = import nixpkgs { inherit system; };
|
||||||
|
|
||||||
|
texPkgs = with pkgs.texlive; {
|
||||||
|
inherit (pkgs.texlive)
|
||||||
|
scheme-small
|
||||||
|
latexmk
|
||||||
|
# Hebrew + encoding
|
||||||
|
babel-hebrew
|
||||||
|
hebrew-fonts
|
||||||
|
ucs
|
||||||
|
# Page layout
|
||||||
|
fancyhdr
|
||||||
|
setspace
|
||||||
|
titling
|
||||||
|
appendix
|
||||||
|
# Figures
|
||||||
|
caption
|
||||||
|
float
|
||||||
|
pgf
|
||||||
|
# Math
|
||||||
|
mathtools
|
||||||
|
amsmath
|
||||||
|
amscls
|
||||||
|
was
|
||||||
|
# Text
|
||||||
|
enumitem
|
||||||
|
footmisc
|
||||||
|
csquotes
|
||||||
|
# Theorems + algorithms
|
||||||
|
ntheorem
|
||||||
|
chngcntr
|
||||||
|
algorithm2e
|
||||||
|
# Bibliography
|
||||||
|
natbib
|
||||||
|
tocbibind
|
||||||
|
# Cross-references
|
||||||
|
cleveref
|
||||||
|
# Misc
|
||||||
|
silence
|
||||||
|
;
|
||||||
|
};
|
||||||
|
in
|
||||||
|
{
|
||||||
|
devShells.${system}.default = pkgs.mkShell {
|
||||||
|
buildInputs = [ (pkgs.texlive.combine texPkgs) ];
|
||||||
|
};
|
||||||
|
|
||||||
|
packages.${system}.default = pkgs.stdenvNoCC.mkDerivation rec {
|
||||||
|
name = "roll-thesis";
|
||||||
|
src = self;
|
||||||
|
buildInputs = [ pkgs.coreutils (pkgs.texlive.combine texPkgs) ];
|
||||||
|
phases = [ "unpackPhase" "buildPhase" "installPhase" ];
|
||||||
|
buildPhase = ''
|
||||||
|
export PATH="${pkgs.lib.makeBinPath buildInputs}";
|
||||||
|
mkdir -p .cache/texmf-var
|
||||||
|
env TEXMFHOME=.cache TEXMFVAR=.cache/texmf-var \
|
||||||
|
latexmk -pdf --interaction=nonstopmode \
|
||||||
|
main.tex
|
||||||
|
'';
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p $out
|
||||||
|
cp main.pdf $out/
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -0,0 +1,250 @@
|
|||||||
|
\documentclass[12pt,a4paper,oneside,onecolumn]{book}
|
||||||
|
\usepackage[utf8x]{inputenc}
|
||||||
|
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
% remove unnecessary warnings
|
||||||
|
\usepackage{silence}
|
||||||
|
\WarningFilter{caption}{Unknown document class}
|
||||||
|
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
% Tell babel to not use hyphenation for Hebrew
|
||||||
|
\makeatletter\let\l@hebrew\l@nohyphenation\makeatother
|
||||||
|
% Add Hebrew:
|
||||||
|
\usepackage[hebrew,english]{babel}
|
||||||
|
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
% Set page numbering with no headers (according to guidelines):
|
||||||
|
\usepackage{fancyhdr}
|
||||||
|
\pagestyle{fancy}
|
||||||
|
\lhead{}
|
||||||
|
\chead{\thepage}
|
||||||
|
\rhead{}
|
||||||
|
\lfoot{}
|
||||||
|
\cfoot{}
|
||||||
|
\rfoot{}
|
||||||
|
\renewcommand{\headrulewidth}{0pt}
|
||||||
|
\fancypagestyle{plain}{\pagestyle{fancy}}
|
||||||
|
\setlength{\headheight}{15pt}
|
||||||
|
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
% Sub-figures/tables parenthesis:
|
||||||
|
|
||||||
|
% For parenthesis in sub-figure reference
|
||||||
|
\usepackage[labelformat=simple]{subcaption}
|
||||||
|
\renewcommand\thesubfigure{(\alph{subfigure})}
|
||||||
|
|
||||||
|
% For parenthesis before sub-table caption
|
||||||
|
\renewcommand\thesubtable{(\alph{subtable})}
|
||||||
|
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
% Misc packages:
|
||||||
|
|
||||||
|
\usepackage{textcomp} %loaded before "gensymb" to avoid annoying warnings
|
||||||
|
\usepackage{gensymb} %Degree symbol
|
||||||
|
\usepackage{mathtools} %cases*
|
||||||
|
\usepackage{amssymb} %Math letters
|
||||||
|
\usepackage[shortlabels]{enumitem}
|
||||||
|
\usepackage[multiple]{footmisc}
|
||||||
|
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
%theorem, corollary and lemma definitions:
|
||||||
|
|
||||||
|
\usepackage[amsmath, thmmarks]{ntheorem}
|
||||||
|
|
||||||
|
\newtheorem{theorem}{Theorem}
|
||||||
|
\newtheorem{corollary}[theorem]{Corollary}
|
||||||
|
\newtheorem{lemma}[theorem]{Lemma}
|
||||||
|
\newtheorem{proposition}[theorem]{Proposition}
|
||||||
|
\newtheorem{observation}[theorem]{Observation}
|
||||||
|
\newtheorem{assumption}[theorem]{Assumption}
|
||||||
|
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
%proof definition:
|
||||||
|
|
||||||
|
\theoremstyle{nonumberplain}
|
||||||
|
\theoremheaderfont{\itshape}
|
||||||
|
\theorembodyfont{\normalfont}
|
||||||
|
\theoremseparator{.}
|
||||||
|
\theoremsymbol{\ensuremath{\square}}
|
||||||
|
\newtheorem{proof}{Proof}
|
||||||
|
|
||||||
|
% Change back to default values - needed to repeat assumptions
|
||||||
|
\theoremstyle{plain}
|
||||||
|
\theoremheaderfont{\normalfont\bfseries}
|
||||||
|
\theorembodyfont{\itshape}
|
||||||
|
\theoremseparator{}
|
||||||
|
\theoremsymbol{}
|
||||||
|
|
||||||
|
\usepackage{chngcntr}
|
||||||
|
\counterwithin{theorem}{chapter}
|
||||||
|
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
% Misc:
|
||||||
|
\DeclareMathOperator*{\argmax}{arg\,max}
|
||||||
|
\usepackage[ruled,vlined,algochapter]{algorithm2e}
|
||||||
|
\usepackage{csquotes}
|
||||||
|
|
||||||
|
% Show numbers also for subsubsection
|
||||||
|
\setcounter{secnumdepth}{4}
|
||||||
|
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
% bibliography:
|
||||||
|
|
||||||
|
\usepackage[numbers,sort,compress,square]{natbib}
|
||||||
|
\bibliographystyle{bibliography/unsrtnat_adjusted_for_bgu_thesis}
|
||||||
|
|
||||||
|
% \bibliographystyle{unsrtnat}
|
||||||
|
|
||||||
|
%add bib to toc
|
||||||
|
\usepackage[nottoc]{tocbibind}
|
||||||
|
|
||||||
|
%add command for citation with possessive apostrophe
|
||||||
|
\newcommand\citepossessive [1]{\citeauthor{#1}'s\ \cite{#1}}
|
||||||
|
|
||||||
|
%Natbib cites cannot be broken to two lines
|
||||||
|
\makeatletter
|
||||||
|
\def\NAT@spacechar{~}% NEW
|
||||||
|
\makeatother
|
||||||
|
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
% paragraph settings:
|
||||||
|
\setlength{\parindent}{0pt}
|
||||||
|
\setlength{\parskip} {5pt}
|
||||||
|
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
% drawing and graphics:
|
||||||
|
\usepackage{tikz}
|
||||||
|
\usetikzlibrary{matrix,positioning}
|
||||||
|
|
||||||
|
\usepackage{float} %Not sure it will be needed
|
||||||
|
|
||||||
|
\usepackage{graphicx}
|
||||||
|
\graphicspath{ {content/images/} }
|
||||||
|
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
\usepackage{titling}
|
||||||
|
\usepackage[titletoc]{appendix}
|
||||||
|
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
%Not included since 'hyperref' and 'bookmark' are too problematic with Hebrew
|
||||||
|
% \usepackage[hidelinks]{hyperref}
|
||||||
|
% \usepackage{bookmark}
|
||||||
|
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
% cleveref:
|
||||||
|
\usepackage[capitalise]{cleveref}
|
||||||
|
%Workaround for babel and cleveref (for citing few equations)
|
||||||
|
\makeatletter
|
||||||
|
\def\@@number#1{#1}
|
||||||
|
\makeatother
|
||||||
|
|
||||||
|
\Crefname{observation}{Observation}{Observations}
|
||||||
|
\Crefname{assumption}{Assumption}{Assumptions}
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
%For Hebrew table of contents: (\addcontentsline is used to add section and subsections to the Hebrew toc. For some reason, the page number is reversed only for chapter, thus we use \addtocontents for them)
|
||||||
|
\makeatletter
|
||||||
|
\newcommand\hebrewtableofcontents{%
|
||||||
|
\selectlanguage{hebrew}%
|
||||||
|
\section*{\contentsname
|
||||||
|
\@mkboth{%
|
||||||
|
\MakeUppercase\contentsname}{\MakeUppercase\contentsname}}%
|
||||||
|
\@starttoc{tocheb}%
|
||||||
|
\selectlanguage{english}%
|
||||||
|
}
|
||||||
|
\makeatother
|
||||||
|
|
||||||
|
\PrerenderUnicode{א}
|
||||||
|
|
||||||
|
\newcommand{\onlythesecnum}{\arabic{section}}
|
||||||
|
\newcommand{\onlythesubsecnum}{\arabic{subsection}}
|
||||||
|
|
||||||
|
\newcommand{\chapnumforhebrewtoc}{\thechapter}
|
||||||
|
\newcommand{\secnumforhebrewtoc}{\onlythesecnum.\thechapter}
|
||||||
|
\newcommand{\subsecnumforhebrewtoc}{\onlythesubsecnum.\onlythesecnum.\thechapter}
|
||||||
|
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
%set spacing between lines
|
||||||
|
\usepackage{setspace}
|
||||||
|
\doublespacing
|
||||||
|
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
%Title and names for the article
|
||||||
|
\newcommand{\thesistitle}{\textbf{Thesis Title}}
|
||||||
|
\newcommand{\thesistitlehe}{\textbf{כותרת בעברית של התזה}}
|
||||||
|
|
||||||
|
\newcommand{\thesisauthorname}{\textbf{Author’s name}}
|
||||||
|
\newcommand{\thesisauthornamehe}{\textbf{שם המחבר}}
|
||||||
|
|
||||||
|
\newcommand{\thesissupervisername}{\textbf{Supervisor's name}}
|
||||||
|
\newcommand{\thesissupervisernamehe}{\textbf{שם המנחה}}
|
||||||
|
|
||||||
|
\newcommand{\thesismonth}{\textbf{Month}}
|
||||||
|
\newcommand{\thesismonthhe}{\textbf{חודש}}
|
||||||
|
\newcommand{\thesisyear}{\textbf{Year}}
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
|
\begin{document}
|
||||||
|
|
||||||
|
\include{Main_pages/cover_page}
|
||||||
|
\include{Main_pages/title_page}
|
||||||
|
|
||||||
|
\frontmatter
|
||||||
|
|
||||||
|
\include{Main_pages/abstract}
|
||||||
|
\include{Main_pages/acknowledgements}
|
||||||
|
|
||||||
|
\tableofcontents
|
||||||
|
\clearpage
|
||||||
|
|
||||||
|
\addtocontents{tocheb}{\contentsline{chapter}{\protect\numberline{}{רשימת איורים}}{{\beginL\thepage\endL}}}
|
||||||
|
\listoffigures
|
||||||
|
\clearpage
|
||||||
|
|
||||||
|
\addtocontents{tocheb}{\contentsline{chapter}{\protect\numberline{}{רשימת טבלאות}}{{\beginL\thepage\endL}}}
|
||||||
|
\listoftables
|
||||||
|
|
||||||
|
%~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~%
|
||||||
|
\mainmatter
|
||||||
|
|
||||||
|
\chapter{Introduction}
|
||||||
|
\label{chapter:intro}
|
||||||
|
\addtocontents{tocheb}{\contentsline{chapter}{\protect\numberline{\chapnumforhebrewtoc}{מבוא}}{{\beginL\thepage\endL}}}
|
||||||
|
\input{content/introduction/introduction}
|
||||||
|
|
||||||
|
\chapter{Related Work}
|
||||||
|
\label{chapter:related_work}
|
||||||
|
\addtocontents{tocheb}{\contentsline{chapter}{\protect\numberline{\chapnumforhebrewtoc}{סקירת ספרות}}{{\beginL\thepage\endL}}}
|
||||||
|
\input{content/related_work/related_work}
|
||||||
|
|
||||||
|
\chapter{Experimental Results}
|
||||||
|
\label{chapter:experiments}
|
||||||
|
\addtocontents{tocheb}{\contentsline{chapter}{\protect\numberline{\chapnumforhebrewtoc}{תוצאות ניסוייות}}{{\beginL\thepage\endL}}}
|
||||||
|
\input{content/experiments/experiments}
|
||||||
|
|
||||||
|
\chapter{Discussion and Conclusions}
|
||||||
|
\label{chapter:discussion_and_conclusions}
|
||||||
|
\addtocontents{tocheb}{\contentsline{chapter}{\protect\numberline{\chapnumforhebrewtoc}{דיון ומסקנות}}{{\beginL\thepage\endL}}}
|
||||||
|
\input{content/discussion_and_conclusions/discussion_and_conclusions}
|
||||||
|
|
||||||
|
\begin{appendices}
|
||||||
|
|
||||||
|
\chapter{Some title for apendix A}
|
||||||
|
\label[appendix]{appendix:numerically_distinguished_comp}
|
||||||
|
\addtocontents{tocheb}{\contentsline{chapter}{\protect\numberline{נספח א}{\quad\qquadדרישת תאימות כלשהי}}{{\beginL\thepage\endL}}}
|
||||||
|
\input{content/appendixs/appendix_a}
|
||||||
|
|
||||||
|
\end{appendices}
|
||||||
|
|
||||||
|
%~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~%
|
||||||
|
\addtocontents{tocheb}{\contentsline{chapter}{{ביבליוגרפיה}}{{\beginL\thepage\endL}}}
|
||||||
|
\bibliography{bibliography/thesis}
|
||||||
|
|
||||||
|
\clearpage
|
||||||
|
% no page numbering from now on
|
||||||
|
\pagenumbering{gobble}
|
||||||
|
\hebrewtableofcontents
|
||||||
|
|
||||||
|
\include{Main_pages/abstract_heb}
|
||||||
|
\include{Main_pages/cover_heb}
|
||||||
|
|
||||||
|
\end{document}
|
||||||
Reference in New Issue
Block a user