Text FormattingTopmargin help with minipage

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
peaches2165
Posts: 25
Joined: Wed Oct 22, 2008 5:03 pm

Topmargin help with minipage

Post by peaches2165 »

Hi,

I have this file below that I am trying to setup as letterhead. It does run properly but logo is place to far down the page. I would like to bring it up about a .25 to .50in and haven't quite figured out how to do this. I don't quite understand what these packages mean. Any assistance appreciated. I am using latex and winedit.

Code: Select all

\usepackage[latin1]{inputenc}
\usepackage[absolute]{textpos}

 \setlength{\TPHorizModule}{10mm}
 \setlength{\TPVertModule}{\TPHorizModule}
Thanks,
Peaches

Code: Select all

\documentclass{article}
\textheight 9in
\topmargin -.7in
\oddsidemargin .25in
\evensidemargin .25in
\textwidth 6in
\usepackage[dvips]{color}
%\usepackage{epsfig}
\usepackage{graphicx}
\parskip .15in
\pagestyle{empty}


\usepackage{amsmath,amssymb}

\usepackage{times}
%\usepackage[english]{babel}
\usepackage[latin1]{inputenc}
\usepackage[absolute]{textpos}

 \setlength{\TPHorizModule}{10mm}
 \setlength{\TPVertModule}{\TPHorizModule}
 \textblockorigin{10mm}{10mm} % start everything near the top-left corner

\vspace*{-.25in}

 \begin{document}



 \begin{textblock}{9}(1.1,1.4)
\begin{minipage}[c]{3in}
\includegraphics[width=3in]{graphic_logo_horiz_rgb.eps}
\end{minipage}
 \hspace*{1.5in}
 \begin{minipage}[t]{2in}
\parbox{6cm}{\footnotesize { \vspace*{0.25in}
\sffamily
ad1 \\
ad2 \\ 
ad3 \\
ad4 \\ 
ad5  \\
} %\hspace*{-0.8in}
\vspace*{.4in}
\end{minipage}
 \end{textblock}
\vspace*{45pt}

\vspace{.25in}








\end{document}

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
Stefan Kottwitz
Site Admin
Posts: 10324
Joined: Mon Mar 10, 2008 9:44 pm

Topmargin help with minipage

Post by Stefan Kottwitz »

HI Peaches!

Were you able to solve the problem?

I see that above there's a closing brace missing for \parbox. It should be like this:

Code: Select all

\parbox{6cm}{\footnotesize { \vspace*{0.25in}
\sffamily
ad1 \\
ad2 \\ 
ad3 \\
ad4 \\ 
ad5  \\
}} %\hspace*{-0.8in}
For re-positioning just change the text block options, such as:

\begin{textblock}{9}(1.1,0.4)

Stefan
LaTeX.org admin
Post Reply