Amiga.org

Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: elendil on July 24, 2003, 01:39:32 PM

Title: LaTeX vector questions (not the leather thingie)
Post by: elendil on July 24, 2003, 01:39:32 PM
Hi.

I am writing some vector formulas in LaTeX and cannot figure out how to get a line or a 'hat' (^) above a letter. I have asked a few, but they didn't know, so I hope one of you do, off the top of your heads.

I have not tried google, as I am not entirely sure what to search for, and no, I will not buy a fivehundred page LaTeX--book to figure out how to represent vectors :)

Sincerely,

-Kenneth Straarup.
Title: Re: LaTeX vector questions (not the leather thingie)
Post by: kromjuice on July 24, 2003, 02:21:12 PM
To produce a hat above a letter you simply use \hat{x} where x is the character (or charachter sequence) you you wish to be hatted.  To write an arrow above the letter use \vec{x}.  Obviously these commands are to be used in Maths mode.