0

I have been copying from class text to a blade on Sharelatex, and it seems the teachers use the symbol (\!) a lot.

\sin\!\left(x\right)=\frac{-1}{\sqrt{2}}
\cos\!\left(\frac{\pi }{12}\right)

Why do they need to use the symbol for exclamation mark(!) ?

David Carlisle
  • 757,742
Dovendyr
  • 123
  • 4
    it's a small negative space which here will move the bracket closer to the trig function, perhaps partly to alleviate the fact that \left and \right are totally unnecessary in the first example and will give inferior results. https://tex.stackexchange.com/questions/74353/what-commands-are-there-for-horizontal-spacing – Au101 May 12 '18 at 05:35
  • 1
    Also: It is \! not !, see https://tex.stackexchange.com/questions/9091/what-is-the-right-way-to-use-the-spacing-command/9255 – DG' May 12 '18 at 06:47
  • 9
    That is really poor latex style to copy. – David Carlisle May 12 '18 at 07:30
  • 1
    see item 2 in the accepted answer here: https://tex.stackexchange.com/questions/74353/what-commands-are-there-for-horizontal-spacing – David Carlisle May 12 '18 at 07:36
  • 1
    You could politely suggest to your teacher to try texdoc mleftright. – GuM May 12 '18 at 08:00
  • Thank you very much! I don't know if I would dare :) – Dovendyr May 13 '18 at 04:48

0 Answers0