2020-06-14 04:13:31 +00:00
|
|
|
@def author = "Eduardo Cueto Mendoza"
|
|
|
|
@def hasmath = false <!-- mostly there's no maths on pages -->
|
|
|
|
@def generate_rss = false
|
2020-06-13 16:55:03 +00:00
|
|
|
|
2020-06-14 04:13:31 +00:00
|
|
|
@def mintoclevel = 2 <!-- TOCS only for level h2 and higher -->
|
|
|
|
@def maxtoclevel = 3 <!-- TOCS only up to level 3 included -->
|
2020-06-13 16:55:03 +00:00
|
|
|
|
2020-06-14 04:13:31 +00:00
|
|
|
@def hasplotly = false
|
2020-06-13 16:55:03 +00:00
|
|
|
|
|
|
|
<!--
|
2020-06-14 04:13:31 +00:00
|
|
|
Useful HTML snippets
|
|
|
|
* \blurb{...} for a blurb at the top of a page
|
|
|
|
* \refblank{...} for a link with target blank
|
|
|
|
* \lineskip forces skipping of a line somewhere
|
2020-06-13 16:55:03 +00:00
|
|
|
-->
|
|
|
|
|
2020-06-14 04:13:31 +00:00
|
|
|
\newcommand{\blurb}[1]{
|
|
|
|
~~~
|
|
|
|
<span style="font-size:24px;font-weight:300;">!#1</span>
|
|
|
|
~~~
|
|
|
|
}
|
|
|
|
\newcommand{\refblank}[2]{
|
|
|
|
~~~
|
|
|
|
<a href="!#2" target="_blank" rel="noopener noreferrer">#1</a>
|
|
|
|
~~~
|
|
|
|
}
|
|
|
|
\newcommand{\lineskip}{@@blank@@}
|
|
|
|
\newcommand{\skipline}{\lineskip}
|
|
|
|
\newcommand{\note}[1]{@@note @@title ⚠ Note@@ @@content #1 @@ @@}
|
|
|
|
|
|
|
|
\newcommand{\esc}[2]{
|
|
|
|
```julia:esc__!#1
|
|
|
|
#hideall
|
|
|
|
using Markdown
|
|
|
|
println("\`\`\`\`\`plaintext $(Markdown.htmlesc(raw"""#2""")) \`\`\`\`\`")
|
|
|
|
```
|
|
|
|
\textoutput{esc__!#1}
|
|
|
|
}
|
|
|
|
|
|
|
|
\newcommand{\esch}[2]{
|
|
|
|
```julia:esc__!#1
|
|
|
|
#hideall
|
|
|
|
using Markdown
|
|
|
|
println("\`\`\`\`\`html $(Markdown.htmlesc(raw"""#2""")) \`\`\`\`\`")
|
|
|
|
```
|
|
|
|
\textoutput{esc__!#1}
|
|
|
|
}
|
|
|
|
|
|
|
|
\newcommand{\span}[2]{~~~<span style="display:inline-block;!#1">~~~!#2~~~</span>~~~}
|
|
|
|
|
|
|
|
\newcommand{\goto}[1]{~~~<a href="!#1" id="goto"><span id="check">✓</span><span id="arrow"><b>→</b></span></a>~~~}
|
|
|
|
|
|
|
|
|
|
|
|
\newcommand{\smindent}[1]{\span{width:45px;text-align:right;color:slategray;}{#1}}
|
|
|
|
\newcommand{\smnote}[1]{\style{font-size:85%;line-height:0em;}{#1}}
|