├── .gitignore ├── FlipPreamble.tex ├── FlipPreambleEnd.tex ├── P231.pdf ├── P231.tex ├── README.md ├── aas_macros.sty ├── colors.txt ├── figures ├── Complex_01_log.pdf ├── Complex_01_rot.pdf ├── Complex_02_rot.pdf ├── Complex_03_rot.pdf ├── Complex_03_sq.pdf ├── Complex_04_log.pdf ├── Complex_06_CRiem.pdf ├── Complex_06_RRiem.pdf ├── Complex_06_RRiem2.pdf ├── Complex_07_2sheet.pdf ├── ConditionalProb.png ├── FlipAmbigram.png ├── Kramers_01.pdf ├── Kramers_02.pdf ├── Kramers_03.pdf ├── Kramers_04.pdf ├── Kramers_05_FDominec.pdf ├── Lec08_XD_2D1.pdf ├── Lec08_XD_2D2.pdf ├── Lec27_2da.pdf ├── Lec27_2db.pdf ├── Lec27_2dblip.png ├── Lec27_3dblip.png ├── Lec_2017_12_StoGo_Fig17_5.pdf ├── Lec_2017_12_circle.png ├── Lec_2017_12_integral.png ├── Lec_2017_12_plaquette.png ├── Lec_2017_13_2poles.png ├── Lec_2017_14_analytic_continuation.png ├── Lec_2017_14_branch.png ├── Lec_2017_14_contour.png ├── Lec_2017_14_whichcontour.png ├── Lec_2017_16_Feynman.png ├── Lec_2017_16_HO_PoleShift.png ├── Lec_2017_16_HO_Poles.pdf ├── Lec_2017_16_pokedown.pdf ├── Lec_2017_16_pokeup.pdf ├── Lec_2017_16_underpole.png ├── Lec_2017_corner.png ├── Lec_2017_holes.png ├── Lec_2017_paths.png ├── Lec_2017_plaq_int.png ├── Lec_2017_plaqses.png ├── Lec_2017_stereographic.png ├── Lec_2021_tangentS2.pdf ├── MagrittePipe.jpg ├── Monty_01.pdf ├── Monty_02.pdf ├── P230b_2Ainv.png ├── P230b_4ptdisco.png ├── P230b_4ptlocal.png ├── UCRHEP_2022.png ├── UCRPnA_banner.png ├── allometry_meyer-verneta.png ├── bretagne.png ├── coupledHO.jpg ├── innerprod.pdf ├── lec01_allometry.pdf ├── lec01_drop.pdf ├── lec01_orbit.pdf ├── lec01_pendulum.pdf ├── lec02_e1.pdf ├── lec02_e2.pdf ├── lec02_e3.pdf ├── lec02_e4.pdf ├── lec02_green01.pdf ├── lec02_hist.pdf ├── lec02_hist2.pdf ├── lec02_histfun.pdf ├── lec05_paccontract.png ├── lec05_paceats.png ├── lec05_pacman.png ├── lec06_1charge.png ├── lec06_2charge.png ├── lec06_cat.png ├── lec06_propagator.png ├── lec10_.png ├── lec11_GgGl.png ├── lec12_eg.png ├── lec13_complexvar.png ├── lec13_log.png ├── lec13_mani.png ├── lec13_map1.png ├── lec13_map2.png ├── lec13_map3.png ├── lec13_map4.png ├── lec13_map5.png ├── lec13_tanvec.png ├── lec13z2.jpg ├── mandelbrot.png ├── manifold1.pdf ├── manifold2.pdf ├── manifold3.pdf ├── manifold3a.pdf ├── manifold4.pdf ├── manifold5.pdf ├── marine-knots.jpg ├── mathematical_symbol_fight_2x.png ├── matrixmultiplication.pdf ├── rowcolmult.pdf └── usa-census.png ├── orcidlink.sty ├── refs.bib ├── tufte-style-thesis-flip.cls ├── tufte-style-thesis.cls └── utcaps.bst /.gitignore: -------------------------------------------------------------------------------- 1 | 2 | # FLIP: 3 | !.gitignore 4 | # *.pdf 5 | !/figures/* 6 | # !P231.pdf 7 | OLD/ 8 | 9 | # LATEX 10 | *.aux 11 | *.glo 12 | *.idx 13 | *.log 14 | *.toc 15 | *.ist 16 | *.acn 17 | *.acr 18 | *.alg 19 | *.bbl 20 | *.blg 21 | *.tmp 22 | *.dvi 23 | *.glg 24 | *.gls 25 | *.ilg 26 | *.ind 27 | *.fdb_latexmk 28 | *.fls 29 | *.lof 30 | *.log 31 | *.lot 32 | *.maf 33 | *.mtc 34 | *.mtc1 35 | *.out 36 | *.synctex.gz 37 | *.toc 38 | *.xdv 39 | *.xml 40 | *.bcf 41 | *.lol 42 | 43 | # Sublime 44 | *.sublime-project 45 | *.sublime-workspace 46 | 47 | # Mac finder files and hidden folders 48 | .DS_Store -------------------------------------------------------------------------------- /FlipPreamble.tex: -------------------------------------------------------------------------------- 1 | %!TEX root = paper.tex 2 | %% FLIP’S PREAMBLE; 3 | %% Use FlipAdditionalHeader for project-specific packages & macros 4 | 5 | % \pdfoutput=1 % for JHEP 6 | 7 | %%%%%%%%%%%%%%%%%%%%%%%%%% 8 | %%% COMMON PACKAGES %%%% 9 | %%%%%%%%%%%%%%%%%%%%%%%%%% 10 | 11 | \usepackage{amsmath} 12 | \usepackage{amssymb} 13 | \usepackage{amsfonts} 14 | \usepackage{graphicx} 15 | % \usepackage[utf8]{inputenc} % inspire bibs 16 | \usepackage{aas_macros} % ads bibs 17 | \usepackage{bm} 18 | \usepackage{fix-cm} % \boldsymbol 19 | \usepackage{amsthm} 20 | \usepackage{microtype} 21 | 22 | %%%%%%%%%%%%%%%%%%%%%%%%%%% 23 | %%% UNUSUAL PACKAGES %%%% 24 | %%%%%%%%%%%%%%%%%%%%%%%%%%% 25 | 26 | %% MATH AND PHYSICS SYMBOLS 27 | %% ------------------------ 28 | \usepackage{slashed} % \slashed{k} 29 | \usepackage{mathrsfs} % Weinberg-esque letters 30 | \usepackage{bbm} % \mathbbm{1} conflict: XeLaTeX 31 | \usepackage{cancel} 32 | \usepackage[normalem]{ulem} % for \sout 33 | \usepackage{youngtab} % Young Tableaux 34 | % \usepackage{isomath} % for styling vectors 35 | 36 | %% CONTENT FORMAT AND DESIGN 37 | %% ------------------------- 38 | % \usepackage[dvipsnames]{xcolor} % OPTION CLASH 39 | % \usepackage[hang,flushmargin]{footmisc} % OPTION CLASH 40 | 41 | % \usepackage{fancyhdr} % preprint number 42 | \usepackage{lipsum} % block of text 43 | \usepackage{framed} % boxed remarks / Next time: use mdframed 44 | % https://github.com/marcodaniel/mdframed/blob/master/mdframed.pdf 45 | % \usepackage{subcaption} % subfigures 46 | % \usepackage{cite} % group cites 47 | \usepackage{xspace} % macro spacing 48 | 49 | 50 | %% TABLES IN LaTeX 51 | %% --------------- 52 | \usepackage{booktabs} % professional tables 53 | \usepackage{nicefrac} % fractions in tables, 54 | \usepackage{multirow} % multirow elements in a table 55 | \usepackage{arydshln} % dashed lines in arrays 56 | 57 | %% ARRAY STRETCH: vertical spacing between rows 58 | % \renewcommand{\arraystretch}{1.5} %% put this in main text 59 | 60 | %% Other Packages and Notes 61 | %% ------------------------ 62 | % \usepackage[font=small]{caption} % caption font is small 63 | % \usepackage{float} % for strict placement e.g. [H] 64 | 65 | 66 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 67 | %%% DOCUMENT PROPERTIES %%%% 68 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 69 | 70 | % \usepackage[margin=2.5cm]{geometry} % margins 71 | \graphicspath{{figures/}} % figure folder 72 | % \numberwithin{equation}{section} % set equation numbering 73 | % \usepackage{marginnote} % for \marginnote{comment} 74 | % \usepackage{mparhack} % fix for \marginnote 75 | % \usepackage{marginfix} % fix for \marginnote 76 | % \usepackage{adjustbox} % to rescale elements 77 | 78 | 79 | 80 | %% References in two columns, smaller 81 | %% http://tex.stackexchange.com/questions/20758/ 82 | % \usepackage{multicol} 83 | % \usepackage{etoolbox} 84 | % \usepackage{relsize} 85 | % \patchcmd{\thebibliography} 86 | % {\list} 87 | % {\begin{multicols}{2}\smaller\list} 88 | % {} 89 | % {} 90 | % \appto{\endthebibliography}{\end{multicols}} 91 | 92 | 93 | % % Change list spacing (instead of package paralist) 94 | % % from: http://en.wikibooks.org/wiki/LaTeX/List_Structures#Line_spacing 95 | % % alternative: enumitem package 96 | % \let\oldenumerate\enumerate 97 | % \renewcommand{\enumerate}{ 98 | % \oldenumerate 99 | % \setlength{\itemsep}{4pt} 100 | % \setlength{\parskip}{0pt} 101 | % \setlength{\parsep}{0pt} 102 | % } 103 | 104 | % \let\olditemize\itemize 105 | % \renewcommand{\itemize}{ 106 | % \olditemize 107 | % \setlength{\itemsep}{4pt} 108 | % \setlength{\parskip}{0pt} 109 | % \setlength{\parsep}{0pt} 110 | % } 111 | 112 | %% FOR DRAFT EDITING AND DISCUSSION 113 | % \usepackage{lineno} 114 | % \linenumbers %% put this in main text 115 | 116 | 117 | %%%%%%%%%%%%%%%%%%%%%%%%%%% 118 | %%% (RE)NEW COMMANDS %%%% 119 | %%%%%%%%%%%%%%%%%%%%%%%%%%% 120 | 121 | %% FOR `NOT SHOUTING' CAPS (e.g. acronyms) 122 | %% --------------------------------------- 123 | \usepackage{scalefnt} 124 | \newcommand\acro[1]{{\footnotesize #1}} % acronyms in footnote size 125 | 126 | 127 | %% COMMON PHYSICS MACROS 128 | %% --------------------- 129 | % \renewcommand{\tilde}{\widetilde} % tilde over characters 130 | %% doesn't seem to work with the default tufte-thesis font 131 | \renewcommand{\text}{\textnormal} % text in equations 132 | % \renewcommand{\vec}[1]{\mathbf{#1}} % vectors are italic boldface 133 | \renewcommand{\vec}[1]{\boldsymbol{#1}} % vectors are italic boldface 134 | % \renewcommand{\vec}[1]{\mathbfit{#1}} % using isomath; buggy 135 | 136 | %% For ISO tensor guidelines 137 | \DeclareMathAlphabet{\mathsfit}{T1}{\sfdefault}{\mddefault}{\sldefault} 138 | \SetMathAlphabet{\mathsfit}{bold}{T1}{\sfdefault}{\bfdefault}{\sldefault} 139 | \newcommand{\tensor}[1]{\mathsfit{#1}} % vectors are boldface 140 | 141 | % \newcommand{\dbar}{d\mkern-6mu\mathchar'26} % for d/2pi 142 | \newcommand{\dbar}{d\mkern-6mu\mathchar'26\hspace{-.1em}} % fixed spacing 143 | \renewcommand{\ket}[1]{\left|#1\right\rangle} % <#1| 144 | \renewcommand{\bra}[1]{\left\langle#1\,\right|} % |#1> 145 | \newcommand{\basis}[1]{{\hat{\vec{e}}_{#1}}} 146 | 147 | 148 | %% COMMANDS FOR TEMPORARY COMMENTS 149 | %% ------------------------------- 150 | \newcommand{\comment}[2]{\textcolor{red}{[\textbf{#1} #2]}} 151 | \newcommand{\flip}[1]{{ 152 | \color{green!50!black} 153 | \footnotesize 154 | [\textbf{\textsf{Flip}}: \textsf{#1}] 155 | }} 156 | 157 | 158 | %% COMMANDS FOR TOP-MATTER 159 | %% ----------------------- 160 | \newcommand{\email}[1]{\href{mailto:#1}{#1}} 161 | \newenvironment{institutions}[1][2em]{\begin{list}{}{\setlength\leftmargin{#1}\setlength\rightmargin{#1}}\item[]}{\end{list}} 162 | 163 | 164 | %% COMMANDS FOR LATEXDIFF 165 | %% ---------------------- 166 | %% see http://bit.ly/1M74uwc 167 | \providecommand{\DIFadd}[1]{{\protect\color{blue}#1}} %DIF PREAMBLE 168 | \providecommand{\DIFdel}[1]{{\protect\color{red}\protect\scriptsize{#1}}} 169 | 170 | %% REMARK: use latexdiff option --allow-spaces 171 | %% for \frac, ref: http://bit.ly/1iFlujR 172 | %% Errors with environments? https://tex.stackexchange.com/q/73224 173 | 174 | %% USAGE: latexdiff draft.tex revision.tex > diff.tex 175 | 176 | % %%%%%%%%%%%%%%%%%%%%% 177 | % %%% TITLE DATA %%%% 178 | % %%%%%%%%%%%%%%%%%%%%% 179 | 180 | % %% PREPRINT NUMBER USING fancyhdr 181 | % %% Don't forget to set \thispagestyle{firststyle} 182 | % %% ---------------------------------------------- 183 | % \renewcommand{\headrulewidth}{0pt} % no separator 184 | % \setlength{\headheight}{15pt} % min to avoid fancyhdr warning 185 | % \fancypagestyle{firststyle}{ 186 | % \rhead{\footnotesize% 187 | % \texttt{\FlipTR}% 188 | % }} 189 | 190 | % %% TOC overwrites fancyhdr, here's a fix 191 | % %% http://tex.stackexchange.com/questions/167828/ 192 | % \usepackage{etoc} 193 | % \renewcommand{\etocaftertitlehook}{\pagestyle{plain}} 194 | % \renewcommand{\etocaftertochook}{\thispagestyle{firststyle}} -------------------------------------------------------------------------------- /FlipPreambleEnd.tex: -------------------------------------------------------------------------------- 1 | %!TEX root = paper.tex 2 | %% These are packages that need to be called at the end of the preamble 3 | %% or else they may lead to potential package conflicts. 4 | 5 | %%%%%%%%%%%%%%%%%%% 6 | %%% HYPERREF %%%% 7 | %%%%%%%%%%%%%%%%%%% 8 | 9 | %% This package has to be at the end; can lead to conflicts 10 | \usepackage[ 11 | colorlinks=true, 12 | citecolor=green!50!black, 13 | linkcolor=NavyBlue!75!black, 14 | urlcolor=green!50!black, 15 | hypertexnames=false]{hyperref} 16 | 17 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 18 | %%% Must be called after HYPERREF %%%% 19 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 20 | 21 | 22 | \usepackage{orcidlink} % orcid ID icon; after hyperref 23 | \usepackage{cleveref} 24 | \crefformat{equation}{(#2#1#3)} % strip eq.~ 25 | \crefrangeformat{equation}{(#3#1#4\,--\,#5#2#6)} % strip eqs.~ -------------------------------------------------------------------------------- /P231.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/P231.pdf -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Math-Methods-Notes-2022 2 | Lecture notes for a graduate mathematical methods in physics course at UCR 3 | 4 | These notes replace the [2021 version](https://github.com/fliptanedo/Math-Methods-Notes-2021). The template is Sylvain Kern's [Tufte-Style Thesis](https://github.com/sylvain-kern/tufte-style-thesis). While I am rewriting these, the 2021 version may have information that has not been ported to this version. 5 | -------------------------------------------------------------------------------- /aas_macros.sty: -------------------------------------------------------------------------------- 1 | % 2 | % These Macros are taken from the AAS TeX macro package version 5.2 3 | % and are compatible with the macros in the A&A document class 4 | % version 7.0 5 | % Include this file in your LaTeX source only if you are not using 6 | % the AAS TeX macro package or the A&A document class and need to 7 | % resolve the macro definitions in the TeX/BibTeX entries returned by 8 | % the ADS abstract service. 9 | % 10 | % If you plan not to use this file to resolve the journal macros 11 | % rather than the whole AAS TeX macro package, you should save the 12 | % file as ``aas_macros.sty'' and then include it in your LaTeX paper 13 | % by using a construct such as: 14 | % \documentstyle[11pt,aas_macros]{article} 15 | % 16 | % For more information on the AASTeX and A&A packages, please see: 17 | % http://journals.aas.org/authors/aastex.html 18 | % ftp://ftp.edpsciences.org/pub/aa/readme.html 19 | % For more information about ADS abstract server, please see: 20 | % http://adsabs.harvard.edu/ads_abstracts.html 21 | % 22 | 23 | % Abbreviations for journals. The object here is to provide authors 24 | % with convenient shorthands for the most "popular" (often-cited) 25 | % journals; the author can use these markup tags without being concerned 26 | % about the exact form of the journal abbreviation, or its formatting. 27 | % It is up to the keeper of the macros to make sure the macros expand 28 | % to the proper text. If macro package writers agree to all use the 29 | % same TeX command name, authors only have to remember one thing, and 30 | % the style file will take care of editorial preferences. This also 31 | % applies when a single journal decides to revamp its abbreviating 32 | % scheme, as happened with the ApJ (Abt 1991). 33 | 34 | \let\jnl@style=\rm 35 | \def\ref@jnl#1{{\jnl@style#1}} 36 | 37 | \def\aj{\ref@jnl{AJ}} % Astronomical Journal 38 | \def\actaa{\ref@jnl{Acta Astron.}} % Acta Astronomica 39 | \def\araa{\ref@jnl{ARA\&A}} % Annual Review of Astron and Astrophys 40 | \def\apj{\ref@jnl{ApJ}} % Astrophysical Journal 41 | \def\apjl{\ref@jnl{ApJ}} % Astrophysical Journal, Letters 42 | \def\apjs{\ref@jnl{ApJS}} % Astrophysical Journal, Supplement 43 | \def\ao{\ref@jnl{Appl.~Opt.}} % Applied Optics 44 | \def\apss{\ref@jnl{Ap\&SS}} % Astrophysics and Space Science 45 | \def\aap{\ref@jnl{A\&A}} % Astronomy and Astrophysics 46 | \def\aapr{\ref@jnl{A\&A~Rev.}} % Astronomy and Astrophysics Reviews 47 | \def\aaps{\ref@jnl{A\&AS}} % Astronomy and Astrophysics, Supplement 48 | \def\azh{\ref@jnl{AZh}} % Astronomicheskii Zhurnal 49 | \def\baas{\ref@jnl{BAAS}} % Bulletin of the AAS 50 | \def\bac{\ref@jnl{Bull. astr. Inst. Czechosl.}} 51 | % Bulletin of the Astronomical Institutes of Czechoslovakia 52 | \def\caa{\ref@jnl{Chinese Astron. Astrophys.}} 53 | % Chinese Astronomy and Astrophysics 54 | \def\cjaa{\ref@jnl{Chinese J. Astron. Astrophys.}} 55 | % Chinese Journal of Astronomy and Astrophysics 56 | \def\icarus{\ref@jnl{Icarus}} % Icarus 57 | \def\jcap{\ref@jnl{J. Cosmology Astropart. Phys.}} 58 | % Journal of Cosmology and Astroparticle Physics 59 | \def\jrasc{\ref@jnl{JRASC}} % Journal of the RAS of Canada 60 | \def\memras{\ref@jnl{MmRAS}} % Memoirs of the RAS 61 | \def\mnras{\ref@jnl{MNRAS}} % Monthly Notices of the RAS 62 | \def\na{\ref@jnl{New A}} % New Astronomy 63 | \def\nar{\ref@jnl{New A Rev.}} % New Astronomy Review 64 | \def\pra{\ref@jnl{Phys.~Rev.~A}} % Physical Review A: General Physics 65 | \def\prb{\ref@jnl{Phys.~Rev.~B}} % Physical Review B: Solid State 66 | \def\prc{\ref@jnl{Phys.~Rev.~C}} % Physical Review C 67 | \def\prd{\ref@jnl{Phys.~Rev.~D}} % Physical Review D 68 | \def\pre{\ref@jnl{Phys.~Rev.~E}} % Physical Review E 69 | \def\prl{\ref@jnl{Phys.~Rev.~Lett.}} % Physical Review Letters 70 | \def\pasa{\ref@jnl{PASA}} % Publications of the Astron. Soc. of Australia 71 | \def\pasp{\ref@jnl{PASP}} % Publications of the ASP 72 | \def\pasj{\ref@jnl{PASJ}} % Publications of the ASJ 73 | \def\rmxaa{\ref@jnl{Rev. Mexicana Astron. Astrofis.}}% 74 | % Revista Mexicana de Astronomia y Astrofisica 75 | \def\qjras{\ref@jnl{QJRAS}} % Quarterly Journal of the RAS 76 | \def\skytel{\ref@jnl{S\&T}} % Sky and Telescope 77 | \def\solphys{\ref@jnl{Sol.~Phys.}} % Solar Physics 78 | \def\sovast{\ref@jnl{Soviet~Ast.}} % Soviet Astronomy 79 | \def\ssr{\ref@jnl{Space~Sci.~Rev.}} % Space Science Reviews 80 | \def\zap{\ref@jnl{ZAp}} % Zeitschrift fuer Astrophysik 81 | \def\nat{\ref@jnl{Nature}} % Nature 82 | \def\iaucirc{\ref@jnl{IAU~Circ.}} % IAU Cirulars 83 | \def\aplett{\ref@jnl{Astrophys.~Lett.}} % Astrophysics Letters 84 | \def\apspr{\ref@jnl{Astrophys.~Space~Phys.~Res.}} 85 | % Astrophysics Space Physics Research 86 | \def\bain{\ref@jnl{Bull.~Astron.~Inst.~Netherlands}} 87 | % Bulletin Astronomical Institute of the Netherlands 88 | \def\fcp{\ref@jnl{Fund.~Cosmic~Phys.}} % Fundamental Cosmic Physics 89 | \def\gca{\ref@jnl{Geochim.~Cosmochim.~Acta}} % Geochimica Cosmochimica Acta 90 | \def\grl{\ref@jnl{Geophys.~Res.~Lett.}} % Geophysics Research Letters 91 | \def\jcp{\ref@jnl{J.~Chem.~Phys.}} % Journal of Chemical Physics 92 | \def\jgr{\ref@jnl{J.~Geophys.~Res.}} % Journal of Geophysics Research 93 | \def\jqsrt{\ref@jnl{J.~Quant.~Spec.~Radiat.~Transf.}} 94 | % Journal of Quantitiative Spectroscopy and Radiative Transfer 95 | \def\memsai{\ref@jnl{Mem.~Soc.~Astron.~Italiana}} 96 | % Mem. Societa Astronomica Italiana 97 | \def\nphysa{\ref@jnl{Nucl.~Phys.~A}} % Nuclear Physics A 98 | \def\physrep{\ref@jnl{Phys.~Rep.}} % Physics Reports 99 | \def\physscr{\ref@jnl{Phys.~Scr}} % Physica Scripta 100 | \def\planss{\ref@jnl{Planet.~Space~Sci.}} % Planetary Space Science 101 | \def\procspie{\ref@jnl{Proc.~SPIE}} % Proceedings of the SPIE 102 | 103 | \let\astap=\aap 104 | \let\apjlett=\apjl 105 | \let\apjsupp=\apjs 106 | \let\applopt=\ao 107 | 108 | -------------------------------------------------------------------------------- /colors.txt: -------------------------------------------------------------------------------- 1 | red #dc2828 2 | -------------------------------------------------------------------------------- /figures/Complex_01_log.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/Complex_01_log.pdf -------------------------------------------------------------------------------- /figures/Complex_01_rot.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/Complex_01_rot.pdf -------------------------------------------------------------------------------- /figures/Complex_02_rot.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/Complex_02_rot.pdf -------------------------------------------------------------------------------- /figures/Complex_03_rot.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/Complex_03_rot.pdf -------------------------------------------------------------------------------- /figures/Complex_03_sq.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/Complex_03_sq.pdf -------------------------------------------------------------------------------- /figures/Complex_04_log.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/Complex_04_log.pdf -------------------------------------------------------------------------------- /figures/Complex_06_CRiem.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/Complex_06_CRiem.pdf -------------------------------------------------------------------------------- /figures/Complex_06_RRiem.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/Complex_06_RRiem.pdf -------------------------------------------------------------------------------- /figures/Complex_06_RRiem2.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/Complex_06_RRiem2.pdf -------------------------------------------------------------------------------- /figures/Complex_07_2sheet.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/Complex_07_2sheet.pdf -------------------------------------------------------------------------------- /figures/ConditionalProb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/ConditionalProb.png -------------------------------------------------------------------------------- /figures/FlipAmbigram.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/FlipAmbigram.png -------------------------------------------------------------------------------- /figures/Kramers_01.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/Kramers_01.pdf -------------------------------------------------------------------------------- /figures/Kramers_02.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/Kramers_02.pdf -------------------------------------------------------------------------------- /figures/Kramers_03.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/Kramers_03.pdf -------------------------------------------------------------------------------- /figures/Kramers_04.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/Kramers_04.pdf -------------------------------------------------------------------------------- /figures/Kramers_05_FDominec.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/Kramers_05_FDominec.pdf -------------------------------------------------------------------------------- /figures/Lec08_XD_2D1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/Lec08_XD_2D1.pdf -------------------------------------------------------------------------------- /figures/Lec08_XD_2D2.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/Lec08_XD_2D2.pdf -------------------------------------------------------------------------------- /figures/Lec27_2da.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/Lec27_2da.pdf -------------------------------------------------------------------------------- /figures/Lec27_2db.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/Lec27_2db.pdf -------------------------------------------------------------------------------- /figures/Lec27_2dblip.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/Lec27_2dblip.png -------------------------------------------------------------------------------- /figures/Lec27_3dblip.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/Lec27_3dblip.png -------------------------------------------------------------------------------- /figures/Lec_2017_12_StoGo_Fig17_5.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/Lec_2017_12_StoGo_Fig17_5.pdf -------------------------------------------------------------------------------- /figures/Lec_2017_12_circle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/Lec_2017_12_circle.png -------------------------------------------------------------------------------- /figures/Lec_2017_12_integral.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/Lec_2017_12_integral.png -------------------------------------------------------------------------------- /figures/Lec_2017_12_plaquette.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/Lec_2017_12_plaquette.png -------------------------------------------------------------------------------- /figures/Lec_2017_13_2poles.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/Lec_2017_13_2poles.png -------------------------------------------------------------------------------- /figures/Lec_2017_14_analytic_continuation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/Lec_2017_14_analytic_continuation.png -------------------------------------------------------------------------------- /figures/Lec_2017_14_branch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/Lec_2017_14_branch.png -------------------------------------------------------------------------------- /figures/Lec_2017_14_contour.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/Lec_2017_14_contour.png -------------------------------------------------------------------------------- /figures/Lec_2017_14_whichcontour.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/Lec_2017_14_whichcontour.png -------------------------------------------------------------------------------- /figures/Lec_2017_16_Feynman.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/Lec_2017_16_Feynman.png -------------------------------------------------------------------------------- /figures/Lec_2017_16_HO_PoleShift.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/Lec_2017_16_HO_PoleShift.png -------------------------------------------------------------------------------- /figures/Lec_2017_16_HO_Poles.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/Lec_2017_16_HO_Poles.pdf -------------------------------------------------------------------------------- /figures/Lec_2017_16_pokedown.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/Lec_2017_16_pokedown.pdf -------------------------------------------------------------------------------- /figures/Lec_2017_16_pokeup.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/Lec_2017_16_pokeup.pdf -------------------------------------------------------------------------------- /figures/Lec_2017_16_underpole.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/Lec_2017_16_underpole.png -------------------------------------------------------------------------------- /figures/Lec_2017_corner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/Lec_2017_corner.png -------------------------------------------------------------------------------- /figures/Lec_2017_holes.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/Lec_2017_holes.png -------------------------------------------------------------------------------- /figures/Lec_2017_paths.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/Lec_2017_paths.png -------------------------------------------------------------------------------- /figures/Lec_2017_plaq_int.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/Lec_2017_plaq_int.png -------------------------------------------------------------------------------- /figures/Lec_2017_plaqses.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/Lec_2017_plaqses.png -------------------------------------------------------------------------------- /figures/Lec_2017_stereographic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/Lec_2017_stereographic.png -------------------------------------------------------------------------------- /figures/Lec_2021_tangentS2.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/Lec_2021_tangentS2.pdf -------------------------------------------------------------------------------- /figures/MagrittePipe.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/MagrittePipe.jpg -------------------------------------------------------------------------------- /figures/Monty_01.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/Monty_01.pdf -------------------------------------------------------------------------------- /figures/Monty_02.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/Monty_02.pdf -------------------------------------------------------------------------------- /figures/P230b_2Ainv.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/P230b_2Ainv.png -------------------------------------------------------------------------------- /figures/P230b_4ptdisco.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/P230b_4ptdisco.png -------------------------------------------------------------------------------- /figures/P230b_4ptlocal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/P230b_4ptlocal.png -------------------------------------------------------------------------------- /figures/UCRHEP_2022.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/UCRHEP_2022.png -------------------------------------------------------------------------------- /figures/UCRPnA_banner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/UCRPnA_banner.png -------------------------------------------------------------------------------- /figures/allometry_meyer-verneta.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/allometry_meyer-verneta.png -------------------------------------------------------------------------------- /figures/bretagne.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/bretagne.png -------------------------------------------------------------------------------- /figures/coupledHO.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/coupledHO.jpg -------------------------------------------------------------------------------- /figures/innerprod.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/innerprod.pdf -------------------------------------------------------------------------------- /figures/lec01_allometry.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/lec01_allometry.pdf -------------------------------------------------------------------------------- /figures/lec01_drop.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/lec01_drop.pdf -------------------------------------------------------------------------------- /figures/lec01_orbit.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/lec01_orbit.pdf -------------------------------------------------------------------------------- /figures/lec01_pendulum.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/lec01_pendulum.pdf -------------------------------------------------------------------------------- /figures/lec02_e1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/lec02_e1.pdf -------------------------------------------------------------------------------- /figures/lec02_e2.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/lec02_e2.pdf -------------------------------------------------------------------------------- /figures/lec02_e3.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/lec02_e3.pdf -------------------------------------------------------------------------------- /figures/lec02_e4.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/lec02_e4.pdf -------------------------------------------------------------------------------- /figures/lec02_green01.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/lec02_green01.pdf -------------------------------------------------------------------------------- /figures/lec02_hist.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/lec02_hist.pdf -------------------------------------------------------------------------------- /figures/lec02_hist2.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/lec02_hist2.pdf -------------------------------------------------------------------------------- /figures/lec02_histfun.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/lec02_histfun.pdf -------------------------------------------------------------------------------- /figures/lec05_paccontract.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/lec05_paccontract.png -------------------------------------------------------------------------------- /figures/lec05_paceats.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/lec05_paceats.png -------------------------------------------------------------------------------- /figures/lec05_pacman.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/lec05_pacman.png -------------------------------------------------------------------------------- /figures/lec06_1charge.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/lec06_1charge.png -------------------------------------------------------------------------------- /figures/lec06_2charge.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/lec06_2charge.png -------------------------------------------------------------------------------- /figures/lec06_cat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/lec06_cat.png -------------------------------------------------------------------------------- /figures/lec06_propagator.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/lec06_propagator.png -------------------------------------------------------------------------------- /figures/lec10_.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/lec10_.png -------------------------------------------------------------------------------- /figures/lec11_GgGl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/lec11_GgGl.png -------------------------------------------------------------------------------- /figures/lec12_eg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/lec12_eg.png -------------------------------------------------------------------------------- /figures/lec13_complexvar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/lec13_complexvar.png -------------------------------------------------------------------------------- /figures/lec13_log.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/lec13_log.png -------------------------------------------------------------------------------- /figures/lec13_mani.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/lec13_mani.png -------------------------------------------------------------------------------- /figures/lec13_map1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/lec13_map1.png -------------------------------------------------------------------------------- /figures/lec13_map2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/lec13_map2.png -------------------------------------------------------------------------------- /figures/lec13_map3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/lec13_map3.png -------------------------------------------------------------------------------- /figures/lec13_map4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/lec13_map4.png -------------------------------------------------------------------------------- /figures/lec13_map5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/lec13_map5.png -------------------------------------------------------------------------------- /figures/lec13_tanvec.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/lec13_tanvec.png -------------------------------------------------------------------------------- /figures/lec13z2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/lec13z2.jpg -------------------------------------------------------------------------------- /figures/mandelbrot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/mandelbrot.png -------------------------------------------------------------------------------- /figures/manifold1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/manifold1.pdf -------------------------------------------------------------------------------- /figures/manifold2.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/manifold2.pdf -------------------------------------------------------------------------------- /figures/manifold3.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/manifold3.pdf -------------------------------------------------------------------------------- /figures/manifold3a.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/manifold3a.pdf -------------------------------------------------------------------------------- /figures/manifold4.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/manifold4.pdf -------------------------------------------------------------------------------- /figures/manifold5.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/manifold5.pdf -------------------------------------------------------------------------------- /figures/marine-knots.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/marine-knots.jpg -------------------------------------------------------------------------------- /figures/mathematical_symbol_fight_2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/mathematical_symbol_fight_2x.png -------------------------------------------------------------------------------- /figures/matrixmultiplication.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/matrixmultiplication.pdf -------------------------------------------------------------------------------- /figures/rowcolmult.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/rowcolmult.pdf -------------------------------------------------------------------------------- /figures/usa-census.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fliptanedo/Math-Methods-Notes-2022/4b7a9275d81b919327b4ab045330df1a6dc6bc4a/figures/usa-census.png -------------------------------------------------------------------------------- /orcidlink.sty: -------------------------------------------------------------------------------- 1 | %% 2 | %% This is file `orcidlink.sty', 3 | %% generated with the docstrip utility. 4 | %% 5 | %% The original source files were: 6 | %% 7 | %% orcidlink.dtx (with options: `package') 8 | %% 9 | %% This is a generated file. 10 | %% 11 | %% Copyright (C) 2020 by Leo C. Stein 12 | %% -------------------------------------------------------------------------- 13 | %% This work may be distributed and/or modified under the 14 | %% conditions of the LaTeX Project Public License, either version 1.3 15 | %% of this license or (at your option) any later version. 16 | %% The latest version of this license is in 17 | %% http://www.latex-project.org/lppl.txt 18 | %% and version 1.3 or later is part of all distributions of LaTeX 19 | %% version 2005/12/01 or later. 20 | %% 21 | \NeedsTeXFormat{LaTeX2e}[1994/06/01] 22 | \ProvidesPackage{orcidlink} 23 | [2021/06/11 v1.0.4 Linked ORCiD logo macro package] 24 | 25 | %% All I did was package up Milo's code on TeX.SE, 26 | %% see https://tex.stackexchange.com/a/445583/34063 27 | \RequirePackage{hyperref} 28 | \RequirePackage{tikz} 29 | 30 | \ProcessOptions\relax 31 | 32 | \usetikzlibrary{svg.path} 33 | 34 | \definecolor{orcidlogocol}{HTML}{A6CE39} 35 | \tikzset{ 36 | orcidlogo/.pic={ 37 | \fill[orcidlogocol] svg{M256,128c0,70.7-57.3,128-128,128C57.3,256,0,198.7,0,128C0,57.3,57.3,0,128,0C198.7,0,256,57.3,256,128z}; 38 | \fill[white] svg{M86.3,186.2H70.9V79.1h15.4v48.4V186.2z} 39 | svg{M108.9,79.1h41.6c39.6,0,57,28.3,57,53.6c0,27.5-21.5,53.6-56.8,53.6h-41.8V79.1z M124.3,172.4h24.5c34.9,0,42.9-26.5,42.9-39.7c0-21.5-13.7-39.7-43.7-39.7h-23.7V172.4z} 40 | svg{M88.7,56.8c0,5.5-4.5,10.1-10.1,10.1c-5.6,0-10.1-4.6-10.1-10.1c0-5.6,4.5-10.1,10.1-10.1C84.2,46.7,88.7,51.3,88.7,56.8z}; 41 | } 42 | } 43 | 44 | %% Reciprocal of the height of the svg whose source is above. The 45 | %% original generates a 256pt high graphic; this macro holds 1/256. 46 | \newcommand{\@OrigHeightRecip}{0.00390625} 47 | 48 | %% We will compute the current X height to make the logo the right height 49 | \newlength{\@curXheight} 50 | 51 | \DeclareRobustCommand\orcidlink[1]{% 52 | \texorpdfstring{% 53 | \setlength{\@curXheight}{\fontcharht\font`X}% 54 | \href{https://orcid.org/#1}{\XeTeXLinkBox{\mbox{% 55 | \begin{tikzpicture}[yscale=-\@OrigHeightRecip*\@curXheight, 56 | xscale=\@OrigHeightRecip*\@curXheight,transform shape] 57 | \pic{orcidlogo}; 58 | \end{tikzpicture}% 59 | }}}}{}} 60 | 61 | \endinput 62 | %% 63 | %% End of file `orcidlink.sty'. 64 | -------------------------------------------------------------------------------- /refs.bib: -------------------------------------------------------------------------------- 1 | @book{segrave2009tipping, 2 | title={Tipping: An American Social History of Gratuities}, 3 | author={Segrave, K.}, 4 | isbn={9780786442461}, 5 | year={2009}, 6 | publisher={McFarland, Incorporated, Publishers} 7 | } 8 | 9 | @book{Logvinenko:2022, 10 | author = "Logvinenko, Alexander and Levin, Vladimir", 11 | title = "{Foundations of Colour Science: From Colorimetry to Perception}", 12 | publisher = "Wiley", 13 | year = "2022", 14 | isbn = "978-1-119-88591-7", 15 | } 16 | 17 | @article{weinberg1976geometry, 18 | title={The geometry of colors}, 19 | author={Weinberg, Joseph W}, 20 | journal={General relativity and gravitation}, 21 | volume={7}, 22 | number={1}, 23 | pages={135--169}, 24 | year={1976}, 25 | publisher={Springer} 26 | } 27 | 28 | @book{Nakahara:206619, 29 | author = "Nakahara, Mikio", 30 | title = "{Geometry, topology and physics}", 31 | publisher = "Hilger", 32 | address = "Bristol", 33 | series = "Graduate student series in physics", 34 | year = "1990", 35 | } 36 | 37 | 38 | 39 | @misc{klein_2021, 40 | title={Transcript: Ezra Klein interviews Céline Gounder}, 41 | url={https://www.nytimes.com/2021/08/06/podcasts/transcript-ezra-klein-interviews-celine-gounder.html}, 42 | journal={The New York Times}, 43 | publisher={The New York Times}, 44 | author={Klein, Ezra}, year={2021}, month={Aug}} 45 | 46 | @article{doi:10.1146/annurev.bioeng.3.1.0, 47 | author = {Howe, Robert D. and Kronauer, Richard E.}, 48 | title = {Thomas McMahon: A Dedication in Memoriam}, 49 | journal = {Annual Review of Biomedical Engineering}, 50 | volume = {3}, 51 | number = {1}, 52 | pages = {xv-xxxix}, 53 | year = {2001}, 54 | doi = {10.1146/annurev.bioeng.3.1.0}, 55 | note ={PMID: 11712277}, 56 | URL = {https://doi.org/10.1146/annurev.bioeng.3.1.0} 57 | } 58 | 59 | @article{doi:10.1119/1.4917310, 60 | author = {Meyer-Vernet,Nicole and Rospars,Jean-Pierre }, 61 | title = {How fast do living organisms move: Maximum speeds from bacteria to elephants and whales}, 62 | journal = {American Journal of Physics}, 63 | volume = {83}, 64 | number = {8}, 65 | pages = {719-722}, 66 | year = {2015}, 67 | doi = {10.1119/1.4917310}, 68 | URL = {https://doi.org/10.1119/1.4917310} 69 | } 70 | 71 | @article{doi:10.1073/pnas.1402289111, 72 | author = {Patricia J. Yang and Jonathan Pham and Jerome Choo and David L. Hu }, 73 | title = {Duration of urination does not change with body size}, 74 | journal = {Proceedings of the National Academy of Sciences}, 75 | volume = {111}, 76 | number = {33}, 77 | pages = {11932-11937}, 78 | year = {2014}, 79 | doi = {10.1073/pnas.1402289111}, 80 | URL = {https://www.pnas.org/doi/abs/10.1073/pnas.1402289111} 81 | } 82 | 83 | 84 | 85 | @article{doi:10.1119/1.1574042, 86 | author = {Bohren,Craig F. }, 87 | title = {Dimensional analysis, falling bodies, and the fine art of not solving differential equations}, 88 | journal = {American Journal of Physics}, 89 | volume = {72}, 90 | number = {4}, 91 | pages = {534-537}, 92 | year = {2004}, 93 | doi = {10.1119/1.1574042}, 94 | URL = {https://doi.org/10.1119/1.1574042} 95 | } 96 | 97 | 98 | 99 | @book{Brooks1975, 100 | author = {Brooks, Frederick P.}, 101 | publisher = {Addison-Wesley}, 102 | title = {The mythical man-month -- Essays on Software-Engineering}, 103 | topics = {Programming/Software Engineering}, 104 | year = 1975 105 | } 106 | 107 | 108 | 109 | @article{Stevenson:1980ga, 110 | author = "Stevenson, Paul M.", 111 | title = "{Dimensional Analysis in Field Theory: An Elementary Introduction to Broken Scale Invariance and the Renormalization Group Equations}", 112 | reportNumber = "COO-881-144", 113 | doi = "10.1016/0003-4916(81)90072-5", 114 | journal = "Annals Phys.", 115 | volume = "132", 116 | pages = "383", 117 | year = "1981" 118 | } 119 | 120 | @article{doi:10.1119/1.3535586, 121 | author = {Olness,Fredrick and Scalise,Randall }, 122 | title = {Regularization, renormalization, and dimensional analysis: Dimensional regularization meets freshman E\&M}, 123 | journal = {American Journal of Physics}, 124 | volume = {79}, 125 | number = {3}, 126 | pages = {306-312}, 127 | year = {2011}, 128 | doi = {10.1119/1.3535586}, 129 | URL = { 130 | https://doi.org/10.1119/1.3535586 131 | } 132 | } 133 | 134 | @article{doi:10.1119/1.4902882, 135 | author = {Robinett, R.~W.~}, 136 | title = {Dimensional analysis as the other language of physics}, 137 | journal = {American Journal of Physics}, 138 | volume = {83}, 139 | number = {4}, 140 | pages = {353-361}, 141 | year = {2015}, 142 | doi = {10.1119/1.4902882}, 143 | URL = { 144 | https://doi.org/10.1119/1.4902882 145 | } 146 | } 147 | 148 | @article{doi:10.1119/1.1987069, 149 | author = {Evans,John H.~}, 150 | title = {Dimensional Analysis and the Buckingham Pi Theorem}, 151 | journal = {American Journal of Physics}, 152 | volume = {40}, 153 | number = {12}, 154 | pages = {1815-1822}, 155 | year = {1972}, 156 | doi = {10.1119/1.1987069}, 157 | URL = {https://doi.org/10.1119/1.1987069} 158 | } 159 | 160 | @misc{xkcd_2343, 161 | title={Mathematical Symbol Fight}, 162 | url={https://xkcd.com/2343/}, 163 | journal={XKCD}, 164 | author={Randall Munroe}, 165 | year={2016}} 166 | 167 | @book{holt2018einstein, 168 | title={When Einstein Walked with G{\"o}del: Excursions to the Edge of Thought}, 169 | author={Holt, J.}, 170 | isbn={9780374717841}, 171 | year={2018}, 172 | publisher={Farrar, Straus and Giroux} 173 | } 174 | 175 | 176 | @misc{Baez_Azimuth_2016, 177 | title={Struggles with the Continuum (Part 6)}, 178 | url={https://johncarlosbaez.wordpress.com/2016/09/21/struggles-with-the-continuum-part-6/}, 179 | journal={Azimuth}, 180 | author={John Baez}, 181 | year={2016}} 182 | 183 | @misc{3Blue1Brown_2022, 184 | title={How to lie using visual proofs}, 185 | url={https://youtu.be/VYQVlVoWoPY}, 186 | journal={YouTube}, 187 | author={3Blue1Brown}, 188 | year={2022}} 189 | 190 | @misc{pirsa_11110040, 191 | doi = {}, 192 | url = {https://pirsa.org/11110040}, 193 | author = {Bender, Carl}, 194 | keywords = {Mathematical physics}, 195 | title = {Mathematical Physics - Lecture 1}, 196 | publisher = {Perimeter Institute}, 197 | year = {2011}, 198 | month = {nov} 199 | } 200 | 201 | 202 | @book{TufteTvdq, 203 | title = "The Visual Display of Quantitative Information", 204 | author = "Edward R. Tufte", 205 | year = 2001, 206 | publisher = "Graphics Press, Cheshire, Connecticut", 207 | ISBN = {0-9613921-4-2} 208 | } 209 | 210 | @book{TufteEI, 211 | title = "Envisioning Information", 212 | author = "Edward R. Tufte", 213 | year = 1990, 214 | publisher = "Graphics Press, Cheshire, Connecticut", 215 | ISBN = {0-9613921-1-8} 216 | } 217 | 218 | @book{TufteVE, 219 | title = "Visual Explanations", 220 | author = "Edward R. Tufte", 221 | year = 1997, 222 | publisher = "Graphics Press, Cheshire, Connecticut", 223 | ISBN = {0-9613921-2-6} 224 | } 225 | 226 | @book{TufteBE, 227 | title = "Beautiful Evidence", 228 | author = "Edward R. Tufte", 229 | year = 2006, 230 | publisher = "Graphics Press, Cheshire, Connecticut", 231 | ISBN = {0-9613921-7-7} 232 | } 233 | 234 | @book{BringhurstEoTS, 235 | title = "The Elements of Typographic Style", 236 | author = "Robert Bringhurst", 237 | year = 2002, 238 | publisher = "Hartley \& Marks Publishers", 239 | ISBN = {978-0881791327}, 240 | } 241 | 242 | @book{CarterABC, 243 | title = "ABC for Book collectors", 244 | author = "John Carter and Nicolas Barker", 245 | year = "2004", 246 | publisher = "Oak Knoll Press and The British Library", 247 | ISBN = "978-1584561125", 248 | pages = {68}, 249 | } 250 | 251 | @misc{Libertine, 252 | title = "Libertine Fonts -- Libre multilingual font family", 253 | note = "\url{http://libertine-fonts.org/}", 254 | } 255 | 256 | @book{StExupery, 257 | title = "Terre des Hommes", 258 | author = "Antoine de Saint-Exupéry", 259 | year = "1939", 260 | publisher = "Gallimard", 261 | ISBN = "2-07-025659-6", 262 | } 263 | 264 | @book{einstein1915allgemeinen, 265 | title = {Zur allgemeinen relativitätstheorie}, 266 | author = {Einstein, Albert}, 267 | year = {1915}, 268 | publisher = {Akademie der Wissenschaften, in Kommission bei W. de Gruyter}, 269 | } 270 | 271 | @article{pkgSidenotes, 272 | journal = {\textsc{ctan}, Comprehensive \TeX{} Archive Network}, 273 | author = {Andy Thomas}, 274 | title = {The \texttt{sidenotes} package}, 275 | year = {2020}, 276 | note = {\textsc{url} \url{http://ctan.org/pkg/sidenotes}}, 277 | } 278 | 279 | @article{pkgGeometry, 280 | journal = {\textsc{ctan}, Comprehensive \TeX{} Archive Network}, 281 | author = {Hideo Umeki}, 282 | title = {The \texttt{geometry} package}, 283 | year = {2020}, 284 | note = {\textsc{url} \url{http://ctan.org/pkg/geometry}}, 285 | } 286 | -------------------------------------------------------------------------------- /tufte-style-thesis-flip.cls: -------------------------------------------------------------------------------- 1 | \NeedsTeXFormat{LaTeX2e} 2 | \ProvidesClass{tufte-style-thesis-flip}[] 3 | % Lightly modified from 4 | % github.com/sylvain-kern/tufte-style-thesis 5 | 6 | % O P T I O N S 7 | % 8 | \newif\if@justified\@justifiedfalse 9 | \DeclareOption{raggedright}{ % makes all paragraphs left-aligned 10 | \AtBeginDocument{ 11 | \setlength{\RaggedRightParindent}{1em} 12 | \RaggedRight 13 | } 14 | } 15 | \DeclareOption{boxey}{ 16 | \@justifiedtrue 17 | } 18 | \DeclareOption{parskip}{ % changes paragraph indents vor vertical skips 19 | \AtBeginDocument{\usepackage{parskip}} 20 | \setlength{\parskip}{\baselineskip} 21 | } 22 | \DeclareOption{casual}{ % removes header numbering --still puts them in toc 23 | \AtBeginDocument{\setcounter{secnumdepth}{0}} 24 | } 25 | \newif\if@sans\@sansfalse 26 | \DeclareOption{sans}{ 27 | \@sanstrue 28 | \renewcommand{\familydefault}{\sfdefault} 29 | } 30 | \newif\if@black\@blackfalse 31 | \DeclareOption{black}{ 32 | \@blacktrue 33 | } 34 | \newif\if@colorful\@colorfulfalse 35 | \newif\if@black\@blackfalse 36 | \DeclareOption{colorful}{ 37 | \@colorfultrue 38 | \@blackfalse 39 | } 40 | \DeclareOption{black}{ 41 | \@blacktrue 42 | \@colorfulfalse 43 | } 44 | 45 | 46 | \ExecuteOptions{} 47 | \ProcessOptions\relax 48 | \LoadClassWithOptions{book} 49 | 50 | \if@justified 51 | \AtBeginDocument{ 52 | \justifying 53 | } 54 | \else 55 | \AtBeginDocument{ 56 | \setlength{\RaggedRightParindent}{1em} 57 | \RaggedRight 58 | } 59 | \fi 60 | 61 | 62 | % P A C K A G E D E F I N I T I O N 63 | % 64 | \RequirePackage{emptypage} % if a page is empty, is is really empty 65 | \RequirePackage{fullwidth} % for wide environments 66 | \RequirePackage{sidenotes} % for margin stuff 67 | \RequirePackage[ 68 | hypcap=false % hypcap=true spits an error 69 | ]{caption} % for caption formatting 70 | \RequirePackage[T1]{fontenc} % font encoding 71 | \RequirePackage[osf]{libertinus}% main font 72 | \RequirePackage{libertinust1math} 73 | \RequirePackage{gillius} % sans font 74 | \RequirePackage[ 75 | defaultmono, 76 | scale=.82 77 | ]{droidsansmono} % mono font 78 | \RequirePackage{ragged2e} % for better raggedright 79 | \RequirePackage{titlesec} % header customization 80 | \RequirePackage{titletoc} % toc customization 81 | \RequirePackage[titles]{tocloft}% lof lot lol customizatios 82 | \RequirePackage{fancyhdr} % page header customization 83 | \RequirePackage{graphicx} % for images 84 | \RequirePackage[% % listings 85 | % numberbychapter=true, 86 | ]{listings} 87 | \RequirePackage[ 88 | protrusion=true, 89 | expansion=true, 90 | final, 91 | tracking, 92 | ]{microtype} % microtypography: fine-tuning in text 93 | \RequirePackage{amsfonts} % math fonts 94 | \RequirePackage{amsmath} % math stuff 95 | \RequirePackage{mathtools} % amsmath extension 96 | \RequirePackage{physics} % handy shortcuts for physics 97 | \RequirePackage{xcolor} % colorz 98 | \RequirePackage[framemethod=TikZ]{mdframed} % for custom code boxes 99 | \RequirePackage{tabularx} % adaptive columns on tables 100 | \RequirePackage{booktabs} % better looking tables 101 | \RequirePackage{enumitem} % better looking lists 102 | \RequirePackage{setspace} 103 | \RequirePackage[ 104 | hidelinks, 105 | final, 106 | breaklinks, 107 | bookmarks, 108 | pdfusetitle, 109 | ]{hyperref} % automatic references in pdf % automatic references in pdf 110 | \RequirePackage{etoolbox} % really idk what this does 111 | \RequirePackage[strict]{changepage} % needed by sidenotes 112 | \RequirePackage{placeins} % for floatbarrier 113 | \RequirePackage{xparse} 114 | \RequirePackage{xpatch} 115 | \RequirePackage[ 116 | % doi=false, 117 | % isbn=false, 118 | % url=false, 119 | autocite = superscript, 120 | backend = biber, 121 | citestyle = numeric-comp, 122 | % style = nature, 123 | % style = phys, 124 | style = numeric, 125 | % citecolor = niceBlue, 126 | sorting = none, 127 | bibencoding = utf8, 128 | ]{biblatex} 129 | \RequirePackage{csquotes} 130 | %%% TEST footmisc 131 | \RequirePackage[ 132 | perpage, 133 | % symbol*, 134 | flushmargin, 135 | side, 136 | ragged, 137 | ]{footmisc} 138 | % \RequirePackage{marginfix} 139 | \makeatletter 140 | \renewcommand\@makefnmark{% 141 | \hbox{% 142 | \ifx\@fnsymbol\FN@fnsymbol@sym 143 | \expandafter\@firstofone 144 | \else 145 | \expandafter\@textsuperscript 146 | \fi 147 | {\normalfont\@thefnmark}% 148 | }% 149 | } 150 | \makeatother 151 | \RequirePackage{xifthen} 152 | 153 | 154 | % C O L O R D E F I N I T I O N 155 | % 156 | \definecolor{niceRed}{HTML}{980326} 157 | \definecolor{niceBlue}{HTML}{025472} 158 | \definecolor{tooRed}{HTML}{cc0000} 159 | \if@colorful 160 | \renewcommand\thefootnote{\color{niceBlue}\arabic{footnote}} 161 | \renewcommand\thesidenote{\color{niceBlue}\arabic{sidenote}} 162 | \else 163 | \fi 164 | \if@black 165 | \definecolor{niceRed}{HTML}{000000} 166 | \definecolor{niceBlue}{HTML}{000000} 167 | \else 168 | \fi 169 | \newcommand\red[1]{\textcolor{niceRed}{#1}} 170 | 171 | % M A R G I N S 172 | % 173 | % formatting sidenote text 174 | \makeatletter 175 | \RenewDocumentCommand\sidenotetext{ o o +m }{% 176 | \IfNoValueOrEmptyTF{#1}{% 177 | \@sidenotes@placemarginal{#2}{\setstretch{1.0}\noindent\footnotesize\RaggedRight{\thesidenote{}}~~#3}% 178 | \refstepcounter{sidenote}% 179 | }{% 180 | \@sidenotes@placemarginal{#2}{\noindent\footnotesize\RaggedRight{#1}~~#3}% 181 | }% 182 | } 183 | \makeatother 184 | 185 | \newcommand{\sidetext}[1] 186 | {\marginpar{\setstretch{1.0}\RaggedRight\footnotesize\noindent #1 \vskip 4pt}} 187 | 188 | \newenvironment{wide}{ 189 | \begin{fullwidth}[ 190 | nobreak, % Flip, inspired by https://tex.stackexchange.com/questions/44976/minipage-within-fullwidth 191 | outermargin=-\marginparwidth-\marginparsep, width=\linewidth+\marginparwidth+\marginparsep] 192 | }% 193 | { 194 | \end{fullwidth} 195 | } 196 | % sidenotes reset on new 197 | \let\oldchap\chapter 198 | \renewcommand{\chapter}{\setcounter{sidenote}{1}\oldchap} 199 | 200 | % F U L L A R A B I C (titlepage = page1) 201 | % 202 | \makeatletter 203 | \renewcommand{\frontmatter}{\cleardoublepage\@mainmatterfalse} 204 | \renewcommand{\mainmatter}{\cleardoublepage\@mainmattertrue} 205 | \makeatother 206 | 207 | 208 | % P A G E H E A D E R S 209 | % 210 | \renewcommand{\chaptermark}[1]{ \markboth{#1}{} } 211 | \renewcommand{\sectionmark}[1]{ \markright{#1}{} } 212 | \pagestyle{fancy} 213 | \fancyhf{} 214 | \renewcommand{\headrulewidth}{0pt} 215 | \fancyhead[LO]{ 216 | \footnotesize\textls{\MakeUppercase{\sffamily\rightmark}} \hfill \normalfont\normalsize\thepage 217 | } 218 | \fancyhead[RE]{ 219 | \normalfont\normalsize\thepage \hfill \footnotesize\textls{\MakeUppercase{\sffamily\leftmark}} 220 | } 221 | \fancypagestyle{plain}{ 222 | \fancyhf{} 223 | \fancyhead[RO]{\thepage} 224 | \fancyhead[LE]{\hfill} 225 | } 226 | \setlength{\headheight}{13.6pt} 227 | 228 | % T I T L E H E A D E R S 229 | % 230 | 231 | % default numbering depth 232 | \AtBeginDocument{\setcounter{secnumdepth}{1}} 233 | 234 | % header formatting 235 | \titlespacing*{\part}{.2\linewidth}{.3\textheight}{0pt} 236 | \titlespacing*{\chapter}{0pt}{-60pt}{65pt} 237 | \titleformat{\part}%[hang] 238 | {\thispagestyle{empty}\huge\raggedleft} 239 | {\Large\lsstyle\MakeUppercase{\partname}~~\thepart\normalfont} 240 | {0em} 241 | {\vskip 12pt \setstretch{0.9}\huge\lsstyle\sffamily\uppercase} 242 | % \let\oldpart\part 243 | % \renewcommand{\part}{ 244 | % } 245 | \titleformat{\chapter}[block] 246 | {\begin{wide}\thispagestyle{empty}\itshape\huge} 247 | {\normalfont\bfseries\huge\thechapter} 248 | {1em} 249 | {\setstretch{0.9}\raggedright\huge\itshape}[\end{wide}] 250 | \titleformat{\section} 251 | {\itshape\Large} 252 | {\normalfont\thesection} 253 | {1em} 254 | {\setstretch{0.9}\raggedright\itshape} 255 | \titleformat{\subsection} 256 | {\itshape\normalfont} 257 | {\raggedright\normalfont\thesubsection} 258 | {1em} 259 | {\setstretch{0.9}\itshape} 260 | \titleformat{\subsubsection}[runin] 261 | {} 262 | {\itshape\thesubsubsection} 263 | {1ex} 264 | {\itshape}[~~$\cdot$] 265 | 266 | 267 | % M A K E T I T L E 268 | % 269 | 270 | % custom info commands like @title, @author... 271 | % info commands definition 272 | \makeatletter 273 | % subtitle --title already exists 274 | \newcommand\subtitle[1]{\renewcommand\@subtitle{#1}} 275 | \newcommand\@subtitle{} 276 | % university 277 | \newcommand\university[1]{\renewcommand\@university{#1}} 278 | \newcommand\@university{} 279 | % lab 280 | \newcommand\lab[1]{\renewcommand\@lab{#1}} 281 | \newcommand\@lab{} 282 | 283 | % supervisors, jury members, etc. 284 | \newcommand\people{} 285 | \def\zfoo#1\relax{\long\def\people##1{#1}} 286 | \newcommand\updatepeople[1]{% 287 | \expandafter\zfoo\people{##1}##1#1\relax 288 | } 289 | \newcommand\person[3]{ 290 | \updatepeople{#1 & #2 & #3 \\} 291 | } 292 | 293 | % logos 294 | \newcommand\logos{} 295 | \def\xfoo#1\relax{\long\def\logos##1{#1}} 296 | \newcommand\updatelogos[1]{% 297 | \expandafter\xfoo\logos{##1}##1#1\relax 298 | } 299 | \newcommand\logo[1]{ 300 | \updatelogos{ 301 | \hspace{20pt}\includegraphics[height=50pt]{#1} 302 | } 303 | } 304 | 305 | % Doctoral thesis (subsubtitle) 306 | \newcommand\type[1]{\renewcommand\@type{#1}} 307 | \newcommand\@type{Doctoral thesis} 308 | 309 | % shoutouts 310 | \newcommand\shoutouts[1]{\renewcommand\@shoutouts{#1}} 311 | \newcommand\@shoutouts{} 312 | 313 | % ACTUAL MAKETITLE (titlepage + "copyright" and dedication pages) 314 | \newcommand\@maketitlebis{% 315 | \makeatletter 316 | \setstretch{1.0} 317 | \begin{titlepage} 318 | % \setcounter{page}{1} 319 | \hfill 320 | \begin{minipage}{.8\linewidth} 321 | \raggedleft 322 | 323 | {\large\scshape 324 | \MakeLowercase{\@university}% 325 | 326 | \bigskip 327 | 328 | \MakeLowercase{\@lab}% <- this percent is mandatory -- without it latex places and awkward space 329 | } 330 | 331 | \vskip 80pt 332 | 333 | {\large\itshape\@author} 334 | 335 | \vskip 40 pt 336 | 337 | {% 338 | \huge 339 | \if@colorful 340 | \color{niceRed} 341 | \else 342 | \fi 343 | \@title\par 344 | }% 345 | 346 | \vskip 8pt 347 | 348 | {\large\@subtitle\par}% 349 | 350 | \vskip 20pt 351 | 352 | {\Large \@type}% 353 | 354 | \vskip 40pt 355 | 356 | {\itshape\@date} 357 | 358 | \end{minipage} 359 | 360 | \vfill 361 | 362 | \raggedleft 363 | 364 | \begin{tabular}{rll} 365 | \people{} 366 | \end{tabular} 367 | 368 | \vskip 40pt 369 | 370 | \logos{} 371 | 372 | \end{titlepage} 373 | 374 | \if@colorful 375 | \hypersetup{ 376 | % colorlinks = true, 377 | linkcolor = niceBlue, 378 | anchorcolor = niceBlue, 379 | citecolor = ., 380 | urlcolor = niceBlue, 381 | } 382 | \fi 383 | 384 | % copyright 385 | \thispagestyle{empty} 386 | \hfill 387 | \vfill 388 | \makeatletter 389 | \noindent\begin{flushleft}\@author,\quad \textit{\@title,} \@subtitle, \@date. 390 | \end{flushleft} 391 | \makeatother 392 | 393 | 394 | % dedication 395 | \cleardoublepage 396 | \thispagestyle{empty} 397 | ~\vskip .3\textheight 398 | \begin{flushright} 399 | \large\itshape\@shoutouts 400 | \end{flushright} 401 | 402 | \setstretch{1.12} 403 | \makeatother 404 | } 405 | \renewcommand\maketitle{ 406 | \@maketitlebis 407 | \thispagestyle{empty} 408 | } 409 | \makeatother 410 | 411 | % COLOPHON 412 | \AtEndDocument{ 413 | \cleardoublepage 414 | \pagestyle{empty} 415 | \footnotesize\raggedleft 416 | \hfill 417 | \vfill 418 | \noindent This document was typeset using \LaTeX{} and Sylvain Kern's \texttt{tufte-style-thesis} class. 419 | 420 | The package is available on GitHub: 421 | 422 | \vskip 8pt 423 | 424 | \centering \url{https://github.com/sylvain-kern/tufte-style-thesis/}.\\ 425 | \raggedleft\noindent Feel free to contribute! 426 | } 427 | 428 | % F I G U R E S A N D S T U F F 429 | % 430 | % caption formatting 431 | \DeclareCaptionLabelFormat{lc}{\MakeLowercase{#1}~#2} 432 | \DeclareCaptionLabelSeparator{mysep}{.\quad} 433 | \DeclareCaptionLabelSeparator{mysepside}{.\\} 434 | \captionsetup{ 435 | labelfont = {bf}, 436 | %labelformat = lc, 437 | labelsep = mysep, 438 | justification=RaggedRight, 439 | font={footnotesize, stretch=1}, 440 | singlelinecheck=on, 441 | } 442 | \DeclareCaptionStyle{sidecaption}{ 443 | labelfont = {bf}, 444 | %labelformat = lc, 445 | labelsep = mysepside, 446 | justification=RaggedRight, 447 | font={footnotesize, stretch=1}, 448 | singlelinecheck=off, 449 | } 450 | \DeclareCaptionStyle{marginfigure}{ 451 | labelfont = {bf}, 452 | %labelformat = lc, 453 | labelsep = mysepside, 454 | justification=RaggedRight, 455 | font={footnotesize, stretch=1}, 456 | singlelinecheck=off, 457 | } 458 | \DeclareCaptionStyle{widefigure}{ 459 | labelfont = {bf}, 460 | %labelformat = lc, 461 | labelsep = mysep, 462 | justification=RaggedRight, 463 | font={footnotesize, stretch=1}, 464 | singlelinecheck=off, 465 | } 466 | \DeclareCaptionStyle{margintable}{ 467 | labelfont = {bf}, 468 | %labelformat = lc, 469 | labelsep = mysep, 470 | justification=RaggedRight, 471 | font={footnotesize, stretch=1}, 472 | singlelinecheck=off, 473 | } 474 | \DeclareCaptionStyle{widetable}{ 475 | labelfont = {bf}, 476 | %labelformat = lc, 477 | labelsep = mysep, 478 | justification=RaggedRight, 479 | font={footnotesize, stretch=1}, 480 | singlelinecheck=off, 481 | } 482 | % figure macros 483 | \AtBeginDocument{\usepackage[export]{adjustbox}} % for 'outer' mode 484 | \newcommand{\textfig}[4][]{% 485 | \FloatBarrier 486 | \begin{figure}[!htb]% 487 | \sidecaption{#3\label{#4}}% 488 | \includegraphics[width = #1\linewidth, outer]{#2}% 489 | \end{figure}% 490 | } 491 | \newcommand{\marginfig}[3]{% 492 | \FloatBarrier% 493 | \begin{marginfigure}% 494 | \includegraphics[width = \linewidth]{#1}% 495 | \caption{#2\label{#3}}% 496 | \end{marginfigure}% 497 | } 498 | \newcommand{\widefig}[4][]{% 499 | \FloatBarrier% 500 | \begin{figure*}[!htb]% 501 | \includegraphics[width=#1\linewidth, outer]{#2}% 502 | \sidecaption{#3\label{#4}}% 503 | \end{figure*}% 504 | } 505 | \newcommand{\plainfig}[4][]{% 506 | \FloatBarrier% 507 | \begin{figure}[!htb]% 508 | \includegraphics[width=#1\linewidth, left]{#2}% 509 | \caption{#3\label{#4}}% 510 | \end{figure}% 511 | } 512 | \newcommand{\plainwidefig}[4][]{% 513 | \FloatBarrier% 514 | \begin{figure*}[!htb]% 515 | \includegraphics[width=#1\linewidth, left]{#2}% 516 | \caption{#3\label{#4}}% 517 | \end{figure*}% 518 | } 519 | % table macros 520 | \newcolumntype{Y}{>{\centering\arraybackslash}X} % tabularx column type 521 | \newenvironment{texttable}[2]{% 522 | \begingroup% 523 | \small% 524 | \marginpar{% 525 | \vskip 8pt% 526 | \captionof{table}{#1}% 527 | \label{#2}% 528 | } 529 | 530 | \noindent% 531 | } 532 | { 533 | \endgroup% 534 | } 535 | 536 | % T O C C U S T O M I Z A T I O N 537 | % 538 | \contentsmargin[1cm]{0cm} 539 | \titlecontents*{part}[0em] 540 | {\large\scshape} 541 | {\scshape\thecontentslabel} 542 | {\vskip 4pt\large\scshape\lowercase} 543 | {}[\vskip 0pt] 544 | \titlecontents{chapter}[0em] 545 | {\large\vspace{12pt}} 546 | {\makebox[-1em][r]{\thecontentslabel}\large\hspace{1em}} 547 | {\large} 548 | {~~~~\textcolor{niceBlue}{\contentspage}}[\vskip 2pt] 549 | \titlecontents*{section}[0em] 550 | {\small} 551 | {\thecontentslabel~~} 552 | {\small} 553 | {~~\textcolor{niceBlue}{\contentspage}} 554 | [\\] 555 | % \titlecontents{subsection}[0em] 556 | % {\vspace{4pt}} 557 | % {\normalfont\thecontentslabel\enspace\itshape} 558 | % {\itshape} 559 | % {\qquad\contentspage}[\vskip 0pt] 560 | % \titlecontents*{subsection}[0em] 561 | % {\vskip 0pt\small} 562 | % {{\thecontentslabel}~~\itshape} 563 | % {\itshape} 564 | % {~~{\contentspage}} 565 | % [\qquad] 566 | % \titlecontents{subsubsection}[1em] 567 | % {\vspace{0pt}} 568 | % {\normalfont\thecontentslabel\enspace\itshape} 569 | % {\itshape} 570 | % {\quad\quad\contentspage}[\vskip 0pt] 571 | 572 | % TOCLOFT (stolen from classicthesis) 573 | \renewcommand{\cftfigpresnum}{\scshape\MakeTextLowercase}% 574 | \renewcommand{\cftfigfont}{\normalfont}% 575 | \renewcommand{\cftfigleader}{\hspace{2.5em}}% 576 | \renewcommand{\cftfigafterpnum}{\cftparfillskip}% 577 | \renewcommand{\cftfigpresnum}{\figurename~}%Fig.~} 578 | \newlength{\figurelabelwidth} 579 | \settowidth{\figurelabelwidth}{\cftfigpresnum~999} 580 | \addtolength{\figurelabelwidth}{1em} 581 | \cftsetindents{figure}{0em}{\figurelabelwidth} 582 | % tables 583 | \renewcommand{\cfttabfont}{\normalfont}% 584 | \renewcommand{\cfttableader}{\hspace{2.5em}}% 585 | \renewcommand{\cfttabafterpnum}{\cftparfillskip}% 586 | \renewcommand{\cfttabpresnum}{\tablename~}%Tab.~} 587 | \newlength{\tablelabelwidth} 588 | \settowidth{\tablelabelwidth}{\cfttabpresnum~999} 589 | \addtolength{\tablelabelwidth}{1em} 590 | %\cftsetindents{table}{0em}{\tablelabelwidth} 591 | \cftsetindents{table}{0em}{\figurelabelwidth} 592 | % listings 593 | \newcommand\listingsname{Listing} 594 | \renewcommand\lstlistingname{Listing} 595 | \renewcommand\lstlistlistingname{List of Listings} 596 | \newlistof{listings}{lol}{\lstlistlistingname}% 597 | \renewcommand{\cftlistingspresnum}{\scshape\MakeTextLowercase}% 598 | \renewcommand{\cftlistingsfont}{\normalfont}% 599 | \renewcommand{\cftlistingspresnum}{\lstlistingname~}% 600 | \renewcommand{\cftlistingspagefont}{\normalfont}% 601 | \renewcommand{\cftlistingsleader}{\hspace{1.5em}}% 602 | \renewcommand{\cftlistingsafterpnum}{\cftparfillskip}% 603 | \newlength{\listingslabelwidth}% 604 | \settowidth{\listingslabelwidth}{\cftlistingspresnum~999}% 605 | \addtolength{\listingslabelwidth}{2.5em}% 606 | \cftsetindents{listings}{0em}{\figurelabelwidth}% 607 | % \let\l@lstlisting\l@listings% 608 | \let\lstlistoflistings\listoflistings% 609 | % blue page numbers 610 | \renewcommand{\cftfigpagefont}{\color{niceBlue}} 611 | \renewcommand{\cfttabpagefont}{\color{niceBlue}} 612 | \renewcommand{\cftlistingspagefont}{\color{niceBlue}} 613 | % TOCLOFT over 614 | % toc offset 615 | \let\oldtoc\tableofcontents 616 | \renewcommand{\tableofcontents}{% 617 | \begin{quote}\setstretch{1.0} 618 | \oldtoc 619 | \end{quote} 620 | } 621 | % toc depth 622 | \AtBeginDocument{\setcounter{tocdepth}{1}} 623 | 624 | % B I B L I O G R A P H I C 625 | % R E F E R E N C E S %this is black magic to me but it seems 2b working 626 | \makeatletter 627 | \newcommand\sidecite[2][]{\autocite{#2}\sidetext{\ifthenelse{\equal{#1}{}}{}{\vskip #1}% 628 | \@for\cle:={#2}\do{\makebox[0pt][r]{\autocite{\cle}}\fullcite{\cle}.\\\vskip 4pt}% 629 | }} 630 | \newcommand\sidetextcite[2][]{\sidetext{\ifthenelse{\equal{#1}{}}{}{\vskip #1}% 631 | \@for\cle:={#2}\do{\makebox[0pt][r]{\autocite{\cle}}\fullcite{\cle}.\\\vskip 4pt}% 632 | }} 633 | \makeatother 634 | 635 | \DeclareCiteCommand{\fullcite} 636 | {\usebibmacro{prenote}} 637 | {%\clearfield{url}% 638 | \clearfield{pagetotal}% 639 | \clearfield{edition}% 640 | \usedriver 641 | {\DeclareNameAlias{sortname}{default}} 642 | {\thefield{entrytype}}} 643 | {\multicitedelim} 644 | {\usebibmacro{postnote}} 645 | 646 | 647 | % flush T I G H T L I S T S 648 | % 649 | \AtBeginDocument{ 650 | % \setlist{topsep=0pt, itemsep=0pt, noitemsep} 651 | \setlist{topsep=3pt, itemsep=0pt} 652 | } 653 | % diamond bullets 654 | \renewcommand{\labelitemi}{$\vcenter{\hbox{\small$\diamond$}}$} 655 | 656 | % C O D E 657 | % 658 | % colors 659 | \definecolor{bg}{rgb}{.95,.95,.95} 660 | \definecolor{key}{HTML}{333399} 661 | \definecolor{comment}{HTML}{6b6b99} 662 | \definecolor{codegray}{rgb}{0.4,0.4,0.4} 663 | \definecolor{string}{HTML}{2b4f2b} 664 | % boxes 665 | \mdfdefinestyle{code_box}{% 666 | roundcorner= 2pt, 667 | backgroundcolor=white, 668 | linecolor = lightgray, 669 | linewidth = .5pt, 670 | topline = true, 671 | bottomline = true, 672 | leftline = true, 673 | rightline = true, 674 | innertopmargin=.2em, 675 | innerbottommargin=.2em, 676 | } 677 | % listing styles 678 | \lstdefinestyle{unnumbered}{ 679 | commentstyle=\color{comment}, 680 | keywordstyle=\color{key}, 681 | stringstyle=\color{string}, 682 | basicstyle=\ttfamily\normalsize\lst@ifdisplaystyle\small\fi, 683 | breakatwhitespace=false, 684 | breaklines=true, 685 | keepspaces=true, 686 | showspaces=false, 687 | showstringspaces=false, 688 | showtabs=false, 689 | tabsize=4, 690 | framexleftmargin=30pt, 691 | } 692 | \lstdefinestyle{numbered}{ 693 | commentstyle=\color{comment}, 694 | keywordstyle=\color{key}, 695 | stringstyle=\color{string}, 696 | basicstyle=\ttfamily\normalsize\lst@ifdisplaystyle\small\fi, 697 | breakatwhitespace=false, 698 | breaklines=true, 699 | keepspaces=true, 700 | numbers=left, 701 | numberstyle = \color{codegray}\footnotesize\ttfamily, 702 | numbersep=10pt, 703 | showspaces=false, 704 | showstringspaces=false, 705 | showtabs=false, 706 | tabsize=4, 707 | framexleftmargin=30pt, 708 | framextopmargin=100pt, 709 | framexbottommargin=30pt, 710 | } 711 | % code macros 712 | \lstnewenvironment{codebox}[1]{% 713 | \FloatBarrier 714 | \mdframed[style = code_box, innerleftmargin=10pt]% 715 | \lstset{style=unnumbered, language=#1} 716 | } 717 | { 718 | \endmdframed 719 | } 720 | \lstnewenvironment{altcodebox}[1]{% 721 | \FloatBarrier 722 | \mdframed[style = code_box, innerleftmargin=10pt]% 723 | \lstset{style=unnumbered, language=#1} 724 | } 725 | { 726 | \endmdframed 727 | } 728 | \lstnewenvironment{codeboxnum}[1]{% 729 | \FloatBarrier 730 | \mdframed[style = code_box, innerleftmargin=25pt]% 731 | \lstset{style=numbered, language=#1} 732 | } 733 | { 734 | \endmdframed 735 | } 736 | \newcommand{\inlinecode}[1]{\lstinline[style=unnumbered, language=#1]} 737 | % snippet environments 738 | \lstnewenvironment{snippet}[3]{% 739 | \marginpar{~\vskip 10pt\captionof{listings}{#2\label{#3}}} 740 | \mdframed[style = code_box, innerleftmargin=10pt]% 741 | \lstset{style=unnumbered, language=#1} 742 | } 743 | { 744 | \endmdframed 745 | } 746 | \lstnewenvironment{snippetnum}[3]{% 747 | \marginpar{~\vskip 10pt\captionof{listings}{#2\label{#3}}} 748 | \mdframed[style = code_box, innerleftmargin=25pt]% 749 | \lstset{style=numbered, language=#1} 750 | } 751 | { 752 | \endmdframed 753 | } 754 | 755 | 756 | % I N - T E X T F I N E T U N I N G 757 | % 758 | % widows and orphans 759 | \clubpenalty = 10000 760 | \widowpenalty = 10000 761 | \displaywidowpenalty = 10000 762 | 763 | 764 | % M I S C E L L A N E O U S 765 | % 766 | \providecommand{\toight}{% 767 | \tightlist% 768 | } 769 | % minipages with margin notes 770 | \usepackage{minipage-marginpar} 771 | % no page break environment 772 | \newenvironment{absolutelynopagebreak} 773 | {\par\nobreak\vfil\penalty0\vfilneg 774 | \vtop\bgroup} 775 | {\par\xdef\tpd{\the\prevdepth}\egroup 776 | \prevdepth=\tpd} 777 | 778 | % M A T H & P H Y S I C S 779 | % S H O R T C U T S 780 | %\iffalse 781 | % uncomment this \iffalse 782 | %and the \fi at the end to disable (or delete) 783 | 784 | % i find it more pleasing 785 | \renewcommand{\phi}{\varphi} 786 | \renewcommand{\epsilon}{\varepsilon} 787 | \newcommand{\N}{\mathbb{N}} % shortcuts for usual number sets 788 | \newcommand{\Z}{\mathbb{Z}} 789 | \newcommand{\Q}{\mathbb{Q}} 790 | \newcommand{\R}{\mathbb{R}} 791 | % \newcommand{\C}{\mathbb{C}} 792 | % powers of 10 793 | \newcommand{\ee}[1]{\cdot 10^{#1}} 794 | % new vect with overrightarrow style 795 | \newcommand{\vect}[1]{\:\overrightarrow{#1}} 796 | %fi 797 | 798 | % TODO 799 | \newlistof{todos}{tod}{\bfseries \textls{TO DO} list} 800 | \let\oldlistoftodos\listoftodos 801 | \renewcommand{\listoftodos}{\bgroup\color{tooRed}{\oldlistoftodos}\egroup} 802 | \newcommand{\todolist}{\listoftodos} 803 | 804 | \newcounter{todo} 805 | \setcounter{todo}{1} 806 | \newcommand{\todo}[1]{ 807 | \addcontentsline{tod}{todos}{\protect\numberline{\bfseries\#\thetodo}#1} 808 | \bgroup\color{tooRed} 809 | \noindent\large\textsc{todo \#\arabic{todo}}~~\hrulefill% 810 | \refstepcounter{todo}% 811 | \smallskip 812 | 813 | \normalsize\noindent #1 814 | 815 | \noindent\hrulefill 816 | \egroup 817 | } 818 | 819 | % S T R E T C H 820 | % 821 | \AtBeginDocument{% 822 | \setstretch{1.12} 823 | } -------------------------------------------------------------------------------- /tufte-style-thesis.cls: -------------------------------------------------------------------------------- 1 | \NeedsTeXFormat{LaTeX2e} 2 | \ProvidesClass{tufte-style-thesis}[] 3 | 4 | % O P T I O N S 5 | % 6 | \newif\if@justified\@justifiedfalse 7 | \DeclareOption{raggedright}{ % makes all paragraphs left-aligned 8 | \AtBeginDocument{ 9 | \setlength{\RaggedRightParindent}{1em} 10 | \RaggedRight 11 | } 12 | } 13 | \DeclareOption{boxey}{ 14 | \@justifiedtrue 15 | } 16 | \DeclareOption{parskip}{ % changes paragraph indents vor vertical skips 17 | \AtBeginDocument{\usepackage{parskip}} 18 | \setlength{\parskip}{\baselineskip} 19 | } 20 | \DeclareOption{casual}{ % removes header numbering --still puts them in toc 21 | \AtBeginDocument{\setcounter{secnumdepth}{0}} 22 | } 23 | \newif\if@sans\@sansfalse 24 | \DeclareOption{sans}{ 25 | \@sanstrue 26 | \renewcommand{\familydefault}{\sfdefault} 27 | } 28 | \newif\if@black\@blackfalse 29 | \DeclareOption{black}{ 30 | \@blacktrue 31 | } 32 | \newif\if@colorful\@colorfulfalse 33 | \newif\if@black\@blackfalse 34 | \DeclareOption{colorful}{ 35 | \@colorfultrue 36 | \@blackfalse 37 | } 38 | \DeclareOption{black}{ 39 | \@blacktrue 40 | \@colorfulfalse 41 | } 42 | 43 | \ExecuteOptions{} 44 | \ProcessOptions\relax 45 | \LoadClassWithOptions{book} 46 | 47 | \if@justified 48 | \AtBeginDocument{ 49 | \justifying 50 | } 51 | \else 52 | \AtBeginDocument{ 53 | \setlength{\RaggedRightParindent}{1em} 54 | \RaggedRight 55 | } 56 | \fi 57 | 58 | % P A C K A G E D E F I N I T I O N 59 | % 60 | \RequirePackage{emptypage} % if a page is empty, is is really empty 61 | \RequirePackage{fullwidth} % for wide environments 62 | \RequirePackage{sidenotes} % for margin stuff 63 | \RequirePackage[ 64 | hypcap=false % hypcap=true spits an error 65 | ]{caption} % for caption formatting 66 | \RequirePackage[T1]{fontenc} % font encoding 67 | \RequirePackage[osf]{libertinus}% main font 68 | \RequirePackage{libertinust1math} 69 | \RequirePackage{gillius} % sans font 70 | \RequirePackage[ 71 | defaultmono, 72 | scale=.82 73 | ]{droidsansmono} % mono font 74 | \RequirePackage{ragged2e} % for better raggedright 75 | \RequirePackage{titlesec} % header customization 76 | \RequirePackage{titletoc} % toc customization 77 | \RequirePackage[titles]{tocloft}% lof lot lol customizatios 78 | \RequirePackage{fancyhdr} % page header customization 79 | \RequirePackage{graphicx} % for images 80 | \RequirePackage[% % listings 81 | % numberbychapter=true, 82 | ]{listings} 83 | \RequirePackage[ 84 | protrusion=true, 85 | expansion=true, 86 | final, 87 | tracking, 88 | ]{microtype} % microtypography: fine-tuning in text 89 | \RequirePackage{amsfonts} % math fonts 90 | \RequirePackage{amsmath} % math stuff 91 | \RequirePackage{mathtools} % amsmath extension 92 | \RequirePackage{physics} % handy shortcuts for physics 93 | \RequirePackage{xcolor} % colorz 94 | \RequirePackage[framemethod=TikZ]{mdframed} % for custom code boxes 95 | \RequirePackage{tabularx} % adaptive columns on tables 96 | \RequirePackage{booktabs} % better looking tables 97 | \RequirePackage{enumitem} % better looking lists 98 | \RequirePackage{setspace} 99 | \RequirePackage[ 100 | hidelinks, 101 | final, 102 | breaklinks, 103 | bookmarks, 104 | pdfusetitle, 105 | ]{hyperref} % automatic references in pdf % automatic references in pdf 106 | \RequirePackage{etoolbox} % really idk what this does 107 | \RequirePackage[strict]{changepage} % needed by sidenotes 108 | \RequirePackage{placeins} % for floatbarrier 109 | \RequirePackage{xparse} 110 | \RequirePackage{xpatch} 111 | \RequirePackage[ 112 | % doi=false, 113 | % isbn=false, 114 | % url=false, 115 | autocite = superscript, 116 | backend = biber, 117 | citestyle = numeric-comp, 118 | style = nature, 119 | % citecolor = niceBlue, 120 | sorting = none, 121 | bibencoding = utf8, 122 | ]{biblatex} 123 | \RequirePackage{csquotes} 124 | %%% TEST footmisc 125 | \RequirePackage[ 126 | perpage, 127 | symbol*, 128 | flushmargin, 129 | side, 130 | ragged, 131 | ]{footmisc} 132 | % \RequirePackage{marginfix} 133 | \makeatletter 134 | \renewcommand\@makefnmark{% 135 | \hbox{% 136 | \ifx\@fnsymbol\FN@fnsymbol@sym 137 | \expandafter\@firstofone 138 | \else 139 | \expandafter\@textsuperscript 140 | \fi 141 | {\normalfont\@thefnmark}% 142 | }% 143 | } 144 | \makeatother 145 | \RequirePackage{xifthen} 146 | 147 | 148 | % C O L O R D E F I N I T I O N 149 | % 150 | \definecolor{niceRed}{HTML}{980326} 151 | \definecolor{niceBlue}{HTML}{025472} 152 | \definecolor{tooRed}{HTML}{cc0000} 153 | \if@colorful 154 | \renewcommand\thefootnote{\color{niceBlue}\arabic{footnote}} 155 | \renewcommand\thesidenote{\color{niceBlue}\arabic{sidenote}} 156 | \else 157 | \fi 158 | \if@black 159 | \definecolor{niceRed}{HTML}{000000} 160 | \definecolor{niceBlue}{HTML}{000000} 161 | \else 162 | \fi 163 | \newcommand\red[1]{\textcolor{niceRed}{#1}} 164 | 165 | % M A R G I N S 166 | % 167 | % formatting sidenote text 168 | \makeatletter 169 | \RenewDocumentCommand\sidenotetext{ o o +m }{% 170 | \IfNoValueOrEmptyTF{#1}{% 171 | \@sidenotes@placemarginal{#2}{\setstretch{1.0}\noindent\footnotesize\RaggedRight{\thesidenote{}}~~#3}% 172 | \refstepcounter{sidenote}% 173 | }{% 174 | \@sidenotes@placemarginal{#2}{\noindent\footnotesize\RaggedRight{#1}~~#3}% 175 | }% 176 | } 177 | \makeatother 178 | 179 | \newcommand{\sidetext}[1] 180 | {\marginpar{\setstretch{1.0}\RaggedRight\footnotesize\noindent #1 \vskip 4pt}} 181 | 182 | \newenvironment{wide}{ 183 | \begin{fullwidth}[outermargin=-\marginparwidth-\marginparsep, width=\linewidth+\marginparwidth+\marginparsep] 184 | }% 185 | { 186 | \end{fullwidth} 187 | } 188 | % sidenotes reset on new 189 | \let\oldchap\chapter 190 | \renewcommand{\chapter}{\setcounter{sidenote}{1}\oldchap} 191 | 192 | % F U L L A R A B I C (titlepage = page1) 193 | % 194 | \makeatletter 195 | \renewcommand{\frontmatter}{\cleardoublepage\@mainmatterfalse} 196 | \renewcommand{\mainmatter}{\cleardoublepage\@mainmattertrue} 197 | \makeatother 198 | 199 | 200 | % P A G E H E A D E R S 201 | % 202 | \renewcommand{\chaptermark}[1]{ \markboth{#1}{} } 203 | \renewcommand{\sectionmark}[1]{ \markright{#1}{} } 204 | \pagestyle{fancy} 205 | \fancyhf{} 206 | \renewcommand{\headrulewidth}{0pt} 207 | \fancyhead[LO]{ 208 | \footnotesize\textls{\MakeUppercase{\sffamily\rightmark}} \hfill \normalfont\normalsize\thepage 209 | } 210 | \fancyhead[RE]{ 211 | \normalfont\normalsize\thepage \hfill \footnotesize\textls{\MakeUppercase{\sffamily\leftmark}} 212 | } 213 | \fancypagestyle{plain}{ 214 | \fancyhf{} 215 | \fancyhead[RO]{\thepage} 216 | \fancyhead[LE]{\hfill} 217 | } 218 | \setlength{\headheight}{13.6pt} 219 | 220 | % T I T L E H E A D E R S 221 | % 222 | 223 | % default numbering depth 224 | \AtBeginDocument{\setcounter{secnumdepth}{1}} 225 | 226 | % header formatting 227 | \titlespacing*{\part}{.2\linewidth}{.3\textheight}{0pt} 228 | \titlespacing*{\chapter}{0pt}{-60pt}{65pt} 229 | \titleformat{\part}%[hang] 230 | {\thispagestyle{empty}\huge\raggedleft} 231 | {\Large\lsstyle\MakeUppercase{\partname}~~\thepart\normalfont} 232 | {0em} 233 | {\vskip 12pt \setstretch{0.9}\huge\lsstyle\sffamily\uppercase} 234 | % \let\oldpart\part 235 | % \renewcommand{\part}{ 236 | % } 237 | \titleformat{\chapter}[block] 238 | {\begin{wide}\thispagestyle{empty}\itshape\huge} 239 | {\normalfont\bfseries\huge\thechapter} 240 | {1em} 241 | {\setstretch{0.9}\raggedright\huge\itshape}[\end{wide}] 242 | \titleformat{\section} 243 | {\itshape\Large} 244 | {\normalfont\thesection} 245 | {1em} 246 | {\setstretch{0.9}\raggedright\itshape} 247 | \titleformat{\subsection} 248 | {\itshape\normalfont} 249 | {\raggedright\normalfont\thesubsection} 250 | {1em} 251 | {\setstretch{0.9}\itshape} 252 | \titleformat{\subsubsection}[runin] 253 | {} 254 | {\itshape\thesubsubsection} 255 | {1ex} 256 | {\itshape}[~~$\cdot$] 257 | 258 | 259 | % M A K E T I T L E 260 | % 261 | 262 | % custom info commands like @title, @author... 263 | % info commands definition 264 | \makeatletter 265 | % subtitle --title already exists 266 | \newcommand\subtitle[1]{\renewcommand\@subtitle{#1}} 267 | \newcommand\@subtitle{} 268 | % university 269 | \newcommand\university[1]{\renewcommand\@university{#1}} 270 | \newcommand\@university{} 271 | % lab 272 | \newcommand\lab[1]{\renewcommand\@lab{#1}} 273 | \newcommand\@lab{} 274 | 275 | % supervisors, jury members, etc. 276 | \newcommand\people{} 277 | \def\zfoo#1\relax{\long\def\people##1{#1}} 278 | \newcommand\updatepeople[1]{% 279 | \expandafter\zfoo\people{##1}##1#1\relax 280 | } 281 | \newcommand\person[3]{ 282 | \updatepeople{#1 & #2 & #3 \\} 283 | } 284 | 285 | % logos 286 | \newcommand\logos{} 287 | \def\xfoo#1\relax{\long\def\logos##1{#1}} 288 | \newcommand\updatelogos[1]{% 289 | \expandafter\xfoo\logos{##1}##1#1\relax 290 | } 291 | \newcommand\logo[1]{ 292 | \updatelogos{ 293 | \hspace{20pt}\includegraphics[height=50pt]{#1} 294 | } 295 | } 296 | 297 | % Doctoral thesis (subsubtitle) 298 | \newcommand\type[1]{\renewcommand\@type{#1}} 299 | \newcommand\@type{Doctoral thesis} 300 | 301 | % shoutouts 302 | \newcommand\shoutouts[1]{\renewcommand\@shoutouts{#1}} 303 | \newcommand\@shoutouts{} 304 | 305 | % ACTUAL MAKETITLE (titlepage + "copyright" and dedication pages) 306 | \newcommand\@maketitlebis{% 307 | \makeatletter 308 | \setstretch{1.0} 309 | \begin{titlepage} 310 | % \setcounter{page}{1} 311 | \hfill 312 | \begin{minipage}{.8\linewidth} 313 | \raggedleft 314 | 315 | {\large\scshape 316 | \MakeLowercase{\@university}% 317 | 318 | \bigskip 319 | 320 | \MakeLowercase{\@lab}% <- this percent is mandatory -- without it latex places and awkward space 321 | } 322 | 323 | \vskip 80pt 324 | 325 | {\large\itshape\@author} 326 | 327 | \vskip 40 pt 328 | 329 | {% 330 | \huge 331 | \if@colorful 332 | \color{niceRed} 333 | \else 334 | \fi 335 | \@title\par 336 | }% 337 | 338 | \vskip 8pt 339 | 340 | {\large\@subtitle\par}% 341 | 342 | \vskip 20pt 343 | 344 | {\Large \@type}% 345 | 346 | \vskip 40pt 347 | 348 | {\itshape\@date} 349 | 350 | \end{minipage} 351 | 352 | \vfill 353 | 354 | \raggedleft 355 | 356 | \begin{tabular}{rll} 357 | \people{} 358 | \end{tabular} 359 | 360 | \vskip 40pt 361 | 362 | \logos{} 363 | 364 | \end{titlepage} 365 | 366 | \if@colorful 367 | \hypersetup{ 368 | colorlinks = true, 369 | linkcolor = niceBlue, 370 | anchorcolor = niceBlue, 371 | citecolor = ., 372 | urlcolor = niceBlue, 373 | } 374 | \fi 375 | 376 | % copyright 377 | \thispagestyle{empty} 378 | \hfill 379 | \vfill 380 | \makeatletter 381 | \noindent\begin{flushleft}\@author,\quad \textit{\@title,} \@subtitle, \@date. 382 | \end{flushleft} 383 | \makeatother 384 | 385 | 386 | % dedication 387 | \cleardoublepage 388 | \thispagestyle{empty} 389 | ~\vskip .3\textheight 390 | \begin{flushright} 391 | \large\itshape\@shoutouts 392 | \end{flushright} 393 | 394 | \setstretch{1.12} 395 | \makeatother 396 | } 397 | \renewcommand\maketitle{ 398 | \@maketitlebis 399 | \thispagestyle{empty} 400 | } 401 | \makeatother 402 | 403 | % COLOPHON 404 | \AtEndDocument{ 405 | \cleardoublepage 406 | \pagestyle{empty} 407 | \footnotesize\raggedleft 408 | \hfill 409 | \vfill 410 | \noindent This document was typeset using \LaTeX{} and the \texttt{tufte-style-thesis} class. 411 | 412 | The style is heavily inspired by the works of Edward R. Tufte and Robert Bringhurst. 413 | 414 | This is available on here: 415 | 416 | \vskip 8pt 417 | 418 | \centering \url{https://github.com/sylvain-kern/tufte-style-thesis/}.\\ 419 | \raggedleft\noindent Feel free to contribute! 420 | } 421 | 422 | % F I G U R E S A N D S T U F F 423 | % 424 | % caption formatting 425 | \DeclareCaptionLabelFormat{lc}{\MakeLowercase{#1}~#2} 426 | \DeclareCaptionLabelSeparator{mysep}{.\quad} 427 | \DeclareCaptionLabelSeparator{mysepside}{.\\} 428 | \captionsetup{ 429 | labelfont = {bf}, 430 | %labelformat = lc, 431 | labelsep = mysep, 432 | justification=RaggedRight, 433 | font={footnotesize, stretch=1}, 434 | singlelinecheck=on, 435 | } 436 | \DeclareCaptionStyle{sidecaption}{ 437 | labelfont = {bf}, 438 | %labelformat = lc, 439 | labelsep = mysepside, 440 | justification=RaggedRight, 441 | font={footnotesize, stretch=1}, 442 | singlelinecheck=off, 443 | } 444 | \DeclareCaptionStyle{marginfigure}{ 445 | labelfont = {bf}, 446 | %labelformat = lc, 447 | labelsep = mysepside, 448 | justification=RaggedRight, 449 | font={footnotesize, stretch=1}, 450 | singlelinecheck=off, 451 | } 452 | \DeclareCaptionStyle{widefigure}{ 453 | labelfont = {bf}, 454 | %labelformat = lc, 455 | labelsep = mysep, 456 | justification=RaggedRight, 457 | font={footnotesize, stretch=1}, 458 | singlelinecheck=off, 459 | } 460 | \DeclareCaptionStyle{margintable}{ 461 | labelfont = {bf}, 462 | %labelformat = lc, 463 | labelsep = mysep, 464 | justification=RaggedRight, 465 | font={footnotesize, stretch=1}, 466 | singlelinecheck=off, 467 | } 468 | \DeclareCaptionStyle{widetable}{ 469 | labelfont = {bf}, 470 | %labelformat = lc, 471 | labelsep = mysep, 472 | justification=RaggedRight, 473 | font={footnotesize, stretch=1}, 474 | singlelinecheck=off, 475 | } 476 | % figure macros 477 | \AtBeginDocument{\usepackage[export]{adjustbox}} % for 'outer' mode 478 | \newcommand{\textfig}[4][]{% 479 | \FloatBarrier 480 | \begin{figure}[!htb]% 481 | \sidecaption{#3\label{#4}}% 482 | \includegraphics[width = #1\linewidth, outer]{#2}% 483 | \end{figure}% 484 | } 485 | \newcommand{\marginfig}[3]{% 486 | \FloatBarrier% 487 | \begin{marginfigure}% 488 | \includegraphics[width = \linewidth]{#1}% 489 | \caption{#2\label{#3}}% 490 | \end{marginfigure}% 491 | } 492 | \newcommand{\widefig}[4][]{% 493 | \FloatBarrier% 494 | \begin{figure*}[!htb]% 495 | \includegraphics[width=#1\linewidth, outer]{#2}% 496 | \sidecaption{#3\label{#4}}% 497 | \end{figure*}% 498 | } 499 | \newcommand{\plainfig}[4][]{% 500 | \FloatBarrier% 501 | \begin{figure}[!htb]% 502 | \includegraphics[width=#1\linewidth, left]{#2}% 503 | \caption{#3\label{#4}}% 504 | \end{figure}% 505 | } 506 | \newcommand{\plainwidefig}[4][]{% 507 | \FloatBarrier% 508 | \begin{figure*}[!htb]% 509 | \includegraphics[width=#1\linewidth, left]{#2}% 510 | \caption{#3\label{#4}}% 511 | \end{figure*}% 512 | } 513 | % table macros 514 | \newcolumntype{Y}{>{\centering\arraybackslash}X} % tabularx column type 515 | \newenvironment{texttable}[2]{% 516 | \begingroup% 517 | \small% 518 | \marginpar{% 519 | \vskip 8pt% 520 | \captionof{table}{#1}% 521 | \label{#2}% 522 | } 523 | 524 | \noindent% 525 | } 526 | { 527 | \endgroup% 528 | } 529 | 530 | % T O C C U S T O M I Z A T I O N 531 | % 532 | \contentsmargin[1cm]{0cm} 533 | \titlecontents*{part}[0em] 534 | {\large\scshape} 535 | {\scshape\thecontentslabel} 536 | {\vskip 4pt\large\scshape\lowercase} 537 | {}[\vskip 0pt] 538 | \titlecontents{chapter}[0em] 539 | {\large\vspace{12pt}} 540 | {\makebox[-1em][r]{\thecontentslabel}\large\hspace{1em}} 541 | {\large} 542 | {~~~~\textcolor{niceBlue}{\contentspage}}[\vskip 2pt] 543 | \titlecontents*{section}[0em] 544 | {\small} 545 | {\thecontentslabel~~} 546 | {\small} 547 | {~~\textcolor{niceBlue}{\contentspage}} 548 | [\\] 549 | % \titlecontents{subsection}[0em] 550 | % {\vspace{4pt}} 551 | % {\normalfont\thecontentslabel\enspace\itshape} 552 | % {\itshape} 553 | % {\qquad\contentspage}[\vskip 0pt] 554 | % \titlecontents*{subsection}[0em] 555 | % {\vskip 0pt\small} 556 | % {{\thecontentslabel}~~\itshape} 557 | % {\itshape} 558 | % {~~{\contentspage}} 559 | % [\qquad] 560 | % \titlecontents{subsubsection}[1em] 561 | % {\vspace{0pt}} 562 | % {\normalfont\thecontentslabel\enspace\itshape} 563 | % {\itshape} 564 | % {\quad\quad\contentspage}[\vskip 0pt] 565 | 566 | % TOCLOFT (stolen from classicthesis) 567 | \renewcommand{\cftfigpresnum}{\scshape\MakeTextLowercase}% 568 | \renewcommand{\cftfigfont}{\normalfont}% 569 | \renewcommand{\cftfigleader}{\hspace{2.5em}}% 570 | \renewcommand{\cftfigafterpnum}{\cftparfillskip}% 571 | \renewcommand{\cftfigpresnum}{\figurename~}%Fig.~} 572 | \newlength{\figurelabelwidth} 573 | \settowidth{\figurelabelwidth}{\cftfigpresnum~999} 574 | \addtolength{\figurelabelwidth}{1em} 575 | \cftsetindents{figure}{0em}{\figurelabelwidth} 576 | % tables 577 | \renewcommand{\cfttabfont}{\normalfont}% 578 | \renewcommand{\cfttableader}{\hspace{2.5em}}% 579 | \renewcommand{\cfttabafterpnum}{\cftparfillskip}% 580 | \renewcommand{\cfttabpresnum}{\tablename~}%Tab.~} 581 | \newlength{\tablelabelwidth} 582 | \settowidth{\tablelabelwidth}{\cfttabpresnum~999} 583 | \addtolength{\tablelabelwidth}{1em} 584 | %\cftsetindents{table}{0em}{\tablelabelwidth} 585 | \cftsetindents{table}{0em}{\figurelabelwidth} 586 | % listings 587 | \newcommand\listingsname{Listing} 588 | \renewcommand\lstlistingname{Listing} 589 | \renewcommand\lstlistlistingname{List of Listings} 590 | \newlistof{listings}{lol}{\lstlistlistingname}% 591 | \renewcommand{\cftlistingspresnum}{\scshape\MakeTextLowercase}% 592 | \renewcommand{\cftlistingsfont}{\normalfont}% 593 | \renewcommand{\cftlistingspresnum}{\lstlistingname~}% 594 | \renewcommand{\cftlistingspagefont}{\normalfont}% 595 | \renewcommand{\cftlistingsleader}{\hspace{1.5em}}% 596 | \renewcommand{\cftlistingsafterpnum}{\cftparfillskip}% 597 | \newlength{\listingslabelwidth}% 598 | \settowidth{\listingslabelwidth}{\cftlistingspresnum~999}% 599 | \addtolength{\listingslabelwidth}{2.5em}% 600 | \cftsetindents{listings}{0em}{\figurelabelwidth}% 601 | % \let\l@lstlisting\l@listings% 602 | \let\lstlistoflistings\listoflistings% 603 | % blue page numbers 604 | \renewcommand{\cftfigpagefont}{\color{niceBlue}} 605 | \renewcommand{\cfttabpagefont}{\color{niceBlue}} 606 | \renewcommand{\cftlistingspagefont}{\color{niceBlue}} 607 | % TOCLOFT over 608 | % toc offset 609 | \let\oldtoc\tableofcontents 610 | \renewcommand{\tableofcontents}{% 611 | \begin{quote}\setstretch{1.0} 612 | \oldtoc 613 | \end{quote} 614 | } 615 | % toc depth 616 | \AtBeginDocument{\setcounter{tocdepth}{1}} 617 | 618 | % B I B L I O G R A P H I C 619 | % R E F E R E N C E S %this is black magic to me but it seems 2b working 620 | \makeatletter 621 | \newcommand\sidecite[2][]{\autocite{#2}\sidetext{\ifthenelse{\equal{#1}{}}{}{\vskip #1}% 622 | \@for\cle:={#2}\do{\makebox[0pt][r]{\autocite{\cle}}\fullcite{\cle}.\\\vskip 4pt}% 623 | }} 624 | \newcommand\sidetextcite[2][]{\sidetext{\ifthenelse{\equal{#1}{}}{}{\vskip #1}% 625 | \@for\cle:={#2}\do{\makebox[0pt][r]{\autocite{\cle}}\fullcite{\cle}.\\\vskip 4pt}% 626 | }} 627 | \makeatother 628 | 629 | \DeclareCiteCommand{\fullcite} 630 | {\usebibmacro{prenote}} 631 | {\clearfield{url}% 632 | \clearfield{pagetotal}% 633 | \clearfield{edition}% 634 | \usedriver 635 | {\DeclareNameAlias{sortname}{default}} 636 | {\thefield{entrytype}}} 637 | {\multicitedelim} 638 | {\usebibmacro{postnote}} 639 | 640 | 641 | % flush T I G H T L I S T S 642 | % 643 | \AtBeginDocument{ 644 | \setlist{topsep=0pt, itemsep=0pt, noitemsep} 645 | } 646 | % diamond bullets 647 | \renewcommand{\labelitemi}{$\vcenter{\hbox{\small$\diamond$}}$} 648 | 649 | % C O D E 650 | % 651 | % colors 652 | \definecolor{bg}{rgb}{.95,.95,.95} 653 | \definecolor{key}{HTML}{333399} 654 | \definecolor{comment}{HTML}{6b6b99} 655 | \definecolor{codegray}{rgb}{0.4,0.4,0.4} 656 | \definecolor{string}{HTML}{2b4f2b} 657 | % boxes 658 | \mdfdefinestyle{code_box}{% 659 | roundcorner= 2pt, 660 | backgroundcolor=white, 661 | linecolor = lightgray, 662 | linewidth = .5pt, 663 | topline = true, 664 | bottomline = true, 665 | leftline = true, 666 | rightline = true, 667 | innertopmargin=.2em, 668 | innerbottommargin=.2em, 669 | } 670 | % listing styles 671 | \lstdefinestyle{unnumbered}{ 672 | commentstyle=\color{comment}, 673 | keywordstyle=\color{key}, 674 | stringstyle=\color{string}, 675 | basicstyle=\ttfamily\normalsize\lst@ifdisplaystyle\small\fi, 676 | breakatwhitespace=false, 677 | breaklines=true, 678 | keepspaces=true, 679 | showspaces=false, 680 | showstringspaces=false, 681 | showtabs=false, 682 | tabsize=4, 683 | framexleftmargin=30pt, 684 | } 685 | \lstdefinestyle{numbered}{ 686 | commentstyle=\color{comment}, 687 | keywordstyle=\color{key}, 688 | stringstyle=\color{string}, 689 | basicstyle=\ttfamily\normalsize\lst@ifdisplaystyle\small\fi, 690 | breakatwhitespace=false, 691 | breaklines=true, 692 | keepspaces=true, 693 | numbers=left, 694 | numberstyle = \color{codegray}\footnotesize\ttfamily, 695 | numbersep=10pt, 696 | showspaces=false, 697 | showstringspaces=false, 698 | showtabs=false, 699 | tabsize=4, 700 | framexleftmargin=30pt, 701 | framextopmargin=100pt, 702 | framexbottommargin=30pt, 703 | } 704 | % code macros 705 | \lstnewenvironment{codebox}[1]{% 706 | \FloatBarrier 707 | \mdframed[style = code_box, innerleftmargin=10pt]% 708 | \lstset{style=unnumbered, language=#1} 709 | } 710 | { 711 | \endmdframed 712 | } 713 | \lstnewenvironment{altcodebox}[1]{% 714 | \FloatBarrier 715 | \mdframed[style = code_box, innerleftmargin=10pt]% 716 | \lstset{style=unnumbered, language=#1} 717 | } 718 | { 719 | \endmdframed 720 | } 721 | \lstnewenvironment{codeboxnum}[1]{% 722 | \FloatBarrier 723 | \mdframed[style = code_box, innerleftmargin=25pt]% 724 | \lstset{style=numbered, language=#1} 725 | } 726 | { 727 | \endmdframed 728 | } 729 | \newcommand{\inlinecode}[1]{\lstinline[style=unnumbered, language=#1]} 730 | % snippet environments 731 | \lstnewenvironment{snippet}[3]{% 732 | \marginpar{~\vskip 10pt\captionof{listings}{#2\label{#3}}} 733 | \mdframed[style = code_box, innerleftmargin=10pt]% 734 | \lstset{style=unnumbered, language=#1} 735 | } 736 | { 737 | \endmdframed 738 | } 739 | \lstnewenvironment{snippetnum}[3]{% 740 | \marginpar{~\vskip 10pt\captionof{listings}{#2\label{#3}}} 741 | \mdframed[style = code_box, innerleftmargin=25pt]% 742 | \lstset{style=numbered, language=#1} 743 | } 744 | { 745 | \endmdframed 746 | } 747 | 748 | 749 | % I N - T E X T F I N E T U N I N G 750 | % 751 | % widows and orphans 752 | \clubpenalty = 10000 753 | \widowpenalty = 10000 754 | \displaywidowpenalty = 10000 755 | 756 | 757 | % M I S C E L L A N E O U S 758 | % 759 | \providecommand{\toight}{% 760 | \tightlist% 761 | } 762 | % minipages with margin notes 763 | \usepackage{minipage-marginpar} 764 | % no page break environment 765 | \newenvironment{absolutelynopagebreak} 766 | {\par\nobreak\vfil\penalty0\vfilneg 767 | \vtop\bgroup} 768 | {\par\xdef\tpd{\the\prevdepth}\egroup 769 | \prevdepth=\tpd} 770 | 771 | % M A T H & P H Y S I C S 772 | % S H O R T C U T S 773 | %\iffalse 774 | % uncomment this \iffalse 775 | %and the \fi at the end to disable (or delete) 776 | 777 | % i find it more pleasing 778 | \renewcommand{\phi}{\varphi} 779 | \renewcommand{\epsilon}{\varepsilon} 780 | \newcommand{\N}{\mathbb{N}} % shortcuts for usual number sets 781 | \newcommand{\Z}{\mathbb{Z}} 782 | \newcommand{\Q}{\mathbb{Q}} 783 | \newcommand{\R}{\mathbb{R}} 784 | \newcommand{\C}{\mathbb{C}} 785 | % powers of 10 786 | \newcommand{\ee}[1]{\cdot 10^{#1}} 787 | % new vect with overrightarrow style 788 | \newcommand{\vect}[1]{\:\overrightarrow{#1}} 789 | %fi 790 | 791 | % TODO 792 | \newlistof{todos}{tod}{\bfseries \textls{TO DO} list} 793 | \let\oldlistoftodos\listoftodos 794 | \renewcommand{\listoftodos}{\bgroup\color{tooRed}{\oldlistoftodos}\egroup} 795 | \newcommand{\todolist}{\listoftodos} 796 | 797 | \newcounter{todo} 798 | \setcounter{todo}{1} 799 | \newcommand{\todo}[1]{ 800 | \addcontentsline{tod}{todos}{\protect\numberline{\bfseries\#\thetodo}#1} 801 | \bgroup\color{tooRed} 802 | \noindent\large\textsc{todo \#\arabic{todo}}~~\hrulefill% 803 | \refstepcounter{todo}% 804 | \smallskip 805 | 806 | \normalsize\noindent #1 807 | 808 | \noindent\hrulefill 809 | \egroup 810 | } 811 | 812 | % S T R E T C H 813 | % 814 | \AtBeginDocument{% 815 | \setstretch{1.12} 816 | } -------------------------------------------------------------------------------- /utcaps.bst: -------------------------------------------------------------------------------- 1 | % UT Physics bibliographic style, ver. 2.7. Based on: 2 | % 3 | %X IEEE Transactions bibliography style (29-Jan-88 version) 4 | %X numeric labels, order-of-reference, IEEE abbreviations, 5 | %X quotes around article titles, commas separate all fields 6 | %X except after book titles and before "notes". Otherwise, 7 | %X much like the "plain" family, from which this is adapted. 8 | %X 9 | %X History 10 | %X 9/30/85 (HWT) Original version, by Howard Trickey. 11 | %X 1/29/88 (OP&HWT) Updated for BibTeX version 0.99a, Oren Patashnik; 12 | %X THIS `ieeetr' VERSION DOES NOT WORK WITH BIBTEX 0.98i. 13 | % 14 | % Modifications: 1) added hypertex support and "archive", "eprint" 15 | % and "url" fields. 16 | % 2) parentheses around dates, and no "pp." for article entries 17 | % 3) "publisher, address" instead of "address: publisher" 18 | % 4) added "report" field for article entries. 19 | % 5) particle physics-oriented abbreviations, rather than ieee. 20 | % 6) added "collaboration" field, as per 21 | % Jonathan Flynn' suggestion. SPIRES now supports this field. 22 | % 7) Improved output of Proceedings entries 23 | % 24 | % Modified by Jacques Distler, 4/08 25 | % History: ver 1.0 9/96 26 | % ver 1.1 10/96 - added "collaboration" field 27 | % ver 1.2 7/97 - added a "\providecommand{\href}[2]{#2}" 28 | % to handle case where \href is not defined 29 | % ver 1.3 12/97 - fixed lousy-looking proceedings output. 30 | % ver 1.4 1/98 - fixed format.number, address in 31 | % proceedings entries 32 | % ver 1.5 3/99 - added (nonprinting) CITATION field for 33 | % SLAC internal use 34 | % ver 1.6 4/99 - Fix to ensure %%CITATION output not broken 35 | % across lines. Added new.sentence to ensure 36 | % previous output properly terminated. 37 | % (Moral: test before you release.) 38 | % ver 1.7 10/99 - "et.~al." should be "et al." Morons! 39 | % ver 1.8 11/99 - Changed the Web URL to the more portable 40 | % arxiv.org. The "archive" field functions as 41 | % a true base-URL. This is NOT A 42 | % BACKWARDS-COMPATIBLE change! 43 | % ver 1.8a 12/99 - MACROs for arXiv and cogprints 44 | % BaseURL's defined. 45 | % ver 1.9 6/05 - eprint support for other entry types 46 | % ver 2.0 4/08 - support "new-style" eprint identifiers 47 | % ver 2.1 4/08 - support for "url" field 48 | % ver 2.2 4/08 - support for "doi" field 49 | % ver 2.3 8/09 - fix month formatting 50 | % ver 2.4 7/10 - remove some deprecated font-constructws. 51 | % fix journal number formatting. 52 | % ver 2.5 9/10 - Internationalization and some more journal 53 | % MACROs (thanks to Mateus Araujo) 54 | % ver 2.7 8/11 - Fix "et~al." in format.crossref.editor, too. 55 | % (Reported by Blake Stacey) 56 | % 57 | % HyperTeX Wizardry: 58 | % 59 | % The following are equivalent: 60 | % archive = arXiv 61 | % eprint = "hep-th/9605023" 62 | % and 63 | % eprint = "hep-th/9605023" 64 | % both produce 65 | % 66 | % \href{http://arxiv.org/abs/hep-th/9605023}{{\ttfamily hep-th/9605023}} 67 | % 68 | % in the bibliographic output at the appropriate point. More generally, 69 | % if the archive field is present, we produce a URL of the form 70 | % "archive/eprint" as the first argument of the \href. If absent, the base 71 | % URL defaults to "http://arxiv.org/abs" 72 | % If you are using a hypertex macropackage, like hyperref.sty, this command 73 | % will create a link to the eprint at Los Alamos (or wherever). 74 | % 75 | % "New-style" arXiv identifiers are also supported. 76 | % 77 | % archivePrefix = "arXiv", 78 | % eprint = "0707.3168", 79 | % primaryClass = "hep-th", 80 | % 81 | % produces 82 | % 83 | % \href{http://arxiv.org/abs/0707.3168}{{\ttfamily arXiv:0707.3168 [hep-th]}} 84 | % 85 | % Another (non-arXiv) example: 86 | % 87 | % archive = "http://cogprints.org", 88 | % eprint = "5542", 89 | % archivePrefix = "Cogprints", 90 | % 91 | % produces 92 | % 93 | % \href{http://cogprints.org/5542}{{\ttfamily Cogprints:5542}} 94 | % 95 | % If a 96 | % 97 | % doi = "10.xxxx" 98 | % 99 | % field is present, then the journal reference becomes a 100 | % clickable hyperlink to the online journal version of the paper. 101 | % 102 | % The bibtex output produced by SPIRES, while far from perfect, is pretty 103 | % suitable for use with this style. Indeed, this style was designed with 104 | % SPIRES in mind. 105 | 106 | FUNCTION {string.and} {" and "} 107 | FUNCTION {string.editors} {", eds."} 108 | FUNCTION {string.editor} {", ed."} 109 | FUNCTION {string.edition} {"~ed."} 110 | FUNCTION {string.volume} {"vol.~"} 111 | FUNCTION {string.capsvolume} {"Vol.~"} 112 | FUNCTION {string.of} {" of "} 113 | FUNCTION {string.number} {"no.~"} 114 | FUNCTION {string.capsnumber} {"No.~"} 115 | FUNCTION {string.in} {"in "} 116 | FUNCTION {string.spacein} {" in "} 117 | FUNCTION {string.capsin} {"In "} 118 | FUNCTION {string.multipages} {"pp.~"} 119 | FUNCTION {string.pages} {"p.~"} 120 | FUNCTION {string.chapter} {"ch.~"} 121 | FUNCTION {string.techrep} {"Tech. Rep."} 122 | FUNCTION {string.mastersthesis} {"Master's thesis"} 123 | FUNCTION {string.phdthesis} {"PhD thesis"} 124 | 125 | MACRO {jan} {"Jan."} 126 | MACRO {feb} {"Feb."} 127 | MACRO {mar} {"Mar."} 128 | MACRO {apr} {"Apr."} 129 | MACRO {may} {"May"} 130 | MACRO {jun} {"June"} 131 | MACRO {jul} {"July"} 132 | MACRO {aug} {"Aug."} 133 | MACRO {sep} {"Sept."} 134 | MACRO {oct} {"Oct."} 135 | MACRO {nov} {"Nov."} 136 | MACRO {dec} {"Dec."} 137 | MACRO {am} {"Acta Math."} 138 | MACRO {amj} {"Am. J. Phys."} 139 | MACRO {ap} {"Ann. Phys."} 140 | MACRO {cmp} {"Comm. Math. Phys."} 141 | MACRO {ijmp} {"Int. Jour. Mod. Phys."} 142 | MACRO {mpl} {"Mod. Phys. Lett."} 143 | MACRO {njp} {"New J. Phys"} 144 | MACRO {nup} {"Nucl. Phys."} 145 | MACRO {pl} {"Phys. Lett."} 146 | MACRO {pla} {"Phys. Lett. A"} 147 | MACRO {pr} {"Phys. Rev."} 148 | MACRO {pra} {"Phys. Rev. A"} 149 | MACRO {prl} {"Phys. Rev. Lett."} 150 | MACRO {repmp} {"Rep. Math. Phys"} 151 | MACRO {rmp} {"Rev. Mod. Phys."} 152 | 153 | MACRO {arXiv} {"http://arxiv.org/abs"} 154 | MACRO {cogprints} {"http://cogprints.org"} 155 | MACRO {pubmed} {"http://www.ncbi.nlm.nih.gov/pubmed"} 156 | 157 | ENTRY 158 | { address 159 | author 160 | booktitle 161 | chapter 162 | edition 163 | editor 164 | howpublished 165 | institution 166 | journal 167 | key 168 | month 169 | note 170 | number 171 | organization 172 | pages 173 | publisher 174 | school 175 | series 176 | title 177 | type 178 | volume 179 | year 180 | archive 181 | eprint 182 | report 183 | collaboration 184 | SLACcitation 185 | archivePrefix 186 | primaryClass 187 | url 188 | doi 189 | } 190 | {} 191 | { label } 192 | 193 | INTEGERS { output.state before.all mid.sentence after.quote after.sentence 194 | after.quoted.block after.block } 195 | 196 | FUNCTION {init.state.consts} 197 | { #0 'before.all := 198 | #1 'mid.sentence := 199 | #2 'after.quote := 200 | #3 'after.sentence := 201 | #4 'after.quoted.block := 202 | #5 'after.block := 203 | } 204 | 205 | STRINGS { s t } 206 | 207 | FUNCTION {output.nonnull} 208 | { 's := 209 | output.state mid.sentence = 210 | { ", " * write$ } 211 | { output.state after.quote = 212 | { " " * write$ } 213 | { output.state after.block = 214 | { add.period$ write$ 215 | newline$ 216 | "\newblock " write$ 217 | } 218 | { output.state before.all = 219 | 'write$ 220 | { output.state after.quoted.block = 221 | { write$ 222 | newline$ 223 | "\newblock " write$ 224 | } 225 | { add.period$ " " * write$ } 226 | if$ 227 | } 228 | if$ 229 | } 230 | if$ 231 | } 232 | if$ 233 | mid.sentence 'output.state := 234 | } 235 | if$ 236 | s 237 | } 238 | 239 | FUNCTION {output} 240 | { duplicate$ empty$ 241 | 'pop$ 242 | 'output.nonnull 243 | if$ 244 | } 245 | 246 | FUNCTION {output.check} 247 | { 't := 248 | duplicate$ empty$ 249 | { pop$ "empty " t * " in " * cite$ * warning$ } 250 | 'output.nonnull 251 | if$ 252 | } 253 | 254 | FUNCTION {output.bibitem} 255 | { newline$ 256 | "\bibitem{" write$ 257 | cite$ write$ 258 | "}" write$ 259 | newline$ 260 | "" 261 | before.all 'output.state := 262 | } 263 | 264 | FUNCTION {blank.sep} 265 | { after.quote 'output.state := 266 | } 267 | 268 | FUNCTION {fin.entry} 269 | { output.state after.quoted.block = 270 | 'skip$ 271 | 'add.period$ 272 | if$ 273 | write$ 274 | newline$ 275 | } 276 | 277 | FUNCTION {new.block} 278 | { output.state before.all = 279 | 'skip$ 280 | { output.state after.quote = 281 | { after.quoted.block 'output.state := } 282 | { after.block 'output.state := } 283 | if$ 284 | } 285 | if$ 286 | } 287 | 288 | FUNCTION {new.sentence} 289 | { output.state after.block = 290 | 'skip$ 291 | { output.state before.all = 292 | 'skip$ 293 | { after.sentence 'output.state := } 294 | if$ 295 | } 296 | if$ 297 | } 298 | 299 | FUNCTION {not} 300 | { { #0 } 301 | { #1 } 302 | if$ 303 | } 304 | 305 | FUNCTION {and} 306 | { 'skip$ 307 | { pop$ #0 } 308 | if$ 309 | } 310 | 311 | FUNCTION {or} 312 | { { pop$ #1 } 313 | 'skip$ 314 | if$ 315 | } 316 | 317 | FUNCTION {new.block.checka} 318 | { empty$ 319 | 'skip$ 320 | 'new.block 321 | if$ 322 | } 323 | 324 | FUNCTION {new.block.checkb} 325 | { empty$ 326 | swap$ empty$ 327 | and 328 | 'skip$ 329 | 'new.block 330 | if$ 331 | } 332 | 333 | FUNCTION {new.sentence.checka} 334 | { empty$ 335 | 'skip$ 336 | 'new.sentence 337 | if$ 338 | } 339 | 340 | FUNCTION {field.or.null} 341 | { duplicate$ empty$ 342 | { pop$ "" } 343 | 'skip$ 344 | if$ 345 | } 346 | 347 | FUNCTION {emphasize} 348 | { duplicate$ empty$ 349 | { pop$ "" } 350 | { "{\em " swap$ * "}" * } 351 | if$ 352 | } 353 | 354 | FUNCTION {capitalize} 355 | { "u" change.case$ "t" change.case$ } 356 | 357 | INTEGERS { nameptr namesleft numnames } 358 | 359 | FUNCTION {format.names} 360 | { 's := 361 | #1 'nameptr := 362 | s num.names$ 'numnames := 363 | numnames 'namesleft := 364 | { namesleft #0 > } 365 | { s nameptr "{f.~}{vv~}{ll}{, jj}" format.name$ 't := 366 | nameptr #1 > 367 | { namesleft #1 > 368 | { ", " * t * } 369 | { numnames #2 > 370 | { "," * } 371 | 'skip$ 372 | if$ 373 | t "others" = 374 | { " {\em et~al.}" * } 375 | { string.and * t * } 376 | if$ 377 | } 378 | if$ 379 | } 380 | 't 381 | if$ 382 | nameptr #1 + 'nameptr := 383 | namesleft #1 - 'namesleft := 384 | } 385 | while$ 386 | } 387 | 388 | FUNCTION {format.authors} 389 | { author empty$ 390 | { "" } 391 | { author format.names } 392 | if$ 393 | } 394 | 395 | FUNCTION {format.archive} 396 | { 397 | archivePrefix empty$ 398 | { "" } 399 | { archivePrefix ":" *} 400 | if$ 401 | } 402 | 403 | FUNCTION {format.primaryClass} 404 | { 405 | primaryClass empty$ 406 | { "" } 407 | { " [" primaryClass * "]" *} 408 | if$ 409 | } 410 | 411 | FUNCTION {format.eprint} 412 | { eprint empty$ 413 | { ""} 414 | { archive empty$ 415 | {"\href{http://arxiv.org/abs/" eprint * "}" * 416 | "{{\ttfamily " * format.archive * eprint * 417 | format.primaryClass * "}}" *} 418 | {"\href{" archive * "/" * eprint * "}" * 419 | "{{\ttfamily " * format.archive * eprint * 420 | format.primaryClass * "}}" *} 421 | if$ 422 | } 423 | if$ 424 | } 425 | 426 | FUNCTION {format.url} 427 | { url empty$ 428 | { "" } 429 | {"\url{" url * "}" *} 430 | if$ 431 | } 432 | 433 | FUNCTION {add.doi} 434 | { duplicate$ empty$ 435 | { skip$ } 436 | { doi empty$ 437 | {} 438 | {"\href{http://dx.doi.org/" doi * "}{" * swap$ * "}" *} 439 | if$ 440 | } 441 | if$ 442 | } 443 | 444 | FUNCTION {format.report} 445 | { report empty$ 446 | { ""} 447 | { report} 448 | if$ 449 | } 450 | 451 | FUNCTION {format.howpublished} 452 | { howpublished empty$ 453 | { "" } 454 | { howpublished capitalize 455 | } 456 | if$ 457 | } 458 | 459 | FUNCTION {format.editors} 460 | { editor empty$ 461 | { "" } 462 | { editor format.names 463 | editor num.names$ #1 > 464 | { string.editors * } 465 | { string.editor * } 466 | if$ 467 | } 468 | if$ 469 | } 470 | 471 | FUNCTION {format.title} 472 | { title empty$ 473 | { "" } 474 | { "``" title * ",''" * } 475 | if$ 476 | } 477 | 478 | FUNCTION {format.title.p} 479 | { title empty$ 480 | { "" } 481 | { "``" title * ".''" * } 482 | if$ 483 | } 484 | 485 | FUNCTION {n.dashify} 486 | { 't := 487 | "" 488 | { t empty$ not } 489 | { t #1 #1 substring$ "-" = 490 | { t #1 #2 substring$ "--" = not 491 | { "--" * 492 | t #2 global.max$ substring$ 't := 493 | } 494 | { { t #1 #1 substring$ "-" = } 495 | { "-" * 496 | t #2 global.max$ substring$ 't := 497 | } 498 | while$ 499 | } 500 | if$ 501 | } 502 | { t #1 #1 substring$ * 503 | t #2 global.max$ substring$ 't := 504 | } 505 | if$ 506 | } 507 | while$ 508 | } 509 | 510 | FUNCTION {format.date} 511 | { year empty$ 512 | { month empty$ 513 | { "" } 514 | { "there's a month but no year in " cite$ * warning$ 515 | month 516 | } 517 | if$ 518 | } 519 | { month empty$ 520 | 'year 521 | { month capitalize ", " * year * } 522 | if$ 523 | } 524 | if$ 525 | } 526 | 527 | FUNCTION {format.date.paren} 528 | { year empty$ 529 | { month empty$ 530 | { "" } 531 | { "there's a month but no year in " cite$ * warning$ 532 | month 533 | } 534 | if$ 535 | } 536 | { month empty$ 537 | {"(" year * ") " *} 538 | {"(" month capitalize * ", " * year * ") " *} 539 | if$ 540 | } 541 | if$ 542 | } 543 | 544 | FUNCTION {format.collaboration} 545 | { collaboration empty$ 546 | { "" } 547 | { "{\bfseries " collaboration * "} " * "Collaboration" * } 548 | if$ 549 | } 550 | 551 | FUNCTION {format.SLACcitation} 552 | { SLACcitation empty$ 553 | {""} 554 | { newline$ SLACcitation output "" newline$ } 555 | if$ 556 | } 557 | 558 | FUNCTION {format.btitle} 559 | { title emphasize 560 | } 561 | 562 | FUNCTION {tie.or.space.connect} 563 | { duplicate$ text.length$ #3 < 564 | { "~" } 565 | { " " } 566 | if$ 567 | swap$ * * 568 | } 569 | 570 | FUNCTION {either.or.check} 571 | { empty$ 572 | 'pop$ 573 | { "can't use both " swap$ * " fields in " * cite$ * warning$ } 574 | if$ 575 | } 576 | 577 | FUNCTION {format.bvolume} 578 | { volume empty$ 579 | { "" } 580 | { string.volume volume * 581 | series empty$ 582 | 'skip$ 583 | { string.of * series emphasize * } 584 | if$ 585 | "volume and number" number either.or.check 586 | } 587 | if$ 588 | } 589 | 590 | FUNCTION {format.number.series} 591 | { volume empty$ 592 | { number empty$ 593 | { series field.or.null } 594 | { output.state mid.sentence = 595 | { string.number } 596 | { string.capsnumber } 597 | if$ 598 | number * 599 | series empty$ 600 | { "there's a number but no series in " cite$ * warning$ } 601 | { string.spacein * series * } 602 | if$ 603 | } 604 | if$ 605 | } 606 | { "" } 607 | if$ 608 | } 609 | 610 | FUNCTION {format.edition} 611 | { edition empty$ 612 | { "" } 613 | { edition "l" change.case$ string.edition * } 614 | if$ 615 | } 616 | 617 | INTEGERS { multiresult } 618 | 619 | FUNCTION {multi.page.check} 620 | { 't := 621 | #0 'multiresult := 622 | { multiresult not 623 | t empty$ not 624 | and 625 | } 626 | { t #1 #1 substring$ 627 | duplicate$ "-" = 628 | swap$ duplicate$ "," = 629 | swap$ "+" = 630 | or or 631 | { #1 'multiresult := } 632 | { t #2 global.max$ substring$ 't := } 633 | if$ 634 | } 635 | while$ 636 | multiresult 637 | } 638 | 639 | FUNCTION {format.pages} 640 | { pages empty$ 641 | { "" } 642 | { pages multi.page.check 643 | { string.multipages pages n.dashify * } 644 | { string.pages pages * } 645 | if$ 646 | } 647 | if$ 648 | } 649 | 650 | FUNCTION {format.pages.nopp} 651 | { pages empty$ 652 | { "empty pages in " cite$ * warning$ 653 | "" 654 | } 655 | { pages multi.page.check 656 | { pages n.dashify } 657 | { pages } 658 | if$ 659 | } 660 | if$ 661 | } 662 | 663 | 664 | FUNCTION {format.volume} 665 | { volume empty$ 666 | { "" } 667 | { "{\bfseries " volume * "} " * } 668 | if$ 669 | } 670 | 671 | FUNCTION {format.number} 672 | { number empty$ 673 | { "" } 674 | { "no.~" number * ", " *} 675 | if$ 676 | } 677 | 678 | FUNCTION {format.chapter.pages} 679 | { chapter empty$ 680 | 'format.pages 681 | { type empty$ 682 | { string.chapter chapter * } 683 | { type "l" change.case$ chapter tie.or.space.connect } 684 | if$ 685 | pages empty$ 686 | 'skip$ 687 | { ", " * format.pages * } 688 | if$ 689 | } 690 | if$ 691 | } 692 | 693 | FUNCTION {format.in.ed.booktitle} 694 | { booktitle empty$ 695 | { "" } 696 | { string.in booktitle emphasize * 697 | editor empty$ 698 | 'skip$ 699 | { ", " * format.editors * } 700 | if$ 701 | } 702 | if$ 703 | } 704 | 705 | FUNCTION {format.thesis.type} 706 | { type empty$ 707 | 'skip$ 708 | { pop$ 709 | output.state after.block = 710 | { type "t" change.case$ } 711 | { type "l" change.case$ } 712 | if$ 713 | } 714 | if$ 715 | } 716 | 717 | FUNCTION {empty.misc.check} 718 | { author empty$ title empty$ howpublished empty$ 719 | month empty$ year empty$ note empty$ 720 | and and and and and 721 | { "all relevant fields are empty in " cite$ * warning$ } 722 | 'skip$ 723 | if$ 724 | } 725 | 726 | FUNCTION {format.tr.number} 727 | { type empty$ 728 | { string.techrep } 729 | 'type 730 | if$ 731 | number empty$ 732 | { "l" change.case$ } 733 | { number tie.or.space.connect } 734 | if$ 735 | } 736 | 737 | FUNCTION {format.paddress} 738 | { address empty$ 739 | { "" } 740 | { "(" address * ")" * } 741 | if$ 742 | } 743 | 744 | FUNCTION {format.article.crossref} 745 | { key empty$ 746 | { journal empty$ 747 | { "need key or journal for " cite$ * " to crossref " * crossref * 748 | warning$ 749 | "" 750 | } 751 | { string.in "{\em " * journal * "\/}" * } 752 | if$ 753 | } 754 | { string.in key * } 755 | if$ 756 | " \cite{" * crossref * "}" * 757 | } 758 | 759 | FUNCTION {format.crossref.editor} 760 | { editor #1 "{vv~}{ll}" format.name$ 761 | editor num.names$ duplicate$ 762 | #2 > 763 | { pop$ " {\em et~al.}" * } 764 | { #2 < 765 | 'skip$ 766 | { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" = 767 | { " {\em et~al.}" * } 768 | { string.and * editor #2 "{vv~}{ll}" format.name$ * } 769 | if$ 770 | } 771 | if$ 772 | } 773 | if$ 774 | } 775 | 776 | FUNCTION {format.book.crossref} 777 | { volume empty$ 778 | { "empty volume in " cite$ * "'s crossref of " * crossref * warning$ 779 | string.capsin 780 | } 781 | { string.capsvolume volume * 782 | string.of * 783 | } 784 | if$ 785 | editor empty$ 786 | editor field.or.null author field.or.null = 787 | or 788 | { key empty$ 789 | { series empty$ 790 | { "need editor, key, or series for " cite$ * " to crossref " * 791 | crossref * warning$ 792 | "" * 793 | } 794 | { "{\em " * series * "\/}" * } 795 | if$ 796 | } 797 | { key * } 798 | if$ 799 | } 800 | { format.crossref.editor * } 801 | if$ 802 | " \cite{" * crossref * "}" * 803 | } 804 | 805 | FUNCTION {format.incoll.inproc.crossref} 806 | { editor empty$ 807 | editor field.or.null author field.or.null = 808 | or 809 | { key empty$ 810 | { booktitle empty$ 811 | { "need editor, key, or booktitle for " cite$ * " to crossref " * 812 | crossref * warning$ 813 | "" 814 | } 815 | { string.in "{\em " * booktitle * "\/}" * } 816 | if$ 817 | } 818 | { string.in key * } 819 | if$ 820 | } 821 | { string.in format.crossref.editor * } 822 | if$ 823 | " \cite{" * crossref * "}" * 824 | } 825 | 826 | FUNCTION {format.journal} 827 | { journal missing$ 828 | { "" } 829 | {journal emphasize " " * 830 | format.volume * 831 | format.number * 832 | format.date.paren * 833 | format.pages.nopp * 834 | } 835 | if$ 836 | } 837 | 838 | FUNCTION {article} 839 | { output.bibitem 840 | format.collaboration output 841 | format.authors "author" output.check 842 | format.title "title" output.check 843 | blank.sep 844 | crossref missing$ 845 | { journal missing$ 846 | {} 847 | { format.journal add.doi "journal" output.check} 848 | if$ 849 | report missing$ 850 | {format.eprint output} 851 | {blank.sep format.report output format.eprint output} 852 | if$ 853 | } 854 | { format.article.crossref output.nonnull 855 | format.pages output 856 | format.eprint output 857 | } 858 | if$ 859 | new.sentence 860 | format.url output 861 | new.sentence 862 | note output 863 | new.sentence 864 | format.SLACcitation output 865 | fin.entry 866 | } 867 | 868 | FUNCTION {book} 869 | { output.bibitem 870 | format.collaboration output 871 | author empty$ 872 | { format.editors "author and editor" output.check } 873 | { format.authors output.nonnull 874 | crossref missing$ 875 | { "author and editor" editor either.or.check } 876 | 'skip$ 877 | if$ 878 | } 879 | if$ 880 | format.btitle add.doi "title" output.check 881 | crossref missing$ 882 | { format.bvolume output 883 | new.block 884 | format.number.series output 885 | new.sentence 886 | publisher "publisher" output.check 887 | address output 888 | } 889 | { new.block 890 | format.book.crossref output.nonnull 891 | } 892 | if$ 893 | format.edition output 894 | format.date "year" output.check 895 | new.block 896 | format.eprint output 897 | new.block 898 | format.url output 899 | new.block 900 | note output 901 | new.sentence 902 | format.SLACcitation output 903 | fin.entry 904 | } 905 | 906 | FUNCTION {booklet} 907 | { output.bibitem 908 | format.collaboration output 909 | format.authors output 910 | title empty$ 911 | { "empty title in " cite$ * warning$ 912 | howpublished new.sentence.checka 913 | } 914 | { howpublished empty$ not 915 | address empty$ month empty$ year empty$ and and 916 | or 917 | { format.title.p output.nonnull } 918 | { format.title output.nonnull } 919 | if$ 920 | blank.sep 921 | } 922 | if$ 923 | format.howpublished output 924 | address output 925 | format.date output 926 | new.block 927 | format.eprint output 928 | new.block 929 | format.url output 930 | new.block 931 | note output 932 | new.sentence 933 | format.SLACcitation output 934 | fin.entry 935 | } 936 | 937 | FUNCTION {inbook} 938 | { output.bibitem 939 | format.collaboration output 940 | author empty$ 941 | { format.editors "author and editor" output.check } 942 | { format.authors output.nonnull 943 | crossref missing$ 944 | { "author and editor" editor either.or.check } 945 | 'skip$ 946 | if$ 947 | } 948 | if$ 949 | format.btitle "title" output.check 950 | crossref missing$ 951 | { format.bvolume output 952 | format.chapter.pages add.doi "chapter and pages" output.check 953 | new.block 954 | format.number.series output 955 | new.block 956 | publisher "publisher" output.check 957 | address output 958 | } 959 | { format.chapter.pages add.doi "chapter and pages" output.check 960 | new.block 961 | format.book.crossref output.nonnull 962 | } 963 | if$ 964 | format.edition output 965 | format.date "year" output.check 966 | new.block 967 | format.eprint output 968 | new.block 969 | format.url output 970 | new.block 971 | note output 972 | new.sentence 973 | format.SLACcitation output 974 | fin.entry 975 | } 976 | 977 | FUNCTION {incollection} 978 | { output.bibitem 979 | format.collaboration output 980 | format.authors "author" output.check 981 | format.title add.doi "title" output.check 982 | blank.sep 983 | crossref missing$ 984 | { format.in.ed.booktitle "booktitle" output.check 985 | format.bvolume output 986 | format.number.series output 987 | format.chapter.pages output 988 | new.block 989 | publisher "publisher" output.check 990 | address output 991 | format.edition output 992 | format.date "year" output.check 993 | } 994 | { format.incoll.inproc.crossref output.nonnull 995 | format.chapter.pages output 996 | } 997 | if$ 998 | new.block 999 | format.eprint output 1000 | new.block 1001 | format.url output 1002 | new.block 1003 | note output 1004 | new.sentence 1005 | format.SLACcitation output 1006 | fin.entry 1007 | } 1008 | 1009 | FUNCTION {inproceedings} 1010 | { output.bibitem 1011 | format.collaboration output 1012 | format.authors "author" output.check 1013 | format.title add.doi "title" output.check 1014 | blank.sep 1015 | crossref missing$ 1016 | { format.in.ed.booktitle "booktitle" output.check 1017 | format.bvolume output 1018 | format.number.series output 1019 | format.pages output 1020 | organization output 1021 | new.block 1022 | publisher output 1023 | address output 1024 | format.date "year" output.check 1025 | } 1026 | { format.incoll.inproc.crossref output.nonnull 1027 | format.pages output 1028 | } 1029 | if$ 1030 | new.block 1031 | format.eprint output 1032 | new.block 1033 | format.url output 1034 | new.block 1035 | note output 1036 | new.sentence 1037 | format.SLACcitation output 1038 | fin.entry 1039 | } 1040 | 1041 | FUNCTION {conference} { inproceedings } 1042 | 1043 | FUNCTION {manual} 1044 | { output.bibitem 1045 | format.collaboration output 1046 | author empty$ 1047 | { organization empty$ 1048 | 'skip$ 1049 | { organization output.nonnull 1050 | address output 1051 | } 1052 | if$ 1053 | } 1054 | { format.authors output.nonnull } 1055 | if$ 1056 | format.btitle "title" output.check 1057 | author empty$ 1058 | { organization empty$ 1059 | { address new.block.checka 1060 | address output 1061 | } 1062 | 'skip$ 1063 | if$ 1064 | } 1065 | { organization address new.block.checkb 1066 | organization output 1067 | address output 1068 | } 1069 | if$ 1070 | format.edition output 1071 | format.date output 1072 | new.block 1073 | format.eprint output 1074 | new.block 1075 | format.url output 1076 | new.block 1077 | note output 1078 | fin.entry 1079 | } 1080 | 1081 | FUNCTION {mastersthesis} 1082 | { output.bibitem 1083 | format.authors "author" output.check 1084 | format.title add.doi "title" output.check 1085 | blank.sep 1086 | string.mastersthesis format.thesis.type output.nonnull 1087 | school "school" output.check 1088 | address output 1089 | format.date "year" output.check 1090 | new.block 1091 | format.url output 1092 | new.block 1093 | note output 1094 | fin.entry 1095 | } 1096 | 1097 | FUNCTION {misc} 1098 | { output.bibitem 1099 | format.collaboration output 1100 | format.authors output 1101 | title empty$ 1102 | { howpublished new.sentence.checka } 1103 | { howpublished empty$ not 1104 | month empty$ year empty$ and 1105 | or 1106 | { format.title.p output.nonnull } 1107 | { format.title output.nonnull } 1108 | if$ 1109 | blank.sep 1110 | } 1111 | if$ 1112 | format.howpublished output 1113 | format.date output 1114 | new.block 1115 | format.url output 1116 | new.sentence 1117 | note output 1118 | new.sentence 1119 | fin.entry 1120 | empty.misc.check 1121 | } 1122 | 1123 | FUNCTION {phdthesis} 1124 | { output.bibitem 1125 | format.authors "author" output.check 1126 | format.btitle add.doi "title" output.check 1127 | new.block 1128 | string.phdthesis format.thesis.type output.nonnull 1129 | school "school" output.check 1130 | address output 1131 | format.date "year" output.check 1132 | new.block 1133 | format.eprint output 1134 | new.block 1135 | format.url output 1136 | new.block 1137 | note output 1138 | new.sentence 1139 | format.SLACcitation output 1140 | fin.entry 1141 | } 1142 | 1143 | FUNCTION {proceedings} 1144 | { output.bibitem 1145 | editor empty$ 1146 | { organization output } 1147 | { format.editors output.nonnull } 1148 | if$ 1149 | format.btitle add.doi "title" output.check 1150 | format.bvolume output 1151 | format.number.series output 1152 | editor empty$ 1153 | 'skip$ 1154 | { organization output } 1155 | if$ 1156 | new.block 1157 | publisher output 1158 | address output 1159 | format.date "year" output.check 1160 | new.block 1161 | format.eprint output 1162 | new.block 1163 | format.url output 1164 | new.block 1165 | note output 1166 | new.sentence 1167 | format.SLACcitation output 1168 | fin.entry 1169 | } 1170 | 1171 | FUNCTION {techreport} 1172 | { output.bibitem 1173 | format.collaboration output 1174 | format.authors "author" output.check 1175 | format.title add.doi "title" output.check 1176 | blank.sep 1177 | format.tr.number output.nonnull 1178 | institution "institution" output.check 1179 | address output 1180 | format.date "year" output.check 1181 | new.block 1182 | format.eprint output 1183 | new.block 1184 | format.url output 1185 | new.block 1186 | note output 1187 | fin.entry 1188 | } 1189 | 1190 | FUNCTION {unpublished} 1191 | { output.bibitem 1192 | format.collaboration output 1193 | format.authors "author" output.check 1194 | format.title.p "title" output.check 1195 | blank.sep 1196 | note "note" output.check 1197 | format.date output 1198 | new.sentence 1199 | format.SLACcitation output 1200 | fin.entry 1201 | } 1202 | 1203 | FUNCTION {default.type} { misc } 1204 | 1205 | READ 1206 | 1207 | STRINGS { longest.label } 1208 | 1209 | INTEGERS { number.label longest.label.width } 1210 | 1211 | FUNCTION {initialize.longest.label} 1212 | { "" 'longest.label := 1213 | #1 'number.label := 1214 | #0 'longest.label.width := 1215 | } 1216 | 1217 | FUNCTION {longest.label.pass} 1218 | { number.label int.to.str$ 'label := 1219 | number.label #1 + 'number.label := 1220 | label width$ longest.label.width > 1221 | { label 'longest.label := 1222 | label width$ 'longest.label.width := 1223 | } 1224 | 'skip$ 1225 | if$ 1226 | } 1227 | 1228 | EXECUTE {initialize.longest.label} 1229 | 1230 | ITERATE {longest.label.pass} 1231 | 1232 | FUNCTION {begin.bib} 1233 | { preamble$ empty$ 1234 | 'skip$ 1235 | { preamble$ write$ newline$ } 1236 | if$ 1237 | "\providecommand{\href}[2]{#2}" 1238 | "\begingroup\raggedright\begin{thebibliography}{" * longest.label * 1239 | "}" * write$ newline$ } 1240 | 1241 | EXECUTE {begin.bib} 1242 | 1243 | EXECUTE {init.state.consts} 1244 | 1245 | ITERATE {call.type$} 1246 | 1247 | FUNCTION {end.bib} 1248 | { newline$ 1249 | "\end{thebibliography}\endgroup" write$ newline$ 1250 | } 1251 | 1252 | EXECUTE {end.bib} 1253 | --------------------------------------------------------------------------------