在寻找将版权声明添加到 IEEEtran 会议文档中的方法时,我遇到了如何在第一页底部添加版权声明(在有边框的框中)?这与我的问题完全相关。不幸的是,解决方案与文档中的使用TikZ
不兼容- 它会在标题页之前创建新页面。删除可消除此问题。\maketitle
\maketitle
有什么建议可以让大家知道如何将版权声明添加到报纸中吗?
我无法对上述问题添加评论,因此我需要再问一个。
最简单的例子是:
%% bare_conf.tex
%% V1.4
%% 2012/12/27
%% by Michael Shell
\documentclass[conference]{IEEEtran}
\IEEEoverridecommandlockouts
% *** IEEE Copyright notice with TikZ ***
%
\usepackage{tikz}
\usepackage{textcomp}
\usepackage{hyperref}
\usepackage{lipsum}
\newcommand\copyrighttext{%
\footnotesize \textcopyright 2012 IEEE. Personal use of this material is permitted.
Permission from IEEE must be obtained for all other uses, in any current or future
media, including reprinting/republishing this material for advertising or promotional
purposes, creating new collective works, for resale or redistribution to servers or
lists, or reuse of any copyrighted component of this work in other works.
DOI: \href{<http://tex.stackexchange.com>}{<DOI No.>}}
\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}
% *** IEEE Copyright notice with TikZ ***
%
\copyrightnotice
\title{Bare Demo of IEEEtran.cls for Conferences}
% make the title area
\maketitle
\begin{abstract}
The abstract goes here.
\end{abstract}
\section{Introduction}
\lipsum[1]
\subsection{Subsection Heading Here}
\lipsum[1-2]
\subsubsection{Subsubsection Heading Here}
\lipsum[1-2]
% that's all folks
\end{document}
答案1
in\maketitle
的IEEEtran
定义方式是,它\newpage
在放置标题和朋友之前发出一个。我已将定义包含在内以供参考(来自IEEEtran
):
\def\maketitle{\par%
\begingroup%
\normalfont%
\def\thefootnote{}% the \thanks{} mark type is empty
\def\footnotemark{}% and kill space from \thanks within author
\let\@makefnmark\relax% V1.7, must *really* kill footnotemark to remove all \textsuperscript spacing as well.
\footnotesize% equal spacing between thanks lines
\footnotesep 0.7\baselineskip%see global setting of \footnotesep for more info
% V1.7 disable \thanks note indention for compsoc
\@IEEEcompsoconly{\long\def\@makefntext##1{\parindent 1em\noindent\hbox{\@makefnmark}##1}}%
\normalsize%
\ifCLASSOPTIONpeerreview
\newpage\global\@topnum\z@ \@maketitle\@IEEEstatictitlevskip\@IEEEaftertitletext%
\thispagestyle{IEEEpeerreviewcoverpagestyle}\@thanks%
\else
\if@twocolumn%
\ifCLASSOPTIONtechnote%
\newpage\global\@topnum\z@ \@maketitle\@IEEEstatictitlevskip\@IEEEaftertitletext%
\else
\twocolumn[\@maketitle\@IEEEdynamictitlevspace\@IEEEaftertitletext]%
\fi
\else
\newpage\global\@topnum\z@ \@maketitle\@IEEEstatictitlevskip\@IEEEaftertitletext%
\fi
\thispagestyle{IEEEtitlepagestyle}\@thanks%
\fi
% pullup page for pubid if used.
\if@IEEEusingpubid
\enlargethispage{-\@IEEEpubidpullup}%
\fi
\endgroup
\setcounter{footnote}{0}\let\maketitle\relax\let\@maketitle\relax
\gdef\@thanks{}%
% v1.6b do not clear these as we will need the title again for peer review papers
% \gdef\@author{}\gdef\@title{}%
\let\thanks\relax
}
如果您\copyrightnotice
在 之前发行\maketitle
,则首先tikzpicture
放置 ,然后\newpage
发行 ,\maketitle
从而获得具有其自己页面的版权。
因此将 放在\copyrightnotice
后面\maketitle
:
%% bare_conf.tex
%% V1.4
%% 2012/12/27
%% by Michael Shell
\documentclass[conference]{IEEEtran}
\IEEEoverridecommandlockouts
% *** IEEE Copyright notice with TikZ ***
%
\usepackage{tikz}
\usepackage{textcomp}
\usepackage{hyperref}
\usepackage{lipsum}
\newcommand\copyrighttext{%
\footnotesize \textcopyright 2012 IEEE. Personal use of this material is permitted.
Permission from IEEE must be obtained for all other uses, in any current or future
media, including reprinting/republishing this material for advertising or promotional
purposes, creating new collective works, for resale or redistribution to servers or
lists, or reuse of any copyrighted component of this work in other works.
DOI: \href{<http://tex.stackexchange.com>}{<DOI No.>}}
\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}
% *** IEEE Copyright notice with TikZ ***
%
\title{Bare Demo of IEEEtran.cls for Conferences}
% make the title area
\maketitle
\copyrightnotice
\begin{abstract}
The abstract goes here.
\end{abstract}
\section{Introduction}
\lipsum[1]
\subsection{Subsection Heading Here}
\lipsum[1-2]
\subsubsection{Subsubsection Heading Here}
\lipsum[1-2]
% that's all folks
\end{document}
答案2
这很简单:在 LaTeX 文档中添加以下行,但不要忘记包含此包
\usepackage{eso-pic}
\AddToShipoutPicture*{\small \sffamily\raisebox{1.2cm}{\hspace{1.8cm}978-1-4799-8641-5/15/\$31.00@2015 IEEE}}