答案1
这是一个解决方案,使用geometry
和titleps
,而不是fancyhdr
:
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage{microtype}
\SetTracking[no ligatures={f}]{encoding=*}{40}
\usepackage{graphicx, array}
\usepackage[headheight=136pt, top=6.5cm]{geometry}
\usepackage{titleps}
\usepackage{lipsum} %
\newpagestyle{myheader}{%
\sethead{\includegraphics{htFCS}}{\sffamily\large\raisebox{6ex}{\parbox{6cm}{\centering\lsstyle%
Centro Universitário da FEI\\[3ex]Projeto de Iniciação Científica}}}{\scalebox{0.75}{\includegraphics{aNF04}}}
\headrule}
\pagestyle{myheader}
\begin{document}
\section{Section One}
\lipsum
\end{document}
答案2
我有点着急所以我稍后会评论代码。
我希望这可以给你启发。
代码
\documentclass{report}
\usepackage[utf8x]{inputenc}
\usepackage{fancyhdr}
\usepackage[left=4cm,top=6cm,right=3cm,bottom=3cm,headheight=5cm]{geometry}
\pagestyle{fancy}
\usepackage{tikz}
\usetikzlibrary{calc}
\usepackage{tikzpagenodes}
\renewcommand{\headrulewidth}{.2pt}
\lhead{\begin{tikzpicture}[remember picture,overlay]
\node [anchor=west,inner sep=0] (logoLEFT) at (current page header area.west) {\includegraphics[height=3cm]{logoSX}};
\node [anchor=east,inner sep=0] (logoRIGHT) at (current page header area.east) {\includegraphics[height=3.5cm]{logoDX}};
\coordinate (tt) at ($(logoLEFT.east)!.5!(logoRIGHT.west)$);
\node [above=.5cm,font=\bfseries\Large] at (tt) {Centro Universitário da FEI};
\node [below=.5cm,font=\bfseries\Large] at (tt) {Projeto de Iniciação Científica};
\end{tikzpicture}}
\begin{document}
\section{First section}
Type your document as usual!
\newpage
\section{Second section}
Type your document as usual!
\end{document}