From 2450bb6d5a67acf34496177de7c84bca5f0fc6aa Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Sat, 5 Jan 2019 22:41:39 +0000
Subject: tagpdf (5jan19)

git-svn-id: svn://tug.org/texlive/trunk@49609 c570f23f-e606-0410-a88d-b1316a301751
---
 .../texmf-dist/doc/latex/tagpdf/ex-attribute.tex   | 63 ++++++++++++++++++++++
 1 file changed, 63 insertions(+)
 create mode 100644 Master/texmf-dist/doc/latex/tagpdf/ex-attribute.tex

(limited to 'Master/texmf-dist/doc/latex/tagpdf/ex-attribute.tex')

diff --git a/Master/texmf-dist/doc/latex/tagpdf/ex-attribute.tex b/Master/texmf-dist/doc/latex/tagpdf/ex-attribute.tex
new file mode 100644
index 00000000000..df0325025e9
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/tagpdf/ex-attribute.tex
@@ -0,0 +1,63 @@
+% !Mode:: "TeX:DE:UTF-8:Main"
+\documentclass{scrartcl}
+\usepackage[english]{babel}
+\usepackage{tagpdf}
+\tagpdfsetup{activate-all,uncompress}
+
+\ifluatex\else
+\pdfcatalog{/Lang (en-UK)}
+\pdfinfo {/Title (Title)}
+\fi
+
+\tagpdfsetup
+{
+ newattribute = {TH-col} { <</Owner /Table /Scope /Column>> },
+ newattribute = {TH-row} { <</Owner /Table /Scope /Row>>    },
+ newattribute = {TH-both}{ <</Owner /Table /Scope /Both>>   },
+ newattribute = {Lay-borderdotted}{ <</Owner /Layout /Borderstyle /Dotted >>   },
+}
+\begin{document}
+\pagestyle{empty} %
+\tagstructbegin{tag=Document}
+
+\tagstructbegin{tag=Table}
+\begin{center}
+\begin{tabular}{ l | c | }
+\hline
+\tagstructbegin{tag=THead}
+ \tagstructbegin{tag=TR}
+  \tagstructbegin{tag=TH,attribute= {TH-both,Lay-borderdotted}}
+   \tagmcbegin{tag=TH}
+   h1
+   \tagmcend
+   \tagstructend &
+  \tagstructbegin{tag=TH,attribute-class= {TH-col,Lay-borderdotted}}
+    \tagmcbegin{tag=TH}
+    h2
+    \tagmcend
+  \tagstructend
+ \tagstructend %TR
+ \tagstructend %Thead
+  \\ \hline
+ \tagstructbegin{tag=TBody}
+   \tagstructbegin{tag=TR}
+    \tagstructbegin{tag=TD}
+    \tagmcbegin{tag=TD}
+    r1
+    \tagmcend
+    \tagstructend %TD
+&
+    \tagstructbegin{tag=TD}
+    \tagmcbegin{tag=TD}
+    h2
+    \tagmcend
+    \tagstructend
+  \tagstructend %TR
+ \tagstructend %TBody
+    \\ \hline
+  \end{tabular}
+\end{center}
+\tagstructend
+
+\tagstructend
+\end{document} 
\ No newline at end of file
-- 
cgit v1.2.3

