-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.tex
More file actions
96 lines (79 loc) · 2.87 KB
/
main.tex
File metadata and controls
96 lines (79 loc) · 2.87 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
84
85
86
87
88
89
90
91
92
93
94
95
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[a4paper, total={6.8in, 10in}]{geometry}
\usepackage{amsmath}
\usepackage{url}
\usepackage[T1]{fontenc}
\usepackage{courier}
\usepackage{hyperref} % For clickable links in PDF
\usepackage{listings}
\usepackage{xcolor}
% Define colors for the terminal style
\definecolor{terminalback}{rgb}{0.1, 0.1, 0.1}
\definecolor{terminaltext}{rgb}{0.9, 0.9, 0.9}
% Define the 'terminal' style
\lstdefinestyle{terminal}{
backgroundcolor=\color{terminalback},
basicstyle=\ttfamily\small\color{terminaltext},
frame=single,
rulecolor=\color{white},
breaklines=true,
captionpos=b,
showstringspaces=false,
title=\texttt{Terminal}
}
\lstset{
% Colors (requires xcolor package)
backgroundcolor=\color[rgb]{0.95,0.95,0.95}, % Light gray background (adjust RGB as needed)
commentstyle=\color[rgb]{0.2,0.4,0.2}\ttfamily\small, % Dark green comments
keywordstyle=\color[rgb]{0.6,0.0,0.0}\bfseries, % Dark red bold keywords
stringstyle=\color[rgb]{0.0,0.0,0.8}, % Blue strings
numberstyle=\small\color{gray}, % Small gray line numbers
% Frame and numbering
frame=single, % Draws a single frame around the listing
framesep=5pt, % Space between the frame and the code
rulecolor=\color{black}, % Color of the frame
%numbers=left, % Display line numbers on the left
numbers=none, % Do not display line numbers
stepnumber=1, % Increment line numbers by 1
firstnumber=auto, % Start numbering from 1 for each new listing
% Language settings
basicstyle=\ttfamily\small,
language=C++,
columns=fullflexible,
keepspaces=true,
% Other useful options
breaklines=true, % Automatic line breaking for long lines
breakatwhitespace=true, % Break lines only at whitespace
tabsize=2, % Number of spaces a tab represents
captionpos=b, % Caption position: b (bottom) or t (top)
showspaces=false, % Do not show dots for spaces
showtabs=false, % Do not show markers for tabs
showstringspaces=false, % Do not show dots for spaces within strings
extendedchars=true, % Allow extended ASCII characters
inputencoding=utf8, % Specify input encoding
% Map Unicode “·” and “⊙” to LaTeX-safe output:
literate=
{·}{{$\cdot$}}1
{⊙}{{$\odot$}}1
{ᵀ}{{$^\top$}}1
{‐}{{-}}1
{“}{{"`}}1 % left curly quote → opening ASCII quote
{”}{{'"}}1 % right curly quote → closing ASCII quote
}
\title{Algebraic Programming (ALP) Tutorial}
\author{}
\date{\today} % Displays the current date
\begin{document}
\maketitle
\tableofcontents
\input{introduction.tex}
\input{ALP_Tutorial.tex}
\input{ALP_Transition_Path_Tutorial.tex}
\input{AALP}
\section*{Acknowledgements}
This document was compiled from \LaTeX{} source code using GitHub Actions and deployed to GitHub Pages.
\vfill % Pushes content to the top
\centering
\small This document was generated on \today.
\end{document}