-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpreamble.tex
110 lines (84 loc) · 2.53 KB
/
preamble.tex
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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
%% Preamble %%
%% A minimal LaTeX preamble
%% Some packates are needed to implement
%% Asciidoc features
\documentclass{article}
\usepackage{graphicx}
\usepackage{multirow}
\usepackage{tabularx}
\usepackage{color}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{amsxtra}
\usepackage{amsfonts}
\usepackage{wasysym}
\usepackage{isomath}
\usepackage{mathtools}
\usepackage{txfonts}
\usepackage{upgreek}
\usepackage{enumerate}
\usepackage{tensor}
\usepackage{fancyhdr}
\usepackage{lastpage}
\usepackage{changes}
\usepackage{etoolbox}
\let\openbox\relax
\usepackage[letterpaper, margin=1in, headheight=47pt]{geometry}
\usepackage[hyperlink]{manual}
\usepackage{titlesec}
% make new bigcdot letter for title
\makeatletter
\newcommand*\bigcdot{\mathpalette\bigcdot@{.8}}
\newcommand*\bigcdot@[2]{\mathbin{\vcenter{\hbox{\scalebox{#2}{$\m@th#1\bullet$}}}}}
\makeatother
% No paragraph indent
\setlength{\parindent}{0cm}
% Bigger paragraph skips
\setlength{\parskip}{0.25cm}
\usepackage[defaultsans]{droidsans}
\renewcommand{\familydefault}{\sfdefault}
% Set paragraph numbers correctly (skip susubsection)
\setcounter{secnumdepth}{4}
\renewcommand\thesubsection{\arabic{section}.\arabic{subsection}}
\renewcommand\thesubsubsection{
\ifnum \value{subsubsection}=0
\thesubsection
\else
\thesubsection.\Alph{subsubsection}\relax
\fi}
\newcommand*{\p}{\paragraph{}}
\newlength\titleindent
\setlength\titleindent{1.2cm}
\definecolor{mygray}{gray}{0.55}
\titleformat{\paragraph}[runin]
{\normalfont\footnotesize}{\llap{\parbox{\titleindent}{\textcolor{mygray}{\theparagraph}\hfill}}}{0em}{}
\titlespacing{\paragraph}{0pt}{0em}{0em}
% End of paragraph numbers setting
\pagestyle{fancy}
\lhead{}
\chead{}
\rhead{\includegraphics[width=8cm]{media/image15.png}}
\renewcommand{\headrulewidth}{0pt}
%\renewcommand{\topmargin}{-20pt}
\rfoot{Page \textbf{\thepage} of \textbf{\pageref{LastPage}}}
\lfoot{\textit{Demo Rules as of \today}}
\cfoot{}
% First page
\fancypagestyle{firststyle}{%
\fancyhf{}
\fancyfoot[L]{\textit{Demo Rules as of \today}}
\fancyfoot[R]{Page \textbf{\thepage} of \textbf{\pageref{LastPage}}}
}
\title{\LARGE RoboCupJunior Soccer Simulation\vspace{2ex} \\
\large $\bigcdot$ Demo Competition in February 2022 $\bigcdot$ \vspace{-10ex}}
\date{\vspace{-2ex}}
\definecolor{color-1}{rgb}{1,1,1}
\definecolor{color-2}{rgb}{0,0,0.5}
\definecolor{color-3}{rgb}{0.07,0.33,0.8}
\definecolor{color-4}{rgb}{0.13,0.13,0.13}
\definecolor{red}{rgb}{1,0,0}
\definecolor{color-6}{rgb}{0,0,1}
\begin{document}
\maketitle
\thispagestyle{firststyle}
\vspace{20pt}