\begin{flushleft}
Copyright ^{c} 2011 Cleve Moler
MATLAB^{R} is a registered trademark of MathWorks, Inc.^{TM}
Octomber 4,2011
\end{flushleft}
我尝试了上标,但没有得到我想要的结果,关于这一行我没有找到任何东西 [ ]
答案1
仅在一个或选定的页面上,如果没有页脚,我会这样做
\documentclass{article}
\newcommand{\copyrightFooter}{
% Fill the rest of the page, so what comes below is on the bottom
\vfill
%Make a line
\hrule
%Make space after the line
\vspace{\the\dimexpr\baselineskip/2}\relax
%Make a group with small font size
{
\footnotesize
\noindent Copyright~\textcopyright~2018 No One\\
\texttt{SOFTWARE}\textsuperscript\textregistered
is a registered trademark of Company CO\textsuperscript{TM}\\\today%
}
}
\begin{document}
Hello world!\copyrightFooter
\end{document}
如果您希望它出现在(几乎)所有页面上,作为实际文档页脚的一部分,我会使用fancyhdr
, 像这样
\documentclass{article}
\usepackage{fancyhdr}
\fancyhf{}
\lfoot{%
\footnotesize
Copyright~\textcopyright~2018 No One\\
\texttt{SOFTWARE}\textsuperscript\textregistered
is a registered trademark of Company CO\textsuperscript{TM}\\\today%
}
% Make a line at footer
\renewcommand{\footrulewidth}{1pt}
% Remove line at header
\renewcommand{\headrulewidth}{0pt}
\pagestyle{fancy}
\begin{document}
SomeText
\end{document}
附录
两者的结合就是定义一个不同的,\fancypagestyle
它将只是添加如果调用样式则版权:
\documentclass{article}
\usepackage{fancyhdr}
\fancypagestyle{copystyle}{
% Note the lack of \fancyhf{}, which makes this
% not clear all header and footer fields
\fancyfoot[L]{%
\footnotesize
Copyright~\textcopyright~2018 No One\\
\texttt{SOFTWARE}\textsuperscript\textregistered
is a registered trademark of Company CO\textsuperscript{TM}\\\today%
}
}
% Set default pagestyle
\pagestyle{fancy}
% Clear all header/footer
\fancyhf{}
% Write `My Document' in the bottom right footer
\rfoot{My Document}
% Make a line at footer
\renewcommand{\footrulewidth}{1pt}
% Remove line at header
\renewcommand{\headrulewidth}{0pt}
\begin{document}
Only the `My Document' right footer is on this page
\newpage
% "Add" the copystyle on only this page
\thispagestyle{copystyle}
Here the `My Document' is still on the right footer in this page, but also
the copyright text!
\newpage
This page does \emph{not} have the copyright text, but has the `My Document'
in it's right footer.
\end{document}
上述操作将导致在右侧页脚中显示“我的文档”全部页。但是,现在添加/合并了版权仅有的在第 2 页,由于\thispagestyle{copystyle}
。fancyhdr 文档有更多信息:)
注意:我觉得有了这个版权标记,我应该说明此代码属于许可证,如所述合法的。在撰写本文时,我相信它属于知识共享 CC-BY-SA。