diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/sectionbreak/sectionbreak-doc.tex |
Initial commit
Diffstat (limited to 'macros/latex/contrib/sectionbreak/sectionbreak-doc.tex')
-rw-r--r-- | macros/latex/contrib/sectionbreak/sectionbreak-doc.tex | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/macros/latex/contrib/sectionbreak/sectionbreak-doc.tex b/macros/latex/contrib/sectionbreak/sectionbreak-doc.tex new file mode 100644 index 0000000000..dfef080af6 --- /dev/null +++ b/macros/latex/contrib/sectionbreak/sectionbreak-doc.tex @@ -0,0 +1,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} |