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/tagpdf/ex-tagpdf-template.tex |
Initial commit
Diffstat (limited to 'macros/latex/contrib/tagpdf/ex-tagpdf-template.tex')
-rw-r--r-- | macros/latex/contrib/tagpdf/ex-tagpdf-template.tex | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/macros/latex/contrib/tagpdf/ex-tagpdf-template.tex b/macros/latex/contrib/tagpdf/ex-tagpdf-template.tex new file mode 100644 index 0000000000..18042797ba --- /dev/null +++ b/macros/latex/contrib/tagpdf/ex-tagpdf-template.tex @@ -0,0 +1,36 @@ +% !Mode:: "TeX:DE:UTF-8:Main" + +%this is more or less minimal template that can be used as starting point +%it doesn't set everything that would be needed! +\documentclass{scrartcl} +\usepackage[english]{babel} +\usepackage{tagpdf} + +\tagpdfifpdftexT + { + \pdfcatalog{/Lang (en-UK)} + \usepackage[T1]{fontenc} + } + +\tagpdfifluatexT + { + \pdfextension catalog{/Lang (en-UK)} + \usepackage{fontspec} + } + +\tagpdfsetup + { + tabsorder=structure, + activate-all, + uncompress + } +\begin{document} +\pagestyle{empty} % +\tagstructbegin{tag=Document} + +\tagmcbegin{tag=P} + a paragraph +\tagmcend + +\tagstructend +\end{document}
\ No newline at end of file |