删除 BEAMER 参考书目的页码,因为这些页码超出了框架范围

删除 BEAMER 参考书目的页码,因为这些页码超出了框架范围

我想要一个带有参考书目的 Beamer 演示文稿。它应该采用双栏布局,并且最好没有页码(或者,即使较长的参考书目分几张幻灯片写成,也应该从参考书目之前的最后一张幻灯片开始按页码编号)。

\bibliography只有当论点写在\frame(或)论点之外时,我才能将参考书目按照所需的布局写在几张幻灯片上\begin{frame}

问题是我获取的参考书目中的页码在整个参考书目中重复出现,并且自上次以来一直相同(即被阻止) 。我尝试了几个命令(例如,或或或) \frame,但没有成功 。\nopagenumbering\pagenumbering{gobble}\pagestyle{empty}\renewcommand{\thepage}{}

有人有解决方案或想法吗?提前谢谢您!

天空之城

这是一个可重现的示例:首先是名为“refs.bib”的文件:

@article{a,
author = { Anat   Freund   PhD },
title = {Commitment and Job Satisfaction as Predictors of Turnover          Intentions Among Welfare Workers},
journal = {Administration in Social Work},
volume = {29},
number = {2},
pages = {5-21},
year  = {2005},
publisher = {Routledge}


}



@article{b,
author = { Louis A.   Penner  and  Alison R.   Midili  and  Jill       Kegelmeyer },
title = {Beyond Job Attitudes: A Personality and Social Psychology     Perspective on the Causes of Organizational Citizenship Behavior},
journal = {Human Performance},
volume = {10},
number = {2},
pages = {111-131},
year  = {1997},
publisher = {Routledge}

}

@article{c,
title = "The influence of job satisfaction on child welfare worker's desire     to stay: An examination of the interaction effect of self-efficacy and     supportive supervision",
journal = "Children and Youth Services Review",
volume = "32",
number = "4",
pages = "482 - 486",
year = "2010",
issn = "0190-7409",
author = "Szu-Yu Chen and Maria Scannapieco",
keywords = "Child welfare, Worker retention, Job satisfaction, Supervisor's     support, Work related self-efficacy"
}


@article{d,
title = "Job conditions, unmet expectations, and burnout in public child     welfare workers: How different from other social workers?",
journal = "Children and Youth Services Review",
volume = "33",
number = "2",
pages = "358 - 367",
year = "2011",
issn = "0190-7409",
author = "Hansung Kim",
keywords = "Child welfare, Job stress, Depersonalization, Social workers"
}

@article{e,
author = {Petersen, Michael Bang and Sznycer, Daniel and Cosmides, Leda and         Tooby, John},
title = {Who Deserves Help? Evolutionary Psychology, Social Emotions, and       Public Opinion about Welfare},
journal = {Political Psychology}}    

二、主要文件:

\documentclass[12pt]{beamer} 

\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{color}
\usepackage{multicol}
\usepackage{natbib}
\usepackage{pstricks}
\usepackage[absolute,overlay]{textpos}
\usepackage{tikz}
\usepackage{array}
\usepackage{amsmath}
\usepackage{xcolor}
\usepackage{graphics}
\setbeamertemplate{items}[ball]
\usepackage{appendixnumberbeamer}
\mode<presentation>{}

\usetheme{Warsaw}

\addtocontents{toc}{\protect\thispagestyle{empty}}
\pagenumbering{gobble}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\vspace*{0.6cm}
\title[small title]{{\large{Big title}}}

\author[J. Deuf]{John Deuf}
\vspace{1cm}
\institute{ \Large{National center of research}

}

\date{1st of january 2043}

\setbeamertemplate{navigation symbols}{}
\addtobeamertemplate{footline}        {\hfill\insertframenumber/\inserttotalframenumber\hspace{2em}\null}

\begin{document}

{
\setbeamertemplate{headline}{}
\begin{frame}[plain]
\vspace{-1cm}
\maketitle
\end{frame}
}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\begin{frame}
\section{Part1}
\frametitle{Title1}




\nocite{ a,b,c,d,e}



\end{frame}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


\begin{frame}
\section{Part2}
\frametitle{Title2}




\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


\begin{frame}
\section{Part3}
\frametitle{Title3}

\end{frame}


{


\begin{multicols}{2}
\color{black}
\frametitle{} 
\bibliographystyle{alpha}
\small

\bibliography{refs}
\end{multicols}


}


\end{document}

答案1

