如何在 tufte-handout 类的页面底部添加 Creative Commons 许可证?

如何在 tufte-handout 类的页面底部添加 Creative Commons 许可证?

我找不到在第一页底部添加通知的方法。我试过了但它只是将所有内容刷新到第二页并将框添加到第一页的底部。

编辑:一些示例代码。

\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

\结束{文档}

生成这两个页面: 第 1 页 第2页

答案1

以下代码可以满足您的需要;只需使用\copyrightnotice \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}

在此处输入图片描述

相关内容