Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Flashcards
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sophie Krause
Flashcards
Commits
6ee04e16
Verified
Commit
6ee04e16
authored
3 months ago
by
Sophie Krause
Browse files
Options
Downloads
Patches
Plain Diff
more docs template cleanups
parent
568e4a8d
Branches
repudiandae-quia-repellat-ipsa-enim-pariatur-quae
No related tags found
No related merge requests found
Pipeline
#1833
passed
3 months ago
Stage: build
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitignore
+1
-0
1 addition, 0 deletions
.gitignore
docs/template.typ
+7
-18
7 additions, 18 deletions
docs/template.typ
with
8 additions
and
18 deletions
.gitignore
+
1
−
0
View file @
6ee04e16
.vscode/
.idea/
builddir/
*.pdf
.flatpak-builder/
repo/
app/
...
...
This diff is collapsed.
Click to expand it.
docs/template.typ
+
7
−
18
View file @
6ee04e16
#
import
"
@preview/hydra:0.6.0
"
:
hydra
#
let
project
(
title
:
""
,
subtitle
:
""
,
authors
:
(),
logo
:
none
,
body
)
=
{
//
Set
the
document
'
s basic properties.
//
Basic
properties
set
document
(
author
:
authors
,
title
:
title
)
set
text
(
lang
:
"
de
"
)
set
heading
(
numbering
:
"
1.1
"
)
//
Title
page
set
align
(
center
)
// Title page.
v
(
1
fr
)
//
Logo
...
...
@@ -20,15 +18,11 @@
//
Title
text
(
2
em
,
weight
:
700
,
title
)
linebreak()
v(0.1em)
v
(
1
em
)
//
Subtitle
text
(
2
em
,
weight
:
400
,
subtitle
)
v(1em)
//
Author
grid
(
..
authors
,
...
...
@@ -37,29 +31,24 @@
v
(
1
fr
)
pagebreak
()
//
Table
of
contents
set
align
(
left
)
set
page
(
numbering
:
"
I
"
,
number
-
align
:
center
)
// Table of contents
outline
(
depth
:
3
)
pagebreak
()
//
Header
let
show
-
header
(
ctx
,
candidates
)
=
{
candidates
.
body
v
(
-0.8
em
)
line
(
length
:
100
%
,
stroke
:
0.5
pt
)
}
set page(header: context {
//
Main
body
set
page
(
numbering
:
"
1
"
,
header
:
context
{
hydra
(
1
,
skip
-
starting
:
false
,
display
:
show
-
header
)
}
)
set page(numbering: "1")
counter
(
page
).
update
(
1
)
// Main body
set
par
(
justify
:
true
)
body
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment