summaryrefslogtreecommitdiff
path: root/_config.yml
diff options
context:
space:
mode:
Diffstat (limited to '_config.yml')
-rw-r--r--_config.yml79
1 files changed, 40 insertions, 39 deletions
diff --git a/_config.yml b/_config.yml
index b5df199..5f0b24b 100644
--- a/_config.yml
+++ b/_config.yml
@@ -4,47 +4,48 @@ destination: "./public"
title: Prefetch
description: "Marcus R.A. Newman's personal website, mostly about physics and computing."
plugins:
- - jekyll-katex
- jekyll-toc
- jekyll-sitemap
- jekyll-last-modified-at
-katex:
- js_path: "/home/user/git/prefetch-jekyll/source/infra/js"
- rendering_options:
- macros: # Requires https://github.com/linjer/jekyll-katex/pull/34/commits
- "\\Real": "\\mathop{\\mathrm{Re}}"
- "\\Imag": "\\mathop{\\mathrm{Im}}"
- "\\pv": "\\:\\mathop{\\mathcal{P}}"
- "\\cross": "\\times"
- "\\va": "\\vec{\\mathbf{#1}}"
- "\\vb": "\\mathbf{#1}"
- "\\vu": "\\hat{\\mathbf{#1}}"
- "\\norm": "\\big\\| {#1} \\big\\|"
- "\\Norm": "\\left\\| {#1} \\right\\|"
- "\\Tr": "\\mathop{\\mathrm{Tr}}"
- "\\dd": "\\mathop{\\mathrm{d} {#1}}"
- "\\ddn": "\\mathop{\\mathrm{d}^{#1} {#2}}"
- "\\dv": "\\frac{\\mathrm{d} {#1}}{\\mathrm{d} {#2}}"
- "\\idv": "\\mathrm{d} {#1} / \\mathrm{d} {#2}"
- "\\dvn": "\\frac{\\mathrm{d}^{#1} {#2}}{\\mathrm{d} #3^{#1}}"
- "\\idvn": "\\mathrm{d}^{#1} {#2} / \\mathrm{d} #3^{#1}"
- "\\pdv": "\\frac{\\partial {#1}}{\\partial {#2}}"
- "\\pdvn": "\\frac{\\partial^{#1} {#2}}{\\partial #3^{#1}}"
- "\\ipdv": "\\partial {#1} / \\partial {#2}"
- "\\ipdvn": "\\partial^{#1} {#2} / \\partial #3^{#1}"
- "\\mpdv": "\\frac{\\partial^2 {#1}}{\\partial {#2} \\partial {#3}}"
- "\\expval": "\\braket{{#1}}"
- "\\Expval": "\\left\\langle{#1}\\right\\rangle" # "\\Braket{{#1}}" fails if {#1} contains '|'
- "\\inprod": "\\braket{{#1} | {#2}}"
- "\\Inprod": "\\Braket{{#1} | {#2}}"
- "\\exprod": "\\ket{{#1}} \\bra{{#2}}"
- "\\Exprod": "\\Ket{{#1}} \\Bra{{#2}}"
- "\\matrixel": "\\braket{{#1} | {#2} | {#3}}"
- "\\Matrixel": "\\Braket{{#1} | {#2} | {#3}}"
- "\\comm": "\\big[ {#1}, {#2} \\big]"
- "\\Comm": "\\left[ {#1}, {#2} \\right]"
- "\\acomm": "\\big\\{ {#1}, {#2} \\big\\}"
- "\\Acomm": "\\left\\{ {#1}, {#2} \\right\\}"
- "\\sech": "\\mathop{\\mathrm{sech}}"
+kramdown:
+ math_engine: sskatex
+ math_engine_opts:
+ katex_js: "source/infra/js/katex.min.js"
+ katex_opts:
+ macros:
+ "\\Real": "\\mathop{\\mathrm{Re}}"
+ "\\Imag": "\\mathop{\\mathrm{Im}}"
+ "\\pv": "\\:\\mathop{\\mathcal{P}}"
+ "\\cross": "\\times"
+ "\\va": "\\vec{\\mathbf{#1}}"
+ "\\vb": "\\mathbf{#1}"
+ "\\vu": "\\hat{\\mathbf{#1}}"
+ "\\norm": "\\big\\| {#1} \\big\\|"
+ "\\Norm": "\\left\\| {#1} \\right\\|"
+ "\\Tr": "\\mathop{\\mathrm{Tr}}"
+ "\\dd": "\\mathop{\\mathrm{d} {#1}}"
+ "\\ddn": "\\mathop{\\mathrm{d}^{#1} {#2}}"
+ "\\dv": "\\frac{\\mathrm{d} {#1}}{\\mathrm{d} {#2}}"
+ "\\idv": "\\mathrm{d} {#1} / \\mathrm{d} {#2}"
+ "\\dvn": "\\frac{\\mathrm{d}^{#1} {#2}}{\\mathrm{d} #3^{#1}}"
+ "\\idvn": "\\mathrm{d}^{#1} {#2} / \\mathrm{d} #3^{#1}"
+ "\\pdv": "\\frac{\\partial {#1}}{\\partial {#2}}"
+ "\\pdvn": "\\frac{\\partial^{#1} {#2}}{\\partial #3^{#1}}"
+ "\\ipdv": "\\partial {#1} / \\partial {#2}"
+ "\\ipdvn": "\\partial^{#1} {#2} / \\partial #3^{#1}"
+ "\\mpdv": "\\frac{\\partial^2 {#1}}{\\partial {#2} \\partial {#3}}"
+ "\\expval": "\\braket{{#1}}"
+ "\\Expval": "\\left\\langle{#1}\\right\\rangle" # "\\Braket{{#1}}" fails if {#1} contains '|'
+ "\\inprod": "\\braket{{#1} | {#2}}"
+ "\\Inprod": "\\Braket{{#1} | {#2}}"
+ "\\exprod": "\\ket{{#1}} \\bra{{#2}}"
+ "\\Exprod": "\\Ket{{#1}} \\Bra{{#2}}"
+ "\\matrixel": "\\braket{{#1} | {#2} | {#3}}"
+ "\\Matrixel": "\\Braket{{#1} | {#2} | {#3}}"
+ "\\comm": "\\big[ {#1}, {#2} \\big]"
+ "\\Comm": "\\left[ {#1}, {#2} \\right]"
+ "\\acomm": "\\big\\{ {#1}, {#2} \\big\\}"
+ "\\Acomm": "\\left\\{ {#1}, {#2} \\right\\}"
+ "\\sech": "\\mathop{\\mathrm{sech}}"