elsevier的CAS latex模板中authorship与abstract分页的解决方案
发布时间
阅读量:
阅读量
elsevier的CAS latex模板中authorship与abstract分页的解决方案
- 问题描述
-
- 解决方案
- 转发说明
问题描述
在CAS模板中无法通过newpage实现authorship与abstract分页
解决方案
通过修改cas-common.sty实现authorship与abstract分页。
将MaketitleBox 和 printFirstPageNotes 修改成以下形式即可。
\NewDocumentCommand \MaketitleBox { }
{
\tex_def:D \baselinestretch{1}
\group_begin:
\@title
\group_end:
%
\bool_if:NTF \g_stm_blind_bool
{ \vspace* { 10 mm } }
{
\group_begin:
\normalsize \stmauthors \par
\stmcollab \par
\footnotesize \itshape \stmaddress \par
\group_end:
\bool_if:NTF \g_stm_breakafter_auaff_bool
{ \newpage } { }
}
{
\printcornotes
\printmaltese
\printaddrinfoot
\printemails
\printurls
\printorcid
\printfacebook
\printtwitter
\printgplus
\printlinkedin
\printfnotes
}
{ \newpage } { }
\dashrule{0pt}{3pt}
\begin{Abstract}
\noindent \ignorespaces
\file_if_exist:nT { \jobname.abs } { \file_input:n { \jobname.abs } }
\end{Abstract}
\dashrule{6pt}{3pt}
\bool_if:NTF \g_stm_breakafter_abstract_bool
{ \newpage } { }
}
\NewDocumentCommand \printFirstPageNotes { }
{
\bool_if:NTF \g_stm_longmktitle_bool
{ \tex_let:D \columnwidth = \textwidth }
{ }
\int_compare:nTF { \g_stm_jtype_int > 5 }
{ \stmaddress }
{ }
\printtnotes
\printnonumnotes
%\bool_if:NTF \g_stm_blind_bool
% { }
% {
% \printcornotes
% \printmaltese
% \printaddrinfoot
% \printemails
% \printurls
% \printorcid
% \printfacebook
% \printtwitter
% \printgplus
% \printlinkedin
% \printfnotes
% }
\bool_if:NTF \g_stm_longmktitle_bool
{
\if@twocolumn
\tex_let:D \columnwidth = \Columnwidth \fi
}
{ }
\normalcolor
}
修改后cas-common.sty的下载链接:
https://cloud.189.cn/web/share?code=beyQN3YrEvqe(访问码:rc8u)
转发说明
转发标明请标明出处<>.
全部评论 (0)
还没有任何评论哟~
