仅在首页上显示徽标

仅在首页上显示徽标

目前,我所有页面的右下角都有一个徽标。

我只想在第一页上显示它,即目录、图表列表等。当文本开始时,我不想再显示徽标。我添加了图片,addtoshipoutpicture我的代码是:

我注释掉了这些章节。

  \documentclass[a4paper,   
            12pt,                               
            bibliography=totoc,     
            index=totoc,    
            abstracton,     
            headsepline,    
            ]{scrreprt}
    \usepackage{latexsym}             
    \usepackage[latin1]{inputenc}   
    \usepackage[ngerman,english]{babel}   
    \usepackage[T1]{fontenc}
    \usepackage{graphicx,eso-pic,lipsum}
    \usepackage{tocstyle}
    \usetocstyle{allwithdot} 
    \usepackage[top=2cm,bottom=2.2cm]{geometry}
    \usepackage{calligra}




\setlength{\footskip}{10mm} 
\begin{document}                    



\newpage

\clearpage

\AddToShipoutPicture{
\hspace{14cm}
 {\includegraphics[scale=0.6]{logosblack.jpg}}}

\newpage

\noindent
\begin{minipage}[c][\textheight][c]{\textwidth}
\vspace{-10cm}{\fontfamily{calligra}\selectfont \begin{huge} \hspace{2cm}To my parents and siblings. \end{huge}}
\end{minipage}


\newpage
\tableofcontents
\newpage
\listoffigures
\newpage
\listoftables
\newpage
\setcounter{page}{1}


%\input{Chapter1} 
%\input{Chapter2}
%\newpage
%\input{Chapter3}
%\newpage
%\input{Appendix}
\newpage

% no logos here !!!!!!
Text text .....
\end{document}                                           

我怎样才能实现这个目标?

答案1

您应该\ClearShipoutPicture在您不想显示徽标的页面开始之前使用它。

请注意,\AddToShipoutPicture*(加星号的版本)可用于在单个页面中显示徽标。

  \documentclass[a4paper,   
            12pt,                               
            bibliography=totoc,     
            index=totoc,    
            abstracton,     
            headsepline,    
            ]{scrreprt}
    \usepackage{latexsym}             
    \usepackage[latin1]{inputenc}   
    \usepackage[ngerman,english]{babel}   
    \usepackage[T1]{fontenc}
    \usepackage{graphicx,eso-pic,lipsum}
    \usepackage{tocstyle}
    \usetocstyle{allwithdot} 
    \usepackage[top=2cm,bottom=2.2cm]{geometry}
    \usepackage{calligra}




\setlength{\footskip}{10mm} 
\begin{document}                    



\newpage

\clearpage

\AddToShipoutPicture{
\hspace{14cm}
 {\includegraphics[scale=0.6]{logosblack.jpg}}}

\newpage

\noindent
\begin{minipage}[c][\textheight][c]{\textwidth}
\vspace{-10cm}{\fontfamily{calligra}\selectfont \begin{huge} \hspace{2cm}To my parents and siblings. \end{huge}}
\end{minipage}


\newpage
\tableofcontents
\newpage
\listoffigures
\newpage
\listoftables
\newpage
\setcounter{page}{1}


%\input{Chapter1} 
%\input{Chapter2}
%\newpage
%\input{Chapter3}
%\newpage
%\input{Appendix}
\newpage

% no logos here !!!!!!
\ClearShipoutPicture % From here on no logo
Text text .....
\end{document}   

答案2

只需使用\AddToShipoutPicture*而不是\AddToShipoutPicture

相关内容