This commit is contained in:
@@ -1,3 +1,5 @@
|
|||||||
|
#import "lib/common_rewrite.typ" : *
|
||||||
|
|
||||||
#set page(
|
#set page(
|
||||||
paper: "a4",
|
paper: "a4",
|
||||||
margin: (
|
margin: (
|
||||||
@@ -50,7 +52,6 @@
|
|||||||
#let colorAbleitung = color.hsl(356.92deg, 92.13%, 75.1%)
|
#let colorAbleitung = color.hsl(356.92deg, 92.13%, 75.1%)
|
||||||
#let colorIntegral = color.hsl(34.87deg, 92.13%, 75.1%)
|
#let colorIntegral = color.hsl(34.87deg, 92.13%, 75.1%)
|
||||||
|
|
||||||
#let bgBlock(body, fill: color) = block(body, fill:fill.lighten(80%), width: 100%, inset: (bottom: 2mm))
|
|
||||||
|
|
||||||
#columns(4, gutter: 2mm)[
|
#columns(4, gutter: 2mm)[
|
||||||
#bgBlock(fill: colorAllgemein)[
|
#bgBlock(fill: colorAllgemein)[
|
||||||
|
|||||||
24
src/lib/common_rewrite.typ
Normal file
24
src/lib/common_rewrite.typ
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
#let bgBlock(body, fill: color) = block(body, fill:fill.lighten(80%), width: 100%, inset: (bottom: 2mm))
|
||||||
|
|
||||||
|
#let SeperatorLine = line(length: 100%, stroke: (paint: black, thickness: 0.3mm))
|
||||||
|
#let MathAlignLeft(e) = {
|
||||||
|
align(left, block(e))
|
||||||
|
}
|
||||||
|
|
||||||
|
#let subHeading(it: content, fill: color) = {
|
||||||
|
box(
|
||||||
|
align(
|
||||||
|
top+center,
|
||||||
|
text(
|
||||||
|
it,
|
||||||
|
size: 10pt,
|
||||||
|
weight: "regular",
|
||||||
|
style: "italic",
|
||||||
|
)
|
||||||
|
),
|
||||||
|
fill: fill,
|
||||||
|
width: 100%,
|
||||||
|
inset: 1mm,
|
||||||
|
height: auto
|
||||||
|
)
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user