acmart with tagged PDF
0
main.tex edited
78 lines 2.0 kB view raw
1\newif\iftagged 2\taggedtrue 3 4\iftagged 5\DocumentMetadata{ 6 lang = en-CA, 7 pdfstandard = {UA-2, A-4F}, 8 tagging = on, 9 tagging-setup = { 10 math/setup = mathml-SE, 11 math/alt/use 12 } 13} 14\tagpdfsetup{debug/parent-child-check=off} 15\else 16\DocumentMetadata{ 17 lang = en-CA, 18 pdfstandard = {UA-2, A-4F} 19} 20\fi 21 22\RequirePackage{mathtools} % load BEFORE unicode-math in acmart 23\documentclass[acmsmall,screen,review,nonacm]{acmart-tagged} 24\settopmatter{printacmref=false, printccs=false, printfolios=false} 25 26\usepackage{ottalt} 27\usepackage{thmtools,zref-clever,xspace,doi} 28\usepackage{mathpartir,stmaryrd} 29\zcsetup{cap=true} 30 31\makeatletter 32% https://github.com/latex3/tagging-project/issues/1189#issuecomment-3828892950 33\RenewDocumentEnvironment{mathpar}{O{}b} 34 {$$\mpr@savepar \parskip 0em \hsize \linewidth \centering 35 \vbox \bgroup \mpr@prebindings \mpr@paroptions #1\ifmmode $\else 36 \noindent $\displaystyle\fi 37 \MathparBindings 38 #2% 39 \unskip \ifmmode $\fi\egroup $$\ignorespacesafterend} 40 {} 41\RenewDocumentEnvironment{mathparpagebreakable}{O{}b} 42 {\begingroup 43 \par 44 \mpr@savepar \parskip 0em \hsize \linewidth \centering 45 \mpr@prebindings \mpr@paroptions #1% 46 \vskip \abovedisplayskip \vskip -\lineskip% 47 \ifmmode \else $\displaystyle\fi 48 \MathparBindings 49 #2% 50 \unskip 51 \ifmmode $\fi \par\endgroup 52 \vskip \belowdisplayskip 53 \noindent 54 \ignorespacesafterend} 55 {} 56 57% https://mirrors.ibiblio.org/pub/mirrors/CTAN/macros/latex/required/amscls/doc/amsthdoc.pdf#subsection.5.1 58% https://github.com/latex3/tagging-project/issues/790#issuecomment-2623133507 59\renewenvironment{proof}[1][\proofname]{\par 60 \pushQED{\qed}% 61 \normalfont \topsep6\p@\@plus6\p@\relax 62 \trivlist 63 \item\relax 64 {\itshape 65 #1\@addpunct{.}}\hspace\labelsep\ignorespaces 66}{% 67 \popQED\endtrivlist\par\@endpefalse 68} 69\makeatother 70 71\citestyle{acmauthoryear} 72\bibliographystyle{ACM-Reference-Format} 73\title{...} 74\author{...} 75 76\begin{document} 77\maketitle 78\end{document}