3

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} $.

1 Answers1

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}

Result

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 \input basically only for portions of your own .tex code, e.g. one .tex file for each chapter etc. –  Apr 23 '14 at 14:49
  • 1
    @MBekkali: amssym.def and amssym.tex are files for plain TeX users. Package amssymb (\usepackage{amssymb}) should be used in LaTeX. – Heiko Oberdiek Apr 23 '14 at 14:53