Generalerror in header

General information and discussion about TeXnicCenter
Post Reply
User avatar
meujovem
Posts: 8
Joined: Fri May 27, 2011 4:39 pm

error in header

Post by meujovem »

Hi

I'm wanting to do a header with three mini pages. But I can not give my kids as the pages attached drawing.
Can anyone help me in this challenge?

Grateful for the help in advance

Thank You

meujovem
Brasil
Attachments
header1.zip
(83.11 KiB) Downloaded 199 times
cabecalho.jpg
cabecalho.jpg (30.95 KiB) Viewed 1933 times
Translated with google translate
.................................
Thank You
meujovem
Brasil

Recommended reading 2024:

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

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

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

error in header

Post by frabjous »

As near as I can tell you just need to comment out the paragraph breaks you're putting in between the minipages by putting blank spaces between. You might also consider using \hfill to balance the spacing between them, and shorten the last minipage appropriately.

E.g., the start of your document might look like:

Code: Select all

\begin{minipage}[c][1.5cm][c]{3cm}
\includegraphics[height=1.5cm]{logo.jpg}
\end{minipage} \hfill
%
%
% center!!
\begin{minipage}[c][1.5cm][c]{10cm}
\center
{\sc SENAI - Departamento Regional da Bahia}

\textbf{\footnotesize{NEAD - Núcleo de Educação a Distância}}
\smallskip

Unidade Localizada no CETIND
\end{minipage} \hfill
%
% Right!!
\begin{minipage}[c][1.5cm][c]{3.2cm}
Data: 25/05/2011

Semestre: 3

Turma: A
\end{minipage}
Post Reply