如何控制文章首页的常量空格

如何控制文章首页的常量空格
\documentclass{article}

\usepackage{authblk}
\usepackage{xkeyval}
\usepackage{etoolbox}%
\usepackage{xparse}%


\usepackage{hyperref}
\makeatletter
\def\@maketitle{%
  \null
\vbox to \textheight{\vbox to \textheight{\vspace*{12pc}%\vfill%
\hbox to 10pc{\hfill%
\begin{minipage}[b]{10pc}
{\@correspondence\par}%
    \vskip 6pt%
{\@presentaddress}%
\end{minipage}}}
\hspace*{11pc}
\vbox to \textheight{\vspace*{-44pc}%
\hbox to 10pc{\hfill%
\begin{minipage}[b]{31pc}  
  \let \footnote \thanks
    {\raggedright\fontsize{18pt}{20pt}\selectfont\@title \par}%
    \vskip 1.5em%
    {\large
      \begin{tabular}[t]{l}%
        \raggedright\@author
      \end{tabular}\par}%
   \end{minipage}}}}%
  \par
  \vskip 8.5em}


\def\@correspondence{}
\def\correspondence#1{%
  \gdef\@correspondence{\textbf{\textit{*Correspondence:}}\newline%
    \raggedright  #1\VetriKVMacroEmail%
    }}

