Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I am trying to type geographical coordinate such as:

N 52° 58.110'
E 00° 40.070'

in table. Please excuse me for that I have start leaning about LaTeX just three weeks ago. I would appreciate your help.

Thanks

share|improve this question
1  
You mentioned 'in table'. Do you mean you are interested in a way to write these in to a table, or that you want to have the degrees, minutes and seconds in separate columns of a table? –  Andy Clifton May 11 '13 at 19:08

2 Answers 2

There are several options. The siunitx package provides an \ang command that typesets angles. Degrees, minutes and seconds should be separated by semi colons. Alternatively you can set the numbers in math-mode ($ ... $), and use ^\circ for the degree sign and ' or ^\prime for the minute mark.

enter image description here

\documentclass{article}
\usepackage{siunitx}
\begin{document}
N\ang{52;58.110;} E\ang{00;40.070;}

N$52^\circ 58.110'$ E$00^\circ 40.070^\prime$
\end{document}
share|improve this answer
N $52^\circ$ $58.110'$ E $00^\circ$ $40.070'$

Tabular is meaningless here. Spaces are according to your request. You can make your own macro, e.g. (spacing changed):

\def\nswe#1#2#3{#1\,$#2^\circ\,#3'$}

Usage: \nswe{N}{52}{58.110}.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.