summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/tagpdf/ex-tagpdf-template.tex
blob: a7a1432dc8e7c5676969f70e3ed91bc2db538f9b (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
% !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!
\RequirePackage{pdfmanagement-testphase}
\DeclareDocumentMetadata{lang=en-UK, uncompress}
\documentclass{scrartcl}
\usepackage[english]{babel}
\usepackage{tagpdf}

\tagpdfifpdftexT
 {
  \usepackage[T1]{fontenc}
 }

\tagpdfifluatexT
 {
  \usepackage{fontspec}
 }

\tagpdfsetup
    {
      tabsorder=structure,
      activate-all,
    }
\begin{document}
\pagestyle{empty} %
\tagstructbegin{tag=Document}

\tagmcbegin{tag=P}
    a paragraph
\tagmcend

\tagstructend
\end{document}