Debian Codegraph @

texmf-dist/doc/latex/accsupp/accsupp-example1.tex

raw
1 %%
2 %% This is file `accsupp-example1.tex',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% accsupp.dtx (with options: `example1')
8 %%
9 %% This is a generated file.
10 %%
11 %% Project: accsupp
12 %% Version: 2019/12/05 v0.6
13 %%
14 %% Copyright (C)
15 %% 2007, 2010 Heiko Oberdiek
16 %% 2016-2019 Oberdiek Package Support Group
17 %%
18 %% This work may be distributed and/or modified under the
19 %% conditions of the LaTeX Project Public License, either
20 %% version 1.3c of this license or (at your option) any later
21 %% version. This version of this license is in
22 %% https://www.latex-project.org/lppl/lppl-1-3c.txt
23 %% and the latest version of this license is in
24 %% https://www.latex-project.org/lppl.txt
25 %% and version 1.3 or later is part of all distributions of
26 %% LaTeX version 2005/12/01 or later.
27 %%
28 %% This work has the LPPL maintenance status "maintained".
29 %%
30 %% The Current Maintainers of this work are
31 %% Heiko Oberdiek and the Oberdiek Package Support Group
32 %% https://github.com/ho-tex/accsupp/issues
33 %%
34 %%
35 %% This work consists of the main source file accsupp.dtx
36 %% and the derived files
37 %% accsupp.sty, accsupp.pdf, accsupp.ins, accsupp.drv,
38 %% accsupp-pdftex.def, accsupp-luatex.def, accsupp-dvipdfm.def,
39 %% accsupp-dvips.def,
40 %% accsupp-example1.tex, accsupp-example2.tex,
41 %% accsupp-test1.tex.
42 %%
43 \documentclass{article}
44 \usepackage{accsupp}[2007/11/14]
45 \usepackage{centernot}
46 % U+2226 NOT PARALLEL
47 % \mathrel{...} prevents page break in between
48 \newcommand*{\notparallel}{%
49 \ensuremath{%
50 \mathrel{%
51 \BeginAccSupp{method=hex,unicode,ActualText=2226}%
52 \centernot{\parallel}%
53 \EndAccSupp{}%
54 }%
55 }%
56 }
57 \begin{document}
58 \begin{equation}
59 A\notparallel B
60 \end{equation}
61 \end{document}
62 \endinput
63 %%
64 %% End of file `accsupp-example1.tex'.