-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path_config.yml
executable file
·183 lines (175 loc) · 6.55 KB
/
_config.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
# Book settings
# Learn more at https://jupyterbook.org/customize/config.html
# title: MA8502 - Numerical Solutions of Partial Differential Equations
title: MA8502 - Numerical Solutions of Partial Differential Equations
logo: logo.png
author: André Massing
email: [email protected]
#description: >- # this means to ignore newlines until "baseurl:"
parse:
myst_enable_extensions: # default extensions to enable in the myst parser. See https://myst-parser.readthedocs.io/en/latest/using/syntax-optional.html
- amsmath
- colon_fence
- deflist
- dollarmath
# - html_admonition
# - html_image
- linkify
# - replacements
# - smartquotes
- substitution
- tasklist
# Force re-execution of notebooks on each build.
# See https://jupyterbook.org/content/execute.html
execute:
execute_notebooks: force
# Define the name of the latex output file for PDF builds
latex:
latex_documents:
targetname: ma8502_NumPDE.tex
# Information about where the book exists on the web
repository:
url: https://github.com/executablebooks/jupyter-book # Online location of your book
# path_to_book: docs # Optional path to your book, relative to the repository root
branch: main # Which branch of the repository should be used when creating links (optional)
# Add GitHub buttons to your book
# See https://jupyterbook.org/customize/config.html#add-a-link-to-your-repository
html:
use_issues_button: true
use_repository_button: true
sphinx:
extra_extensions:
# Make sure to install corresponding python packages, e.g. via `pip install sphinx-proof`
- sphinx_proof
- sphinx_togglebutton
- sphinx_exercise
- sphinx_copybutton
config:
bibtex_reference_style: author_year
myst_dmath_double_inline: true
latex_elements:
preamble:
\usepackage{amsmath}
\usepackage[nice]{nicefrac}
\usepackage{notation}
# preamble:
# \usepackage{notation}
# \DeclareMathOperator{\Div}{div}
# \DeclareMathOperator{\Grad}{grad}
# \DeclareMathOperator{\Curl}{curl}
# \DeclareMathOperator{\Rot}{rot}
# \DeclareMathOperator{\ord}{ord}
# \DeclareMathOperator{\Kern}{ker}
# \DeclareMathOperator{\Image}{im}
# \DeclareMathOperator{\spann}{span}
# \DeclareMathOperator{\dist}{dist}
# \DeclareMathOperator{\diam}{diam}
# \DeclareMathOperator{\sig}{sig}
# \newcommand{\VV}{\mathbb{V}}
# \newcommand{\dx}{\,\mathrm{d}x}
# \newcommand{\dy}{\,\mathrm{d}y}
# \newcommand{\ds}{\,\mathrm{d}s}
# \newcommand{\dt}{\,\mathrm{d}t}
# \newcommand{\dS}{\,\mathrm{d}S}
# \newcommand{\dV}{\,\mathrm{d}V}
# \newcommand{\dX}{\,\mathrm{d}X}
# \newcommand{\dY}{\,\mathrm{d}Y}
# \newcommand{\dE}{\,\mathrm{d}E}
# \newcommand{\dK}{\,\mathrm{d}K}
# \newcommand{\dM}{\,\mathrm{d}M}
# \newcommand{\dGamma}{\,\mathrm{d} \Gamma}
# \newcommand{\cd}{\mathrm{cd}}
# \newcommand{\onehalf}{\frac{1}{2}}
# \newcommand{\bfP}{\boldsymbol P}
# \newcommand{\bfx}{\boldsymbol x}
# \newcommand{\bfa}{\boldsymbol a}
# \newcommand{\bfu}{\boldsymbol u}
# \newcommand{\bfv}{\boldsymbol v}
# \newcommand{\bfe}{\boldsymbol e}
# \newcommand{\bfg}{\boldsymbol g}
# \newcommand{\bfb}{\boldsymbol b}
# \newcommand{\bff}{\boldsymbol f}
# \newcommand{\bfp}{\boldsymbol p}
# \newcommand{\bft}{\boldsymbol t}
# \newcommand{\bfj}{\boldsymbol j}
# \newcommand{\bfB}{\boldsymbol B}
# \newcommand{\bfV}{\boldsymbol V}
# \newcommand{\bfE}{\boldsymbol E}
# \newcommand{\bfK}{\boldsymbol K}
# \newcommand{\mcA}{\mathcal{A}}
# \newcommand{\mcK}{\mathcal{K}}
# \newcommand{\mcT}{\mathcal{T}}
latex_additional_files : ["notation.sty"]
mathjax_path: https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js
mathjax3_config:
tex:
macros:
"RR" : ["\\mathbb{R}"]
"NN" : ["\\mathbb{N}"]
"VV" : ["\\mathbb{V}"]
"CC" : ["\\mathbb{C}"]
"PP" : ["\\mathbb{P}"]
# "SS" : ["\\mathbb{S}"]
"PPc" : ["\\mathbb{P}^{\\mathrm{c}}"]
"PPdc" : ["\\mathbb{P}^{\\mathrm{dc}}"]
"floor": ["\\lfloor#1\\rfloor", 1]
"mrm": ["\\mathrm{#1}", 1]
"mcA" : ["\\mathcal{A}"]
"mcL" : ["\\mathcal{L}"]
"mcT" : ["\\mathcal{T}"]
"mcF" : ["\\mathcal{F}"]
"mcP" : ["\\mathcal{P}"]
"mcO" : ["\\mathcal{O}"]
"cd" : ["\\mathrm{cd}"]
"onehalf" : ["\\frac{1}{2}"]
"bfa" : ["\\mathbf{a}"]
"bfb" : ["\\mathbf{b}"]
"bfe" : ["\\mathbf{e}"]
"bff" : ["\\mathbf{f}"]
"bfg" : ["\\mathbf{g}"]
"bfj" : ["\\mathbf{j}"]
"bfn" : ["\\mathbf{n}"]
"bfp" : ["\\mathbf{p}"]
"bft" : ["\\mathbf{t}"]
"bfu" : ["\\mathbf{u}"]
"bfv" : ["\\mathbf{v}"]
"bfx" : ["\\mathbf{x}"]
"bfy" : ["\\mathbf{y}"]
"bfB" : ["\\mathbf{B}"]
"bfV" : ["\\mathbf{V}"]
"bfE" : ["\\mathbf{E}"]
"bfB" : ["\\mathbf{B}"]
"bfP" : ["\\mathbf{P}"]
"bfK" : ["\\mathbf{K}"]
"dx" : ["\\,\\mathrm{d}x"]
"dy" : ["\\,\\mathrm{d}y"]
"ds" : ["\\,\\mathrm{d}s"]
"dt" : ["\\,\\mathrm{d}t"]
"dS" : ["\\,\\mathrm{d}S"]
"dV" : ["\\,\\mathrm{d}V"]
"dX" : ["\\,\\mathrm{d}X"]
"dY" : ["\\,\\mathrm{d}Y"]
"dE" : ["\\,\\mathrm{d}E"]
"dK" : ["\\,\\mathrm{d}K"]
"dM" : ["\\,\\mathrm{d}M"]
"dU" : ["\\,\\mathrm{d}U"]
"dt" : ["\\,\\mathrm{d}t"]
# "PPc" : ["\\mathbb{P}_{\\mathrm{c}}^{#1}", 1]
"dGamma" : ["\\,\\mathrm{d} \\Gamma"]
"spann" : ["\\mathrm{span}"]
"diam" : ["\\mathrm{diam}"]
"convex" : ["\\mathrm{convex}"]
"avg": ["\\{\\!\\!\\{ #1 \\}\\!\\!\\}", 1]
"wavg": ["\\{\\!\\!\\{ #1 \\}\\!\\!\\}_{\\omega}", 1]
"wavgd": ["\\langle\\!\\langle#1\\rangle\\!\\rangle_{\\omega}", 1]
"jump": ["[\\![#1]\\!]", 1]
"jumps": ["[#1]]", 1]
"avgs": ["\\{#1\\}", 1]
"st" : ["\\;|\\;"]
"mrm": ["\\mathrm{#1}", 1]
"foralls" : ["\\forall\\,"]
"onehalf" : ["1/2"]
# "onehalf" : ["\\frac{1}{2}"]
bibtex_bibfiles:
- MA8502.bib
# - references.bib