Go to Page Main Content
NASA - Goddard Institute for Space Studies
FIND IT @ NASA
NASA Homepage Goddard Institute for Space Studies

Hypertext Help with LaTeX

Math function symbols

Functions like "log" or "cos" are normally used in math mode. However, in math mode strings of letters are treated as a product of variables, which would normally be displayed in math italics rather than a text font which would be appropriate for these functions. To get proper display of such functions they are generated with LaTeX commands.

Some of these commands are

  • \arccos
  • \arcsin
  • \arctan
  • \cos
  • \cosh
  • \cot
  • \coth
  • \csc
  • \deg
  • \det
  • \dim
  • \exp
  • \gcd
  • \hom
  • \inf
  • \ker
  • \lg
  • \lim
  • \liminf
  • \limsup
  • \ln
  • \log
  • \max
  • \min
  • \sec
  • \sin
  • \sinh
  • \sup
  • \tan
  • \tanh

Two commands are provided for the "modulus" function

  • \bmod
  • \pmod{}

The former would be used to write "a mod b" as

    a \bmod b

and the latter, which requires an argument that is displayed in parentheses, would be used to write "n = i (mod j)" as

    n = i \pmod{j}

Related topics:


Back to the LaTeX Table of Contents


Revised 25 April 1995.

+ GISS Home

tools
  • Software Tools Main Page
  • GCM Model E
  • GCM Model AOM-GR
  • GCM Model II
  • Panoply netCDF Viewer
  • G.Projector Map Maker
  • Mars24 Sunclock
USA.gov

End of Page