Letterhead template for the Instituto Nacional de Pesquisas Espaciais (INPE, or National Institute for Space Research) in Brazil.
%%
% José Paulo Marchezi (jpmarchezi@gmail.com)
% 13/03/2017
%
%
\documentclass[a4paper, 11pt]{article}
\usepackage[brazil]{babel}
\usepackage[utf8]{inputenc}
\usepackage{everypage}
\usepackage{graphicx}
\usepackage{lipsum}
% \usepackage{wrapfig}
\usepackage{tikz}
\usepackage{color}
\usepackage[left=3cm, right=2.75cm, top=2.75cm, bottom=2.82cm]{geometry}
\usepackage{fancyhdr}
\pagestyle{empty}
% \usepackage{estilo}
\usepackage{tikzpagenodes}
\usetikzlibrary{calc}
\usepackage{hyperref}
\renewcommand{\baselinestretch}{1.5}
\definecolor{inpe_blue}{cmyk}{1,0.3,0,0.1}
%% Set the borders, headers and footers for the document
\AddEverypageHook{\tikz[remember picture,overlay]{%
% other pages
\ifnum\value{page}>1 \draw [rounded corners, thick, inpe_blue] ($(current page text area.north)+(-0.5\marginparsep,0pt)$)
-- ($(current page text area.north west)+(-0.5\marginparsep,0pt)$)
-- ($(current page text area.south west)+(-0.5\marginparsep,0pt)$)
-- ($(current page text area.south)+(0.5\marginparsep,0pt)$) -- ($(current page text area.south east)+(0.5\marginparsep,0pt)$) ;
\node at (7.4,-24.7) {\textcolor{inpe_blue}{{\footnotesize Sede: Av. dos Astronautas, 1758, 12227-010 São José dos Campos (SP) Brasil tel + 55-12-32086000}}};
\node at (15,-25.1) {\textcolor{inpe_blue}{{\footnotesize INPE-016.10}}};
\node at (9,-0.2) {\textcolor{inpe_blue}{{continuação}}};
\node at (4.2,1) {\includegraphics[width=8cm]{logo_alinhado1.png}};
%%
% Fist page
\else\draw [rounded corners, thick, inpe_blue] ($(current page text area.north west)+(-0.5\marginparsep,0pt)$)
-- ($(current page text area.south west)+(-0.5\marginparsep,0pt)$)
-- ($(current page text area.south)+(0.5\marginparsep,0pt)$) -- ($(current page text area.south east)+(0.5\marginparsep,0pt)$) ;
\node at (7.4,-24.7) {\textcolor{inpe_blue}{{\footnotesize Sede: Av. dos Astronautas, 1758, 12227-010 São José dos Campos (SP) Brasil tel + 55-12-32086000}}};
\node at (15,-25.1) {\textcolor{inpe_blue}{{\footnotesize INPE-016.10}}};
\node at (4.2,1) {\includegraphics[width=8cm]{logo_alinhado1.png}};
\fi}}
%
%
%
%
%
\begin{document}
\textbf{Recomendações para cartas e documentos timbrados do INPE}
\vspace{1cm}
Informações - \href{http://intranet3.inpe.br/comunicacao_normativa/RE/RE550V02.pdf}{RE/DIR-550 - Modelo de Documentos Timbrados do INPE}.
\newpage
texto
\newpage
texto
\end{document}