[texhax] making pdf document accessible using LaTeX
Martin Heller
mr_heller at yahoo.dk
Mon Nov 12 15:41:50 CET 2007
William Adams skrev:
> Most screen readers for example will flatten out the Pythagorean
> Theorem to, `` `A' two plus `B' two equals `C' two''.
>
> As an alternative, you could make a .html document where the
> equations would be bitmaps and the alt text would be the latex source
> for that equation --- Adobe does this on their opensource site.
You could provide an alternative text in pdf as well. I don't
know if screen readers can pick it up, though.
\documentclass[12pt]{article}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\begin{document}
The Pythagorean Theorem is
\pdfliteral direct {%
/Span << /ActualText (a\ squared\ plus b\ squared\ equals\ c\
squared) >> BDC
}%
$a^2+b^2=c^2$
\pdfliteral direct {%
EMC
}
\end{document}
More information about the texhax
mailing list