repo.or.cz
/
latex2e.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
20170101 branch
[latex2e.git]
/
latex2e-20170101
/
required
/
amsmath
/
testfiles
/
tlb-utex-003.lvt
blob
eeb81cd27488e07f9f19c7f0d6fd00730d480b64
1
\documentclass{article}
2
3
4
\input{test2e}
5
6
% Check that tests for the mathcode of - during package load
7
% do not fail if Umathcode already assigned
8
9
\ifx\Umathcode\undefined\else
10
\Umathcode`\- 2 2 0
11
\fi
12
\START
13
\usepackage{amsopn}
14
15
\DeclareMathOperator{\foobar}{foo-bar}
16
17
\begin{document}
18
19
foo-bar
20
21
$\phi -\foobar \phi$
22
23
\end{document}