如何在第一页底部添加版权声明(在有边框的框中)?

如何在第一页底部添加版权声明(在有边框的框中)?

我想在论文底部添加一个带有版权声明的框。最简单/最好的方法是什么?

理想情况下,框的宽度应与文本相同,并且水平居中。另外,我不希望它与任何可能设置页脚等的潜在(基于 IEEE)样式文件交互。

(我查看了该fancyhdr软件包,但\fancyfoot{copyright statement...}在除第一页之外的每一页都放置了页脚;并且我只希望声明出现在第一页)

答案1

您可以通过多种方式实现此目的;例如,您可以使用文本位置, 或者阿特别格什包裹,或蒂克兹。下面是使用的示例TikZ

\documentclass{IEEEtran}
\usepackage{tikz}
\usepackage{lipsum}

\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}%
}

\begin{document}

\copyrightnotice
\lipsum[1-10]

\end{document}

在此处输入图片描述

答案2

对于 IEEE 会议格式,您可以使用:

\IEEEoverridecommandlockouts
\IEEEpubid{\makebox[\columnwidth]{978-1-4799-2442-4/13/\$31.00 \copyright 2013 IEEE \hfill} \hspace{\columnsep}\makebox[\columnwidth]{ }}

刚过:

\begin{document}

您可以找到更多实用信息在这篇博文中,并且在原文中IEEEtran 类操作指南

答案3

我又在谷歌上搜索了一下,发现了这个包textpos,它给了我一个可行的解决方案(不知道它是否是“最佳”解决方案)。它要求我调整盒子的位置和宽度,但没关系。

\documentclass{IEEEtran}
\usepackage[absolute,showboxes]{textpos}

%set unit to be pagewidth and height, and increase inner margin of box
\setlength{\TPHorizModule}{\paperwidth}\setlength{\TPVertModule}{\paperheight}
\TPMargin{5pt}

%define \copyrightstatement command for easier use
\newcommand{\copyrightstatement}{
    \begin{textblock}{0.84}(0.08,0.93)    % tweak here: {box width}(leftposition, rightposition)
         \noindent
         \footnotesize
         \copyright  IEEE, 2012. Blablablablabla ... more text goes here
    \end{textblock}
}


\begin{document}
     \copyrightstatement
     \title{Title of my paper}
     and all the rest...
\end{document}

答案4

对于 IEEE 会议模板,添加以下包:

\usepackage[absolute]{textpos}

紧接着\begin{document}添加以下内容:

\makeatletter
\def\ps@IEEEtitlepagestyle{%
  \def\@oddfoot{\mycopyrightnotice}%
  \def\@evenfoot{}%
}
\def\mycopyrightnotice{
  {\footnotesize Blablablablabla... more text goes here. The copyright is with the IEEE. \hfill}
  \gdef\mycopyrightnotice{}
}

相关内容