Page Layoutis it possible to insert text on my \fancyhead header?

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
renato07
Posts: 12
Joined: Sat Feb 07, 2015 8:37 pm

is it possible to insert text on my \fancyhead header?

Post by renato07 »

Hi,
I have this two header on my .tex:

Code: Select all

\documentclass[a3paper,12pt,portrait]{article}
    \usepackage[italian]{babel}  %--setta regole lingua italiana
    \usepackage[ddmmyyyy]{datetime} %--setta data formato IT
    \usepackage{graphicx}
    \usepackage[document]{ragged2e} %--per allineamento testo a dx, sx o giustificato
    \usepackage{hyperref} %--- per i link
    \usepackage{multicol} %------ per formattare pagine a più colonne
    \usepackage{tcolorbox} %--- per le caselle di testo I pagina
    \usepackage[percent]{overpic}
    \usepackage[absolute,overlay]{textpos}%--posiziona testo in specifiche posizioni
    \usepackage{ebgaramond-maths}%----- uso font garamond
    \usepackage[T1]{fontenc}%----- uso font garamond
       \usepackage[a3paper]{geometry}
    \usepackage{fancyhdr}
\renewcommand{\headrulewidth}{0pt} %--rimuove la linea di intestazione
  % \usepackage{showframe} %--show spazi intorno pagina
  
%--------costruisce  l'intest. ufficiale----------------------------
\fancyhead[C]{\includegraphics[width=267mm,height=39mm]{grosso_banner_corto_completo.png}}
\pagestyle{fancy}
%---------------costruisce  l'intest. speciale-------------------
\fancypagestyle{special}{%
  \fancyhead[C]{\includegraphics[width=267mm,height=39mm]{grosso_banner_tutto_757per128.png}}
}
can I insert a line of text and variable over the .png image. Consider that this both the \fancyhead... are before the \bwgin {document}statement.

Thank you
Renato

Recommended reading 2024:

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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

Post Reply