summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tryk/_issue.yml46
-rw-r--r--tryk/oroeposten_4.qmd14
2 files changed, 28 insertions, 32 deletions
diff --git a/tryk/_issue.yml b/tryk/_issue.yml
index f336e62..a875d0b 100644
--- a/tryk/_issue.yml
+++ b/tryk/_issue.yml
@@ -4,17 +4,17 @@ format:
colorlinks: false
pdf-engine: lualatex
documentclass: scrartcl
- classoption:
- - DIV=calc
- - twocolumn
csquotes: true
papersize: a4
# extract-media: img
include-in-header:
-# recalculate page margins, since mainfont was set after documentclass
+# support multiple tagged columns (class option twocolumn is not tagged)
- text: |
- \KOMAoptions{DIV=last}
+ \usepackage[a4paper, margin=0.5in, bottom=1in]{geometry} % Set all margins to zero
+ \usepackage{multicol}
+ \setlength{\columnsep}{20pt} % Adjust space between columns
+ \setlength{\columnwidth}{0.45\textwidth} % Set column width (optional)
# avoid widow or orphan lines
- text: |
\usepackage[defaultlines=4,all]{nowidow}
@@ -23,31 +23,17 @@ format:
\usepackage{lastpage}
\usepackage{scrlayer-scrpage}
\cfoot{side \thepage\ af \pageref{LastPage}}
-# balance columns on last page
- - text: |
- \usepackage{pbalance}
-# cludge to support markdown tables in twocolumn page layout
- - text: |
- \usepackage{float}
- \makeatletter
- \let\oldlt\longtable
- \let\endoldlt\endlongtable
- \def\longtable{\@ifnextchar[\longtable@i \longtable@ii}
- \def\longtable@i[#1]{\begin{figure}[H]
- \onecolumn
- \begin{minipage}{0.5\textwidth}
- \oldlt[#1]
- }
- \def\longtable@ii{\begin{figure}[H]
- \onecolumn
- \begin{minipage}{0.5\textwidth}
- \oldlt
- }
- \def\endlongtable{\endoldlt
- \end{minipage}
- \twocolumn
- \end{figure}}
- \makeatother
# suppress figure label
- text: |
\usepackage[labelformat=empty]{caption}
+
+ include-before-body:
+ - text: |
+# enable multiple tagged columns
+ - text: |
+ \begin{multicols}{2}
+
+ include-after-body:
+# conclude multiple tagged columns
+ - text: |
+ \end{multicols}
diff --git a/tryk/oroeposten_4.qmd b/tryk/oroeposten_4.qmd
index 60fd182..69c426b 100644
--- a/tryk/oroeposten_4.qmd
+++ b/tryk/oroeposten_4.qmd
@@ -41,14 +41,24 @@ format:
{{< include ../nummer4/sognefogeden/_index.qmd >}}
```{=latex}
-\clearpage
+\end{multicols}
+```
+
+----
+
+```{=latex}
+\begin{multicols}{2}
```
# Bidragsydere m.m.
{{< include ../nummer4/_about.md >}}
-{{< pagebreak >}}
+```{=latex}
+\columnbreak
+```
+
+## Tekniske ressourcer
{{< include ../om/_content.qmd >}}