mirror of
https://github.com/alex-s168/website.git
synced 2025-09-10 09:05:08 +02:00
html title
This commit is contained in:
@@ -4,9 +4,11 @@
|
||||
#let small-font-size = if is-web { 14pt } else { 9pt }
|
||||
#let default-font-size = if is-web { 17pt } else { 10pt }
|
||||
|
||||
#let core-page-style(content) = {context html-opt-elem("html", (:))[
|
||||
#let core-page-style(html-head: [], content) = {context html-opt-elem("html", (:))[
|
||||
#context if is-html() {
|
||||
html.elem("head",[
|
||||
#html-head
|
||||
|
||||
#html.elem("meta", attrs:(charset:"utf-8"))
|
||||
#html.elem("meta", attrs:(name:"viewport", content:"width=device-width, initial-scale=1"))
|
||||
|
||||
|
@@ -3,7 +3,8 @@
|
||||
#import "../core-page-style.typ": *
|
||||
|
||||
#simple-page(
|
||||
gen-table-of-contents: true
|
||||
gen-table-of-contents: true,
|
||||
[The making of the favicon]
|
||||
)[
|
||||
|
||||
#section[
|
||||
|
@@ -3,7 +3,8 @@
|
||||
#import "../core-page-style.typ": *
|
||||
|
||||
#simple-page(
|
||||
gen-table-of-contents: true
|
||||
gen-table-of-contents: true,
|
||||
[Introduction to RegEx]
|
||||
)[
|
||||
|
||||
#section[
|
||||
|
@@ -3,7 +3,8 @@
|
||||
#import "../core-page-style.typ": *
|
||||
|
||||
#simple-page(
|
||||
gen-table-of-contents: true
|
||||
gen-table-of-contents: true,
|
||||
[Alexander Nutz - Approaches to Pattern Matching]
|
||||
)[
|
||||
|
||||
#section[
|
||||
@@ -324,11 +325,12 @@
|
||||
\
|
||||
As a simple, *non realistic* example, let's imagine a CPU (core) that has one bit operations execution unit,
|
||||
and two ALU execution units:
|
||||
#context html-frame[```
|
||||
+---------+-----+-----+
|
||||
| Bit Ops | ALU | ALU |
|
||||
+---------+-----+-----+
|
||||
```]
|
||||
#context html-frame(table(
|
||||
columns: 3,
|
||||
inset: 7pt,
|
||||
[ Bit Ops ],
|
||||
[ ALU ], [ ALU ],
|
||||
))
|
||||
This means that the CPU can execute two instructions in the ALU unit and one instruction in the bit ops unit at the same time.
|
||||
]
|
||||
|
||||
@@ -351,7 +353,7 @@
|
||||
|
||||
#section[
|
||||
= Conclusion
|
||||
One can see how pattern matching dialects are the best option by far.
|
||||
One can see how pattern matching dialects are the best option to approach pattern matching.
|
||||
|
||||
\
|
||||
Someone wanted me to insert a takeaway here, but I won't.
|
||||
|
@@ -17,6 +17,7 @@
|
||||
gen-table-of-contents: false,
|
||||
gen-index-ref: false,
|
||||
min-pdf-link: false,
|
||||
[Alexander Nutz]
|
||||
)[
|
||||
|
||||
#br()
|
||||
|
@@ -9,7 +9,8 @@
|
||||
}
|
||||
|
||||
#simple-page(
|
||||
gen-table-of-contents: true
|
||||
gen-table-of-contents: true,
|
||||
[etc-nand]
|
||||
)[
|
||||
|
||||
|
||||
|
@@ -17,9 +17,16 @@
|
||||
gen-table-of-contents: true,
|
||||
gen-index-ref: true,
|
||||
min-pdf-link: true,
|
||||
html-title,
|
||||
content) = {
|
||||
|
||||
core-page-style[
|
||||
let head = context if is-html() {
|
||||
[
|
||||
#html.elem("title", html-title)
|
||||
]
|
||||
} else {[]}
|
||||
|
||||
core-page-style(html-head: head)[
|
||||
#if is-web {
|
||||
let off = 3;
|
||||
|
||||
|
Reference in New Issue
Block a user