├── .gitignore ├── Beamer ├── Figures │ └── logo │ │ ├── logo.png │ │ └── logo2.png ├── header.tex ├── main.bbl ├── main.nav ├── main.pdf ├── main.snm ├── main.synctex.gz ├── main.tex └── reference.bib ├── CV ├── 1_education.tex ├── 2_experience.tex ├── 3_publication.tex ├── 4_teaching.tex ├── 5_award.tex ├── 6_service.tex ├── cv.pdf ├── cv.synctex.gz ├── cv.tex ├── header.tex ├── resume.pdf ├── resume.synctex.gz └── resume.tex ├── Letter ├── Figures │ ├── background.png │ └── logo.png ├── UIUCletter.cls ├── letter.pdf ├── letter.synctex.gz └── letter.tex ├── ListStyle.tex ├── Math.tex ├── Note ├── Figures │ ├── test.pdf │ ├── test.pdf_tex │ └── test.svg ├── Lectures │ ├── lec_1.tex │ └── lec_2.tex ├── appendix.tex ├── header.tex ├── master.bbl ├── master.pdf ├── master.synctex.gz ├── master.tex └── reference.bib ├── Poster ├── Figures │ └── logo │ │ ├── NeurIPS.png │ │ ├── QRCode.png │ │ └── UIUC.png ├── beamercolorthemegemini.sty ├── beamerthemegemini.sty ├── header.tex ├── poster.bbl ├── poster.nav ├── poster.pdf ├── poster.snm ├── poster.synctex.gz ├── poster.tex └── reference.bib ├── README.md ├── Report ├── header.tex ├── main.bbl ├── main.pdf ├── main.synctex.gz └── main.tex └── preview.png /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | social_preview.png 3 | signature.png 4 | -------------------------------------------------------------------------------- /Beamer/Figures/logo/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sleepymalc/LaTeX-Template/e0958fee7ef86757e1e7603680ce87bedbe35f31/Beamer/Figures/logo/logo.png -------------------------------------------------------------------------------- /Beamer/Figures/logo/logo2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sleepymalc/LaTeX-Template/e0958fee7ef86757e1e7603680ce87bedbe35f31/Beamer/Figures/logo/logo2.png -------------------------------------------------------------------------------- /Beamer/header.tex: -------------------------------------------------------------------------------- 1 | \usepackage[english]{babel} 2 | \usepackage[utf8]{inputenc} 3 | \usepackage[T1]{fontenc} 4 | \usepackage{csquotes} 5 | \usepackage{color} 6 | \usepackage{float} 7 | \usepackage{multido} 8 | \usepackage{multirow} 9 | \usepackage{array} 10 | \usepackage{enumerate} 11 | \usepackage{booktabs} 12 | \usepackage{indentfirst} 13 | \usepackage[style=alphabetic,maxcitenames=1]{biblatex} 14 | \usepackage{setspace} 15 | \usepackage{calligra} 16 | \usepackage{subcaption} 17 | \usepackage{textpos} 18 | \usepackage{pgfpages} 19 | 20 | \usepackage{amsmath,amsfonts,amssymb,amsthm,mathtools,mathrsfs} 21 | 22 | 23 | \renewcommand<>{\emph}[1]{{\color{Bittersweet}{\only#2{\itshape}#1}}} 24 | 25 | \renewcommand*{\bibfont}{\scriptsize} 26 | 27 | % TodoNotes and inline notes in fancy boxes 28 | \usepackage{todonotes} 29 | \usepackage{tcolorbox} 30 | 31 | % quiver style 32 | \usepackage{tikz-cd} 33 | % `calc` is necessary to draw curved arrows. 34 | \usetikzlibrary{calc} 35 | % `pathmorphing` is necessary to draw squiggly arrows. 36 | \usetikzlibrary{decorations.pathmorphing} 37 | 38 | % A TikZ style for curved arrows of a fixed height, due to AndréC. 39 | \tikzset{curve/.style={settings={#1},to path={(\tikztostart) 40 | .. controls ($(\tikztostart)!\pv{pos}!(\tikztotarget)!\pv{height}!270:(\tikztotarget)$) 41 | and ($(\tikztostart)!1-\pv{pos}!(\tikztotarget)!\pv{height}!270:(\tikztotarget)$) 42 | .. (\tikztotarget)\tikztonodes}}, 43 | settings/.code={\tikzset{quiver/.cd,#1} 44 | \def\pv##1{\pgfkeysvalueof{/tikz/quiver/##1}}}, 45 | quiver/.cd,pos/.initial=0.35,height/.initial=0} 46 | 47 | % TikZ arrowhead/tail styles. 48 | \tikzset{tail reversed/.code={\pgfsetarrowsstart{tikzcd to}}} 49 | \tikzset{2tail/.code={\pgfsetarrowsstart{Implies[reversed]}}} 50 | \tikzset{2tail reversed/.code={\pgfsetarrowsstart{Implies}}} 51 | % TikZ arrow styles. 52 | \tikzset{no body/.style={/tikz/dash pattern=on 0 off 1mm}} 53 | 54 | % useful macro for class 55 | \newcommand{\at}[3]{\left.#1\right\vert_{#2}^{#3}} 56 | \newcommand\quotient[2]{ 57 | \mathchoice 58 | {% \displaystyle 59 | \text{\raise1ex\hbox{$#1$}\Big/\lower1ex\hbox{$#2$}}% 60 | } 61 | {% \textstyle 62 | #1\,/\,#2 63 | } 64 | {% \scriptstyle 65 | #1\,/\,#2 66 | } 67 | {% \scriptscriptstyle 68 | #1\,/\,#2 69 | } 70 | } 71 | 72 | \newcommand{\identity}{\mathrm{id}} 73 | \newcommand{\Homomorphism}{\mathrm{Hom}} 74 | \newcommand{\Morphism}{\mathrm{Mor}} 75 | \newcommand{\Object}{\mathrm{Ob}} 76 | \newcommand{\True}{\textsf{True}} 77 | \newcommand{\T}{\textsf{T}} 78 | \newcommand{\False}{\textsf{False}} 79 | \newcommand{\F}{\textsf{F}} 80 | \newcommand{\act}{\rotatebox[origin=c]{-180}{\(\,\circlearrowright\,\)}} 81 | 82 | \usepackage{physics} 83 | \usepackage{complexity} 84 | 85 | \DeclareMathOperator{\im}{Im} 86 | \DeclareMathOperator{\sgn}{sgn} 87 | \DeclareMathOperator{\Int}{Int} 88 | \DeclareMathOperator{\diag}{diag} 89 | \DeclareMathOperator{\dom}{dom} 90 | \DeclareMathOperator{\OPT}{\textsf{OPT}} 91 | \DeclareMathOperator*{\argmax}{arg\,max} 92 | \DeclareMathOperator*{\argmin}{arg\,min} 93 | \DeclareMathOperator{\Var}{Var} 94 | \DeclareMathOperator{\Cov}{Cov} 95 | 96 | \let\implies\Rightarrow 97 | \let\impliedby\Leftarrow 98 | \let\iff\Leftrightarrow 99 | 100 | \usepackage{stmaryrd} % for \lightning 101 | \newcommand\conta{\scalebox{1.1}{\(\lightning\)}} 102 | 103 | \usepackage{bm} 104 | \usepackage{bbm} 105 | 106 | % figure support 107 | \usepackage{import} 108 | \usepackage{xifthen} 109 | \usepackage{pdfpages} 110 | \usepackage{transparent} 111 | \newcommand{\incfig}[1]{% 112 | \def\svgwidth{\columnwidth} 113 | \import{./Figures/}{#1.pdf_tex} 114 | } 115 | 116 | \newtheorem{intuition}{Intuition} 117 | \AtBeginEnvironment{intuition}{% 118 | \setbeamercolor{block title}{use=example text,fg=white,bg=VioletRed} 119 | \setbeamercolor{block body}{parent=normal text,use=block title example,bg=VioletRed!20!white} 120 | } 121 | 122 | \newtheorem{remark}{Remark} 123 | \AtBeginEnvironment{remark}{% 124 | \setbeamercolor{block title}{use=example text,fg=white,bg=Orchid} 125 | \setbeamercolor{block body}{parent=normal text,use=block title example,bg=Orchid!20!white} 126 | } 127 | 128 | \newtheorem{prev}{As previously seen} 129 | \AtBeginEnvironment{prev}{% 130 | \setbeamercolor{block title}{use=example text,fg=white,bg=gray} 131 | \setbeamercolor{block body}{parent=normal text,use=block title example,bg=gray!20!white} 132 | } 133 | 134 | \newtheorem{assumption}{Assumption} 135 | \AtBeginEnvironment{assumption}{% 136 | \setbeamercolor{block title}{use=example text,fg=white,bg=Purple} 137 | \setbeamercolor{block body}{parent=normal text,use=block title example,bg=Purple!20!white} 138 | } 139 | 140 | \newtheorem{observe}{Observe} 141 | \AtBeginEnvironment{observe}{% 142 | \setbeamercolor{block title}{use=example text,fg=white,bg=Purple} 143 | \setbeamercolor{block body}{parent=normal text,use=block title example,bg=Purple!20!white} 144 | } 145 | 146 | \newtheorem{goal}{Goal} 147 | \AtBeginEnvironment{goal}{% 148 | \setbeamercolor{block title}{use=example text,fg=white,bg=Salmon} 149 | \setbeamercolor{block body}{parent=normal text,use=block title example,bg=Salmon!20!white} 150 | } 151 | 152 | \makeatletter 153 | \let\@@magyar@captionfix\relax 154 | \makeatother 155 | 156 | 157 | \addtobeamertemplate{frametitle}{}{ 158 | \begin{textblock*}{100mm}(0.85\textwidth,-1cm) 159 | \includegraphics[height=1cm]{~/Developer/LaTeX-Template/Beamer/Figures/logo/logo.png} 160 | \end{textblock*}} 161 | 162 | \definecolor{themecolor}{RGB}{228,105,71} 163 | \mode 164 | { 165 | \usetheme{Madrid} % or try Darmstadt, Madrid, Warsaw, ... 166 | \usecolortheme[named=themecolor]{structure} % or try albatross, beaver, crane, ... 167 | \usefonttheme{default} % or try serif, structurebold, ... 168 | \setbeamertemplate{navigation symbols}{} 169 | \setbeamertemplate{caption}[default] 170 | \setbeamertemplate{items}[default] 171 | \setbeamertemplate{section in toc}[ball unnumbered] 172 | } 173 | \let\oldfootnote\footnote 174 | \renewcommand\footnote[1][]{\oldfootnote[frame,#1]} 175 | \parskip=10pt 176 | \newenvironment<>{proofs}[1][\proofname]{% 177 | \par 178 | \def\insertproofname{#1.}% 179 | \usebeamertemplate{proof begin}#2} 180 | {\usebeamertemplate{proof end}} 181 | \makeatother 182 | 183 | % logo of my university 184 | \titlegraphic{\includegraphics[height=1.3cm]{~/Developer/LaTeX-Template/Beamer/Figures/logo/logo2.png}} -------------------------------------------------------------------------------- /Beamer/main.bbl: -------------------------------------------------------------------------------- 1 | % $ biblatex auxiliary file $ 2 | % $ biblatex bbl format version 3.3 $ 3 | % Do not modify the above lines! 4 | % 5 | % This is an auxiliary file used by the 'biblatex' package. 6 | % This file may safely be deleted. It will be recreated by 7 | % biber as required. 8 | % 9 | \begingroup 10 | \makeatletter 11 | \@ifundefined{ver@biblatex.sty} 12 | {\@latex@error 13 | {Missing 'biblatex' package} 14 | {The bibliography requires the 'biblatex' package.} 15 | \aftergroup\endinput} 16 | {} 17 | \endgroup 18 | 19 | 20 | \refsection{0} 21 | \datalist[entry]{anyt/global//global/global/global} 22 | \entry{Hu_LaTeX-Template}{software}{}{} 23 | \name{author}{1}{}{% 24 | {{hash=15c21250745aec48bc68eb9677c5e2ee}{% 25 | family={Hu}, 26 | familyi={H\bibinitperiod}, 27 | given={Pingbang}, 28 | giveni={P\bibinitperiod}}}% 29 | } 30 | \strng{namehash}{15c21250745aec48bc68eb9677c5e2ee} 31 | \strng{fullhash}{15c21250745aec48bc68eb9677c5e2ee} 32 | \strng{fullhashraw}{15c21250745aec48bc68eb9677c5e2ee} 33 | \strng{bibnamehash}{15c21250745aec48bc68eb9677c5e2ee} 34 | \strng{authorbibnamehash}{15c21250745aec48bc68eb9677c5e2ee} 35 | \strng{authornamehash}{15c21250745aec48bc68eb9677c5e2ee} 36 | \strng{authorfullhash}{15c21250745aec48bc68eb9677c5e2ee} 37 | \strng{authorfullhashraw}{15c21250745aec48bc68eb9677c5e2ee} 38 | \field{labelalpha}{Hu} 39 | \field{sortinit}{H} 40 | \field{sortinithash}{23a3aa7c24e56cfa16945d55545109b5} 41 | \field{labelnamesource}{author} 42 | \field{labeltitlesource}{title} 43 | \field{title}{{LaTeX-Template}} 44 | \verb{urlraw} 45 | \verb https://github.com/sleepymalc/LaTeX-Template 46 | \endverb 47 | \verb{url} 48 | \verb https://github.com/sleepymalc/LaTeX-Template 49 | \endverb 50 | \endentry 51 | \enddatalist 52 | \endrefsection 53 | \endinput 54 | 55 | -------------------------------------------------------------------------------- /Beamer/main.nav: -------------------------------------------------------------------------------- 1 | \headcommand {\slideentry {0}{0}{1}{1/1}{}{0}} 2 | \headcommand {\beamer@framepages {1}{1}} 3 | \headcommand {\slideentry {0}{0}{2}{2/2}{}{0}} 4 | \headcommand {\beamer@framepages {2}{2}} 5 | \headcommand {\beamer@sectionpages {1}{2}} 6 | \headcommand {\beamer@subsectionpages {1}{2}} 7 | \headcommand {\sectionentry {1}{Useful Environment}{3}{Useful Environment}{0}} 8 | \headcommand {\beamer@subsectionpages {3}{2}} 9 | \headcommand {\beamer@subsectionentry {0}{1}{1}{3}{Standard Environment}} 10 | \headcommand {\slideentry {1}{1}{1}{3/3}{Standard Environment}{0}} 11 | \headcommand {\beamer@framepages {3}{3}} 12 | \headcommand {\slideentry {1}{1}{2}{4/4}{Standard Environment}{0}} 13 | \headcommand {\beamer@framepages {4}{4}} 14 | \headcommand {\beamer@subsectionpages {3}{4}} 15 | \headcommand {\beamer@subsectionentry {0}{1}{2}{5}{Customized Environment}} 16 | \headcommand {\slideentry {1}{2}{1}{5/5}{Customized Environment}{0}} 17 | \headcommand {\beamer@framepages {5}{5}} 18 | \headcommand {\slideentry {1}{2}{2}{6/6}{Customized Environment}{0}} 19 | \headcommand {\beamer@framepages {6}{6}} 20 | \headcommand {\beamer@sectionpages {3}{6}} 21 | \headcommand {\beamer@subsectionpages {5}{6}} 22 | \headcommand {\sectionentry {2}{References}{7}{References}{0}} 23 | \headcommand {\beamer@sectionpages {7}{6}} 24 | \headcommand {\beamer@subsectionpages {7}{6}} 25 | \headcommand {\sectionentry {3}{References}{7}{References}{0}} 26 | \headcommand {\slideentry {3}{0}{0}{7/7}{}{0}} 27 | \headcommand {\beamer@framepages {7}{7}} 28 | \headcommand {\beamer@partpages {1}{7}} 29 | \headcommand {\beamer@subsectionpages {7}{7}} 30 | \headcommand {\beamer@sectionpages {7}{7}} 31 | \headcommand {\beamer@documentpages {7}} 32 | \headcommand {\gdef \inserttotalframenumber {7}} 33 | -------------------------------------------------------------------------------- /Beamer/main.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sleepymalc/LaTeX-Template/e0958fee7ef86757e1e7603680ce87bedbe35f31/Beamer/main.pdf -------------------------------------------------------------------------------- /Beamer/main.snm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sleepymalc/LaTeX-Template/e0958fee7ef86757e1e7603680ce87bedbe35f31/Beamer/main.snm -------------------------------------------------------------------------------- /Beamer/main.synctex.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sleepymalc/LaTeX-Template/e0958fee7ef86757e1e7603680ce87bedbe35f31/Beamer/main.synctex.gz -------------------------------------------------------------------------------- /Beamer/main.tex: -------------------------------------------------------------------------------- 1 | \documentclass[aspectratio=169, xcolor={dvipsnames}, hyperref={colorlinks=true,linkcolor=Dandelion,urlcolor=magenta,citecolor=violet, hyperfootnotes=true}]{beamer} 2 | \input{header.tex} 3 | 4 | \title[\cite{Hu_LaTeX-Template}]{Beamer Template} 5 | \subtitle{A Demo} 6 | \institute[UIUC]{University of Illinois Urbana-Champaign} 7 | \author{Pingbang Hu} 8 | 9 | \addbibresource{reference.bib} 10 | 11 | \begin{document} 12 | 13 | \begin{frame} 14 | \titlepage 15 | \end{frame} 16 | 17 | \begin{frame}{Table of Content} 18 | \tableofcontents[hideallsubsections] 19 | \end{frame} 20 | 21 | \AtBeginSubsection[]{\begin{frame}\frametitle{Table of Content}\tableofcontents[currentsection,currentsubsection,subsectionstyle=show/shaded/hide]\end{frame}} 22 | 23 | \section{Useful Environment} 24 | \subsection{Standard Environment} 25 | \begin{frame}{\texttt{itemize} and \texttt{enumerate}} 26 | This is a demonstration of various environments. The first is \texttt{itemize}: 27 | 28 | \begin{itemize} 29 | \item Item 1 30 | \item Item 2 31 | \item etc. 32 | \end{itemize} 33 | 34 | Usually I'll use \texttt{enumerate} as well: 35 | 36 | \begin{enumerate} 37 | \item Item 1 38 | \item Item 2 39 | \item etc. 40 | \end{enumerate} 41 | \end{frame} 42 | 43 | \subsection{Customized Environment} 44 | 45 | \begin{frame}{Definition, Examples, etc.} 46 | All the common environments are available, e.g., 47 | \begin{itemize} 48 | \item \emph{Theorem}-related: \texttt{lemma}, \texttt{theorem}, \texttt{corollary}. 49 | \item \emph{Common} environments: \texttt{definition}, \texttt{example}, \texttt{problem}. 50 | \item \emph{Others}: \texttt{prev}, \texttt{observe}, \texttt{assumption}, \texttt{remark}, \texttt{intuition}. 51 | \end{itemize} 52 | 53 | I'll just show you two examples: 54 | 55 | \begin{example}[A demonstration] 56 | This is an \texttt{example} environment. 57 | \end{example} 58 | 59 | \begin{prev} 60 | This is a \texttt{prev} environment. 61 | \end{prev} 62 | \end{frame} 63 | 64 | \section{References} 65 | 66 | \begin{frame}{References} 67 | \printbibliography 68 | \end{frame} 69 | 70 | 71 | \end{document} -------------------------------------------------------------------------------- /Beamer/reference.bib: -------------------------------------------------------------------------------- 1 | @software{Hu_LaTeX-Template, 2 | author = {Hu, Pingbang}, 3 | title = {{LaTeX-Template}}, 4 | url = {https://github.com/sleepymalc/LaTeX-Template} 5 | } -------------------------------------------------------------------------------- /CV/1_education.tex: -------------------------------------------------------------------------------- 1 | \section{Education} 2 | \begin{itemize} 3 | \item \heading{\underline{University}}{\underline{Country}} 4 | {\underline{Degree} in \underline{Subject}, \underline{Department}}{\underline{Time Period}} 5 | \iffullversion 6 | \else 7 | \begin{itemize} 8 | \item \detail{Research Area}{\underline{Specific Direction}}{} 9 | \end{itemize} 10 | \fi 11 | \end{itemize} -------------------------------------------------------------------------------- /CV/2_experience.tex: -------------------------------------------------------------------------------- 1 | \section{Research and Industry Experience} 2 | \begin{itemize} 3 | \item \heading{\underline{Laboratory}, \underline{Institute}}{\underline{State}, \underline{Country}} 4 | {\underline{Role}}{\underline{Time Period}} 5 | \begin{itemize} 6 | \item \detail{Advisor}{\underline{Advisor Name}}{} 7 | \end{itemize} 8 | \end{itemize} -------------------------------------------------------------------------------- /CV/3_publication.tex: -------------------------------------------------------------------------------- 1 | \begin{comment} 2 | \begin{publication}[ (optional)] 3 | \item \pub{}{}{<journal/conference name>}{<journal/conference name's abbreviation> (optional)}{<paper's url>} 4 | % Format: if <journal, conference name's abbreviation> is not empty: 5 | % Author 1, Author 2, ``title''. In \emph{journal/conference name} (journal/conference name's abbreviation) 6 | % if <journal, conference name's abbreviation> is empty (e.g., \pub{<authors>}{<title>}{Preprint}{}, you don't want In \emph{Preprint}): 7 | % Author 1, Author 2, ``title''. \emph{journal/conference name} 8 | \end{publication} 9 | \end{comment} 10 | 11 | \section{Peer-Reviewed Conference Publications\hfill\color{gray}{\textnormal{\small (\(^*\) denotes equal contribution)}}} 12 | \begin{publication}[C] 13 | \item \pub{\underline{Authors}}{\underline{Paper Title}}{\underline{Conference/Journal Full Name}}{\underline{Conference/Journal Abbreviated Name}}{(\underline{Remarks})}{\underline{Paper URL}} 14 | \end{publication} 15 | 16 | \section{Pre-prints and Technical Reports\hfill\color{gray}{\textnormal{\small (\(^*\) denotes equal contribution)}}} 17 | \begin{publication}[P] 18 | \item \pub{\underline{Authors}}{\underline{Paper Title}}{\underline{Status (i.e., In Submission)}}{}{(\underline{Remarks})}{\underline{Paper URL}} 19 | \end{publication} 20 | 21 | \begin{publication}[T] 22 | \item \pub{\underline{Authors}}{\underline{Technical Report Title}}{\underline{Status (i.e., In Submission)}}{}{(\underline{Remarks})}{\underline{Paper URL}} 23 | \end{publication} -------------------------------------------------------------------------------- /CV/4_teaching.tex: -------------------------------------------------------------------------------- 1 | \section{Teaching Experience} 2 | \begin{itemize} 3 | \item \heading{\underline{Role}, \underline{Institution}}{\underline{State}} 4 | {\underline{Responsibility}}{} 5 | \begin{itemize} 6 | \item \detail{\underline{Course Name}}{\underline{Course Description}}{\underline{Semester}} 7 | \end{itemize} 8 | \end{itemize} -------------------------------------------------------------------------------- /CV/5_award.tex: -------------------------------------------------------------------------------- 1 | \section{Honors and Awards} 2 | \begin{itemize} 3 | \item \heading{\underline{Award Name}}{\underline{State}, \underline{Country}} 4 | {\underline{Detail Description}}{\underline{Time}} 5 | \end{itemize} -------------------------------------------------------------------------------- /CV/6_service.tex: -------------------------------------------------------------------------------- 1 | \section{Professional Service} 2 | \begin{itemize} 3 | \item \heading{\underline{Role}}{} 4 | {\underline{Event Name}}{} 5 | \end{itemize} -------------------------------------------------------------------------------- /CV/cv.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sleepymalc/LaTeX-Template/e0958fee7ef86757e1e7603680ce87bedbe35f31/CV/cv.pdf -------------------------------------------------------------------------------- /CV/cv.synctex.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sleepymalc/LaTeX-Template/e0958fee7ef86757e1e7603680ce87bedbe35f31/CV/cv.synctex.gz -------------------------------------------------------------------------------- /CV/cv.tex: -------------------------------------------------------------------------------- 1 | \documentclass[letterpaper,10.8pt]{article} 2 | \input{header.tex} 3 | 4 | \fullversiontrue 5 | 6 | \renewcommand*{\author}{\underline{Name}} 7 | \renewcommand*{\Email}{\underline{Email}} 8 | \newcommand*{\phone}{\underline{Phone Number}} 9 | \newcommand*{\Home}{\underline{Home Page URL}} 10 | \newcommand*{\GoogleScholar}{\underline{Google Schoalr URL}} 11 | \newcommand*{\LinkedIn}{\underline{LinkedIn URL}} 12 | \newcommand*{\GitHub}{\underline{GitHub URL}} 13 | 14 | \begin{document} 15 | \head{} 16 | 17 | \section{Research Interest} 18 | \begin{itemize} 19 | \item \heading{\underline{Field}}{}{\underline{Direction}}{} 20 | \end{itemize} 21 | 22 | \input{1_education} 23 | \input{2_experience} 24 | \input{3_publication} 25 | \input{4_teaching} 26 | \input{5_award} 27 | \input{6_service} 28 | 29 | \end{document} -------------------------------------------------------------------------------- /CV/header.tex: -------------------------------------------------------------------------------- 1 | \usepackage{latexsym} 2 | \usepackage[empty]{fullpage} 3 | \usepackage{titlesec} 4 | \usepackage{marvosym} 5 | \usepackage{comment} 6 | \usepackage[usenames,dvipsnames]{xcolor} 7 | \usepackage{verbatim} 8 | \usepackage{enumitem} 9 | \usepackage[pdftex,colorlinks=true,linkcolor=blue,urlcolor=urlcolor]{hyperref} 10 | \usepackage{fancyhdr} 11 | \usepackage{fontawesome} 12 | \usepackage{amsmath, amsfonts, mathtools, amsthm, amssymb} 13 | 14 | \definecolor{themecolor}{RGB}{228,105,71} 15 | \definecolor{urlcolor}{RGB}{100, 0, 100} 16 | 17 | \pagestyle{fancy} 18 | \fancyhf{} % clear all header and footer fields 19 | \fancyfoot{} 20 | \renewcommand{\headrulewidth}{0pt} 21 | \renewcommand{\footrulewidth}{0pt} 22 | 23 | % Define a new conditional variable 24 | \newif\iffullversion 25 | 26 | % Adjust margins 27 | \addtolength{\oddsidemargin}{-0.375in} 28 | \addtolength{\evensidemargin}{-0.375in} 29 | \addtolength{\textwidth}{1in} 30 | \addtolength{\topmargin}{-.5in} 31 | \addtolength{\textheight}{1in} 32 | 33 | \urlstyle{rm} 34 | 35 | \raggedbottom 36 | \raggedright 37 | \setlength{\tabcolsep}{0in} 38 | 39 | % Sections formatting 40 | \titleformat{\section}{ 41 | \color{themecolor}\vspace{-3pt}\scshape\raggedright\large 42 | }{}{0em}{}[\color{themecolor}\titlerule \vspace{-3pt}] 43 | 44 | \titleformat{\subsection}{ 45 | \color{themecolor}\vspace{-3pt}\scshape\raggedright\large 46 | }{}{0em}{}[\vspace{-3pt}] 47 | 48 | \newcommand*{\Me}{{\color{themecolor!70!black} \textbf{\author}}} 49 | \newcommand*{\Spotlight}{{\color{red!80!black} \textbf{Spotlight}}} 50 | 51 | \renewcommand{\url}[1]{\href{#1}{\webpagesymbol}} 52 | 53 | %──────────────────Customized List──────────────────────────────────────────────────────────────────────────────────────────────────────------------- 54 | 55 | % heading 56 | \setlist[itemize, 1]{leftmargin=*, label=\(\centerdot\)} 57 | \setlist[itemize, 2]{after=\vspace{-2pt}, label=\(\circ\)} 58 | 59 | \newcommand{\heading}[4]{ 60 | \begin{tabular*}{0.97\textwidth}{l@{\extracolsep{\fill}}r} 61 | \textbf{#1} & \textbf{#2} \\ 62 | \emph{\small#3} & \emph{\small #4} \\ 63 | \end{tabular*}\vspace{-5pt} 64 | } 65 | 66 | 67 | \newcommand{\detail}[3]{{\small{\expandafter\ifx\expandafter\relax\detokenize{#1}\relax 68 | \textnormal{#2} 69 | \else 70 | \textnormal{\textbf{#1}: #2} 71 | \fi 72 | \expandafter\ifx\expandafter\relax\detokenize{#3}\relax 73 | \else 74 | \hfill\textnormal{\emph{#3}}{\parfillskip=6pt\par}% 75 | \fi 76 | \vspace{-1pt} 77 | } 78 | } 79 | } 80 | 81 | 82 | % publication 83 | \begin{comment} 84 | Usage: 85 | Use \Me{} in the content when mention yourself (i.e., author of the publications) 86 | 87 | \begin{itemize} 88 | \item \heading{<bold title>}{<location>}{<detail>}{<duration> (optional)} 89 | \begin{itemize} 90 | \item \detail{<bold emphasize> (optional)}{<context>}{<duration> (optional)} 91 | \end{itemize} 92 | \end{itemize} 93 | \end{comment} 94 | 95 | \newlist{publication@}{enumerate}{1} 96 | \setlist[publication@]{} 97 | \newenvironment{publication}[1][]{\begin{publication@}[label={[#1\arabic*]}]}{\end{publication@}} 98 | 99 | \newcommand{\pub}[6]{{\small{#1, ``#2''. 100 | \expandafter\ifx\expandafter\relax\detokenize{#4}\relax 101 | \textnormal{\emph{#3}} 102 | \else 103 | \textnormal{In \emph{#3}} 104 | \fi 105 | \expandafter\ifx\expandafter\relax\detokenize{#4}\relax 106 | \else 107 | \textnormal{(#4)} 108 | \fi 109 | \expandafter\ifx\expandafter\relax\detokenize{#5}\relax 110 | \else 111 | \textnormal{#5} 112 | \fi 113 | \expandafter\ifx\expandafter\relax\detokenize{#6}\relax 114 | \else 115 | \href{#6}{\color{themecolor!70!white}{\faFilePdfO}} 116 | \fi 117 | \vspace{-2pt} 118 | } 119 | } 120 | } 121 | 122 | %──────────────────Head────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── 123 | \newcommand*{\emailsymbol}{{\small\faEnvelopeO}~} 124 | \newcommand*{\mobilephonesymbol}{{\Large\faMobilePhone}~} 125 | \newcommand*{\homepagesymbol}{{\small\faHome}~} 126 | \newcommand*{\webpagesymbol}{{\small\faGlobe}~} 127 | 128 | 129 | \newcommand*{\head}{\begin{tabular*}{\textwidth}{l@{\extracolsep{\fill}}r} 130 | \Huge{\Me} & \emailsymbol \href{mailto:\Email}{\color{themecolor!70!white}{\Email}}\\ 131 | \href{\Home}{\color{themecolor!70!white}{\homepagesymbol}}% 132 | \href{\GoogleScholar}{\color{themecolor!70!white}{\faGraduationCap}} 133 | \href{\LinkedIn}{\color{themecolor!70!white}{\faLinkedinSquare}} 134 | \href{\GitHub}{\color{themecolor!70!white}{\faGithub}} 135 | & \mobilephonesymbol \phone \\ 136 | \end{tabular*}} -------------------------------------------------------------------------------- /CV/resume.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sleepymalc/LaTeX-Template/e0958fee7ef86757e1e7603680ce87bedbe35f31/CV/resume.pdf -------------------------------------------------------------------------------- /CV/resume.synctex.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sleepymalc/LaTeX-Template/e0958fee7ef86757e1e7603680ce87bedbe35f31/CV/resume.synctex.gz -------------------------------------------------------------------------------- /CV/resume.tex: -------------------------------------------------------------------------------- 1 | \documentclass[letterpaper,10.8pt]{article} 2 | \input{header.tex} 3 | 4 | \renewcommand*{\author}{\underline{Name}} 5 | \renewcommand*{\Email}{\underline{Email}} 6 | \newcommand*{\phone}{\underline{Phone Number}} 7 | \newcommand*{\Home}{\underline{Home Page URL}} 8 | \newcommand*{\GoogleScholar}{\underline{Google Schoalr URL}} 9 | \newcommand*{\LinkedIn}{\underline{LinkedIn URL}} 10 | \newcommand*{\GitHub}{\underline{GitHub URL}} 11 | 12 | \begin{document} 13 | \head{} 14 | 15 | \input{1_education} 16 | \input{2_experience} 17 | \input{3_publication} 18 | \input{4_teaching} 19 | \input{5_award} 20 | \input{6_service} 21 | 22 | \end{document} -------------------------------------------------------------------------------- /Letter/Figures/background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sleepymalc/LaTeX-Template/e0958fee7ef86757e1e7603680ce87bedbe35f31/Letter/Figures/background.png -------------------------------------------------------------------------------- /Letter/Figures/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sleepymalc/LaTeX-Template/e0958fee7ef86757e1e7603680ce87bedbe35f31/Letter/Figures/logo.png -------------------------------------------------------------------------------- /Letter/UIUCletter.cls: -------------------------------------------------------------------------------- 1 | \NeedsTeXFormat{LaTeX2e} 2 | \ProvidesClass{UIUCletter} 3 | \RequirePackage{graphicx} 4 | \RequirePackage{epstopdf} 5 | \RequirePackage{epsfig} 6 | \RequirePackage{ifthen} 7 | \RequirePackage{xcolor} 8 | %\RequirePackage{fontspec} 9 | \DeclareGraphicsExtensions {.png} %{.pdf} 10 | 11 | \DeclareOption*{\PassOptionsToClass{\CurrentOption}{letter}} 12 | \ProcessOptions 13 | \LoadClass[letterpaper]{letter} % we always use letter paper 14 | 15 | \newcommand{\subjectname}{Subject} 16 | \newcommand{\@subject}{} 17 | \newcommand{\subject}[1]{\renewcommand{\@subject}{\subjectname: #1}} 18 | 19 | \newboolean{logofound} 20 | \IfFileExists{Figures/logo.png} 21 | {\setboolean{logofound}{true}} 22 | {\setboolean{logofound}{false}} 23 | 24 | \setlength{\textwidth}{6.875in} 25 | \setlength{\textheight}{7.0in} 26 | \setlength{\topskip}{0.0in} 27 | \setlength{\footskip}{1.0in} 28 | \setlength{\oddsidemargin}{-0.25in} 29 | \setlength{\evensidemargin}{-0.25in} 30 | \setlength{\topmargin}{-0.875in} 31 | 32 | \DeclareFixedFont{\xcmrbn}{OT1}{cmr}{b}{n}{10} 33 | \DeclareFixedFont{\xcmrmn}{OT1}{cmr}{m}{n}{10} 34 | \DeclareFixedFont{\ixcmrmn}{OT1}{cmr}{m}{n}{9} 35 | 36 | \newsavebox{\departmenthead} 37 | \newsavebox{\departmentfoot} 38 | \newsavebox{\emptyfoot} 39 | 40 | \sbox{\departmenthead}{ 41 | \begin{tabular*}{\textwidth} 42 | {@{}l@{\extracolsep{0.0in}}|@{\extracolsep{0.125in}}l@{}} 43 | 44 | % HELP FOR SETTING UP PARBOXES 45 | % \parbox[position][height][inner-pos]{width}{text} 46 | % The \parbox has two mandatory arguments: 47 | % width - specifies the width of the parbox, and 48 | % text - the text that goes inside the parbox. 49 | % LaTeX will position a parbox so its center lines up with the center of the text line. The optional position argument allows you to line up either the top or bottom line in the parbox (default is top). 50 | % If the height argument is not given, the box will have the natural height of the text. 51 | % The inner-pos argument controls the placement of the text inside the box. If it is not specified, position is used. 52 | % t -- text is placed at the top of the box. 53 | % c -- text is centred in the box. 54 | % b -- text is placed at the bottom of the box. 55 | %LOGO 56 | % 57 | \parbox{.56\textwidth} 58 | {\raggedright 59 | \ifthenelse{\boolean{logofound}} 60 | {\epsfig{file=Figures/logo.png, width=0.55\textwidth}} 61 | {\parbox[t][1.0in][t]{2.0in}{\hfill} 62 | \ClassWarning{UIUCletter}{Figures/logo.png COULD NOT BE FOUND!}} 63 | } & 64 | %DEPARTMENT OR SCHOOL 65 | % This just sets the size of the box to the right of the logo, and the size of the vertical line. The vertical line is set by the size of the first numerical argument of the \parbox command. 66 | % 67 | % In the future, the "From" address might be better set using "tikz". 68 | \parbox[c][1.2in][c]{2.225in}{{~}\\ 69 | }\\ 70 | \end{tabular*} 71 | } 72 | 73 | \savebox{\emptyfoot}[\textwidth][c]{\ixcmrmn 74 | \hspace*{\textwidth} 75 | } 76 | 77 | % header and footer should be placed only on the first page 78 | \renewcommand{\ps@firstpage}{ 79 | \setlength{\headheight}{1.375in} 80 | \setlength{\headsep}{1.0in} 81 | \renewcommand{\@oddhead}{\usebox{\departmenthead}} 82 | \renewcommand{\@oddfoot}{\usebox{\departmentfoot}} 83 | \renewcommand{\@evenhead}{} 84 | \renewcommand{\@evenfoot}{} 85 | } 86 | 87 | \renewcommand{\ps@empty}{ 88 | \setlength{\headheight}{1.375in} 89 | \setlength{\headsep}{0.5in} 90 | \renewcommand{\@oddhead}{} 91 | \renewcommand{\@oddfoot}{\usebox{\emptyfoot}} 92 | \renewcommand{\@evenhead}{} 93 | \renewcommand{\@evenfoot}{\usebox{\emptyfoot}} 94 | } 95 | 96 | \providecommand{\@evenhead}{} 97 | \providecommand{\@oddhead}{} 98 | \providecommand{\@evenfoot}{} 99 | \providecommand{\@oddfoot}{} 100 | 101 | \pagestyle{empty} 102 | 103 | % we add the subject command to the opening 104 | \renewcommand{\opening}[1]{\thispagestyle{firstpage}% 105 | \ifx\@empty\fromaddress 106 | %{\raggedleft\@date\par}% 107 | \else % home address 108 | {\raggedleft 109 | \begin{tabular}{l@{}}\ignorespaces 110 | \fromaddress \\ *[1\parskip]% 111 | %\@date 112 | \end{tabular}\par 113 | }% 114 | \fi 115 | \vspace{-6\parskip} 116 | \@date \vspace{2\parskip}\\ 117 | {\raggedright \toname \\ \toaddress \par}% 118 | \vspace{1\parskip}% 119 | \ifthenelse{\equal{\@subject}{}}{}{\@subject\par} 120 | \vspace{1\parskip}% 121 | #1\par\nobreak 122 | } 123 | 124 | % we push closing to the right 125 | \renewcommand{\closing}[1]{\par\nobreak\vspace{\parskip}% 126 | \stopbreaks 127 | \noindent 128 | \hspace*{0.6\textwidth}\parbox{0.4\textwidth}{\raggedright 129 | \ignorespaces #1\\[4\medskipamount]% 130 | \ifx\@empty\fromsig 131 | \fromname 132 | \else \fromsig 133 | \fi\strut}% 134 | \par 135 | } -------------------------------------------------------------------------------- /Letter/letter.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sleepymalc/LaTeX-Template/e0958fee7ef86757e1e7603680ce87bedbe35f31/Letter/letter.pdf -------------------------------------------------------------------------------- /Letter/letter.synctex.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sleepymalc/LaTeX-Template/e0958fee7ef86757e1e7603680ce87bedbe35f31/Letter/letter.synctex.gz -------------------------------------------------------------------------------- /Letter/letter.tex: -------------------------------------------------------------------------------- 1 | \documentclass[12pt]{UIUCletter} 2 | \usepackage{tikz} 3 | \usepackage{xcolor} 4 | \definecolor{themecolor}{RGB}{228,105,71} 5 | \usepackage{lipsum} 6 | \usepackage{fancyhdr} 7 | \usepackage{lastpage} 8 | \usepackage{eso-pic} 9 | \usepackage[base]{babel} 10 | \usepackage[pdftex,colorlinks=true,linkcolor=themecolor,urlcolor=themecolor]{hyperref} 11 | % 12 | % This section is just a bunch of busywork so that the second and following pages read ``Page X of Y'' 13 | \pagestyle{fancy} 14 | \fancyhf{} 15 | \renewcommand{\headrulewidth}{0pt} 16 | \renewcommand{\footrulewidth}{0pt} 17 | \rhead{Page \thepage{} \hspace{1pt} of~\pageref{LastPage}} 18 | % 19 | % 20 | % Set custom font here. Comment this line out if you do not have a Cambria font (originally included with this template) installed; computer modern (or whatever your current default font is) will be substituted. 21 | % 22 | %\setmainfont{[Cambria.ttf]}[BoldFont = [CambriaBold.ttf], ItalicFont = [CambriaItalic.ttf], BoldItalicFont = [CambriaBoldItalic.ttf] ] 23 | 24 | \newcommand{\watermark}[3]{\AddToShipoutPictureBG{ 25 | \parbox[b][\paperheight]{\paperwidth}{ 26 | \vfill% 27 | \centering% 28 | \begin{tikzpicture} 29 | \path (0,0) -- (\paperwidth,\paperheight); 30 | \node[opacity=.07] at (current page.center) 31 | {\includegraphics[width=0.6\textwidth]{./Figures/background.png}}; 32 | \end{tikzpicture} 33 | \vfill}}} 34 | 35 | % The material below is a whole big dang thing whose purpose is just to set up a fixed coordinate system for \tikz so that you can put the Department or School address in the upper right-hand side without it moving all around every time you change something in the page. I think it works. 36 | % Defining a new coordinate system for the page: 37 | % 38 | % -------------------------- 39 | % |(-1,1) (0,1) (1,1)| 40 | % | | 41 | % |(-1,0) (0,0) (1,0)| 42 | % | | 43 | % |(-1,-1) (0,-1) (1,-1)| 44 | % -------------------------- 45 | \makeatletter 46 | \def\parsecomma#1,#2\endparsecomma{\def\page@x{#1}\def\page@y{#2}} 47 | \tikzdeclarecoordinatesystem{page}{ 48 | \parsecomma#1\endparsecomma 49 | \pgfpointanchor{current page}{north east} 50 | % Save the upper right corner 51 | \pgf@xc=\pgf@x% 52 | \pgf@yc=\pgf@y% 53 | % save the lower left corner 54 | \pgfpointanchor{current page}{south west} 55 | \pgf@xb=\pgf@x% 56 | \pgf@yb=\pgf@y% 57 | % Transform to the correct placement 58 | \pgfmathparse{(\pgf@xc-\pgf@xb)/2.*\page@x+(\pgf@xc+\pgf@xb)/2.} 59 | \expandafter\pgf@x\expandafter=\pgfmathresult pt 60 | \pgfmathparse{(\pgf@yc-\pgf@yb)/2.*\page@y+(\pgf@yc+\pgf@yb)/2.} 61 | \expandafter\pgf@y\expandafter=\pgfmathresult pt 62 | } 63 | \makeatother 64 | % 65 | % 66 | %%%%%%%%%%% Put Personal Information Here %%%%%%%%%%% 67 | % 68 | \def\name{Pingbang Hu,\\ 69 | Information Science,\\ 70 | University of Illinois Urbana-Champaign 71 | } 72 | % 73 | %\def\What{, Your degrees, etc.} 74 | % 75 | % Set the name of your Department or School here 76 | %%%%%%%%%%%%%%%%%% School or Department %%%%%%%%%%%%%%% 77 | \def\Where{\hspace{-1.2mm}Information Science,\\University of Illinois Urbana-Champaign} 78 | \def\Address{Your address} 79 | \def\CityZip{Champaign, Illinois, 61820} 80 | \def\Email{\textbf{E-mail}: \href{mailto:mail@gmail.com}{mail@gmail.com}} 81 | \def\TEL{\textbf{Phone}: (+1) 123-456-7890} 82 | \def\school{University of Illinois Urbana-Champaign\\610 East John Street,\\Champaign, Illinois, 61820} 83 | 84 | %%%%%%%%%%%%%%%%%%%%% Signature line %%%%%%%%%%%%%%%%%%%%% 85 | % 86 | % Set your signature line here. 87 | % One can add a signature image in a PDF file using the following code; this requires a file called "signature_block.pdf" to be installed in the same folder as the .tex file. The vertical spacing (\vspace) and the scaling will have to be adjusted to get things to look correct for your particular signature image. Alternatively, comment out the following line in favor of the one labeled "[[Alternate]]" if you want to sign a paper copy of the letter. 88 | % 89 | 90 | \signature{ 91 | \vspace{-2em} {\centering \includegraphics[width=.6\linewidth]{Figures/signature.png}}\\ 92 | \name{} 93 | } 94 | 95 | % This block sets up the address on the right-hand side of the header. 96 | % 97 | % The following lines just compile the information you set up into the LaTex letter variable "address" for later use. 98 | % 99 | %The following command "clears out" the default address so that it can be better set using \tikz 100 | \address{} 101 | 102 | \def\newaddress{ 103 | \Where{}\\ 104 | \Address{}\\ 105 | \CityZip{}\\ 106 | \TEL{}\\ 107 | \Email{}\\ 108 | } 109 | 110 | %%%%%%%%%%% DATE %%%%%%%%%%%%%%%%%%%%%%%%% 111 | \date{\vspace{10mm} \today} %\date{\vspace{10mm} 20 September 2020} 112 | 113 | %%%%%%%%%%% Set the subject here if there is one %%%% 114 | %\subject{Stuff} % optional subject line 115 | 116 | \begin{document} 117 | %%%%%%%% The "To" address goes here. 118 | \begin{letter}{ 119 | \school{} 120 | } 121 | \begin{tikzpicture}[remember picture,overlay,,every node/.style={anchor=center}] 122 | \node[text width=7cm] at (page cs:0.45,0.73){\small \newaddress}; 123 | \end{tikzpicture} 124 | 125 | \opening{Dear Review Committee,} 126 | 127 | %%%%%%%%%% Body of letter %%%%%%%%%%%%%% 128 | \watermark{}{}{} 129 | 130 | \lipsum[1-5] 131 | 132 | \closing{Sincerely,} 133 | \end{letter} 134 | 135 | \end{document} -------------------------------------------------------------------------------- /ListStyle.tex: -------------------------------------------------------------------------------- 1 | \usepackage{listings} 2 | \usepackage[utf8]{inputenc} 3 | \usepackage[english]{babel} 4 | \definecolor{maroon}{cmyk}{0, 0.87, 0.68, 0.32} 5 | \definecolor{halfgray}{gray}{0.55} 6 | \definecolor{ipython_frame}{RGB}{207, 207, 207} 7 | \definecolor{ipython_bg}{RGB}{247, 247, 247} 8 | \definecolor{ipython_red}{RGB}{186, 33, 33} 9 | \definecolor{ipython_green}{RGB}{0, 128, 0} 10 | \definecolor{ipython_cyan}{RGB}{64, 128, 128} 11 | \definecolor{ipython_purple}{RGB}{170, 34, 255} 12 | 13 | \colorlet{mygray}{black!30} 14 | \colorlet{mygreen}{green!60!blue} 15 | \colorlet{mymauve}{red!60!blue} 16 | \lstdefinelanguage{commandline}{ 17 | basicstyle=\ttfamily, 18 | columns=fullflexible, 19 | breakatwhitespace=false, 20 | breaklines=true, 21 | captionpos=b, 22 | commentstyle=\color{mygreen}, 23 | extendedchars=true, 24 | frame=single, 25 | keepspaces=true, 26 | keywordstyle=\color{blue}, 27 | language=c++, 28 | numbers=none, 29 | numbersep=5pt, 30 | numberstyle=\tiny\color{blue}, 31 | rulecolor=\color{mygray}, 32 | showspaces=false, 33 | showtabs=false, 34 | stepnumber=5, 35 | stringstyle=\color{mymauve}, 36 | tabsize=3, 37 | title=\lstname 38 | } 39 | \lstset{ 40 | breaklines=true, 41 | % 42 | extendedchars=true, 43 | literate= 44 | {á}{{\'a}}1 {é}{{\'e}}1 {í}{{\'i}}1 {ó}{{\'o}}1 {ú}{{\'u}}1 45 | {Á}{{\'A}}1 {É}{{\'E}}1 {Í}{{\'I}}1 {Ó}{{\'O}}1 {Ú}{{\'U}}1 46 | {à}{{\`a}}1 {è}{{\`e}}1 {ì}{{\`i}}1 {ò}{{\`o}}1 {ù}{{\`u}}1 47 | {À}{{\`A}}1 {È}{{\'E}}1 {Ì}{{\`I}}1 {Ò}{{\`O}}1 {Ù}{{\`U}}1 48 | {ä}{{\"a}}1 {ë}{{\"e}}1 {ï}{{\"i}}1 {ö}{{\"o}}1 {ü}{{\"u}}1 49 | {Ä}{{\"A}}1 {Ë}{{\"E}}1 {Ï}{{\"I}}1 {Ö}{{\"O}}1 {Ü}{{\"U}}1 50 | {â}{{\^a}}1 {ê}{{\^e}}1 {î}{{\^i}}1 {ô}{{\^o}}1 {û}{{\^u}}1 51 | {Â}{{\^A}}1 {Ê}{{\^E}}1 {Î}{{\^I}}1 {Ô}{{\^O}}1 {Û}{{\^U}}1 52 | {œ}{{\oe}}1 {Œ}{{\OE}}1 {æ}{{\ae}}1 {Æ}{{\AE}}1 {ß}{{\ss}}1 53 | {ç}{{\c c}}1 {Ç}{{\c C}}1 {ø}{{\o}}1 {å}{{\r a}}1 {Å}{{\r A}}1 54 | {€}{{\EUR}}1 {£}{{\pounds}}1 55 | } 56 | 57 | %% 58 | %% Python definition (c) 1998 Michael Weber 59 | %% Additional definitions (2013) Alexis Dimitriadis 60 | %% modified by me (should not have empty lines) 61 | %% 62 | \lstdefinelanguage{iPython}{ 63 | morekeywords={access,and,break,class,continue,def,del,elif,else,except,exec,finally,for,from,global,if,import,in,is,lambda,not,or,pass,print,raise,return,try,while},% 64 | % 65 | % Built-ins 66 | morekeywords=[2]{abs,all,any,basestring,bin,bool,bytearray,callable,chr,classmethod,cmp,compile,complex,delattr,dict,dir,divmod,enumerate,eval,execfile,file,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,list,locals,long,map,max,memoryview,min,next,object,oct,open,ord,pow,property,range,raw_input,reduce,reload,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,unichr,unicode,vars,xrange,zip,apply,buffer,coerce,intern},% 67 | % 68 | sensitive=true,% 69 | morecomment=[l]\#,% 70 | morestring=[b]',% 71 | morestring=[b]",% 72 | % 73 | morestring=[s]{'''}{'''},% used for documentation text (mulitiline strings) 74 | morestring=[s]{"""}{"""},% added by Philipp Matthias Hahn 75 | % 76 | morestring=[s]{r'}{'},% `raw' strings 77 | morestring=[s]{r"}{"},% 78 | morestring=[s]{r'''}{'''},% 79 | morestring=[s]{r"""}{"""},% 80 | morestring=[s]{u'}{'},% unicode strings 81 | morestring=[s]{u"}{"},% 82 | morestring=[s]{u'''}{'''},% 83 | morestring=[s]{u"""}{"""},% 84 | % 85 | % {replace}{replacement}{lenght of replace} 86 | % *{-}{-}{1} will not replace in comments and so on 87 | literate= 88 | {á}{{\'a}}1 {é}{{\'e}}1 {í}{{\'i}}1 {ó}{{\'o}}1 {ú}{{\'u}}1 89 | {Á}{{\'A}}1 {É}{{\'E}}1 {Í}{{\'I}}1 {Ó}{{\'O}}1 {Ú}{{\'U}}1 90 | {à}{{\`a}}1 {è}{{\`e}}1 {ì}{{\`i}}1 {ò}{{\`o}}1 {ù}{{\`u}}1 91 | {À}{{\`A}}1 {È}{{\'E}}1 {Ì}{{\`I}}1 {Ò}{{\`O}}1 {Ù}{{\`U}}1 92 | {ä}{{\"a}}1 {ë}{{\"e}}1 {ï}{{\"i}}1 {ö}{{\"o}}1 {ü}{{\"u}}1 93 | {Ä}{{\"A}}1 {Ë}{{\"E}}1 {Ï}{{\"I}}1 {Ö}{{\"O}}1 {Ü}{{\"U}}1 94 | {â}{{\^a}}1 {ê}{{\^e}}1 {î}{{\^i}}1 {ô}{{\^o}}1 {û}{{\^u}}1 95 | {Â}{{\^A}}1 {Ê}{{\^E}}1 {Î}{{\^I}}1 {Ô}{{\^O}}1 {Û}{{\^U}}1 96 | {œ}{{\oe}}1 {Œ}{{\OE}}1 {æ}{{\ae}}1 {Æ}{{\AE}}1 {ß}{{\ss}}1 97 | {ç}{{\c c}}1 {Ç}{{\c C}}1 {ø}{{\o}}1 {å}{{\r a}}1 {Å}{{\r A}}1 98 | {€}{{\EUR}}1 {£}{{\pounds}}1 99 | % 100 | {^}{{{\color{ipython_purple}\^{}}}}1 101 | {=}{{{\color{ipython_purple}=}}}1 102 | % 103 | {+}{{{\color{ipython_purple}+}}}1 104 | {*}{{{\color{ipython_purple}$^\ast$}}}1 105 | {/}{{{\color{ipython_purple}/}}}1 106 | % 107 | {+=}{{{+=}}}1 108 | {-=}{{{-=}}}1 109 | {*=}{{{$^\ast$=}}}1 110 | {/=}{{{/=}}}1, 111 | literate= 112 | *{-}{{{\color{ipython_purple}-}}}1 113 | {?}{{{\color{ipython_purple}?}}}1, 114 | % 115 | identifierstyle=\color{black}\ttfamily, 116 | commentstyle=\color{ipython_cyan}\ttfamily, 117 | stringstyle=\color{ipython_red}\ttfamily, 118 | keepspaces=true, 119 | showspaces=false, 120 | showstringspaces=false, 121 | % 122 | rulecolor=\color{ipython_frame}, 123 | frame=single, 124 | frameround={t}{t}{t}{t}, 125 | framexleftmargin=6mm, 126 | numbers=left, 127 | numberstyle=\tiny\color{halfgray}, 128 | % 129 | % 130 | backgroundcolor=\color{ipython_bg}, 131 | % extendedchars=true, 132 | basicstyle=\scriptsize, 133 | keywordstyle=\color{ipython_green}\ttfamily, 134 | } 135 | \lstdefinestyle{DOS} 136 | { 137 | backgroundcolor=\color{black}, 138 | basicstyle=\scriptsize\color{white}\ttfamily 139 | } -------------------------------------------------------------------------------- /Math.tex: -------------------------------------------------------------------------------- 1 | % quiver style 2 | \usepackage{tikz-cd} 3 | % `calc` is necessary to draw curved arrows. 4 | \usetikzlibrary{calc} 5 | % `pathmorphing` is necessary to draw squiggly arrows. 6 | \usetikzlibrary{decorations.pathmorphing} 7 | 8 | % A TikZ style for curved arrows of a fixed height, due to AndréC. 9 | \tikzset{curve/.style={settings={#1},to path={(\tikztostart) 10 | .. controls ($(\tikztostart)!\pv{pos}!(\tikztotarget)!\pv{height}!270:(\tikztotarget)$) 11 | and ($(\tikztostart)!1-\pv{pos}!(\tikztotarget)!\pv{height}!270:(\tikztotarget)$) 12 | .. (\tikztotarget)\tikztonodes}}, 13 | settings/.code={\tikzset{quiver/.cd,#1} 14 | \def\pv##1{\pgfkeysvalueof{/tikz/quiver/##1}}}, 15 | quiver/.cd,pos/.initial=0.35,height/.initial=0} 16 | 17 | % TikZ arrowhead/tail styles. 18 | \tikzset{tail reversed/.code={\pgfsetarrowsstart{tikzcd to}}} 19 | \tikzset{2tail/.code={\pgfsetarrowsstart{Implies[reversed]}}} 20 | \tikzset{2tail reversed/.code={\pgfsetarrowsstart{Implies}}} 21 | % TikZ arrow styles. 22 | \tikzset{no body/.style={/tikz/dash pattern=on 0 off 1mm}} 23 | 24 | % useful macro for class 25 | \newcommand{\at}[3]{\left.#1\right\vert_{#2}^{#3}} 26 | \newcommand\quotient[2]{ 27 | \mathchoice 28 | {% \displaystyle 29 | \text{\raise1ex\hbox{$#1$}\Big/\lower1ex\hbox{$#2$}}% 30 | } 31 | {% \textstyle 32 | #1\,/\,#2 33 | } 34 | {% \scriptstyle 35 | #1\,/\,#2 36 | } 37 | {% \scriptscriptstyle 38 | #1\,/\,#2 39 | } 40 | } 41 | 42 | \newcommand{\True}{\textsf{True}} 43 | \newcommand{\T}{\textsf{T}} 44 | \newcommand{\False}{\textsf{False}} 45 | \newcommand{\F}{\textsf{F}} 46 | \newcommand{\act}{\rotatebox[origin=c]{-180}{\(\,\circlearrowright\,\)}} 47 | 48 | \usepackage{physics} 49 | \usepackage{complexity} 50 | 51 | \DeclareMathOperator{\id}{id} 52 | \DeclareMathOperator{\Span}{span} 53 | \DeclareMathOperator{\supp}{supp} 54 | \DeclareMathOperator{\vol}{vol} 55 | \DeclareMathOperator{\dist}{dist} 56 | \DeclareMathOperator{\diam}{diam} 57 | \DeclareMathOperator{\im}{Im} 58 | \DeclareMathOperator{\sgn}{sgn} 59 | \DeclareMathOperator{\Int}{Int} 60 | \DeclareMathOperator{\diag}{diag} 61 | \DeclareMathOperator{\dom}{dom} 62 | \DeclareMathOperator*{\argmax}{arg\,max} 63 | \DeclareMathOperator*{\argmin}{arg\,min} 64 | \DeclareMathOperator{\Var}{Var} 65 | \DeclareMathOperator{\Cov}{Cov} 66 | \DeclareMathOperator{\Corr}{Corr} 67 | 68 | \let\implies\Rightarrow 69 | \let\impliedby\Leftarrow 70 | \let\iff\Leftrightarrow 71 | 72 | \usepackage{stmaryrd} % for \lightning 73 | \newcommand\conta{\scalebox{1.1}{\(\lightning\)}} 74 | 75 | \usepackage{bm} 76 | \usepackage{bbm} 77 | 78 | % figure support 79 | \usepackage{import} 80 | \usepackage{xifthen} 81 | \pdfminorversion=7 82 | \usepackage{pdfpages} 83 | \usepackage{transparent} 84 | \newcommand{\incfig}[2][\columnwidth]{% 85 | \def\svgwidth{#1} 86 | \import{Figures/}{#2.pdf_tex} 87 | } -------------------------------------------------------------------------------- /Note/Figures/test.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sleepymalc/LaTeX-Template/e0958fee7ef86757e1e7603680ce87bedbe35f31/Note/Figures/test.pdf -------------------------------------------------------------------------------- /Note/Figures/test.pdf_tex: -------------------------------------------------------------------------------- 1 | %% Creator: Inkscape 1.1.1 (c3084ef, 2021-09-22), www.inkscape.org 2 | %% PDF/EPS/PS + LaTeX output extension by Johan Engelen, 2010 3 | %% Accompanies image file 'test.pdf' (pdf, eps, ps) 4 | %% 5 | %% To include the image in your LaTeX document, write 6 | %% \input{<filename>.pdf_tex} 7 | %% instead of 8 | %% \includegraphics{<filename>.pdf} 9 | %% To scale the image, write 10 | %% \def\svgwidth{<desired width>} 11 | %% \input{<filename>.pdf_tex} 12 | %% instead of 13 | %% \includegraphics[width=<desired width>]{<filename>.pdf} 14 | %% 15 | %% Images with a different path to the parent latex file can 16 | %% be accessed with the `import' package (which may need to be 17 | %% installed) using 18 | %% \usepackage{import} 19 | %% in the preamble, and then including the image with 20 | %% \import{<path to file>}{<filename>.pdf_tex} 21 | %% Alternatively, one can specify 22 | %% \graphicspath{{<path to file>/}} 23 | %% 24 | %% For more information, please see info/svg-inkscape on CTAN: 25 | %% http://tug.ctan.org/tex-archive/info/svg-inkscape 26 | %% 27 | \begingroup% 28 | \makeatletter% 29 | \providecommand\color[2][]{% 30 | \errmessage{(Inkscape) Color is used for the text in Inkscape, but the package 'color.sty' is not loaded}% 31 | \renewcommand\color[2][]{}% 32 | }% 33 | \providecommand\transparent[1]{% 34 | \errmessage{(Inkscape) Transparency is used (non-zero) for the text in Inkscape, but the package 'transparent.sty' is not loaded}% 35 | \renewcommand\transparent[1]{}% 36 | }% 37 | \providecommand\rotatebox[2]{#2}% 38 | \newcommand*\fsize{\dimexpr\f@size pt\relax}% 39 | \newcommand*\lineheight[1]{\fontsize{\fsize}{#1\fsize}\selectfont}% 40 | \ifx\svgwidth\undefined% 41 | \setlength{\unitlength}{680.31496063bp}% 42 | \ifx\svgscale\undefined% 43 | \relax% 44 | \else% 45 | \setlength{\unitlength}{\unitlength * \real{\svgscale}}% 46 | \fi% 47 | \else% 48 | \setlength{\unitlength}{\svgwidth}% 49 | \fi% 50 | \global\let\svgwidth\undefined% 51 | \global\let\svgscale\undefined% 52 | \makeatother% 53 | \begin{picture}(1,0.14583333)% 54 | \lineheight{1}% 55 | \setlength\tabcolsep{0pt}% 56 | \put(0,0){\includegraphics[width=\unitlength,page=1]{test.pdf}}% 57 | \put(0.41898896,0.00030187){\makebox(0,0)[lt]{\lineheight{1.25}\smash{\begin{tabular}[t]{l}\(c\)\end{tabular}}}}% 58 | \put(0.51960424,0.02277743){\makebox(0,0)[lt]{\lineheight{1.25}\smash{\begin{tabular}[t]{l}\(b\)\end{tabular}}}}% 59 | \put(0.52392693,0.09193961){\makebox(0,0)[lt]{\lineheight{1.25}\smash{\begin{tabular}[t]{l}\(a\)\end{tabular}}}}% 60 | \put(0.45898924,0.08628686){\makebox(0,0)[lt]{\lineheight{1.25}\smash{\begin{tabular}[t]{l}\(S\)\end{tabular}}}}% 61 | \put(0,0){\includegraphics[width=\unitlength,page=2]{test.pdf}}% 62 | \end{picture}% 63 | \endgroup% 64 | -------------------------------------------------------------------------------- /Note/Figures/test.svg: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="UTF-8" standalone="no"?> 2 | <!-- Created with Inkscape (http://www.inkscape.org/) --> 3 | 4 | <svg 5 | width="240mm" 6 | height="35mm" 7 | viewBox="0 0 240 35" 8 | version="1.1" 9 | id="svg8" 10 | inkscape:version="1.1.1 (c3084ef, 2021-09-22)" 11 | sodipodi:docname="test.svg" 12 | xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" 13 | xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" 14 | xmlns="http://www.w3.org/2000/svg" 15 | xmlns:svg="http://www.w3.org/2000/svg" 16 | xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 17 | xmlns:cc="http://creativecommons.org/ns#" 18 | xmlns:dc="http://purl.org/dc/elements/1.1/"> 19 | <defs 20 | id="defs2"> 21 | <inkscape:path-effect 22 | effect="spiro" 23 | id="path-effect884" 24 | is_visible="true" 25 | lpeversion="1" /> 26 | <inkscape:path-effect 27 | effect="spiro" 28 | id="path-effect11653" 29 | is_visible="true" 30 | lpeversion="1" /> 31 | <inkscape:path-effect 32 | effect="spiro" 33 | id="path-effect11649" 34 | is_visible="true" 35 | lpeversion="1" /> 36 | <inkscape:path-effect 37 | effect="spiro" 38 | id="path-effect11632" 39 | is_visible="true" 40 | lpeversion="1" /> 41 | <inkscape:path-effect 42 | effect="spiro" 43 | id="path-effect11628" 44 | is_visible="true" 45 | lpeversion="1" /> 46 | <inkscape:path-effect 47 | effect="spiro" 48 | id="path-effect11473" 49 | is_visible="true" 50 | lpeversion="1" /> 51 | <inkscape:path-effect 52 | effect="spiro" 53 | id="path-effect11469" 54 | is_visible="true" 55 | lpeversion="1" /> 56 | <inkscape:path-effect 57 | effect="spiro" 58 | id="path-effect9968" 59 | is_visible="true" 60 | lpeversion="1" /> 61 | <marker 62 | id="marker-arrow-1.0" 63 | orient="auto-start-reverse" 64 | refY="0" 65 | refX="0" 66 | markerHeight="3" 67 | markerWidth="2"> 68 | <g 69 | transform="scale(1.3933333)" 70 | id="g1270"><path 71 | d="M -1.55415,2.0722 C -1.42464,1.29512 0,0.1295 0.38852,0 0,-0.1295 -1.42464,-1.29512 -1.55415,-2.0722" 72 | style="fill:none;stroke:#000000;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1" 73 | id="path1268" /> 74 | 75 | 76 | 77 | 0" /> 78 | </g> 79 | </marker> 80 | <marker 81 | id="marker920" 82 | orient="auto-start-reverse" 83 | refY="0" 84 | refX="0" 85 | markerHeight="3" 86 | markerWidth="2"> 87 | <g 88 | transform="scale(1.3933333)" 89 | id="g918"><path 90 | d="M -1.55415,2.0722 C -1.42464,1.29512 0,0.1295 0.38852,0 0,-0.1295 -1.42464,-1.29512 -1.55415,-2.0722" 91 | style="fill:none;stroke:#000000;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1" 92 | id="path916" /> 93 | 94 | 95 | 96 | 0" /> 97 | </g> 98 | </marker> 99 | <marker 100 | id="marker926" 101 | orient="auto-start-reverse" 102 | refY="0" 103 | refX="0" 104 | markerHeight="3" 105 | markerWidth="2"> 106 | <g 107 | transform="scale(1.3933333)" 108 | id="g924"><path 109 | d="M -1.55415,2.0722 C -1.42464,1.29512 0,0.1295 0.38852,0 0,-0.1295 -1.42464,-1.29512 -1.55415,-2.0722" 110 | style="fill:none;stroke:#000000;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1" 111 | id="path922" /> 112 | 113 | 114 | 115 | 0" /> 116 | </g> 117 | </marker> 118 | </defs> 119 | <sodipodi:namedview 120 | id="base" 121 | pagecolor="#ffffff" 122 | bordercolor="#666666" 123 | borderopacity="1.0" 124 | inkscape:pageopacity="0.0" 125 | inkscape:pageshadow="2" 126 | inkscape:zoom="1.3012015" 127 | inkscape:cx="498.76979" 128 | inkscape:cy="77.236308" 129 | inkscape:document-units="mm" 130 | inkscape:current-layer="layer1" 131 | showgrid="false" 132 | showborder="true" 133 | width="200mm" 134 | showguides="true" 135 | inkscape:guide-bbox="true" 136 | inkscape:window-width="1280" 137 | inkscape:window-height="680" 138 | inkscape:window-x="1728" 139 | inkscape:window-y="697" 140 | inkscape:window-maximized="0" 141 | inkscape:pagecheckerboard="0" 142 | height="80mm"> 143 | <inkscape:grid 144 | type="xygrid" 145 | id="grid815" 146 | units="mm" 147 | spacingx="10" 148 | spacingy="10" 149 | empspacing="4" 150 | dotted="false" /> 151 | </sodipodi:namedview> 152 | <metadata 153 | id="metadata5"> 154 | <rdf:RDF> 155 | <cc:Work 156 | rdf:about=""> 157 | <dc:format>image/svg+xml</dc:format> 158 | <dc:type 159 | rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> 160 | </cc:Work> 161 | </rdf:RDF> 162 | </metadata> 163 | <g 164 | inkscape:label="Layer 1" 165 | inkscape:groupmode="layer" 166 | id="layer1" 167 | transform="translate(0,-177)"> 168 | <path 169 | style="font-variation-settings:normal;opacity:0.99;fill:none;fill-opacity:1;fill-rule:evenodd;stroke:#d31cf7;stroke-width:0.264583;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:0.396875, 0.396875;stroke-dashoffset:0;stroke-opacity:1;marker-start:none;marker-end:none;stop-color:#000000;stop-opacity:1" 170 | id="path2585-8-9" 171 | sodipodi:type="arc" 172 | sodipodi:cx="102.84464" 173 | sodipodi:cy="196.21873" 174 | sodipodi:rx="2.6283967" 175 | sodipodi:ry="9.3306799" 176 | sodipodi:start="4.6807179" 177 | sodipodi:end="1.8282527" 178 | sodipodi:open="true" 179 | sodipodi:arc-type="arc" 180 | d="m 102.76141,186.89273 a 2.6283967,9.3306799 0 0 1 2.4397,5.19292 2.6283967,9.3306799 0 0 1 -0.32045,10.03404 2.6283967,9.3306799 0 0 1 -2.70526,3.12219" /> 181 | <path 182 | style="font-variation-settings:normal;opacity:0.99;vector-effect:none;fill:none;fill-opacity:1;fill-rule:evenodd;stroke:#d31cf7;stroke-width:0.264583;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;-inkscape-stroke:none;marker-start:none;marker-end:url(#marker-arrow-1.0);stop-color:#000000;stop-opacity:1" 183 | id="path2773-3-2" 184 | sodipodi:type="arc" 185 | sodipodi:cx="102.84466" 186 | sodipodi:cy="196.21873" 187 | sodipodi:rx="2.6283967" 188 | sodipodi:ry="9.3306799" 189 | sodipodi:start="1.4300939" 190 | sodipodi:end="4.7494607" 191 | sodipodi:open="true" 192 | sodipodi:arc-type="arc" 193 | d="m 103.21326,205.45721 a 2.6283967,9.3306799 0 0 1 -2.5304,-3.93121 2.6283967,9.3306799 0 0 1 -0.14306,-9.79219 2.6283967,9.3306799 0 0 1 2.40227,-4.83934" /> 194 | <path 195 | style="font-variation-settings:normal;opacity:0.99;fill:none;fill-opacity:1;fill-rule:evenodd;stroke:#f6820c;stroke-width:0.264583;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:0.396875, 0.396875;stroke-dashoffset:0;stroke-opacity:1;marker-start:none;marker-end:none;stop-color:#000000;stop-opacity:1" 196 | id="path2585-8-0" 197 | sodipodi:type="arc" 198 | sodipodi:cx="122.06157" 199 | sodipodi:cy="186.88141" 200 | sodipodi:rx="2.7149487" 201 | sodipodi:ry="7.0303741" 202 | sodipodi:start="4.6807179" 203 | sodipodi:end="1.8282527" 204 | sodipodi:open="true" 205 | sodipodi:arc-type="arc" 206 | d="m 121.9756,179.85456 a 2.7149487,7.0303741 0 0 1 2.52004,3.9127 2.7149487,7.0303741 0 0 1 -0.33101,7.56033 2.7149487,7.0303741 0 0 1 -2.79435,2.35248" /> 207 | <path 208 | style="font-variation-settings:normal;opacity:0.99;vector-effect:none;fill:none;fill-opacity:1;fill-rule:evenodd;stroke:#f6820c;stroke-width:0.264583;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;-inkscape-stroke:none;marker-start:none;marker-end:url(#marker-arrow-1.0);stop-color:#000000;stop-opacity:1" 209 | id="path2773-3-3" 210 | sodipodi:type="arc" 211 | sodipodi:cx="122.06157" 212 | sodipodi:cy="186.88141" 213 | sodipodi:rx="2.7149487" 214 | sodipodi:ry="7.0303741" 215 | sodipodi:start="1.5006934" 216 | sodipodi:end="4.7494607" 217 | sodipodi:open="true" 218 | sodipodi:arc-type="arc" 219 | d="m 122.25174,193.89451 a 2.7149487,7.0303741 0 0 1 -2.49334,-3.29072 2.7149487,7.0303741 0 0 1 -0.0462,-7.24577 2.7149487,7.0303741 0 0 1 2.45,-3.50215" /> 220 | <path 221 | style="font-variation-settings:normal;opacity:0.99;fill:none;fill-opacity:1;fill-rule:evenodd;stroke:#f6820c;stroke-width:0.264583;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:0.396875, 0.396875;stroke-dashoffset:0;stroke-opacity:1;marker-start:none;marker-end:none;stop-color:#000000;stop-opacity:1" 222 | id="path2585-8-8" 223 | sodipodi:type="arc" 224 | sodipodi:cx="122.10217" 225 | sodipodi:cy="204.83546" 226 | sodipodi:rx="2.1229553" 227 | sodipodi:ry="5.8824692" 228 | sodipodi:start="4.6807179" 229 | sodipodi:end="1.8282527" 230 | sodipodi:open="true" 231 | sodipodi:arc-type="arc" 232 | d="m 122.03495,198.95595 a 2.1229553,5.8824692 0 0 1 1.97054,3.27383 2.1229553,5.8824692 0 0 1 -0.25883,6.3259 2.1229553,5.8824692 0 0 1 -2.18504,1.96837" /> 233 | <path 234 | style="font-variation-settings:normal;opacity:0.99;vector-effect:none;fill:none;fill-opacity:1;fill-rule:evenodd;stroke:#f6820c;stroke-width:0.264583;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;-inkscape-stroke:none;marker-start:none;marker-end:url(#marker-arrow-1.0);stop-color:#000000;stop-opacity:1" 235 | id="path2773-3-36" 236 | sodipodi:type="arc" 237 | sodipodi:cx="122.10217" 238 | sodipodi:cy="204.83546" 239 | sodipodi:rx="2.1228485" 240 | sodipodi:ry="5.8824692" 241 | sodipodi:start="1.6259331" 242 | sodipodi:end="4.7494607" 243 | sodipodi:open="true" 244 | sodipodi:arc-type="arc" 245 | d="m 121.98519,210.70899 a 2.1228485,5.8824692 0 0 1 -2.00361,-6.14464 2.1228485,5.8824692 0 0 1 2.19927,-5.60731" /> 246 | <path 247 | style="fill:none;fill-opacity:1;stroke:#000000;stroke-width:0.264583;stroke-linecap:butt;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1;marker-start:none;marker-end:none" 248 | d="m 102.94208,186.59398 c -3.26422,0.43569 -6.549533,-0.42194 -9.716772,-1.32391 -3.167239,-0.90198 -6.402233,-1.866 -9.688059,-1.64621 -3.699664,0.24747 -7.267037,2.07249 -9.63534,4.92554 -2.368302,2.85305 -3.50533,6.69381 -3.075449,10.37674 0.429881,3.68293 2.419792,7.15742 5.37668,9.39473 2.956888,2.23732 6.83989,3.20773 10.50224,2.62813 2.725443,-0.43133 5.247949,-1.66082 7.759443,-2.80383 2.511494,-1.14302 5.126234,-2.23005 7.883227,-2.34438 3.63362,-0.15069 7.09346,1.39228 10.44577,2.80222 1.67616,0.70497 3.37018,1.38659 5.13545,1.82283 1.76527,0.43625 3.61371,0.62206 5.40768,0.32516 2.8554,-0.47257 5.35761,-2.11261 7.82151,-3.63111 2.4639,-1.5185 5.11788,-2.99214 8.0112,-3.06536 1.76851,-0.0447 3.50666,0.44203 5.17799,1.02191 1.67134,0.57987 3.31684,1.25954 5.04779,1.62483 3.75827,0.79312 7.83484,-0.003 10.99067,-2.19239 3.15583,-2.18961 5.33513,-5.75108 5.79936,-9.56397 0.46423,-3.81289 -0.80929,-7.81286 -3.4287,-10.6222 -2.6194,-2.80933 -6.54444,-4.36195 -10.37329,-4.05604 -2.37115,0.18944 -4.63125,1.04208 -6.8665,1.85566 -2.23524,0.81358 -4.52755,1.60515 -6.90553,1.66372 -3.009,0.0741 -5.90754,-1.02664 -8.72,-2.09886 -2.81246,-1.07222 -5.72529,-2.14885 -8.73259,-2.0235 -3.27159,0.13637 -6.30128,1.67906 -9.17276,3.25276 -2.87147,1.57371 -5.79837,3.24432 -9.04402,3.67753 z" 249 | id="path9966" 250 | inkscape:path-effect="#path-effect9968" 251 | inkscape:original-d="m 102.94208,186.59398 c -4.291723,0.83534 -12.672283,-8.44809 -19.404831,-2.97012 -4.2171,3.43127 9.108648,27.25941 3.168131,27.32514 -6.69234,0.0741 4.950477,-8.38208 15.64267,-5.14821 10.69221,3.23387 11.22076,3.2344 20.9889,4.95021 9.76815,1.7158 7.71463,-4.58411 15.83271,-6.69647 8.11807,-2.11235 4.87982,0.66692 10.22578,2.64674 5.34596,1.97982 -1028.31548,29.33738 2.98804,-26.4346 6.7134,-0.36305 -3.14532,6.35776 -13.77203,3.51938 -10.62671,-2.83838 -8.7269,-2.41135 -17.45259,-4.12236 -10.86724,-2.13094 -8.39467,5.01854 -18.21678,6.93029 z" 252 | sodipodi:nodetypes="sssssssssss" /> 253 | <path 254 | style="fill:none;fill-opacity:1;stroke:#000000;stroke-width:0.264583;stroke-linecap:butt;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1;marker-start:none;marker-end:none" 255 | d="m 80.369119,196.09838 c 1.475843,1.80079 3.637018,3.02545 5.94025,3.36614 1.610308,0.23819 3.281468,0.0521 4.799903,-0.53461 1.518436,-0.58667 2.880617,-1.57251 3.912455,-2.83153" 256 | id="path11467" 257 | inkscape:path-effect="#path-effect11469" 258 | inkscape:original-d="m 80.369119,196.09838 c 1.98034,1.12231 3.96043,2.24436 5.94025,3.36614 1.979821,1.12179 5.808508,-2.24383 8.712358,-3.36614" /> 259 | <path 260 | style="fill:none;fill-opacity:1;stroke:#000000;stroke-width:0.264583;stroke-linecap:butt;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1;marker-start:none;marker-end:none" 261 | d="m 83.537249,198.67249 c 1.113227,-1.17227 2.740521,-1.83798 4.35618,-1.78207 1.390356,0.0481 2.756129,0.62317 3.762158,1.58406" 262 | id="path11471" 263 | inkscape:path-effect="#path-effect11473" 264 | inkscape:original-d="m 83.537249,198.67249 c 1.452331,-0.59376 2.904391,-1.18779 4.35618,-1.78207 1.451798,-0.5943 2.508368,1.0563 3.762158,1.58406" /> 265 | <path 266 | style="fill:none;fill-opacity:1;stroke:#000000;stroke-width:0.264583;stroke-linecap:butt;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1;marker-start:none;marker-end:none" 267 | d="m 144.89498,191.91552 c 1.47584,1.80079 3.63702,3.02545 5.94025,3.36614 1.61031,0.23819 3.28147,0.0521 4.7999,-0.53461 1.51844,-0.58667 2.88062,-1.57251 3.91246,-2.83153" 268 | id="path11467-5" 269 | inkscape:path-effect="#path-effect11628" 270 | inkscape:original-d="m 144.89498,191.91552 c 1.98034,1.12231 3.96043,2.24436 5.94025,3.36614 1.97982,1.12179 5.80851,-2.24383 8.71236,-3.36614" /> 271 | <path 272 | style="fill:none;fill-opacity:1;stroke:#000000;stroke-width:0.264583;stroke-linecap:butt;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1;marker-start:none;marker-end:none" 273 | d="m 148.06311,194.48963 c 1.11323,-1.17227 2.74052,-1.83798 4.35618,-1.78207 1.39036,0.0481 2.75613,0.62317 3.76216,1.58406" 274 | id="path11471-8" 275 | inkscape:path-effect="#path-effect11632" 276 | inkscape:original-d="m 148.06311,194.48963 c 1.45233,-0.59376 2.90439,-1.18779 4.35618,-1.78207 1.4518,-0.5943 2.50837,1.0563 3.76216,1.58406" /> 277 | <path 278 | style="fill:none;fill-opacity:1;stroke:#000000;stroke-width:0.264583;stroke-linecap:butt;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1;marker-start:none;marker-end:none" 279 | d="m 112.1725,194.63558 c 1.68629,1.55847 3.73675,2.7204 5.94025,3.36614 2.84697,0.83432 5.94361,0.79496 8.76846,-0.11145 2.82485,-0.9064 5.36626,-2.67611 7.1963,-5.01113" 280 | id="path11467-9" 281 | inkscape:path-effect="#path-effect11649" 282 | inkscape:original-d="m 112.1725,194.63558 c 1.98034,1.12231 3.96043,2.24436 5.94025,3.36614 1.97982,1.12179 13.06091,-4.00027 15.96476,-5.12258" 283 | sodipodi:nodetypes="csc" /> 284 | <path 285 | style="fill:none;fill-opacity:1;stroke:#000000;stroke-width:0.264583;stroke-linecap:butt;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1;marker-start:none;marker-end:none" 286 | d="m 115.49729,196.9087 c 1.91209,-1.88583 4.63371,-2.92162 7.31579,-2.78425 2.34631,0.12017 4.63661,1.12671 6.31183,2.77391" 287 | id="path11471-6" 288 | inkscape:path-effect="#path-effect11653" 289 | inkscape:original-d="m 115.49729,196.9087 c 1.45233,-0.59376 5.864,-2.18997 7.31579,-2.78425 1.4518,-0.5943 5.05804,2.24615 6.31183,2.77391" 290 | sodipodi:nodetypes="csc" /> 291 | <text 292 | xml:space="preserve" 293 | style="font-size:5.64444px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;stroke-width:0.264583" 294 | x="100.55735" 295 | y="211.92755" 296 | id="text12621"><tspan 297 | sodipodi:role="line" 298 | id="tspan12619" 299 | style="stroke-width:0.264583" 300 | x="100.55735" 301 | y="211.92755">\(c\)</tspan></text> 302 | <text 303 | xml:space="preserve" 304 | style="font-size:5.64444px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;stroke-width:0.264583" 305 | x="124.70502" 306 | y="206.53342" 307 | id="text12621-4"><tspan 308 | sodipodi:role="line" 309 | id="tspan12619-0" 310 | style="stroke-width:0.264583" 311 | x="124.70502" 312 | y="206.53342">\(b\)</tspan></text> 313 | <text 314 | xml:space="preserve" 315 | style="font-size:5.64444px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;stroke-width:0.264583" 316 | x="125.74246" 317 | y="189.93449" 318 | id="text12621-3"><tspan 319 | sodipodi:role="line" 320 | id="tspan12619-8" 321 | style="stroke-width:0.264583" 322 | x="125.74246" 323 | y="189.93449">\(a\)</tspan></text> 324 | <text 325 | xml:space="preserve" 326 | style="font-size:5.64444px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;stroke-width:0.264583" 327 | x="110.15742" 328 | y="191.29115" 329 | id="text3495-9"><tspan 330 | sodipodi:role="line" 331 | id="tspan3493-4" 332 | style="stroke-width:0.264583" 333 | x="110.15742" 334 | y="191.29115">\(S\)</tspan></text> 335 | <path 336 | style="opacity:0.99;fill:#000000;fill-opacity:0.12;stroke:none;stroke-width:0.142482;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1;marker-start:none;marker-end:none" 337 | d="m 118.6531,210.36791 c -1.62085,-0.34054 -3.01742,-0.83095 -6.74293,-2.36779 -3.37863,-1.39374 -5.88051,-2.16078 -7.44086,-2.28127 -0.68364,-0.0528 -1.08653,-0.14412 -1.06861,-0.24225 0.0162,-0.0886 -0.14178,-0.14589 -0.36117,-0.13095 -2.11924,0.14437 -3.372193,-8.61682 -2.08919,-14.60862 0.34425,-1.60769 0.92512,-3.02778 1.19596,-2.92385 0.10073,0.0386 0.34758,-0.0942 0.54857,-0.29515 0.20098,-0.20098 0.43246,-0.36542 0.51438,-0.36542 0.0819,0 0.14896,-0.0892 0.14896,-0.19827 0,-0.12906 0.34867,-0.277 0.9989,-0.42384 1.53513,-0.34668 3.68937,-1.2492 6.19645,-2.59601 3.56277,-1.91392 5.17268,-2.69794 6.50707,-3.16892 1.28052,-0.45197 3.10759,-0.87956 3.75831,-0.87956 h 0.37488 l -0.37568,0.44648 c -0.57247,0.68034 -0.90602,1.42441 -1.25257,2.79417 -0.26822,1.06015 -0.31548,1.63278 -0.31465,3.81222 7.9e-4,2.2151 0.0449,2.72701 0.32308,3.7556 0.38234,1.41361 0.76021,2.21044 1.3356,2.81642 l 0.4228,0.44528 -0.68553,0.1028 c -1.5007,0.22505 -3.36593,1.07957 -4.68813,2.14778 l -0.57907,0.46784 -0.70327,-0.4348 c -0.38679,-0.23914 -1.09917,-0.74829 -1.58306,-1.13144 -0.61082,-0.48367 -0.91218,-0.64424 -0.98572,-0.52524 -0.14232,0.23028 1.00265,1.21142 2.40097,2.05744 1.77037,1.07111 4.7475,2.04824 6.26207,2.05529 0.57553,0.003 0.96084,0.20027 0.63463,0.32545 -0.35681,0.13692 -0.93248,1.27115 -1.22432,2.41225 -0.74295,2.90489 -0.38005,7.01609 0.76874,8.70892 l 0.35267,0.5197 -0.67249,-0.0101 c -0.36988,-0.006 -1.25943,-0.13343 -1.97679,-0.28414 z m -14.67518,-5.32922 c 0.10048,-0.26186 -0.16666,-0.44336 -0.36324,-0.24679 -0.15209,0.15209 -0.0427,0.45595 0.16414,0.45595 0.0654,0 0.15495,-0.0941 0.1991,-0.20916 z m 0.35054,-0.7526 c -0.0578,-0.30033 -0.31071,-0.28139 -0.37514,0.0281 -0.0269,0.12908 0.0517,0.22124 0.18855,0.22124 0.14674,0 0.21663,-0.0934 0.18659,-0.24934 z m 0.31209,-0.7599 c 0,-0.34724 -0.33295,-0.29816 -0.40227,0.0593 -0.0273,0.14059 0.0454,0.23753 0.1781,0.23753 0.13217,0 0.22417,-0.12182 0.22417,-0.29683 z m 0.25979,-0.74797 c 0.0273,-0.1406 -0.0454,-0.23754 -0.1781,-0.23754 -0.13217,0 -0.22417,0.12183 -0.22417,0.29684 0,0.34724 0.33295,0.29816 0.40227,-0.0593 z m 0.16766,-0.72781 c 0,-0.11293 -0.0641,-0.24495 -0.14248,-0.29338 -0.0784,-0.0484 -0.14248,-0.0575 -0.14248,-0.0201 0,0.0374 -0.0389,0.16942 -0.0865,0.29337 -0.0568,0.1479 -0.008,0.22538 0.14248,0.22538 0.12593,0 0.22897,-0.0924 0.22897,-0.20531 z m 0.14248,-0.79207 c 0,-0.15673 -0.0641,-0.28496 -0.14248,-0.28496 -0.0784,0 -0.14248,0.0268 -0.14248,0.0596 0,0.0328 -0.0389,0.161 -0.0865,0.28496 -0.0567,0.1479 -0.008,0.22538 0.14248,0.22538 0.13398,0 0.22897,-0.11822 0.22897,-0.28497 z m 0.11536,-0.81927 c -0.0578,-0.30033 -0.31071,-0.28139 -0.37515,0.0281 -0.0269,0.12908 0.0517,0.22125 0.18855,0.22125 0.14675,0 0.21663,-0.0934 0.1866,-0.24935 z m 0.1696,-0.74803 c 0,-0.15831 -0.095,-0.28496 -0.21372,-0.28496 -0.11873,0 -0.21372,0.12665 -0.21372,0.28496 0,0.15831 0.095,0.28496 0.21372,0.28496 0.11874,0 0.21372,-0.12665 0.21372,-0.28496 z m 0.047,-0.77186 c 0.0426,-0.11106 -0.0146,-0.23728 -0.12724,-0.28049 -0.13526,-0.0519 -0.20473,0.0166 -0.20473,0.20193 0,0.32421 0.21791,0.37578 0.33197,0.0786 z m 0.0955,-0.79544 c 0,-0.15832 -0.095,-0.28497 -0.21372,-0.28497 -0.11874,0 -0.21373,0.12665 -0.21373,0.28497 0,0.15831 0.095,0.28496 0.21373,0.28496 0.11873,0 0.21372,-0.12665 0.21372,-0.28496 z m 0,-0.8549 c 0,-0.15831 -0.095,-0.28496 -0.21372,-0.28496 -0.11874,0 -0.21373,0.12665 -0.21373,0.28496 0,0.15832 0.095,0.28497 0.21373,0.28497 0.11873,0 0.21372,-0.12665 0.21372,-0.28497 z m 0,-0.71241 c 0,-0.15831 -0.095,-0.28496 -0.21372,-0.28496 -0.21692,0 -0.29227,0.3014 -0.11874,0.47494 0.18064,0.18063 0.33246,0.0939 0.33246,-0.18998 z m 0,-0.85489 c 0,-0.15832 -0.095,-0.28497 -0.21372,-0.28497 -0.11874,0 -0.21373,0.12665 -0.21373,0.28497 0,0.15831 0.095,0.28496 0.21373,0.28496 0.11873,0 0.21372,-0.12665 0.21372,-0.28496 z m 0,-0.78365 c 0,-0.11755 -0.0962,-0.21373 -0.21372,-0.21373 -0.11755,0 -0.21373,0.0962 -0.21373,0.21373 0,0.11754 0.0962,0.21372 0.21373,0.21372 0.11754,0 0.21372,-0.0962 0.21372,-0.21372 z m 0,-0.78366 c 0,-0.15831 -0.095,-0.28496 -0.21372,-0.28496 -0.11874,0 -0.21373,0.12665 -0.21373,0.28496 0,0.15832 0.095,0.28497 0.21373,0.28497 0.11873,0 0.21372,-0.12665 0.21372,-0.28497 z m -0.14249,-0.85042 c 0,-0.18531 -0.0695,-0.25383 -0.20472,-0.20193 -0.1126,0.0432 -0.16986,0.16943 -0.12724,0.28049 0.11406,0.29723 0.33196,0.24566 0.33196,-0.0786 z m 0,-0.71688 c 0,-0.15831 -0.095,-0.28496 -0.21372,-0.28496 -0.11873,0 -0.21372,0.12665 -0.21372,0.28496 0,0.15831 0.095,0.28496 0.21372,0.28496 0.11874,0 0.21372,-0.12665 0.21372,-0.28496 z m -0.14248,-0.86677 c 0,-0.34723 -0.33295,-0.29815 -0.40227,0.0593 -0.0273,0.1406 0.0454,0.23754 0.1781,0.23754 0.13217,0 0.22417,-0.12182 0.22417,-0.29684 z m -0.14248,-0.70053 c 0,-0.15832 -0.095,-0.28497 -0.21372,-0.28497 -0.11874,0 -0.21372,0.12665 -0.21372,0.28497 0,0.15831 0.095,0.28496 0.21372,0.28496 0.11873,0 0.21372,-0.12665 0.21372,-0.28496 z m -0.16961,-0.81928 c -0.0578,-0.30033 -0.3107,-0.28139 -0.37515,0.0281 -0.0269,0.12908 0.0517,0.22125 0.18855,0.22125 0.14676,0 0.21664,-0.0934 0.1866,-0.24935 z m -0.11754,-0.56993 c -10e-4,-0.0588 -0.0581,-0.19522 -0.12655,-0.30321 -0.15812,-0.24965 -0.45557,-0.0782 -0.34848,0.20092 0.0815,0.21241 0.47903,0.29802 0.47503,0.10229 z m -0.35402,-0.90043 c 0,-0.10995 -0.10718,-0.22054 -0.23817,-0.24577 -0.17939,-0.0345 -0.21887,0.028 -0.15996,0.25322 0.0848,0.32437 0.39813,0.3185 0.39813,-0.007 z m -0.2464,-0.6757 c 0.031,-0.093 -0.0479,-0.20914 -0.17534,-0.25804 -0.29723,-0.11406 -0.39264,-0.0146 -0.27647,0.28812 0.0998,0.26008 0.36088,0.2427 0.45181,-0.0301 z m -0.47599,-0.58058 c 0.043,-0.0695 -0.0117,-0.20083 -0.12139,-0.29188 -0.22209,-0.18432 -0.44951,0.0275 -0.29608,0.27574 0.10903,0.17641 0.31353,0.18432 0.41747,0.0161 z" 338 | id="path2607" /> 339 | </g> 340 | </svg> 341 | -------------------------------------------------------------------------------- /Note/Lectures/lec_1.tex: -------------------------------------------------------------------------------- 1 | \chapter{Introduction} 2 | \lecture{1}{13 Oct. 08:00}{First Lecture} 3 | \section{Useful Environment} 4 | We now see some common environment you'll need to complete your note. 5 | 6 | \begin{definition}[Natural number]\label{def} 7 | We denote the set of \emph{natural numbers} as \(\mathbb{\MakeUppercase{n}} \). 8 | \end{definition} 9 | 10 | 11 | \begin{lemma}[Useful lemma]\label{lma} 12 | Given the axioms of \hyperref[def]{natural numbers \(\mathbb{\MakeUppercase{n}} \)}, we have 13 | \[ 14 | 0\neq 1. 15 | \] 16 | \end{lemma} 17 | \begin{proof}[An obvious proof] 18 | Obvious. 19 | \end{proof} 20 | \begin{proposition}[Useful proposition]\label{prop} 21 | From \autoref{lma}, we have 22 | \[ 23 | 0<1. 24 | \] 25 | \end{proposition} 26 | \begin{exercise} 27 | Prove that \(1 < 2\). 28 | \end{exercise} 29 | \begin{answer} 30 | We note the following. 31 | \begin{note} 32 | We have \autoref{prop}! We can use it iteratively! 33 | \end{note} 34 | With the help of \autoref{lma}, this holds trivially. 35 | \end{answer} 36 | \begin{eg} 37 | We now can have \(a < b\) for \(a < b\)! 38 | \end{eg} 39 | \begin{explanation} 40 | Iteratively apply the exercise we did above. 41 | \end{explanation} 42 | \begin{remark} 43 | We see that \autoref{prop} is really powerful. We now give an immediate application of it. 44 | \end{remark} 45 | 46 | \begin{theorem}[Mass-energy equivalence]\label{thm} 47 | Given \autoref{prop}, we then have 48 | \[ 49 | E = mc^2. 50 | \] 51 | \end{theorem} 52 | \begin{proof} 53 | The blank left for me is too small,\footnote{\url{https://en.wikipedia.org/wiki/Richard_Feynman}} hence we put the proof in \autoref{appendix}. 54 | \end{proof} 55 | 56 | From \autoref{thm}, we then have the following. 57 | \begin{corollary}[Riemann hypothesis]\label{col} 58 | The real part of every nontrivial zero of the Riemann zeta function is \(\frac{1}{2}\), where the Riemann zeta function is just 59 | \[ 60 | \zeta (s)=\sum _{n=1}^{\infty }{\frac {1}{n^{s}}}={\frac {1}{1^{s}}}+{\frac {1}{2^{s}}}+{\frac {1}{3^{s}}}+\cdots. 61 | \] 62 | \end{corollary} 63 | \begin{proof} 64 | The proof should be trivial, we left it to you.\todo{DIY} 65 | \end{proof} 66 | \begin{prev} 67 | We see that \autoref{lma} is really helpful in the proof! 68 | \end{prev} 69 | 70 | \subsubsection{Internal Link} 71 | You should see all the common usages of internal links. Additionally, we can use citations as~\cite{newton1726philosophiae}, which just link to the reference page! 72 | 73 | \section{Figures} 74 | A simple demo for drawing: 75 | \begin{figure}[H] 76 | \centering 77 | \incfig{test} 78 | \caption[Caption]{A \(3\)-torus.\footnotemark} 79 | \label{fig:test} 80 | \end{figure} 81 | \footnotetext{For detailed information, please see \url{https://github.com/sleepymalc/VSCode-LaTeX-Inkscape}.} 82 | 83 | \section{Commutative Diagram} 84 | We can use the package \texttt{tikz-cd} to draw some commutative diagram. 85 | \begin{eg} 86 | The cellular homology agrees with singular homology. 87 | \end{eg} 88 | \begin{explanation} 89 | The following commutative diagram shows everything. 90 | 91 | \adjustbox{scale=0.85,center}{% 92 | \begin{tikzcd}[column sep=tiny] 93 | &&&& {\color{red}0} \\ 94 | & {\color{red}0} && {\color{red}H_n(X^{n+1})\cong H_n(X)} \\ 95 | && {\color{red}H_n(X^n)} \\ 96 | \ldots & {\color{red}H_{n+1}(X^{n+1}, X^n)} && {\color{red}H_n(X^n, X^{n-1})} && {H_{n-1}(X^{n-1}, X^{n-2})} & \ldots \\ 97 | &&&& {\color{red}H_{n-1}(X^{n-1})} \\ 98 | &&& 0 99 | \arrow[color={rgb,255:red,214;green,92;blue,92}, from=2-2, to=3-3] 100 | \arrow["{\partial_{n+1}}", color={rgb,255:red,214;green,92;blue,92}, from=4-2, to=3-3] 101 | \arrow[color={rgb,255:red,214;green,92;blue,92}, from=2-4, to=1-5] 102 | \arrow[color={rgb,255:red,214;green,92;blue,92}, from=3-3, to=2-4] 103 | \arrow[from=4-6, to=4-7] 104 | \arrow["{d_n}"', from=4-4, to=4-6] 105 | \arrow["{\partial_n}"', color={rgb,255:red,214;green,92;blue,92}, from=4-4, to=5-5] 106 | \arrow["{j_{n-1}}"', from=5-5, to=4-6] 107 | \arrow[from=6-4, to=5-5] 108 | \arrow["{d_{n+1}}", from=4-2, to=4-4] 109 | \arrow["{j_n}", color={rgb,255:red,214;green,92;blue,92}, from=3-3, to=4-4] 110 | \arrow[from=4-1, to=4-2] 111 | \end{tikzcd} 112 | } 113 | \end{explanation} 114 | 115 | \section{Fancy Stuffs} 116 | With this header, you can achieve some cool things. For example, we can have multiple definitions under a parent environment, while maintains the numbering of definition. This is achieved by \texttt{definition*} environment with \texttt{definition} inside. For example, we can have the following. 117 | \begin{definition*} 118 | We have the following number system. 119 | \begin{definition}[Rational number]\label{def:rational} 120 | The set of \emph{rational number}, denote as \(\mathbb{\MakeUppercase{q}} \). 121 | \end{definition} 122 | \begin{definition}[Real number]\label{def:real} 123 | The set of \emph{real number}, denote as \(\mathbb{\MakeUppercase{r}} \). 124 | \end{definition} 125 | \begin{definition}[Complex number]\label{def:complex} 126 | The set of \emph{complex number}, denote as \(\mathbb{\MakeUppercase{c}} \). 127 | \end{definition} 128 | \end{definition*} 129 | 130 | \begin{note} 131 | And indeed, we can still reference them correctly. For instance, we can use \hyperref[def:rational]{rational numbers} to define \hyperref[def:real]{real numbers} and then further use it to define \hyperref[def:complex]{complex numbers}. 132 | \end{note} 133 | 134 | Furthermore, we can completely control the name of our environments. We already saw we can name definition, lemma, proposition, corollary and theorem environment. In fact, we can also name remark, note, example and proof as follows. 135 | \begin{eg}[Interesting Example]\label{eg} 136 | We note that \(1 \neq 2\)! 137 | \begin{note}[Important note] 138 | As a consequence, \(2 \neq 3\) also. 139 | \end{note} 140 | 141 | \begin{remark}[Easy observation] 142 | We see that from here, we easily have the following theorem. 143 | \begin{theorem}[Lebesgue Differentiation Theorem]\label{thm:Lebesgue-differentiation-theorem} 144 | Let \(f\in L^1\), then 145 | \[ 146 | \lim\limits_{r \to 0} \frac{1}{m(B(x, r))}\int_{B(x, r)}\left\vert f(y) - f(x) \right\vert \,\mathrm{d}y = 0 147 | \] 148 | for a.e. \(x\). 149 | \end{theorem} 150 | \begin{proof}[An obvious proof of \autoref{thm:Lebesgue-differentiation-theorem}] 151 | Obvious. 152 | \end{proof} 153 | \end{remark} 154 | \end{eg} 155 | As we can see, specifically for the \texttt{proof} environment, we allow \texttt{autoref} and \texttt{hyperref}. One can actually allow all example, note and remark environment's name to use reference, but I think that is overkilled. But this can be achieved by modify the header in an obvious way.\footnote{This time I mean it!} -------------------------------------------------------------------------------- /Note/Lectures/lec_2.tex: -------------------------------------------------------------------------------- 1 | \chapter{Known Bugs} 2 | \lecture{2}{9 Sep. 08:00}{Second Lecture} 3 | 4 | \section{Introduction} 5 | Nothing is bugs-free. There are some known bugs which I don't have incentive to solve, or it is hard to solve whatsoever. Let me list some of them. 6 | 7 | \subsection{Footnote Environment} 8 | It's easy to let you fall into a situation that you want to keep using \texttt{footnote} to add a bunch of unrelated stuffs. However, with our environment there is a known strange behavior, which is following. 9 | \begin{eg} 10 | Footnote!\footnote{This is a footnote!} 11 | \begin{remark} 12 | Oops! footnote somehow shows up earlier than expect!\footnote{This is another footnote!} 13 | \end{remark} 14 | 15 | Bugs caught!\footnote{The final footnote which is ok!} 16 | \end{eg} 17 | 18 | As we saw, the footnote in the \texttt{Example} environment should show at the bottom of its own box, but it's caught by \texttt{Remark} which causes the unwanted behavior. Unfortunately, I haven't found a nice way to solve this. A potential way to solve this is by using \texttt{footnotemark} with \texttt{footnotetext} placing at the bottom of the environment, but this is tedious and needs lots of manual tweaking. 19 | 20 | Furthermore, not sure whether you notice it or not, but the color box of \texttt{Remark} is not quite right! It extends to the right, another trick bug... 21 | 22 | \subsection{Mdframe Environment} 23 | Though \texttt{mdframe} package is nice and is the key theme throughout this template, but it has some kind of weird behavior. Let's see the demo. 24 | 25 | \begin{proof}[Proof of \autoref{thm}] 26 | We need to prove the followings. 27 | \begin{claim} 28 | \(E = mc^{2} \). 29 | \end{claim} 30 | \begin{explanation} 31 | 32 | Nonsense. 33 | 34 | Nonsense, 35 | 36 | Nonsense, 37 | 38 | Nonsense, 39 | 40 | Nonsense, 41 | 42 | Nonsense. 43 | \end{explanation} 44 | 45 | \end{proof} 46 | 47 | I expect it should break much earlier, and this seems to be an \href{https://github.com/marcodaniel/mdframed/issues/9}{algorithmic issue} of \href{https://ctan.org/pkg/mdframed?lang=en}{\texttt{mdframe}}. One potential solution is to use \href{https://ctan.org/pkg/tcolorbox?lang=en}{\texttt{tcolorbox}} instead, but I haven't completely figure it out, hence I can't really say anything right now. -------------------------------------------------------------------------------- /Note/appendix.tex: -------------------------------------------------------------------------------- 1 | \chapter{Additional Proofs} 2 | \section{Proof of \autoref{thm}}\label{appendix} 3 | We can now prove \autoref{thm}. 4 | \begin{proof}[Proof of \autoref{thm}] 5 | See \href{https://en.wikipedia.org/wiki/Mass%E2%80%93energy_equivalence}{here}. 6 | \end{proof} -------------------------------------------------------------------------------- /Note/header.tex: -------------------------------------------------------------------------------- 1 | % basics 2 | \usepackage[utf8]{inputenc} 3 | \usepackage[T1]{fontenc} 4 | \usepackage{textcomp} 5 | \usepackage[hyphens]{url} 6 | \usepackage[style=alphabetic,maxcitenames=1]{biblatex} 7 | \usepackage[colorlinks=true,linkcolor=cyan,urlcolor=magenta,citecolor=violet]{hyperref} 8 | \usepackage{graphicx} 9 | \usepackage{float} 10 | \usepackage{booktabs} 11 | \usepackage{emptypage} 12 | \usepackage{subcaption} 13 | \usepackage[usenames,dvipsnames]{xcolor} 14 | \input{~/Developer/LaTeX-Template/Math.tex} 15 | 16 | 17 | \usepackage{amsmath, amsfonts, mathtools, amsthm, amssymb, mathrsfs} 18 | \usepackage{geometry} 19 | \usepackage{cancel} 20 | \usepackage{systeme} 21 | 22 | \usepackage[inline, shortlabels]{enumitem} 23 | \usepackage{multicol} 24 | \setlength\multicolsep{0pt} 25 | 26 | \usepackage{caption} 27 | \captionsetup{belowskip=0pt} 28 | \geometry{a4paper,left=2.54cm,right=2.54cm,top=2.54cm,bottom=2.54cm} 29 | 30 | % for the big braces 31 | \usepackage{bigdelim} 32 | 33 | % correct 34 | \definecolor{correct}{HTML}{009900} 35 | \newcommand\correct[2]{\ensuremath{\:}{\color{red}{#1}}\ensuremath{\to }{\color{correct}{#2}}\ensuremath{\:}} 36 | \newcommand\green[1]{{\color{correct}{#1}}} 37 | 38 | % hide parts 39 | \newcommand\hide[1]{} 40 | 41 | % si unitx 42 | \usepackage{siunitx} 43 | \sisetup{locale = FR} 44 | % \renewcommand\vec[1]{\mathbf{#1}} 45 | \newcommand\mat[1]{\mathbf{#1}} 46 | 47 | 48 | % tikz 49 | \usepackage{tikz} 50 | \usetikzlibrary{intersections, angles, quotes, positioning} 51 | \usetikzlibrary{arrows.meta} 52 | \usepackage{pgfplots} 53 | \pgfplotsset{compat=1.13} 54 | 55 | 56 | \tikzset{ 57 | force/.style={thick, {Circle[length=2pt]}-stealth, shorten <=-1pt} 58 | } 59 | 60 | % Algorithm Env 61 | \usepackage[linesnumbered,lined,vlined,ruled,commentsnumbered,resetcount,algochapter]{algorithm2e} 62 | \SetKwComment{Comment}{// }{} 63 | \SetArgSty{textsl} 64 | \def\algocflineautorefname{Algorithm} 65 | \counterwithin{algocfline}{chapter} 66 | 67 | % Clear out the item autoref name 68 | \makeatletter 69 | \def\itemautorefname{\@gobble} 70 | \makeatother 71 | 72 | % theorems 73 | \makeatother 74 | \usepackage{thmtools} 75 | \usepackage[framemethod=TikZ]{mdframed} 76 | 77 | \mdfsetup{skipabove=1em,skipbelow=0em} 78 | 79 | \theoremstyle{definition} 80 | 81 | \declaretheoremstyle[ 82 | headfont=\bfseries\sffamily\color{ForestGreen!70!black}, bodyfont=\normalfont, 83 | mdframed={ 84 | linewidth=2pt, 85 | rightline=false, topline=false, bottomline=false, 86 | linecolor=ForestGreen, backgroundcolor=ForestGreen!5, 87 | nobreak=false 88 | } 89 | ]{thmgreenbox} 90 | 91 | \declaretheoremstyle[ 92 | headfont=\bfseries\sffamily\color{ForestGreen!70!black}, bodyfont=\normalfont, 93 | mdframed={ 94 | linewidth=2pt, 95 | rightline=false, topline=false, bottomline=false, 96 | linecolor=ForestGreen, backgroundcolor=ForestGreen!8, 97 | nobreak=false 98 | } 99 | ]{thmgreen2box} 100 | 101 | \declaretheoremstyle[ 102 | headfont=\bfseries\sffamily\color{NavyBlue!70!black}, bodyfont=\normalfont, 103 | mdframed={ 104 | linewidth=2pt, 105 | rightline=false, topline=false, bottomline=false, 106 | linecolor=NavyBlue, backgroundcolor=NavyBlue!5, 107 | nobreak=false 108 | } 109 | ]{thmbluebox} 110 | 111 | \declaretheoremstyle[ 112 | headfont=\bfseries\sffamily\color{TealBlue!70!black}, bodyfont=\normalfont, 113 | mdframed={ 114 | linewidth=2pt, 115 | rightline=false, topline=false, bottomline=false, 116 | linecolor=TealBlue, 117 | nobreak=false 118 | } 119 | ]{thmblueline} 120 | 121 | \declaretheoremstyle[ 122 | headfont=\bfseries\sffamily\color{RawSienna!70!black}, bodyfont=\normalfont, 123 | mdframed={ 124 | linewidth=2pt, 125 | rightline=false, topline=false, bottomline=false, 126 | linecolor=RawSienna, backgroundcolor=RawSienna!5, 127 | nobreak=false 128 | } 129 | ]{thmredbox} 130 | 131 | \declaretheoremstyle[ 132 | headfont=\bfseries\sffamily\color{RawSienna!70!black}, bodyfont=\normalfont, 133 | mdframed={ 134 | linewidth=2pt, 135 | rightline=false, topline=false, bottomline=false, 136 | linecolor=RawSienna, backgroundcolor=RawSienna!8, 137 | nobreak=false 138 | } 139 | ]{thmred2box} 140 | 141 | \declaretheoremstyle[ 142 | headfont=\bfseries\sffamily\color{SeaGreen!70!black}, bodyfont=\normalfont, 143 | mdframed={ 144 | linewidth=2pt, 145 | rightline=false, topline=false, bottomline=false, 146 | linecolor=SeaGreen, backgroundcolor=SeaGreen!2, 147 | nobreak=false 148 | } 149 | ]{thmgreen3box} 150 | 151 | \declaretheoremstyle[ 152 | headfont=\bfseries\sffamily\color{WildStrawberry!70!black}, bodyfont=\normalfont, 153 | mdframed={ 154 | linewidth=2pt, 155 | rightline=false, topline=false, bottomline=false, 156 | linecolor=WildStrawberry, backgroundcolor=WildStrawberry!5, 157 | nobreak=false 158 | } 159 | ]{thmpinkbox} 160 | 161 | \declaretheoremstyle[ 162 | headfont=\bfseries\sffamily\color{MidnightBlue!70!black}, bodyfont=\normalfont, 163 | mdframed={ 164 | linewidth=2pt, 165 | rightline=false, topline=false, bottomline=false, 166 | linecolor=MidnightBlue, backgroundcolor=MidnightBlue!5, 167 | nobreak=false 168 | } 169 | ]{thmblue2box} 170 | 171 | \declaretheoremstyle[ 172 | headfont=\bfseries\sffamily\color{Gray!70!black}, bodyfont=\normalfont, 173 | mdframed={ 174 | linewidth=2pt, 175 | rightline=false, topline=false, bottomline=false, 176 | linecolor=Gray, backgroundcolor=Gray!5, 177 | nobreak=false 178 | } 179 | ]{notgraybox} 180 | 181 | \declaretheoremstyle[ 182 | headfont=\bfseries\sffamily\color{Gray!70!black}, bodyfont=\normalfont, 183 | mdframed={ 184 | linewidth=2pt, 185 | rightline=false, topline=false, bottomline=false, 186 | linecolor=Gray, 187 | nobreak=false 188 | } 189 | ]{notgrayline} 190 | 191 | % \declaretheoremstyle[ 192 | % headfont=\bfseries\sffamily\color{RawSienna!70!black}, bodyfont=\normalfont, 193 | % numbered=no, 194 | % mdframed={ 195 | % linewidth=2pt, 196 | % rightline=false, topline=false, bottomline=false, 197 | % linecolor=RawSienna, backgroundcolor=RawSienna!1, 198 | % }, 199 | % qed=\qedsymbol 200 | % ]{thmproofbox} 201 | 202 | \declaretheoremstyle[ 203 | headfont=\bfseries\sffamily\color{NavyBlue!70!black}, bodyfont=\normalfont, 204 | numbered=no, 205 | mdframed={ 206 | linewidth=2pt, 207 | rightline=false, topline=false, bottomline=false, 208 | linecolor=NavyBlue, backgroundcolor=NavyBlue!1, 209 | nobreak=false 210 | } 211 | ]{thmexplanationbox} 212 | 213 | \declaretheoremstyle[ 214 | headfont=\bfseries\sffamily\color{WildStrawberry!70!black}, bodyfont=\normalfont, 215 | numbered=no, 216 | mdframed={ 217 | linewidth=2pt, 218 | rightline=false, topline=false, bottomline=false, 219 | linecolor=WildStrawberry, backgroundcolor=WildStrawberry!1, 220 | nobreak=false 221 | } 222 | ]{thmanswerbox} 223 | 224 | \declaretheoremstyle[ 225 | headfont=\bfseries\sffamily\color{Violet!70!black}, bodyfont=\normalfont, 226 | mdframed={ 227 | linewidth=2pt, 228 | rightline=false, topline=false, bottomline=false, 229 | linecolor=Violet, backgroundcolor=Violet!1, 230 | nobreak=false 231 | } 232 | ]{conjpurplebox} 233 | 234 | \declaretheorem[style=thmgreenbox, name=Definition, numberwithin=section]{definition} 235 | \declaretheorem[style=thmgreen2box, name=Definition, numbered=no]{definition*} 236 | \declaretheorem[style=thmredbox, name=Theorem, numberwithin=section]{theorem} 237 | \declaretheorem[style=thmred2box, name=Theorem, numbered=no]{theorem*} 238 | \declaretheorem[style=thmredbox, name=Lemma, numberwithin=section]{lemma} 239 | \declaretheorem[style=thmredbox, name=Proposition, numberwithin=section]{proposition} 240 | \declaretheorem[style=thmredbox, name=Corollary, numberwithin=section]{corollary} 241 | \declaretheorem[style=thmpinkbox, name=Problem, numberwithin=section]{problem} 242 | \declaretheorem[style=thmpinkbox, name=Problem, numbered=no]{problem*} 243 | \declaretheorem[style=thmblue2box, name=Claim, numbered=no]{claim} 244 | \declaretheorem[style=conjpurplebox, name=Conjecture, numberwithin=section]{conjecture} 245 | 246 | \renewcommand\theHdefinition{\thesection.\arabic {definition}} 247 | \renewcommand\theHtheorem{\thesection.\arabic {theorem}} 248 | \renewcommand\theHlemma{\thesection.\arabic {lemma}} 249 | \renewcommand\theHproposition{\thesection.\arabic {proposition}} 250 | \renewcommand\theHcorollary{\thesection.\arabic {corollary}} 251 | \renewcommand\theHproblem{\thesection.\arabic {problem}} 252 | \renewcommand\theHconjecture{\thesection.\arabic {conjecture}} 253 | 254 | % Redefine proof environment to get a full control. 255 | \makeatletter 256 | \renewenvironment{proof}[1][\proofname]{\par 257 | \pushQED{\qed}% 258 | \normalfont \topsep-2\p@\@plus6\p@\relax 259 | \trivlist 260 | \item[\hskip\labelsep 261 | \color{RawSienna!70!black}\sffamily\bfseries 262 | #1\@addpunct{.}]\ignorespaces 263 | \begin{mdframed}[linewidth=2pt,rightline=false, topline=false, bottomline=false,linecolor=RawSienna, backgroundcolor=RawSienna!1] 264 | }{% 265 | \popQED\endtrivlist\@endpefalse 266 | \end{mdframed} 267 | } 268 | \makeatother 269 | 270 | \declaretheorem[style=thmbluebox, numbered=no, name=Example]{eg} 271 | \declaretheorem[style=thmexplanationbox, numbered=no, name=Proof]{tmpexplanation} 272 | \newenvironment{explanation}[1][]{\vspace{-10pt}\pushQED{\(\circledast\)}\begin{tmpexplanation}}{\null\hfill\popQED\end{tmpexplanation}} 273 | 274 | \declaretheorem[style=thmblueline, numbered=no, name=Remark]{remark} 275 | \declaretheorem[style=thmblueline, numbered=no, name=Note]{note} 276 | \declaretheorem[style=thmpinkbox, numbered=no, name=Exercise]{exercise} 277 | \declaretheorem[style=notgrayline, numbered=no, name=As previously seen]{prev} 278 | \declaretheorem[style=thmgreen3box, numbered=no, name=Intuition]{intuition} 279 | \declaretheorem[style=notgraybox, numbered=no, name=Notation]{notation} 280 | \declaretheorem[style=thmanswerbox, numbered=no, name=Answer]{tmpanswer} 281 | \newenvironment{answer}[1][]{\vspace{-10pt}\pushQED{\(\circledast\)}\begin{tmpanswer}}{\null\hfill\popQED\end{tmpanswer}} 282 | 283 | 284 | \usepackage{etoolbox} 285 | \renewcommand{\qed}{\null\hfill\(\blacksquare\)} 286 | 287 | \makeatletter 288 | 289 | \def\testdateparts#1{\dateparts#1\relax} 290 | \def\dateparts#1 #2 #3 #4 #5\relax{ 291 | \marginpar{\small\textsf{\mbox{#1 #2 #3 #5}}} 292 | } 293 | 294 | \def\@lecture{}% 295 | \newcommand{\lecture}[3]{ 296 | \ifthenelse{\isempty{#3}}{% 297 | \global\def\@lecture{Lecture #1}% 298 | }{% 299 | \global\def\@lecture{Lecture #1: #3}% 300 | }% 301 | \section*{\@lecture} 302 | \marginpar{\small\textsf{\mbox{#2}}} 303 | } 304 | 305 | \usepackage{pgffor}% 306 | \newcommand{\lec}[2]{% 307 | \foreach \c in {#1,...,#2}{% 308 | \IfFileExists{Lectures/lec_\c.tex} {% 309 | \input{Lectures/lec_\c.tex}% 310 | }{}% 311 | }% 312 | } 313 | 314 | % fancy headers 315 | \usepackage{fancyhdr} 316 | \pagestyle{fancy} 317 | \fancyhead[L]{} 318 | \fancyhead[R]{\@lecture} 319 | \fancyfoot[L]{} 320 | \fancyfoot[R]{\thepage} 321 | \fancyfoot[C]{\leftmark} 322 | 323 | \makeatother 324 | 325 | % notes 326 | \usepackage[color=pink]{todonotes} 327 | \usepackage{marginnote} 328 | \let\marginpar\marginnote 329 | 330 | % Fix some stuff 331 | % %http://tex.stackexchange.com/questions/76273/multiple-pdfs-with-page-group-included-in-a-single-page-warning 332 | \pdfsuppresswarningpagegroup=1 333 | 334 | % Appendix environment 335 | \usepackage{appendix} 336 | \def\chapterautorefname{Section} 337 | \def\sectionautorefname{Section} 338 | \def\appendixautorefname{Appendix} 339 | \renewcommand\appendixname{Appendix} 340 | \renewcommand\appendixtocname{Appendix} 341 | \renewcommand\appendixpagename{Appendix} 342 | % begin appendix autoref patch [\autoref subsections in appendix](https://tex.stackexchange.com/questions/149807/autoref-subsections-in-appendix) 343 | \makeatletter 344 | \patchcmd{\hyper@makecurrent}{% 345 | \ifx\Hy@param\Hy@chapterstring 346 | \let\Hy@param\Hy@chapapp 347 | \fi 348 | }{% 349 | \iftoggle{inappendix}{%true-branch 350 | % list the names of all sectioning counters here 351 | \@checkappendixparam{chapter}% 352 | \@checkappendixparam{section}% 353 | \@checkappendixparam{subsection}% 354 | \@checkappendixparam{subsubsection}% 355 | \@checkappendixparam{paragraph}% 356 | \@checkappendixparam{subparagraph}% 357 | }{}% 358 | }{}{\errmessage{failed to patch}} 359 | 360 | \newcommand*{\@checkappendixparam}[1]{% 361 | \def\@checkappendixparamtmp{#1}% 362 | \ifx\Hy@param\@checkappendixparamtmp 363 | \let\Hy@param\Hy@appendixstring 364 | \fi 365 | } 366 | \makeatletter 367 | 368 | \newtoggle{inappendix} 369 | \togglefalse{inappendix} 370 | 371 | \apptocmd{\appendix}{\toggletrue{inappendix}}{}{\errmessage{failed to patch}} 372 | \apptocmd{\subappendices}{\toggletrue{inappendix}}{}{\errmessage{failed to patch}} 373 | % end appendix autoref patch 374 | 375 | \setcounter{tocdepth}{1} -------------------------------------------------------------------------------- /Note/master.bbl: -------------------------------------------------------------------------------- 1 | % $ biblatex auxiliary file $ 2 | % $ biblatex bbl format version 3.3 $ 3 | % Do not modify the above lines! 4 | % 5 | % This is an auxiliary file used by the 'biblatex' package. 6 | % This file may safely be deleted. It will be recreated by 7 | % biber as required. 8 | % 9 | \begingroup 10 | \makeatletter 11 | \@ifundefined{ver@biblatex.sty} 12 | {\@latex@error 13 | {Missing 'biblatex' package} 14 | {The bibliography requires the 'biblatex' package.} 15 | \aftergroup\endinput} 16 | {} 17 | \endgroup 18 | 19 | 20 | \refsection{0} 21 | \datalist[entry]{anyt/global//global/global/global} 22 | \entry{newton1726philosophiae}{book}{}{} 23 | \name{author}{1}{}{% 24 | {{hash=c2827ae14feae073cd692358c06f386d}{% 25 | family={Newton}, 26 | familyi={N\bibinitperiod}, 27 | given={I.}, 28 | giveni={I\bibinitperiod}}}% 29 | } 30 | \list{publisher}{1}{% 31 | {Innys}% 32 | } 33 | \strng{namehash}{c2827ae14feae073cd692358c06f386d} 34 | \strng{fullhash}{c2827ae14feae073cd692358c06f386d} 35 | \strng{fullhashraw}{c2827ae14feae073cd692358c06f386d} 36 | \strng{bibnamehash}{c2827ae14feae073cd692358c06f386d} 37 | \strng{authorbibnamehash}{c2827ae14feae073cd692358c06f386d} 38 | \strng{authornamehash}{c2827ae14feae073cd692358c06f386d} 39 | \strng{authorfullhash}{c2827ae14feae073cd692358c06f386d} 40 | \strng{authorfullhashraw}{c2827ae14feae073cd692358c06f386d} 41 | \field{labelalpha}{New26} 42 | \field{sortinit}{N} 43 | \field{sortinithash}{22369a73d5f88983a108b63f07f37084} 44 | \field{labelnamesource}{author} 45 | \field{labeltitlesource}{title} 46 | \field{title}{Philosophiae naturalis principia mathematica} 47 | \field{year}{1726} 48 | \verb{urlraw} 49 | \verb https://books.google.com/books?id=WeZ09rjv-1kC 50 | \endverb 51 | \verb{url} 52 | \verb https://books.google.com/books?id=WeZ09rjv-1kC 53 | \endverb 54 | \endentry 55 | \enddatalist 56 | \endrefsection 57 | \endinput 58 | 59 | -------------------------------------------------------------------------------- /Note/master.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sleepymalc/LaTeX-Template/e0958fee7ef86757e1e7603680ce87bedbe35f31/Note/master.pdf -------------------------------------------------------------------------------- /Note/master.synctex.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sleepymalc/LaTeX-Template/e0958fee7ef86757e1e7603680ce87bedbe35f31/Note/master.synctex.gz -------------------------------------------------------------------------------- /Note/master.tex: -------------------------------------------------------------------------------- 1 | \documentclass[a4paper]{report} 2 | \input{header.tex} 3 | \author{Pingbang Hu} 4 | \title{Note Template} 5 | 6 | \thispagestyle{empty} 7 | \addbibresource{reference.bib} 8 | 9 | \usepackage{adjustbox} 10 | \usepackage{centernot} 11 | 12 | \begin{document} 13 | 14 | \maketitle 15 | 16 | \begin{abstract} 17 | This is a note template, with all but minimal compilable files provided. Feel free to adjust for your usage. 18 | 19 | Now let's start a simple demo for you to take fancy notes in \LaTeX! 20 | \end{abstract} 21 | 22 | \newpage 23 | 24 | \tableofcontents 25 | 26 | \lec{1}{2} 27 | 28 | \newpage 29 | %─────Appendix──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── 30 | \appendix 31 | \appendixpage{} 32 | 33 | \input{appendix.tex} 34 | 35 | \newpage 36 | %─────Reference────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── 37 | \pagestyle{plain} 38 | \printbibliography{} 39 | 40 | \end{document} -------------------------------------------------------------------------------- /Note/reference.bib: -------------------------------------------------------------------------------- 1 | @book{newton1726philosophiae, 2 | title = {Philosophiae naturalis principia mathematica}, 3 | author = {Newton, I.}, 4 | url = {https://books.google.com/books?id=WeZ09rjv-1kC}, 5 | year = {1726}, 6 | publisher = {Innys} 7 | } 8 | -------------------------------------------------------------------------------- /Poster/Figures/logo/NeurIPS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sleepymalc/LaTeX-Template/e0958fee7ef86757e1e7603680ce87bedbe35f31/Poster/Figures/logo/NeurIPS.png -------------------------------------------------------------------------------- /Poster/Figures/logo/QRCode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sleepymalc/LaTeX-Template/e0958fee7ef86757e1e7603680ce87bedbe35f31/Poster/Figures/logo/QRCode.png -------------------------------------------------------------------------------- /Poster/Figures/logo/UIUC.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sleepymalc/LaTeX-Template/e0958fee7ef86757e1e7603680ce87bedbe35f31/Poster/Figures/logo/UIUC.png -------------------------------------------------------------------------------- /Poster/beamercolorthemegemini.sty: -------------------------------------------------------------------------------- 1 | % Gemini theme 2 | % https://github.com/anishathalye/gemini 3 | 4 | % ==================== 5 | % Definitions 6 | % ==================== 7 | 8 | \definecolor{lightgray}{RGB}{242, 244, 250} 9 | \definecolor{darkgray}{RGB}{73, 79, 92} 10 | 11 | \definecolor{black}{RGB}{46, 50, 57} 12 | 13 | \definecolor{lightgreen}{RGB}{229, 240, 237} 14 | \definecolor{darkgreen}{RGB}{30, 85, 53} 15 | \definecolor{lightpurple}{RGB}{225, 223, 238} 16 | \definecolor{purple}{RGB}{114, 79, 139} 17 | \definecolor{darkpurple}{RGB}{62, 30, 87} 18 | 19 | \definecolor{lightyellow}{RGB}{253, 250, 231} 20 | \definecolor{yellow}{RGB}{247, 234, 173} 21 | \definecolor{darkyellow}{RGB}{103, 83, 9} 22 | 23 | 24 | 25 | % ==================== 26 | % Theme 27 | % ==================== 28 | 29 | % Basic colors 30 | \setbeamercolor{palette primary}{fg=black,bg=white} 31 | \setbeamercolor{palette secondary}{fg=black,bg=white} 32 | \setbeamercolor{palette tertiary}{bg=black,fg=white} 33 | \setbeamercolor{palette quaternary}{fg=black,bg=white} 34 | \setbeamercolor{structure}{fg=purple} 35 | 36 | % Headline 37 | \setbeamercolor{headline}{fg=darkgreen,bg=lightgreen} 38 | 39 | % Block 40 | \setbeamercolor{block title}{fg=darkpurple,bg=lightpurple} 41 | \setbeamercolor{block body}{fg=black,bg=white} 42 | 43 | % Alert Block 44 | \setbeamercolor{block alerted title}{fg=darkyellow,bg=yellow} 45 | \setbeamercolor{block alerted separator}{bg=white} 46 | \setbeamercolor{block alerted body}{fg=black,bg=lightyellow} 47 | 48 | % Example Block 49 | \setbeamercolor{block example title}{fg=darkblue,bg=lightgray} 50 | \setbeamercolor{block example body}{fg=darkgray,bg=white} 51 | 52 | 53 | 54 | % Heading 55 | \setbeamercolor{heading}{fg=black} 56 | 57 | % Itemize 58 | \setbeamercolor{item}{fg=purple} 59 | 60 | % Bibliography 61 | \setbeamercolor{bibliography item}{fg=black} 62 | \setbeamercolor{bibliography entry author}{fg=black} 63 | \setbeamercolor{bibliography entry title}{fg=black} 64 | \setbeamercolor{bibliography entry location}{fg=black} 65 | \setbeamercolor{bibliography entry note}{fg=black} 66 | \setbeamertemplate{bibliography entry article}{} 67 | \setbeamertemplate{bibliography entry title}{} 68 | \setbeamertemplate{bibliography entry location}{} 69 | \setbeamertemplate{bibliography entry note}{} -------------------------------------------------------------------------------- /Poster/beamerthemegemini.sty: -------------------------------------------------------------------------------- 1 | % Gemini theme 2 | % https://github.com/anishathalye/gemini 3 | 4 | % ==================== 5 | % Dependencies 6 | % ==================== 7 | 8 | \RequirePackage{exscale} 9 | \RequirePackage{ragged2e} 10 | \RequirePackage{changepage} 11 | % \RequirePackage{fontspec} 12 | \RequirePackage{calc} 13 | 14 | % ==================== 15 | % Fonts 16 | % ==================== 17 | 18 | % \newfontfamily\Raleway[Ligatures=TeX]{Raleway} 19 | % \newfontfamily\Lato[Ligatures=TeX]{Lato} 20 | % \usepackage{XCharter} 21 | % \usepackage[zerostyle=c]{newtxtt} 22 | % \usepackage[charter,cal]{mathdesign} 23 | 24 | % \usepackage{unicode-math} 25 | % \setmathfont{XCharter Math} 26 | 27 | \renewcommand{\rmdefault}{XCharter-TLF} 28 | \usepackage[xcharter,slantedGreek,vvarbb]{newtxmath} 29 | % \usepackage[no-math]{fontspec} 30 | \usepackage[semibold,sfdefault,scaled=0.9]{inter} 31 | 32 | % \usepackage[scaled]{helvet} 33 | % \renewcommand\familydefault{\sfdefault} 34 | % \renewcommand\sfdefault{hpv} 35 | % \renewcommand{\familydefault}{\sfdefault} 36 | 37 | % \usefonttheme{sanserif} 38 | \usefonttheme{professionalfonts} 39 | 40 | % \setsansfont{Lato}[ 41 | % UprightFont=*-Light, 42 | % ItalicFont=*-LightItalic, 43 | % BoldFont=*-Regular, 44 | % BoldItalicFont=*-Italic 45 | % ] 46 | 47 | % \setbeamerfont{headline}{family=\Raleway} 48 | \setbeamerfont{headline title}{size=\huge, family=\sffamily,series=\bfseries} 49 | % \setbeamerfont{headline title}{size=\huge,series=\bfseries} 50 | \setbeamerfont{headline author}{size=\normalsize, family=\sffamily} 51 | \setbeamerfont{headline institute}{size=\normalsize, family=\sffamily} 52 | % \setbeamerfont{headline institute}{size=\normalsize} 53 | % \setbeamerfont{block title}{family=\Raleway,size=\large,series=\bfseries} 54 | % \setbeamerfont{heading}{family=\Lato,series=\bfseries} 55 | \setbeamerfont{caption}{size=\small, family=\sffamily} 56 | % \setbeamerfont{footline}{family=\Raleway,size=\normalsize} 57 | 58 | \setbeamerfont{block title}{size=\normalsize, family=\sffamily}%,series=\bfseries} 59 | \setbeamerfont{heading}{series=\bfseries, family=\sffamily} 60 | \setbeamerfont{footline}{size=\normalsize, family=\sffamily} 61 | 62 | \setbeamerfont{block body}{family=\sffamily} 63 | 64 | 65 | % \setbeamerfont{headline}{family=\sfdefault} 66 | % \setbeamerfont{block title}{family=\sfdefault} 67 | % \setbeamerfont{heading}{family=\sfdefault} 68 | % \setbeamerfont{footline}{family=\sfdefault} 69 | 70 | % ==================== 71 | % Macros 72 | % ==================== 73 | 74 | \newcommand{\samelineand}{\qquad} 75 | 76 | % ==================== 77 | % Elements 78 | % ==================== 79 | 80 | \setlength{\leftmarginii}{1.5em} 81 | 82 | % % List 83 | % \def\@listi{\leftmargin\leftmargini 84 | % \topsep 1ex % spacing before 85 | % \parsep 0\p@ \@plus\p@ 86 | % \itemsep 0.5ex} % spacing between 87 | 88 | % Itemize 89 | 90 | % \usepackage{enumitem} 91 | % \setlist[itemize]{align=parleft,left=2em} 92 | 93 | % \setbeamertemplate{itemize item}{\raise0.5ex \hbox{\vrule width 0.5ex height 0.5ex}} 94 | % \setbeamertemplate{itemize subitem}{\raise0.3ex \hbox{\vrule width 0.5ex height 0.5ex}} 95 | % \setbeamertemplate{itemize subsubitem}{\raise0.2ex \hbox{\vrule width 0.5ex height 0.5ex}} 96 | \setbeamertemplate{items}[circle] 97 | 98 | 99 | 100 | % Enumerate 101 | 102 | \setbeamertemplate{enumerate item}{\insertenumlabel.} 103 | \setbeamertemplate{enumerate subitem}{\insertsubenumlabel.} 104 | \setbeamertemplate{enumerate subsubitem}{\insertsubsubenumlabel.} 105 | 106 | % Equation 107 | \setlength\belowdisplayshortskip{2ex} 108 | 109 | % Caption 110 | \setbeamertemplate{caption}[numbered] 111 | \setbeamertemplate{caption label separator}[period] 112 | \setlength{\abovecaptionskip}{2ex} 113 | \setlength{\belowcaptionskip}{1ex} 114 | 115 | % Bibliography 116 | \setbeamertemplate{bibliography item}[text] 117 | 118 | % Navigation 119 | \beamertemplatenavigationsymbolsempty 120 | 121 | % ==================== 122 | % Components 123 | % ==================== 124 | 125 | % Heading 126 | \newcommand\heading[1] 127 | {% 128 | \par\bigskip 129 | {\usebeamerfont{heading}\usebeamercolor[fg]{heading}#1}\par\smallskip 130 | } 131 | 132 | % logo 133 | \newlength{\logoleftwidth} 134 | \setlength{\logoleftwidth}{0cm} 135 | \newlength{\logorightwidth} 136 | \setlength{\logorightwidth}{0cm} 137 | \newlength{\maxlogowidth} % space on both sides set to maxlogowidth to keep title centered 138 | \setlength{\maxlogowidth}{0cm} 139 | 140 | \newcommand{\logoright}[1]{ 141 | \newcommand{\insertlogoright}{#1} 142 | \settowidth{\logorightwidth}{\insertlogoright} 143 | \addtolength{\logorightwidth}{10ex} 144 | \setlength{\maxlogowidth}{\maxof{\logoleftwidth}{\logorightwidth}} 145 | } 146 | \newcommand{\logoleft}[1]{ 147 | \newcommand{\insertlogoleft}{#1} 148 | \settowidth{\logoleftwidth}{\insertlogoleft} 149 | \addtolength{\logoleftwidth}{10ex} 150 | \setlength{\maxlogowidth}{\maxof{\logoleftwidth}{\logorightwidth}} 151 | } 152 | 153 | % Headline 154 | \setbeamertemplate{headline} 155 | { 156 | \begin{beamercolorbox}{headline} 157 | \begin{columns} 158 | \begin{column}{\maxlogowidth} 159 | \vskip5ex 160 | \ifdefined\insertlogoleft 161 | \vspace*{\fill} 162 | \hspace{10ex} 163 | \raggedright 164 | \insertlogoleft 165 | \vspace*{\fill} 166 | \else\fi 167 | \end{column} 168 | \begin{column}{\dimexpr\paperwidth-\maxlogowidth-\maxlogowidth} 169 | \usebeamerfont{headline} 170 | \vskip3ex 171 | \centering 172 | \ifx \inserttitle \empty \else 173 | {\usebeamerfont{headline title}\usebeamercolor[fg]{headline title}\inserttitle\\[0.7ex]} 174 | \fi 175 | \ifx \beamer@shortauthor \empty \else 176 | {\usebeamerfont{headline author}\usebeamercolor[fg]{headline author}\insertauthor\\[0ex]} 177 | \fi 178 | \ifx \insertinstitute \empty \else 179 | {\usebeamerfont{headline institute}\usebeamercolor[fg]{headline institute}\insertinstitute\\[0ex]} 180 | \fi 181 | \end{column} 182 | \begin{column}{\maxlogowidth} 183 | \vskip5ex 184 | \ifdefined\insertlogoright 185 | \vspace*{\fill} 186 | \raggedleft 187 | \insertlogoright 188 | \hspace{10ex} 189 | \vspace*{\fill} 190 | \else\fi 191 | \end{column} 192 | \end{columns} 193 | \vspace{5ex} 194 | \ifbeamercolorempty[bg]{headline rule}{}{ 195 | \begin{beamercolorbox}[wd=\paperwidth,colsep=0.5ex]{headline rule}\end{beamercolorbox} 196 | } 197 | \end{beamercolorbox} 198 | } 199 | 200 | % Block 201 | \setbeamertemplate{block begin} 202 | { 203 | % \begin{beamercolorbox}[colsep*=0ex,dp=2ex,center]{block title} 204 | \begin{beamercolorbox}[colsep*=0ex,dp=0ex]{block title} 205 | \vskip-0.25ex\hskip1ex 206 | \usebeamerfont{block title}\insertblocktitle 207 | \vskip-0.25ex 208 | \vskip-1.25ex 209 | \begin{beamercolorbox}[colsep=0.115ex]{block separator}\end{beamercolorbox} 210 | \end{beamercolorbox} 211 | {\parskip0pt\par} 212 | \usebeamerfont{block body} 213 | % \vskip-0.5ex 214 | \begin{beamercolorbox}[colsep*=0ex]{block body} 215 | \justifying 216 | \begin{adjustwidth}{1ex}{1ex} 217 | \setlength{\parskip}{1ex} 218 | \vskip-1ex 219 | } 220 | \setbeamertemplate{block end} 221 | { 222 | \end{adjustwidth} 223 | \vskip1ex 224 | \end{beamercolorbox} 225 | \vskip0pt 226 | \vspace*{2ex} 227 | } 228 | 229 | % \setbeamertemplate{block begin} 230 | % { 231 | % % \begin{beamercolorbox}[colsep*=0ex,dp=2ex,center]{block title} 232 | % \begin{beamercolorbox}[colsep*=0ex,dp=0ex]{block title} 233 | % \vskip-0.5ex\hskip1ex 234 | % \usebeamerfont{block title}\insertblocktitle 235 | % \vskip-0.5ex 236 | % \vskip-1.25ex 237 | % \begin{beamercolorbox}[colsep=0.115ex]{block separator}\end{beamercolorbox} 238 | % \end{beamercolorbox} 239 | % {\parskip0pt\par} 240 | % \usebeamerfont{block body} 241 | % % \vskip-0.5ex 242 | % \begin{beamercolorbox}[colsep*=0ex]{block body} 243 | % \justifying 244 | % \setlength{\parskip}{1ex} 245 | % \vskip-1ex 246 | % } 247 | % \setbeamertemplate{block end} 248 | % { 249 | % \end{beamercolorbox} 250 | % \vskip0pt 251 | % \vspace*{2ex} 252 | % } 253 | 254 | 255 | % Alert Block 256 | \setbeamertemplate{block alerted begin} 257 | { 258 | \begin{beamercolorbox}[colsep*=0ex,dp=0ex]{block alerted title} 259 | \vskip-0.25ex\hskip1ex 260 | \usebeamerfont{block title}\insertblocktitle 261 | % \vskip-0.25ex 262 | \vskip-0.8ex 263 | \begin{beamercolorbox}[colsep=0.36ex]{block alerted separator}\end{beamercolorbox} 264 | \end{beamercolorbox} 265 | {\parskip0pt\par} 266 | \usebeamerfont{block body} 267 | \vskip-0.5ex 268 | \begin{beamercolorbox}[colsep*=0ex]{block alerted body} 269 | \justifying 270 | \begin{adjustwidth}{1ex}{1ex} 271 | \setlength{\parskip}{1ex} 272 | \vskip-1ex 273 | } 274 | \setbeamertemplate{block alerted end} 275 | { 276 | \end{adjustwidth} 277 | \vskip1ex 278 | \end{beamercolorbox} 279 | \vskip0pt 280 | \vspace*{2ex} 281 | } 282 | 283 | % Example Block 284 | \setbeamertemplate{block example begin} 285 | { 286 | % \begin{beamercolorbox}[colsep*=0ex,dp=2ex,center]{block title} 287 | \begin{beamercolorbox}[colsep*=0ex,dp=0ex]{block example title} 288 | \vskip-0.25ex\hskip1ex 289 | \usebeamerfont{block example title}\insertblocktitle 290 | \vskip-0.25ex 291 | \vskip-1.25ex 292 | \begin{beamercolorbox}[colsep=0.115ex]{block example separator}\end{beamercolorbox} 293 | \end{beamercolorbox} 294 | {\parskip0pt\par} 295 | \usebeamerfont{block example body} 296 | % \vskip-0.5ex 297 | \begin{beamercolorbox}[colsep*=0ex]{block example body} 298 | \justifying 299 | \begin{adjustwidth}{1ex}{1ex} 300 | \setlength{\parskip}{1ex} 301 | \vskip-1ex 302 | } 303 | \setbeamertemplate{block example end} 304 | { 305 | \end{adjustwidth} 306 | \vskip1ex 307 | \end{beamercolorbox} 308 | \vskip0pt 309 | \vspace*{2ex} 310 | } 311 | 312 | 313 | 314 | 315 | 316 | % Footer 317 | \newcommand{\footercontent}[1]{\newcommand{\insertfootercontent}{#1}} 318 | 319 | \setbeamertemplate{footline}{ 320 | \ifdefined\insertfootercontent 321 | \begin{beamercolorbox}[vmode]{headline} 322 | \ifbeamercolorempty[bg]{headline rule}{}{ 323 | \begin{beamercolorbox}[wd=\paperwidth,colsep=0.25ex]{headline rule}\end{beamercolorbox} 324 | } 325 | \vspace{1.5ex} 326 | \hspace{\sepwidth} 327 | \usebeamerfont{footline} 328 | \centering 329 | \insertfootercontent 330 | \hspace{\sepwidth} 331 | \vspace{1.5ex} 332 | \end{beamercolorbox} 333 | \else\fi 334 | } 335 | -------------------------------------------------------------------------------- /Poster/header.tex: -------------------------------------------------------------------------------- 1 | \usepackage[T1]{fontenc} 2 | \usepackage[size=custom,width=120,height=72,scale=1.5]{beamerposter} 3 | \usetheme{gemini} 4 | \usecolortheme{gemini} 5 | \usepackage{graphicx} 6 | \usepackage{booktabs} 7 | \usepackage{caption} 8 | \usepackage{cleveref} 9 | \Crefname{equation}{Eq.\!}{Eqs.\!} 10 | \usepackage[backend=biber,style=numeric,defernumbers=true]{biblatex} 11 | \usepackage{svg} 12 | \usepackage{multicol} 13 | \usepackage{mathtools} 14 | \usepackage{subcaption} 15 | \usepackage{etoolbox} 16 | \usepackage{tcolorbox} 17 | \usepackage{xparse} 18 | \usepackage{xcolor} 19 | 20 | % figure support 21 | \usepackage{import} 22 | \usepackage{xifthen} 23 | \usepackage{pdfpages} 24 | \usepackage{transparent} 25 | \newcommand{\incfig}[1]{% 26 | \def\svgwidth{\columnwidth} 27 | \import{./Figures/}{#1.pdf_tex} 28 | } 29 | 30 | \DeclareMathOperator*{\argmax}{arg\,max} 31 | \DeclareMathOperator*{\argmin}{arg\,min} 32 | \newcommand{\at}[3]{\left.#1\right\vert_{#2}^{#3}} 33 | \let\implies\Rightarrow 34 | 35 | \DeclareNameFormat{family}{% 36 | \usebibmacro{name:family} 37 | {\namepartfamily} 38 | {\namepartgiven} 39 | {\namepartprefix} 40 | {\namepartsuffix}% 41 | \usebibmacro{name:andothers}} 42 | 43 | \DeclareFieldFormat*{cite title}{#1} 44 | \DeclareFieldFormat*{title}{#1} 45 | \renewbibmacro{in:}{} 46 | 47 | \DeclareNameAlias{default}{family} 48 | \DeclareNameAlias{sortname}{default} 49 | \DeclareNameAlias{labelname}{default} 50 | 51 | \AtEveryBibitem{% 52 | \clearfield{journal}% 53 | \clearfield{booktitle}% 54 | \clearfield{pages}% 55 | } 56 | \renewcommand*{\bibfont}{\footnotesize} 57 | 58 | % Undefine existing environments 59 | \let\definition\relax 60 | \let\enddefinition\relax 61 | \let\theorem\relax 62 | \let\endtheorem\relax 63 | 64 | % Define `definition` environment 65 | \NewDocumentEnvironment{definition}{o} 66 | { 67 | \begin{tcolorbox}[colback=GreenYellow!5!white, colframe=GreenYellow!75!black] 68 | {\color{purple}\bfseries Definition}% 69 | \IfValueT{#1}{\textnormal{~(#1)}}% 70 | \textbf{.}~ 71 | } 72 | { 73 | \end{tcolorbox} 74 | } 75 | 76 | % Define `theorem` environment 77 | \NewDocumentEnvironment{theorem}{o} 78 | { 79 | \begin{tcolorbox}[colback=SkyBlue!5!white, colframe=SkyBlue!75!black] 80 | {\color{purple}\bfseries Theorem}% 81 | \IfValueT{#1}{\textnormal{~(#1)}}% 82 | \textbf{.}~ 83 | } 84 | { 85 | \end{tcolorbox} 86 | } 87 | 88 | \NewDocumentEnvironment{highlight}{o}{\begin{tcolorbox}[colback=GreenYellow!5!white,colframe=GreenYellow!75!black]\IfValueT{#1}{{\color{purple}\textbf{#1.}}~}}{\end{tcolorbox}} 89 | 90 | % If you have N columns, choose \sepwidth and \colwidth such that 91 | % (N+1)*\sepwidth + N*\colwidth = \paperwidth 92 | \newlength{\sepwidth} 93 | \newlength{\colwidth} 94 | \setlength{\sepwidth}{0.01\paperwidth} 95 | \setlength{\colwidth}{0.31\paperwidth} -------------------------------------------------------------------------------- /Poster/poster.bbl: -------------------------------------------------------------------------------- 1 | % $ biblatex auxiliary file $ 2 | % $ biblatex bbl format version 3.3 $ 3 | % Do not modify the above lines! 4 | % 5 | % This is an auxiliary file used by the 'biblatex' package. 6 | % This file may safely be deleted. It will be recreated by 7 | % biber as required. 8 | % 9 | \begingroup 10 | \makeatletter 11 | \@ifundefined{ver@biblatex.sty} 12 | {\@latex@error 13 | {Missing 'biblatex' package} 14 | {The bibliography requires the 'biblatex' package.} 15 | \aftergroup\endinput} 16 | {} 17 | \endgroup 18 | 19 | 20 | \refsection{0} 21 | \datalist[entry]{nty/global//global/global/global} 22 | \entry{newton1726philosophiae}{book}{}{} 23 | \name{author}{1}{}{% 24 | {{hash=c2827ae14feae073cd692358c06f386d}{% 25 | family={Newton}, 26 | familyi={N\bibinitperiod}, 27 | given={I.}, 28 | giveni={I\bibinitperiod}}}% 29 | } 30 | \list{publisher}{1}{% 31 | {Innys}% 32 | } 33 | \strng{namehash}{c2827ae14feae073cd692358c06f386d} 34 | \strng{fullhash}{c2827ae14feae073cd692358c06f386d} 35 | \strng{fullhashraw}{c2827ae14feae073cd692358c06f386d} 36 | \strng{bibnamehash}{c2827ae14feae073cd692358c06f386d} 37 | \strng{authorbibnamehash}{c2827ae14feae073cd692358c06f386d} 38 | \strng{authornamehash}{c2827ae14feae073cd692358c06f386d} 39 | \strng{authorfullhash}{c2827ae14feae073cd692358c06f386d} 40 | \strng{authorfullhashraw}{c2827ae14feae073cd692358c06f386d} 41 | \field{sortinit}{N} 42 | \field{sortinithash}{22369a73d5f88983a108b63f07f37084} 43 | \field{labelnamesource}{author} 44 | \field{labeltitlesource}{title} 45 | \field{title}{Philosophiae naturalis principia mathematica} 46 | \field{year}{1726} 47 | \verb{urlraw} 48 | \verb https://books.google.com/books?id=WeZ09rjv-1kC 49 | \endverb 50 | \verb{url} 51 | \verb https://books.google.com/books?id=WeZ09rjv-1kC 52 | \endverb 53 | \endentry 54 | \enddatalist 55 | \endrefsection 56 | \endinput 57 | 58 | -------------------------------------------------------------------------------- /Poster/poster.nav: -------------------------------------------------------------------------------- 1 | \headcommand {\slideentry {0}{0}{1}{1/1}{}{0}} 2 | \headcommand {\beamer@framepages {1}{1}} 3 | \headcommand {\beamer@partpages {1}{1}} 4 | \headcommand {\beamer@subsectionpages {1}{1}} 5 | \headcommand {\beamer@sectionpages {1}{1}} 6 | \headcommand {\beamer@documentpages {1}} 7 | \headcommand {\gdef \inserttotalframenumber {1}} 8 | -------------------------------------------------------------------------------- /Poster/poster.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sleepymalc/LaTeX-Template/e0958fee7ef86757e1e7603680ce87bedbe35f31/Poster/poster.pdf -------------------------------------------------------------------------------- /Poster/poster.snm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sleepymalc/LaTeX-Template/e0958fee7ef86757e1e7603680ce87bedbe35f31/Poster/poster.snm -------------------------------------------------------------------------------- /Poster/poster.synctex.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sleepymalc/LaTeX-Template/e0958fee7ef86757e1e7603680ce87bedbe35f31/Poster/poster.synctex.gz -------------------------------------------------------------------------------- /Poster/poster.tex: -------------------------------------------------------------------------------- 1 | \documentclass[final,dvipsnames]{beamer} 2 | \input{header.tex} 3 | 4 | 5 | \title{We Reach AGI!!!} 6 | \author{Pingbang Hu} % To add other authors, use \and 7 | \institute{University of Illinois Urbana-Champaign} 8 | 9 | \footercontent{\href{https://www.example.com}{https://www.example.com} \hfill NeurIPS 2030} 10 | 11 | 12 | \logoleft{\includegraphics[height=4.2cm]{Figures/logo/NeurIPS.png}\hspace{1em}\includegraphics[height=4.2cm]{Figures/logo/QRCode.png}} 13 | \logoright{\includegraphics[height=5.5cm]{Figures/logo/UIUC.png}} 14 | 15 | \addbibresource{reference.bib} 16 | 17 | \begin{document} 18 | 19 | \begin{frame}[t] 20 | \begin{columns}[t] 21 | 22 | \begin{column}{\colwidth} 23 | 24 | \begin{block}{\textbf{Problem Formulation}: A Curious Little Problem} 25 | The goal of this work is to understand something interesting but possibly unnecessary. But don't worry---we'll formalize it: 26 | 27 | \begin{definition}[The Problem] 28 | Formally, this is the problem we're pretending is novel. It involves mysterious variables, vague assumptions, and a deep sense of academic urgency. 29 | \end{definition} 30 | 31 | Here's a visual representation, just to look professional: 32 | 33 | \begin{figure}[H] 34 | \centering 35 | \includegraphics{example-image-a} 36 | \caption{A figure. Definitely helps, right?} 37 | \end{figure} 38 | 39 | As you can see, this figure captures the essence of the problem. 40 | 41 | \begin{highlight}[Insightful Highlight Box] 42 | This box exists to draw your attention. What to? Not entirely sure. But it's highlighted, so it must be important. 43 | \end{highlight} 44 | 45 | \end{block} 46 | 47 | \begin{block}{\textbf{Existing Approaches}: A Brief Stroll Through Literature} 48 | A quick literature review to show we read a few papers: 49 | 50 | \begin{itemize} 51 | \item Classical physics seems somehow relevant~\cite{newton1726philosophiae}. 52 | \item Honestly, we just needed a second bullet point. 53 | \end{itemize} 54 | \end{block} 55 | 56 | \begin{block}{\textbf{Overview and Contributions}} 57 | This work marks a pivotal moment in the history of ML and AI: 58 | \begin{enumerate} 59 | \item A theoretical argument for why {\color{RedOrange}\textbf{AGI}} is inevitable. 60 | \item We actually build such a model with \(\approx \)\emph{one trillion} parameters. 61 | \item Empirical results showing perfect scores on this year's IMO (not even out). 62 | \end{enumerate} 63 | \end{block} 64 | 65 | \end{column} 66 | 67 | 68 | \begin{column}{\colwidth} 69 | 70 | \begin{block}{\textbf{Theoretical Results}: Unquestionable Mathematical Rigor} 71 | Now that we've stated the problem, let's prove some theorems. Or at least write some that look impressive: 72 | 73 | \begin{theorem}[AGI Emergence] 74 | If your model has at least \(10^{12}\) parameters and a sufficiently dramatic name, it will become sentient with probability \(\epsilon > 0\). 75 | \end{theorem} 76 | 77 | \begin{definition}[Superintelligence Gradient] 78 | The partial derivative of model confidence with respect to Twitter hype. Empirically observed to be strictly increasing. 79 | \end{definition} 80 | 81 | \begin{figure}[H] 82 | \centering 83 | \includegraphics[width=0.7\linewidth]{example-image-b} 84 | \caption{Evidence of emergent intelligence.} 85 | \end{figure} 86 | \end{block} 87 | 88 | \begin{block}{\textbf{Failed Approaches}: We Suffered So You Don't Have To} 89 | Naturally, we tried some things that didn't work: 90 | 91 | \begin{itemize} 92 | \item \textbf{Copying ChatGPT:} Ethically dubious, technically tempting. 93 | \item \textbf{Brute Force AGI:} Required more GPUs than the planet currently owns. 94 | \end{itemize} 95 | 96 | \begin{theorem}[Overfit Paradox] 97 | As model size increases, accuracy increases on everything except the test set. 98 | \end{theorem} 99 | \end{block} 100 | 101 | \end{column} 102 | 103 | \begin{column}{\colwidth} 104 | 105 | \begin{block}{\textbf{Proposed Method}: Definitely Not Just a Bigger Transformer} 106 | Our model is designed with scalability, explainability, and marketability in mind. 107 | 108 | \begin{definition}[Trillion-Parameter Transformer] 109 | A neural network so large, it requires its own power grid and a team of therapists. 110 | \end{definition} 111 | 112 | \begin{theorem}[Universal Solver] 113 | Given enough data and a sufficiently vague benchmark, our model achieves state-of-the-art on at least one metric. 114 | \end{theorem} 115 | 116 | \begin{highlight}[Core Insight] 117 | If you make the model big enough, you can always claim "emergent behavior." 118 | \end{highlight} 119 | \end{block} 120 | 121 | \begin{block}{\textbf{Experimental Results}: Trust Us, We Have Graphs} 122 | We tested our model on: 123 | 124 | \begin{itemize} 125 | \item IMO. We got a perfect score. Somehow. 126 | \item The Turing Test. The judges asked it for dating advice and were convinced. 127 | \item StackOverflow. It answered ``it depends'' with \(95\%\) accuracy. 128 | \end{itemize} 129 | 130 | \begin{figure}[H] 131 | \centering 132 | \includegraphics[width=0.4\linewidth]{example-image-c} 133 | \caption{Blue line = us. Orange line = others. Need we say more?} 134 | \end{figure} 135 | \end{block} 136 | 137 | \begin{block}{\textbf{Conclusions and Next Steps}} 138 | \begin{enumerate} 139 | \item Our method is clearly on track to surpass human intelligence. 140 | \item We're currently retraining it using only philosopher quotes. 141 | \item Future work: deploy model on Mars and let it evolve in isolation. 142 | \end{enumerate} 143 | 144 | \begin{highlight}[Final Thought] 145 | This project started as a joke. Now it's under review at NeurIPS. 146 | \end{highlight} 147 | \end{block} 148 | 149 | \vspace{-1em} 150 | 151 | \begin{beamercolorbox}[colsep*=0ex]{block body} 152 | \begin{adjustwidth}{1ex}{1ex} 153 | \setlength{\parskip}{1ex} 154 | \vskip-1ex 155 | 156 | \begin{center}\mbox{}\vspace{-\baselineskip} 157 | \setlength\bibitemsep{0pt} 158 | \printbibliography[heading=none] 159 | \end{center} 160 | 161 | \end{adjustwidth} 162 | \vskip1ex 163 | \end{beamercolorbox} 164 | 165 | \end{column} 166 | 167 | \end{columns} 168 | \end{frame} 169 | 170 | \end{document} -------------------------------------------------------------------------------- /Poster/reference.bib: -------------------------------------------------------------------------------- 1 | @book{newton1726philosophiae, 2 | author = {Newton, I.}, 3 | title = {Philosophiae naturalis principia mathematica}, 4 | publisher = {Innys}, 5 | url = {https://books.google.com/books?id=WeZ09rjv-1kC}, 6 | year = {1726} 7 | } 8 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # LaTeX Template 2 | 3 | <p align="center"> 4 | <img src="./preview.png"/> 5 | </p> 6 | 7 | <p align="center"><b><i> 8 | LaTeX Templates I used. 9 | </i></b></p> 10 | 11 | ## Abstract 12 | 13 | The existing $\LaTeX$ templates are often over-complicated, which is why I try to make them simple and unified. The following are templates you might need: 14 | 15 | - [Note](./Note) 16 | - [Report/Assignment](./Report) 17 | - [Beamer](./Beamer) 18 | - [CV/Resume](./CV) 19 | - [Letter](./Letter) 20 | 21 | > If you're interested in my $\LaTeX$ typeset setup, check out [this repo](https://github.com/sleepymalc/VSCode-LaTeX-Inkscape). 22 | -------------------------------------------------------------------------------- /Report/header.tex: -------------------------------------------------------------------------------- 1 | \usepackage[colorlinks=true,linkcolor=blue,urlcolor=red]{hyperref} 2 | \usepackage{amsmath, amsfonts, mathtools, amsthm, amssymb} 3 | \usepackage{geometry} 4 | \usepackage{float} 5 | \usepackage{mathrsfs} 6 | \usepackage{booktabs} 7 | \usepackage[inline, shortlabels]{enumitem} 8 | \usepackage{graphicx} 9 | \usepackage{indentfirst} 10 | \usepackage[dvipsnames]{xcolor} 11 | \usepackage{color} 12 | \usepackage{caption} 13 | \usepackage{array} 14 | \usepackage{etoolbox} 15 | \usepackage{siunitx} 16 | \usepackage[natbib=true,style=numeric,sorting=none]{biblatex} 17 | \usepackage[T1]{fontenc} 18 | \usepackage[nodayofweek]{datetime} 19 | \usepackage[british]{datetime2} 20 | \usepackage{lastpage} 21 | \usepackage{thmtools} 22 | \input{~/Developer/LaTeX-Template/Math.tex} 23 | 24 | % when you need multi-row in tabular 25 | \usepackage{multirow} 26 | 27 | \geometry{a4paper,left=2.54cm,right=2.54cm,top=2.54cm,bottom=2.54cm} 28 | \setlength{\headheight}{13.59999pt} 29 | \setlength{\parindent}{1em} 30 | \thispagestyle{empty} 31 | 32 | \newcolumntype{P}[1]{>{\centering\arraybackslash}p{#1}} 33 | \renewcommand{\qed}{\hfill\(\blacksquare\)} 34 | 35 | \newcommand\blfootnote[1]{% 36 | \begingroup 37 | \renewcommand\thefootnote{}\footnote{#1}% 38 | \addtocounter{footnote}{-1}% 39 | \endgroup 40 | } 41 | 42 | \setlength {\marginparwidth }{2cm} 43 | 44 | % TodoNotes and inline notes in fancy boxes 45 | \usepackage{todonotes} 46 | \usepackage{tcolorbox} 47 | 48 | % Algorithm Env 49 | \usepackage[linesnumbered,lined,vlined,ruled,commentsnumbered]{algorithm2e} 50 | \SetKwComment{Comment}{// }{} 51 | \SetArgSty{textsl} 52 | \def\algocflineautorefname{Algorithm} 53 | \def\equationautorefname{Equation} 54 | 55 | % Clear out the item autoref name 56 | \makeatletter 57 | \def\itemautorefname{\@gobble} 58 | \makeatother 59 | 60 | \pdfsuppresswarningpagegroup=1 61 | \usepackage{fancyhdr} % Required for customizing headers and footers 62 | 63 | \pagestyle{fancy} % Enable custom headers and footers 64 | 65 | \lhead{\small\Course\ifdef{\Instructor}{\ (\Instructor):}{}\ \Title} % Left header; output the instructor in brackets if one was set 66 | \chead{} % Centre header 67 | \rhead{} 68 | 69 | \rhead{\small\ifdef{\DueDate}{Due\ \DueDate}{}} % Right header; output the author name if one was set, otherwise the due date if that was set 70 | 71 | 72 | \lfoot{} % Left footer 73 | \cfoot{\small Page\ \thepage\ of\ \pageref{LastPage}} % Centre footer 74 | \rfoot{} % Right footer 75 | 76 | % Appendix environment 77 | \usepackage{appendix} 78 | \def\sectionautorefname{Section} 79 | \def\subsectionautorefname{Section} 80 | \def\appendixautorefname{Appendix} 81 | \renewcommand\appendixname{Appendix} 82 | \renewcommand\appendixtocname{Appendix} 83 | \renewcommand\appendixpagename{Appendix} 84 | % begin appendix autoref patch [\autoref subsections in appendix](https://tex.stackexchange.com/questions/149807/autoref-subsections-in-appendix) 85 | \makeatletter 86 | \patchcmd{\hyper@makecurrent}{% 87 | \ifx\Hy@param\Hy@chapterstring 88 | \let\Hy@param\Hy@chapapp 89 | \fi 90 | }{% 91 | \iftoggle{inappendix}{%true-branch 92 | % list the names of all sectioning counters here 93 | \@checkappendixparam{chapter}% 94 | \@checkappendixparam{section}% 95 | \@checkappendixparam{subsection}% 96 | \@checkappendixparam{subsubsection}% 97 | \@checkappendixparam{paragraph}% 98 | \@checkappendixparam{subparagraph}% 99 | }{}% 100 | }{}{\errmessage{failed to patch}} 101 | 102 | \newcommand*{\@checkappendixparam}[1]{% 103 | \def\@checkappendixparamtmp{#1}% 104 | \ifx\Hy@param\@checkappendixparamtmp 105 | \let\Hy@param\Hy@appendixstring 106 | \fi 107 | } 108 | \makeatletter 109 | 110 | \newtoggle{inappendix} 111 | \togglefalse{inappendix} 112 | 113 | \apptocmd{\appendix}{\toggletrue{inappendix}}{}{\errmessage{failed to patch}} 114 | \apptocmd{\subappendices}{\toggletrue{inappendix}}{}{\errmessage{failed to patch}} 115 | % end appendix autoref patch 116 | 117 | % Environments 118 | \makeatother 119 | % For box around Definition, Theorem, etc. 120 | \usepackage{mdframed} 121 | \mdfsetup{skipabove=1em,skipbelow=1em} 122 | \theoremstyle{definition} 123 | \newmdtheoremenv{definition}{Definition} 124 | \providecommand*\definitionautorefname{Definition} 125 | \newmdtheoremenv{theorem}{Theorem} 126 | \providecommand*\theoremautorefname{Theorem} 127 | \newmdtheoremenv{lemma}{Lemma} 128 | \providecommand*\lemmaautorefname{Lemma} 129 | \newmdtheoremenv{proposition}{Proposition} 130 | \providecommand*\problemautorefname{Proposition} 131 | \newmdtheoremenv{corollary}{Corollary} 132 | \providecommand*\problemautorefname{Corollary} 133 | \newmdtheoremenv{remark}{Remark} 134 | \providecommand*\remarkautorefname{Remark} 135 | \newmdtheoremenv{problem}{Problem} 136 | \providecommand*\problemautorefname{Problem} 137 | \newmdtheoremenv{claim}{Claim} 138 | \providecommand*\problemautorefname{Claim} 139 | 140 | \makeatletter 141 | 142 | \renewcommand\headrulewidth{0.5pt} 143 | 144 | \makeatletter 145 | \def\@maketitle{% 146 | \newpage 147 | \null 148 | \vskip 2em% 149 | \begin{center}% 150 | \let \footnote \thanks 151 | {\LARGE \@title \par}% 152 | \vskip 1.5em% 153 | {\large 154 | \lineskip .5em% 155 | \begin{tabular}[t]{c}% 156 | \@author \\ 157 | \normalsize{ 158 | \ifdef{\NetID}{NetID: \NetID}{} 159 | } 160 | \end{tabular}\par}% 161 | \vskip 1em% 162 | {\large \@date}% 163 | \end{center}% 164 | \par 165 | \vskip 1.5em 166 | } 167 | \makeatother 168 | 169 | \title{ 170 | \begin{center} 171 | \rule{15cm}{0.01cm} 172 | \\\LARGE{ 173 | \Instuition 174 | \\ 175 | \SeasonYear 176 | \\ 177 | \Course 178 | } 179 | \\\rule{15cm}{0.01cm} 180 | \\\vspace{6cm} 181 | \begin{huge} 182 | \sc{\Title} 183 | \end{huge} 184 | \end{center} 185 | \vfill 186 | \flushleft 187 | \ifdef{\Group}{ 188 | \begin{center} 189 | \large 190 | \sc{\Group} 191 | \mbox{} 192 | \end{center} 193 | }{} 194 | } -------------------------------------------------------------------------------- /Report/main.bbl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sleepymalc/LaTeX-Template/e0958fee7ef86757e1e7603680ce87bedbe35f31/Report/main.bbl -------------------------------------------------------------------------------- /Report/main.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sleepymalc/LaTeX-Template/e0958fee7ef86757e1e7603680ce87bedbe35f31/Report/main.pdf -------------------------------------------------------------------------------- /Report/main.synctex.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sleepymalc/LaTeX-Template/e0958fee7ef86757e1e7603680ce87bedbe35f31/Report/main.synctex.gz -------------------------------------------------------------------------------- /Report/main.tex: -------------------------------------------------------------------------------- 1 | \documentclass[12pt]{article} 2 | \input{header.tex} 3 | \input{../ListStyle.tex} 4 | 5 | \author{Pingbang Hu} 6 | \newcommand{\Instuition}{University of Illinois Urbana-Champaign} 7 | \newcommand{\SeasonYear}{2023FA} 8 | \newcommand{\Course}{Course Name} 9 | \newcommand{\Title}{Template} 10 | \newcommand{\Group}{} 11 | \newcommand{\NetID}{pbb} 12 | \newcommand{\Instructor}{Instructor's name} 13 | \newcommand{\DueDate}{\DTMdisplaydate{2023}{8}{28}{-1}} 14 | \usepackage{graphicx} 15 | 16 | 17 | \begin{document} 18 | 19 | \clearpage\maketitle 20 | \thispagestyle{empty} 21 | 22 | \newpage 23 | \setcounter{page}{1} 24 | %---------------------------------------------------------------------------------------------------------------------------------------------------- 25 | Common environments are all available, e.g., \texttt{definition}, \texttt{remark}, \texttt{lemma}, \texttt{theorem}. 26 | 27 | \begin{definition} 28 | This is a definition. 29 | \end{definition} 30 | 31 | \begin{remark} 32 | This is a remark. 33 | \end{remark} 34 | 35 | Nothing fancy for this template. You can mark todo using \texttt{todo}\todo{This is a todo} to mark the place that you wish to come back and finish later. 36 | 37 | \end{document} -------------------------------------------------------------------------------- /preview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sleepymalc/LaTeX-Template/e0958fee7ef86757e1e7603680ce87bedbe35f31/preview.png --------------------------------------------------------------------------------