如何在 MDPI 期刊的标题页(左上角)添加徽标?

如何在 MDPI 期刊的标题页(左上角)添加徽标?

我尝试了以下代码,但该代码将徽标放在了第二页。

\documentclass[journal,article,submit,moreauthors,pdftex,10pt,a4paper]{mdpi} 
\usepackage{fancyhdr}
\pagestyle{fancy}

\begin{document}

\lhead{\includegraphics[width = 0.3\textwidth]{nanomaterials-logo.png}}

\end{document}

答案1

要添加徽标,您需要更改\@maketitle以下部分中的命令(请参阅标有 ​​的添加代码<====):

        \ifthenelse{\equal{\@status}{submit}}{% 
            \includegraphics[width = 0.3\textwidth]{example-image-a} % <==================
            \hfill \href{http://www.mdpi.com}{%
            \includegraphics[height=1cm]{logo-mdpi}}\vspace{0.5cm}%
            }

使用以下完整的 MWE

\documentclass[% 
  journal,
  article,
  submit,
  moreauthors,
  pdftex,
  10pt,
  a4paper
]{mdpi}

\usepackage{fancyhdr}
\pagestyle{fancy}
\usepackage{blindtext} % <========================================

\Title{Title}
\Author{Firstname Lastname $^{1,\dagger,\ddagger}$\orcidA{}, Firstname Lastname $^{1,\ddagger}$ and Firstname Lastname $^{2,}$*}
\newcommand{\orcidauthorA}{0000-0000-000-000X}
\address[1]{%
$^{1}$ \quad Affiliation 1; [email protected]}


\makeatletter
%%%% Maketitle part 1: Logo, Arttype, Title, Author
\renewcommand{\@maketitle}{
    \begin{flushleft}
    \ifthenelse{\equal{\@arttype}{Supfile}}{%
        \fontsize{18}{18}\selectfont
        \raggedright
        \noindent\textbf{Supplementary Materials: \@Title}%
        \par
        \vspace{12pt}
        \fontsize{10}{10}\selectfont
        \noindent\boldmath\bfseries{\@Author}
        }{%
        \ifthenelse{\equal{\@arttype}{Book}}{}{%
            \vspace*{-1.75cm}
            }
        {%0
        \ifthenelse{\equal{\@journal}{preprints}
            \OR \equal{\@arttype}{Book}}{}{%
                \ifthenelse{\equal{\@status}{submit}}{% 
          \includegraphics[width = 0.3\textwidth]{example-image-a} % <==================
                    \hfill \href{http://www.mdpi.com}{%
                    \includegraphics[height=1cm]{logo-mdpi}}\vspace{0.5cm}%
                    }{
                    \href{http://www.mdpi.com/journal/\@journal}{
                    \includegraphics[height=1.2cm]{\@journal-logo}}%
                    \hfill
                    \ifthenelse{\equal{\@journal}{proceedings}}{
                        \href{http://www.mdpi.com/journal/\@journal}{
                        \includegraphics[height=1.2cm]{logo-conference}
                        \hfill}
                        }{}
                    \ifthenelse{\equal{\@journal}{scipharm}}{%
                        \href{http://www.mdpi.com}{\includegraphics[height=1cm]{logo-mdpi-scipharm}}%
                        }{%
                        \href{http://www.mdpi.com}{\includegraphics[height=1cm]{logo-mdpi}}%
                        }%
                    }%
            }%
        \par
        }%0
        {%1
            \vspace{14pt}
            \fontsize{10}{10}\selectfont
        \ifthenelse{\equal{\@arttype}{Book}}{}{
            \ifthenelse{\equal{\@arttype}{Reprint}}{%
                \textit{\ifthenelse{\equal{\@originalarttype}{\@empty}}{Article}{\@originalarttype}}%
                }{%
                \textit{\@arttype}%
                }%
            }%  
        \par%
            }%1
            {%2
        \vspace{-1pt}
        \fontsize{18}{18}\selectfont
        \boldmath\bfseries{\@Title}
        \par
        \vspace{15pt}
        }%2
        {%3
            \boldmath\bfseries{\@Author}
            \par
            \vspace{-4pt}
            }%3
        }
    \end{flushleft}%
    }
\makeatother



\begin{document}

\Blindtext % <=================================

\end{document}

你得到了想要的结果:

生成的标题页

你向该期刊投稿过文章吗?那么我猜他们不希望你更改布局。请在提交前询问是否可以更改布局!

答案2

\flushleft在 mdpi.cls 的第 1151 行中用作\flushleft{\includegraphics[height=1cm]{logo-mdpi}}}\vspace{0.5cm}%

在此处输入图片描述

答案3

论文被接受后,编辑部会将班级选项“提交”更改为“接受”。这只会对首页(例如,期刊徽标将可见)、标题和版权信息进行更改。此外,行号也将被删除。编辑部还将为已接受的论文分配期刊信息和分页。

相关内容