Welcome, Guest. Please login or register.

Author Topic: LaTeX vector questions (not the leather thingie)  (Read 1300 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline elendilTopic starter

  • Sr. Member
  • ****
  • Join Date: Nov 2002
  • Posts: 324
    • Show only replies by elendil
    • http://www.idiot.fnuck.dk
LaTeX vector questions (not the leather thingie)
« 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.
 

Offline kromjuice

  • Newbie
  • *
  • Join Date: Oct 2002
  • Posts: 2
    • Show only replies by kromjuice
    • http://www.ph.ed.ac.uk/~mike
Re: LaTeX vector questions (not the leather thingie)
« Reply #1 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.