Skip to content

Commit

Permalink
add an actual test (only half)
Browse files Browse the repository at this point in the history
  • Loading branch information
fpvandoorn committed Mar 25, 2024
1 parent dbc4431 commit bbb884b
Show file tree
Hide file tree
Showing 8 changed files with 5,453 additions and 58 deletions.
945 changes: 945 additions & 0 deletions blueprint/src/bibliography.bib

Large diffs are not rendered by default.

4,435 changes: 4,434 additions & 1 deletion blueprint/src/chapter/main.tex

Large diffs are not rendered by default.

87 changes: 61 additions & 26 deletions blueprint/src/preamble/common.tex
Original file line number Diff line number Diff line change
@@ -1,34 +1,69 @@
% !TeX root = print.tex
% Put any macro and import needed for the project here.
% This will be used by both the web and print versions of the blueprint.
% This file is not meant to be built. Build src/web.tex or src/print.text instead.

% Letters
\newcommand{\C}{\mathbb{C}}
\newcommand{\bbc}{\mathbb{C}}
\newcommand{\E}{\mathbb{E}}
\newcommand*{\bbe}{\mathbb{E}}
\newcommand{\F}{\mathbb{F}}
\newcommand{\bbf}{\mathbb{F}}
\newcommand{\bbH}{\mathbb{H}}
\newcommand{\bbP}{\mathbb{P}}
\newcommand{\bbI}{\mathbb{I}}
\newcommand{\bbn}{\mathbb{N}}
\newcommand{\bbq}{\mathbb{Q}}
\newcommand{\bbr}{\mathbb{R}}
\newcommand{\bbt}{\mathbb{T}}
\newcommand{\bbz}{\mathbb{Z}}
\usepackage{mathtools}
\usepackage{amssymb}
\usepackage{amsthm}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage{xcolor}
\usepackage{enumitem}
\usepackage[hidelinks, colorlinks=false]{hyperref}
\usepackage{showlabels}

