For Programmers: Free Programming Magazines  


Home > Archive > Tex > July 2006 > Complex document layout problems









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Complex document layout problems
mastermind148@gmail.com

2006-07-25, 7:04 pm

Hello boys
I'm very new to latex, so please be patient with my dummy questions :)
Well, I have to rewrite this document
http://octawa.hojko.com/latex/report.doc to latex nad then export it to
pdf. Everything is good, but I've encountered a problem, while I was
creating borders around the page. I tried to use fancybox package but
It "bordered" just the body of the document, not header nor footer.
so let, have this simplified bunch of code

\documentclass[a4paper]{report}
\usepackage{xcolor}
\usepackage{graphics}
\usepackage{floatflt,graphicx}
\usepackage[slovak]{babel}
\usepackage{fancyhdr}

\pagestyle{fancy} \chead{
\includegraphics[width=19.39cm,height=2.42cm]{test/a.jpg}}
\setlength{\topmargin}{-1in}\setlength{\headheight}{2.42cm}
\begin{document}
lorem ipsum...
\end{document}

well, im wondering how to make page borders, like in the doc file Ive
posted before.

and second thing: Does anybody know, how should i center that image in
the header? :)

Mariano Suárez-Alvarez

2006-07-26, 4:08 am


mastermind148@gmail.com wrote:
> Hello boys
> I'm very new to latex, so please be patient with my dummy questions :)
> Well, I have to rewrite this document
> http://octawa.hojko.com/latex/report.doc to latex nad then export it to
> pdf. Everything is good, but I've encountered a problem, while I was
> creating borders around the page. I tried to use fancybox package but
> It "bordered" just the body of the document, not header nor footer.
> so let, have this simplified bunch of code
>
> \documentclass[a4paper]{report}
> \usepackage{xcolor}
> \usepackage{graphics}
> \usepackage{floatflt,graphicx}
> \usepackage[slovak]{babel}
> \usepackage{fancyhdr}
>
> \pagestyle{fancy} \chead{
> \includegraphics[width=19.39cm,height=2.42cm]{test/a.jpg}}
> \setlength{\topmargin}{-1in}\setlength{\headheight}{2.42cm}
> \begin{document}
> lorem ipsum...
> \end{document}
>
> well, im wondering how to make page borders, like in the doc file Ive
> posted before.
>
> and second thing: Does anybody know, how should i center that image in
> the header? :)


Can you provide a link to a.jpg?

mastermind148@gmail.com

2006-07-26, 4:08 am

of course, sorry
http://img226.imageshack.us/img226/959/avs6.jpg
Mariano Su=E1rez-Alvarez nap=EDsal(a):
> mastermind148@gmail.com wrote:
>=20
> Can you provide a link to a.jpg?


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com