[texhax] text at the top right corner of the title page

Tom Schneider schneidt at mail.nih.gov
Thu Aug 12 19:49:26 CEST 2010


Olga:

> How can I insert some text above the title in the example below?

Pstricks ...

------
\documentclass[12pt]{article}
\usepackage{pstricks} % wonderful set of graphics tricks! 

\begin{document}
% \begin{flushright}
% ICES CM Q:06
% \end{flushright}

\title{%
\psgrid(0,0)(-20,-20)(20,20)% comment out when you don't want the grid
% Now we can place things wherever we want on the page!
\rput[tl](7.0,3.0){% location on the grid ...
\parbox[t][3.0cm][t]{3.0cm}{% \parbox[c][\height][t]{}{\width}%
\normalsize{ICES CM Q:06}
}% end parbox
}% end rput
Some title}
\author{Some name}
\date{}
\maketitle

\begin{abstract}
this is the abstract
\end{abstract}

some revised text
\end{document}
------

You can move the psgrid and rput wherever you want, but by putting it
at the start of the title you may have more control.  The coordinate
system (shown by psgrid) is relative to where you call the rput.  On
slides (made with powerdot) I start with a \vspace{8.6in} and then I
can put anything anywhere I want on the whole slide.  But I don't have
an equivalent trick for regular pages (yet).

Tom

  Thomas D. Schneider, Ph.D.
  National Institutes of Health
  Gene Regulation and Chromosome Biology Laboratory
  schneidt at mail.nih.gov
  toms at alum.mit.edu (permanent)
  http://alum.mit.edu/www/toms (permanent)


More information about the texhax mailing list