\newcommand{\rs}[1]{{\color{blue} RS: #1.}}
\newcommand{\lars}[1]{{\color{red} LB: #1.}}
\newcommand{\asgar}[1]{{\color{TealBlue} AJ: #1}}
\newcommand{\ct}[1]{{\color{purple} CT: #1}}

\newcommand{\lo}[1]{\mathcal{L}{#1}}

% Paired delimiters
\newcommand{\abs}[1]{\left\lvert #1\right\rvert}
\newcommand{\Abs}[1]{\lvert #1 \rvert}
\newcommand{\brac}[1]{\left( #1\right)}
\newcommand{\norm}[1]{\lVert #1\rVert}
\newcommand{\inn}[1]{\left\langle #1 \right\rangle}
\theoremstyle{plain}
\newtheorem{theorem}{Theorem}
\newtheorem{lemma}[theorem]{Lemma}
\newtheorem{prop}[theorem]{Proposition}
\newtheorem{cor}[theorem]{Corollary}
\theoremstyle{definition}
\newtheorem{definition}[theorem]{Definition}
\newtheorem{remark}[theorem]{Remark}
\newtheorem{example}[theorem]{Example}
\newtheorem{examples}[theorem]{Examples}

% Operators
\DeclareMathOperator{\dist}{dist}
\numberwithin{theorem}{section}
\numberwithin{equation}{section}

\newcommand{\R}{\mathbb{R}}
\newcommand{\C}{\mathbb{C}}
\newcommand{\N}{\mathbb{N}}
\DeclareMathOperator{\ch}{\operatorname{ch}}
\DeclareMathOperator{\dens}{\operatorname{dens}}
\DeclareMathOperator{\supp}{\operatorname{supp}}
\DeclareMathOperator{\tp}{\operatorname{top}}
\DeclareMathOperator{\im}{\operatorname{im}}
\DeclareMathOperator{\Lip}{\operatorname{Lip}}
\DeclareMathOperator{\bd}{\operatorname{bd}}
\DeclareMathOperator*{\esssup}{\operatorname{ess\,sup}}

\newcommand{\ind}[1]{1_{#1}}
\providecommand{\tup}[1]{{\vec{#1}}}
\def \fp {\mathfrak p}
\def \fP {\mathfrak P}
\def \fu {\mathfrak u}
\def \fU {\mathfrak U}
\def \fv {\mathfrak v}
\def \fq {\mathfrak q}
\def \fQ {\mathfrak Q}
\def\fT{\mathfrak T}
\def\fL{\mathfrak L}
\def\fC{\mathfrak C}
\def\pc{\mathrm{c}}
\def\ps{\mathrm{s}}
\def \AD{{\bf s}}
\def \fc{\Omega}
\def\borel{\mathcal{E}}
\def\borelb{\mathcal{G}}
\def\sc{\mathcal{I}}
\def \tQ{{Q}}
\def\mfa{\vartheta}
\def\mfb{\theta}
\def\Mf{\Theta}
\def\fcc{\mathcal{Q}}
8 changes: 0 additions & 8 deletions blueprint/src/preamble/print.tex
Original file line number Diff line number Diff line change
@@ -1,14 +1,6 @@
% Those macros are used for the print version of the blueprint.
% This file is not meant to be built. Build src/web.tex or src/print.text instead.

\declaretheorem[numberwithin=chapter]{theorem}
\declaretheorem[sibling=theorem]{proposition}
\declaretheorem[sibling=theorem]{corollary}
\declaretheorem[sibling=theorem]{remark}
\declaretheorem[sibling=theorem]{lemma}
\declaretheorem[sibling=theorem]{definition}
\declaretheorem[sibling=theorem]{example}

% We neutralise the Plastex commands
\newcommand{\uses}[1]{}
\newcommand{\proves}[1]{}
Expand Down
9 changes: 0 additions & 9 deletions blueprint/src/preamble/web.tex
Original file line number Diff line number Diff line change
@@ -1,11 +1,2 @@
% Those macros are used for the web version of the blueprint.
% This file is not meant to be built. Build src/web.tex or src/print.text instead.

\newtheorem{theorem}{Theorem}[chapter]
\newtheorem{definition}[theorem]{Definition}
\newtheorem{proposition}[theorem]{Proposition}
\newtheorem{lemma}[theorem]{Lemma}
\newtheorem{sublemma}[theorem]{Sub-lemma}
\newtheorem{corollary}[theorem]{Corollary}
\newtheorem{remark}[theorem]{Remark}
\newtheorem{example}[theorem]{Example}
14 changes: 8 additions & 6 deletions blueprint/src/print.tex
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
% !TeX root = print.tex
% This file makes a printable version of the blueprint

% \documentclass[12pt,reqno,a4paper,dvipsnames]{amsart}
\documentclass[a4paper]{report}

% \usepackage[utf8]{inputenc}
\usepackage[dvipsnames]{xcolor}
\usepackage[textwidth=14cm]{geometry}
\usepackage{xfrac}
\usepackage{polyglossia}
\setdefaultlanguage{english}

\usepackage{amsmath,amssymb}
\usepackage{enumitem}
\usepackage{hyperref}

\usepackage{tikz-cd}

Expand All @@ -22,19 +25,18 @@
\setmathfont[range=\intprod]{Asana-Math.otf}
\setmathfont[range=\int]{Latin Modern Math}

\usepackage[nameinlink, capitalize]{cleveref}

\usepackage{amsthm}
\usepackage{etexcmds}
\usepackage{thmtools}

\input{preamble/common}
\input{preamble/print}
\usepackage[nameinlink, capitalize]{cleveref}

\title{Carleson's Theorem Blueprint}
\author{Terence Tao}
\usepackage[style=trad-alpha]{biblatex}
\ExecuteBibliographyOptions{safeinputenc=true,backref=true,giveninits,useprefix=true,maxnames=5,doi=false,eprint=true,isbn=false,url=false}
\bibliography{bibliography.bib}

\begin{document}
\maketitle
\input{chapter/main}
\end{document}
7 changes: 1 addition & 6 deletions blueprint/src/web.tex
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,20 @@
\documentclass{report}

\usepackage{amsmath,amsfonts,amsthm,amssymb}
\usepackage{hyperref}
\usepackage{graphicx}
\DeclareGraphicsExtensions{.svg,.png,.jpg}
\usepackage[capitalize]{cleveref}
\usepackage[showmore, dep_graph, project=../../]{blueprint}

\usepackage{tikz-cd}
\usepackage{tikz}

\input{preamble/common}
\input{preamble/web}
\usepackage[capitalize]{cleveref}

\github{https://github.com/fpvandoorn/carleson}
\dochome{https://fpvandoorn.github.io/carleson/docs}

\title{Carleson}
\author{}

\begin{document}
\maketitle
\input{chapter/main}
\end{document}
6 changes: 4 additions & 2 deletions blueprint/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,16 @@
def print_bp(ctx):
cwd = os.getcwd()
os.chdir(BP_DIR)
run('mkdir -p print && cd src && xelatex -output-directory=../print print.tex')
os.makedirs("print", exist_ok=True)
run('cd src && xelatex -output-directory=../print print.tex')
os.chdir(cwd)

@task
def bp(ctx):
cwd = os.getcwd()
os.chdir(BP_DIR)
run('mkdir -p print && cd src && xelatex -output-directory=../print print.tex')
os.makedirs("print", exist_ok=True)
run('cd src && xelatex -output-directory=../print print.tex')
run('cd src && xelatex -output-directory=../print print.tex')
os.chdir(cwd)

Expand Down

0 comments on commit bbb884b

Please sign in to comment.