blob: dfef080af66c2caf5c00e0322af61fb75becdf3a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
% přesunout do ~/texexamples/packages
\documentclass[a4page]{ltxdoc}
\usepackage{luatex85}
\usepackage[top=2cm, left=2.5cm, right=2.5cm,bottom=3cm]{geometry}
\usepackage[english]{babel}
\usepackage[asterism]{sectionbreak}
\usepackage[definitionLists=true,hybrid=true]{markdown}
\usepackage{fontspec}
\usepackage{luatexbase} % because of Microtype error: https://tex.stackexchange.com/a/476742/2891
\usepackage{microtype}
\usepackage{hyperref}
\usepackage{lipsum}
\setmainfont{TeX Gyre Schola}
\setmonofont{Inconsolatazi4}[Scale=MatchLowercase]
\ifdefined\version\else\def\version{undefined}\fi
\ifdefined\gitdate\else\def\gitdate{undefined}\fi
\begin{document}
\title{The \texttt{sectionbreak} package\footnote{Version \version}}
\author{Michal Hoftich}
\date{\gitdate}
\maketitle
\tableofcontents
\markdownInput{README.md}
\section{Changelog}
\markdownInput{CHANGELOG.md}
% \lipsum[1-3]
% \sectionbreak[!!!]
% \lipsum[5-7]
% \sectionbreak
% \lipsum[1-2]
% \sectionbreakmark{\rule{10em}{3pt}}
% \sectionbreak
% \lipsum[6-8]
\end{document}
|