以下代码除了不是两列外,应该可以满足您的所有要求。

  • 你不需要\usepackage{color} \usepackage{xcolor} \usepackage{graphics}使用投影仪

  • 如果您的 beamer 版本比较新,您可以使用\setbeamertemplate{page number in head/foot}[appendixframenumber]它将帧号添加到脚注中。

  • 如果你使用plain框架作为标题页,则无需手动删除标题,因为普通框架默认没有标题

  • 切勿\section在框架内使用,它们只能在框架外使用

  • 要将您的参考书目框架拆分到多张幻灯片上,您可以使用选项allowframebreaksnoframenumbering将排除该框架,从而增加框架数。或者,您可以\appendix在此框架之前使用。

  • 要在参考书目幻灯片上不显示任何页码,可以使用以下命令删除它们\setbeamertemplate{page number in head/foot}{}

  • 语法\large{Big title}不正确,这些字体大小命令是开关,不接受参数。正确的语法应该是\large Big title,但最好不要将格式指令放在宏的参数中,\title而是设置适当的投影机字体\setbeamerfont{title}{size=\large}

  • 此行\mode<presentation>{}是多余的,没有任何作用

  • 序言中的所有间距说明\vspace*{0.6cm}等都没有意义


\documentclass[12pt]{beamer} 

\usepackage{filecontents}
\begin{filecontents*}{\jobname.bib}
@article{a,
author = { Anat   Freund   PhD },
title = {Commitment and Job Satisfaction as Predictors of Turnover          Intentions Among Welfare Workers},
journal = {Administration in Social Work},
volume = {29},
number = {2},
pages = {5-21},
year  = {2005},
publisher = {Routledge}


}



@article{b,
author = { Louis A.   Penner  and  Alison R.   Midili  and  Jill       Kegelmeyer },
title = {Beyond Job Attitudes: A Personality and Social Psychology     Perspective on the Causes of Organizational Citizenship Behavior},
journal = {Human Performance},
volume = {10},
number = {2},
pages = {111-131},
year  = {1997},
publisher = {Routledge}

}

@article{c,
title = "The influence of job satisfaction on child welfare worker's desire     to stay: An examination of the interaction effect of self-efficacy and     supportive supervision",
journal = "Children and Youth Services Review",
volume = "32",
number = "4",
pages = "482 - 486",
year = "2010",
issn = "0190-7409",
author = "Szu-Yu Chen and Maria Scannapieco",
keywords = "Child welfare, Worker retention, Job satisfaction, Supervisor's     support, Work related self-efficacy"
}


@article{d,
title = "Job conditions, unmet expectations, and burnout in public child     welfare workers: How different from other social workers?",
journal = "Children and Youth Services Review",
volume = "33",
number = "2",
pages = "358 - 367",
year = "2011",
issn = "0190-7409",
author = "Hansung Kim",
keywords = "Child welfare, Job stress, Depersonalization, Social workers"
}

@article{e,
author = {Petersen, Michael Bang and Sznycer, Daniel and Cosmides, Leda and         Tooby, John},
title = {Who Deserves Help? Evolutionary Psychology, Social Emotions, and       Public Opinion about Welfare},
journal = {Political Psychology}}    
\end{filecontents*}


\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
%\usepackage{color}
\usepackage{multicol}
\usepackage{natbib}
\usepackage{pstricks}
\usepackage[absolute,overlay]{textpos}
\usepackage{tikz}
\usepackage{array}
\usepackage{amsmath}
%\usepackage{xcolor}
%\usepackage{graphics}
\setbeamertemplate{items}[ball]
%\usepackage{appendixnumberbeamer}
%\mode<presentation>{}

\usetheme{Warsaw}

\addtocontents{toc}{\protect\thispagestyle{empty}}
\pagenumbering{gobble}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\setbeamerfont{title}{size=\large}
\setbeamerfont{institute}{size=\Large}

%\vspace*{0.6cm}
\title[small title]{Big title}

\author[J. Deuf]{John Deuf}
%\vspace{1cm}
\institute{National center of research}


\date{1st of january 2043}

\setbeamertemplate{navigation symbols}{}
\setbeamertemplate{page number in head/foot}[appendixframenumber]
%\addtobeamertemplate{footline}        {\hfill\insertframenumber/\inserttotalframenumber\hspace{2em}\null}

\begin{document}

%{
%\setbeamertemplate{headline}{}
\begin{frame}[plain]
%\vspace{-1cm}
\maketitle
\end{frame}
%}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{Part1}
\begin{frame}

\frametitle{Title1}




\nocite{ a,b,c,d,e}



\end{frame}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\section{Part2}
\begin{frame}

\frametitle{Title2}




\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\section{Part3}
\begin{frame}

\frametitle{Title3}

\end{frame}


\setbeamertemplate{page number in head/foot}{}
\begin{frame}[allowframebreaks,noframenumbering]
%\begin{multicols}{2}
\color{black}
\frametitle{} 
\bibliographystyle{alpha}
\small

\bibliography{\jobname}
%\end{multicols}
\end{frame}



\end{document}

在此处输入图片描述

在此处输入图片描述

相关内容