4

I can't find a way to add a notice to the bottom of the first page. I tried this but it just flushes all content to the second page and adds the box at the bottom of the first.

EDIT: some sample code.

\documentclass{tufte-handout}
\usepackage{amsmath}
\usepackage{graphicx}
\setkeys{Gin}{width=\linewidth,totalheight=\textheight,keepaspectratio}
\usepackage[brazilian]{babel}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{minted}
\makeatletter
\minted@define@extra{label}
\makeatother
\usepackage[ddmmyyyy]{datetime}
\usemintedstyle{tango}
\newminted{cpp}{}
\newmint{cpp}{}
\usepackage[portuguese,ruled]{algorithm2e}
\usepackage{tikz}

\newcommand\copyrighttext{%
  \footnotesize text text text text text text text text text text text text
  text text text text text text text text text text text text text text text text
  text text text text text text text text text text text text text text text text
  text text}
\newcommand\copyrightnotice{%
  \begin{tikzpicture}[remember picture,overlay]
    \node[anchor=south,yshift=10pt] at (current page.south) {\fbox{\parbox{\dimexpr\textwidth-\fboxsep-\fboxrule\relax}{\copyrighttext}}};
  \end{tikzpicture}%
}


\title{Best title ever}
\author{Me}
\begin{document}
\copyrightnotice
\maketitle
\section{Things}
text text text text text text
\section{Stuff}
text text text text

\end{document}

Generates these two pages: Page 1 Page 2

1 Answers1

3

The following code does what you need; simply use \copyrightnotice after \maketitle:

\documentclass{tufte-handout}
\usepackage{amsmath}
\usepackage{graphicx}
\setkeys{Gin}{width=\linewidth,totalheight=\textheight,keepaspectratio}
\usepackage[brazilian]{babel}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[ddmmyyyy]{datetime}
\usepackage[portuguese,ruled]{algorithm2e}
\usepackage[absolute]{textpos}
\usepackage{tikz}

\newcommand\copyrighttext{%
  \footnotesize text text text text text text text text text text text text
   text text text text text text text text text text text text text text text text
   text text text text text text text text text text text text text text text text
   text text}
\newcommand\copyrightnotice{%
  \begin{tikzpicture}[remember picture,overlay]
    \node[anchor=south,yshift=10pt,draw] 
    at (current page.south) 
    {\parbox{\dimexpr\textwidth-\fboxsep-\fboxrule\relax}{\copyrighttext}};
  \end{tikzpicture}%
}

\title{Best title ever}
\author{Me}

\begin{document}

\maketitle
\copyrightnotice
\section{Things}
    text text text text text text
\section{Stuff}
    text text text text

\end{document}

enter image description here

Gonzalo Medina
  • 505,128