LaTeX forum ⇒ Generalabsolute vertical positioning

LaTeX specific issues not fitting into one of the other forums of this category.
metebalci
Posts: 3
Joined: Sun Mar 04, 2007 11:56 am

absolute vertical positioning

Postby metebalci » Sun Mar 04, 2007 12:02 pm

Hi,

I am writing my msc thesis and switched to latex from ms word last week. I havent used latex before, however, since I am a programmer, it got used to it easily.

The question I have is I couldnt find out how to do absolute vertical positioning of text measured from top of the page. Suppose I want to write a text 3cm below and 7cm below from top of the page. The vertical space command in latex gives relative positioning (meaning the space between text), right ?

Thank you...

Mete

User avatar
Kris
Posts: 56
Joined: Sun Jan 14, 2007 4:04 pm

Postby Kris » Mon Mar 05, 2007 7:05 pm

Hi!

there's a pstricks-package that can do this (pst-abspos), but
it's not implemented into MiKTeX, so You have to install it on
Your own! (http://perce.de/LaTeX/pst-abspos/)

  1. \documentclass{article}
  2. \usepackage{pst-all}
  3. \usepackage[absolute]{pst-abspos}
  4. \begin{document}
  5. \pstSetAbsoluteOrigin
  6. \pstPutAbs[unit=1cm,position=lb](3,-3){Text with 3cm from top}
  7. \pstPutAbs[unit=1cm,position=lb](3,-7){Text with 7cm from top}
  8. \end{document}


Regards
Kris

metebalci
Posts: 3
Joined: Sun Mar 04, 2007 11:56 am

Postby metebalci » Mon Mar 05, 2007 9:42 pm

This seems to be what I exactly want. Thank you very much Kris.

Mete


Return to “General”

Who is online

Users browsing this forum: No registered users and 10 guests