When I run pdflatex twice on my LaTeX file, the command \upharpoonright does not print the harpoon. Could you let me know how to fix this.
I use this command $ S(T)\upharpoonright D^{i}_{l} $.
Asked
Active
Viewed 2,106 times
3
M Bekkali
- 31
-
have you some exemple to show. It's hard to know what is the problem without it – Romain Picot Apr 23 '14 at 14:17
-
Welcome to TeX.SX! As Romain says, you should create a minimal working example (MWE). – Torbjørn T. Apr 23 '14 at 14:21
1 Answers
5
You need a package that provides \upharpoonright, e.g. amssymb:
\documentclass{article}
\usepackage{amssymb}
\begin{document}
$ S(T)\upharpoonright D^{i}_{l} $
\end{document}
Heiko Oberdiek
- 271,626
-
Thanks, there was a conflit between \usepackage{amssymb} and \input{Amssym.def} \input{Amssym} that was just before the definition. Removing those two, it did work. Thanks! – M Bekkali Apr 23 '14 at 14:30
-
In my opinion, it is not necessary to use
\input{amssym.def}or any related file at all. Use\inputbasically only for portions of your own.texcode, e.g. one.texfile for each chapter etc. – Apr 23 '14 at 14:49 -
1@MBekkali:
amssym.defandamssym.texare files for plain TeX users. Packageamssymb(\usepackage{amssymb}) should be used in LaTeX. – Heiko Oberdiek Apr 23 '14 at 14:53
