forked from fnieri/LanguagesAndTranslatorsTP
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.tex
More file actions
83 lines (77 loc) · 2 KB
/
main.tex
File metadata and controls
83 lines (77 loc) · 2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
\documentclass{article}
\usepackage{graphicx} % Required for inserting images
\usepackage{courier} %% Sets font for listing as Courier.
\usepackage{listings, xcolor}
\usepackage{exercise}
\usepackage{mathtools}
\usepackage{amssymb}
\usepackage{amsfonts}
\usepackage{graphicx}
\usepackage{float}
\usepackage{listings}
\usepackage{hyperref}
\usepackage{attachfile2}
\usepackage{vhistory}
\usepackage{epsfig}
\usepackage{subfig}
\usepackage{tikz}
\usetikzlibrary{external}
\tikzexternalize[prefix=tikz/]
\renewcommand\ExerciseName{Question~}
\renewcommand\AnswerName{Answer to question}
\renewcommand\ExerciseHeader{%
\noindent\parbox[t]{.18\textwidth}{%
\bfseries\large\ExerciseName\ExerciseHeaderNB\hfill}%
\parbox[t]{.72\textwidth}{%
\centering\bfseries\large%
\ExerciseHeaderTitle\ExerciseHeaderOrigin}%
\par\medskip
}
\newcommand{\addimg}[4]{
\begin{figure}[H]
\centering
\includegraphics[#2]{#1}
\caption{#3}
\label{#4}
\end{figure}
}
\lstset{
tabsize = 4, %% set tab space width
showstringspaces = false, %% prevent space marking in strings, string is defined as the text that is generally printed directly to the console
numbers = left, %% display line numbers on the left
commentstyle = \color{green}, %% set comment color
keywordstyle = \color{blue}, %% set keyword color
stringstyle = \color{red}, %% set string color
rulecolor = \color{black}, %% set frame color to avoid being affected by text color
basicstyle = \small \ttfamily , %% set listing font and size
breaklines = true, %% enable line breaking
numberstyle = \tiny,
}
\title{Language And Translators - TP Correction}
\author{Francesco Nieri}
\date{June 2024}
\begin{document}
\maketitle
\tableofcontents
\newpage
\section{TP1}
\input{TPs/tp1}
\newpage
\section{TP2}
\input{TPs/tp2}
\newpage
\section{TP3}
\input{TPs/tp3}
\newpage
\section{TP4}
\input{TPs/tp4}
\newpage
\section{TP5}
\input{TPs/tp5}
\newpage
\section{TP6}
\input{TPs/tp6}
\newpage
\section{TP7}
\input{TPs/tp7}
\end{document}