\def\@presentaddress{}
\def\presentaddress#1{%
     \gdef\@presentaddress{\textbf{\textit{$\dagger$presentaddress:}}\newline%
       \raggedright  #1}}

\let\@email\@empty
\newcommand{\email}[1]{\protected@edef\@email{#1}}

\let\@link\@empty
\newcommand{\link}[1]{\protected@edef\@link{\href{#1}{\author}}}



\define@key{authorinfo}{aff}{%
\def\VetriKVMacroAff{#1}%
}%


\define@key{authorinfo}{coraddress}{%
\def\VetriKVMacroCorAddress{#1}%
}%

\define@key{authorinfo}{email}{%
\def\VetriKVMacroEmail{#1}%
}%

\define@key{authorinfo}{link}{%
\def\VetriKVMacroLink{#1}%
}%

\define@key{authorinfo}{presentaddress}{%
\def\VetriKVMacroPresentAddress{#1}%
}%


\let\OriginalAuthor\author

\RenewDocumentCommand{\author}{+O{}+m}{%
\setkeys{authorinfo}{#1}%
\ifdef{\VetriKVMacroAff}{%
  \OriginalAuthor[\VetriKVMacroAff]{#2}%
}{%
  \OriginalAuthor{#2}% 
}%
\ifdef{\VetriKVMacroCorAddress}{%
  \correspondence{\VetriKVMacroCorAddress}%
}{%
}%
\ifdef{\VetriKVMacroPresentAddress}{%
  \presentaddress{\VetriKVMacroPresentAddress}%
}{%
}%
\ifdef{\VetriKVMacroEmail}{%
  \email{\VetriKVMacroEmail}%
}{%
}%
\ifdef{\VetriKVMacroLink}{%
  \link{\VetriKVMacroLink}%
}{%
}%
\undef\VetriKVMacroAff%
}% End of RenewDocumentCommand.


\makeatother

\begin{document}

\title{Hormonal crosstalk for root development}
\author[aff={1},link={https://www.google.co.in},coraddress={Junli Liu is Professor of Plant Molecular Biology},email={[email protected]},]{Junli Liu}
\author[aff={2},presentaddress=James Rowe continued from this author address\newline e-mail: [email protected]]{James Rowe}
\author[aff={2}]{Keith Lindsey}
\affil[1]{Integrative Cell Biology Laboratory, School of Biological and Biomedical Sciences, The Bio physical Sciences Institute, Durham University, Durham, UK}

\maketitle
\end{document}

我尝试在打开页面时保持恒定空间。但我不知道如何编码\maketitle。我需要的是恒定空间来维护编辑、审阅和通信。有些案例的审阅细节没有给出。这种情况下,空间增加了恒定的 6pt 更改为 12pt

下面提到了我的.tex文件编码:

\documentclass{article}

\usepackage[noblocks]{authblk}
\usepackage{hyperref}
\makeatletter

\def\@maketitle{%
  \newpage
  \null
\vbox to \textheight{\vbox to \textheight{\vfill%
\hbox to 10pc{\hfill%
\begin{minipage}[b]{10pc}
{\@editor\par}%
    \vskip 6pt%
{\@reviewer\par}
    \vskip 6pt%
{\@correspondence\par}%
    \vskip 6pt%
{\@metanote}%
\end{minipage}}}
\hspace*{11pc}
\vbox to \textheight{\vspace*{-44pc}%
\hbox to 10pc{\hfill%
\begin{minipage}[b]{31pc}  
  \let \footnote \thanks
    {\raggedright\fontsize{18pt}{20pt}\selectfont\@title \par}%
    \vskip 1.5em%
    {\large
      \lineskip .5em%
      \begin{tabular}[t]{l}%
        \raggedright\@author
      \end{tabular}\par}%
    \vskip 1em%
    {\@abstract\par}
    \vskip 1em%
    {\@keywords\par}
    \vskip 1em%
    {\@firstpara\par}
   \end{minipage}}}}%
  \par
  \vskip 8.5em}

\def\@editor{}
\def\editor#1{%
     \gdef\@editor{\raggedright \textbf{Edited by:}\newline #1}}

\newcommand\reviewerhead{\raggedright \textbf{Reviewed by:}\newline}

\def\@reviewer{}
\def\reviewer#1{%
     \gdef\@reviewer{\reviewerhead #1}}

\def\@metanote{}
\def\metanote#1{%
     \gdef\@metanote{\raggedright  #1}}

\def\@correspondence{}
\def\correspondence#1{%
     \gdef\@correspondence{\textbf{\textit{*Correspondence:}}\newline%
       \raggedright  #1}}

\def\@abstract{}
\def\abstract#1{%
     \gdef\@abstract{\fontsize{9.5}{11.5}\selectfont #1}}

\def\@keywords{}
\def\keywords#1{%
     \gdef\@keywords{\textbf{Keywords:} #1}}

\def\@firstpara{}
\def\firstpara#1{%
     \gdef\@firstpara{ #1}}

\makeatother

\begin{document}

\title{Hormonal crosstalk for root development}
\author[1]{Junli Liu}
\author[2]{James Rowe}
\author[2]{Keith Lindsey}
\affil[1]{Integrative Cell Biology Laboratory, School of Biological and Biomedical Sciences, The Bio physical Sciences Institute, Durham University, Durham, UK}
\editor{Wagner L. Ara\'{u}jo, Universidade Federal de Vi\c{c}osa, Brazil}
\reviewer{Jedrzej Jakub Szymanski, Max Planck Institute of Molecular Plant Physiology, Germany }
\reviewer{Dimas Mendes Ribeiro, Universidade Federal de Vi\c{c}osa, Brazil}
\correspondence{%\protect\includegraphics{Saravana.jpg}\newline
Keith Lindsey is Professor of Plant Molecular Biology in the School of Biological and Biomedical Science sat Durham University, UK. His research interests are in understanding how genes and signaling systems regulate the development of plants. Most of his work is with the model experimental organism Arabidopsis thaliana.\newline \href{mailto:[email protected]}{[email protected]}}
\abstract{Plants are sessile organisms and therefore they must adapt their growth and architecture to a changing environment.}
\metanote{$\dagger$Joint corresponding authors}
\keywords{root development, POLARIS peptide, hormonal crosstalk, osmotic stress, kinetic modelin}
\firstpara{\section*{Introduction}
Hormone signaling systems coordinate plant growth and development through a range of com- plex interactions. The activities of hormones such as auxin, ethylene, cytokinin, abscisic acid, gibberellin, and brassinosteroids depend on cellular context and exhibit either synergistic or antagonistic interactions. Additionally, auxin is directionally transported through plant tissues, providing positional and vectorial information during development (Vanneste and Friml, 2009).\hfilneg}
\maketitle



\noindent Patterning in Arabidopsis root development is coordinated via a localized auxin concentration maximum in the root tip (Sabatini et al., 1999), requiring the regulated expression of speciÞc genes.

\end{document}

下面提到了我的输出和要求在此处输入图片描述

答案1

替换所有行

\vskip 6pt%

\ifdim\lastskip>0pt\unskip\fi\vskip 6pt%

这样,如果最后一次跳过大于0pt,它将被删除,并且您总是会得到6pt垂直跳过。

MWE(带\reviewer评论)

\documentclass{article}

\usepackage[noblocks]{authblk}
\usepackage{hyperref}
\makeatletter

\def\@maketitle{%
  \newpage
  \null
\vbox to \textheight{\vbox to \textheight{\vfill%
\hbox to 10pc{\hfill%
\begin{minipage}[b]{10pc}
{\@editor\par}%
\ifdim\lastskip>0pt\unskip\fi\vskip 6pt%
{\@reviewer\par}
\ifdim\lastskip>0pt\unskip\fi\vskip 6pt%
{\@correspondence\par}%
\ifdim\lastskip>0pt\unskip\fi\vskip 6pt%
{\@metanote}%
\end{minipage}}}
\hspace*{11pc}
\vbox to \textheight{\vspace*{-44pc}%
\hbox to 10pc{\hfill%
\begin{minipage}[b]{31pc}
  \let \footnote \thanks
    {\raggedright\fontsize{18pt}{20pt}\selectfont\@title \par}%
    \vskip 1.5em%
    {\large
      \lineskip .5em%
      \begin{tabular}[t]{l}%
        \raggedright\@author
      \end{tabular}\par}%
    \vskip 1em%
    {\@abstract\par}
    \vskip 1em%
    {\@keywords\par}
    \vskip 1em%
    {\@firstpara\par}
   \end{minipage}}}}%
  \par
  \vskip 8.5em}

\def\@editor{}
\def\editor#1{%
     \gdef\@editor{\raggedright \textbf{Edited by:}\newline #1}}

\newcommand\reviewerhead{\raggedright \textbf{Reviewed by:}\newline}

\def\@reviewer{}
\def\reviewer#1{%
     \gdef\@reviewer{\reviewerhead #1}}

\def\@metanote{}
\def\metanote#1{%
     \gdef\@metanote{\raggedright  #1}}

\def\@correspondence{}
\def\correspondence#1{%
     \gdef\@correspondence{\textbf{\textit{*Correspondence:}}\newline%
       \raggedright  #1}}

\def\@abstract{}
\def\abstract#1{%
     \gdef\@abstract{\fontsize{9.5}{11.5}\selectfont #1}}

\def\@keywords{}
\def\keywords#1{%
     \gdef\@keywords{\textbf{Keywords:} #1}}

\def\@firstpara{}
\def\firstpara#1{%
     \gdef\@firstpara{ #1}}

\makeatother

\begin{document}

\title{Hormonal crosstalk for root development}
\author[1]{Junli Liu}
\author[2]{James Rowe}
\author[2]{Keith Lindsey}
\affil[1]{Integrative Cell Biology Laboratory, School of Biological and Biomedical Sciences, The Bio physical Sciences Institute, Durham University, Durham, UK}
\editor{Wagner L. Ara\'{u}jo, Universidade Federal de Vi\c{c}osa, Brazil}
%\reviewer{Jedrzej Jakub Szymanski, Max Planck Institute of Molecular Plant Physiology, Germany }
%\reviewer{Dimas Mendes Ribeiro, Universidade Federal de Vi\c{c}osa, Brazil}
\correspondence{%\protect\includegraphics{Saravana.jpg}\newline
Keith Lindsey is Professor of Plant Molecular Biology in the School of Biological and Biomedical Science sat Durham University, UK. His research interests are in understanding how genes and signaling systems regulate the development of plants. Most of his work is with the model experimental organism Arabidopsis thaliana.\newline \href{mailto:[email protected]}{[email protected]}}
\abstract{Plants are sessile organisms and therefore they must adapt their growth and architecture to a changing environment.}
\metanote{$\dagger$Joint corresponding authors}
\keywords{root development, POLARIS peptide, hormonal crosstalk, osmotic stress, kinetic modelin}
\firstpara{\section*{Introduction}
Hormone signaling systems coordinate plant growth and development through a range of com- plex interactions. The activities of hormones such as auxin, ethylene, cytokinin, abscisic acid, gibberellin, and brassinosteroids depend on cellular context and exhibit either synergistic or antagonistic interactions. Additionally, auxin is directionally transported through plant tissues, providing positional and vectorial information during development (Vanneste and Friml, 2009).\hfilneg}
\maketitle



\noindent Patterning in Arabidopsis root development is coordinated via a localized auxin concentration maximum in the root tip (Sabatini et al., 1999), requiring the regulated expression of speciÞc genes.

\end{document}

输出:

在此处输入图片描述

相关内容