diff options
Diffstat (limited to 'tryk/_issue.yml')
-rw-r--r-- | tryk/_issue.yml | 46 |
1 files changed, 16 insertions, 30 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} |