参考书目和目录

参考书目和目录

当我运行代码并生成 pdf(从 Texstudio 中的工具到命令到 biber)时,参考文献页面并没有为参考文献提供数字编号,而是形成了一个小框。

\documentclass[11pt]{beamer}
\usetheme[progressbar=frametitle]{metropolis}
\setbeamertemplate{frame numbering}[fraction]
\setbeamercolor{progress bar}{fg=green,bg=blue}
\makeatletter
\setlength{\metropolis@progressinheadfoot@linewidth}{3pt}
\makeatother
\usepackage{tikz}
\usetikzlibrary{calc}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{wrapfig}
\usepackage{float}
\usepackage[style=numeric]{biblatex}
\addbibresource{references.bib}


    \author{Anshul Sharma}
\title{Symmetry in Quantum Mechanics}
\institute {CENTRAL UNIVERSITY OF HIMACHAL PRADESH}
\begin{document}
      \begin{frame}[plain]
        \begin{tikzpicture}[remember picture, overlay]
        \node[anchor=north east] at ($(current page.center)+(-2,-2)$){\includegraphics[width=0.3\linewidth, scale=0.1]{"CUHP LOGO"}
    }
        ;
        \end{tikzpicture}
        \maketitle
    \end{frame}
\begin{frame}
    \frametitle{Overview}
    \tableofcontents
\end{frame}

\begin{frame}\vspace{-5cm}
\frametitle{Symmetries in Classical Physics}
Hi\cite{Cosmic} Bye\cite{PeriodicPotential}
\end{frame}
\begin{frame}\vspace{-5cm}
    \frametitle{Translation Symmetry}
\end{frame}
\begin{frame}\vspace{-5cm}
    \frametitle{Rotational Symmetry}
\end{frame}
\begin{frame}\vspace{-5cm}
    \frametitle{Degeneracy}
\end{frame}
\begin{frame}\vspace{-5cm}
    \frametitle{Parity}
\end{frame}
\begin{frame}\vspace{-5cm}
    \frametitle{Time Reversal Symmetry}
\end{frame}
\begin{frame}\vspace{-5cm}
    \frametitle{Symmetries in Dirac Equation}
\end{frame}
\begin{frame}
    \printbibliography
\end{frame}



\end{document}

另外如何在投影仪中添加目录。我是否需要添加部分/子部分命令来生成 pdf,或者框架标题将完成其工作。

我的围兜文件

@misc{goldstein2002classical,
  title={Classical mechanics},
  author={Goldstein, Herbert and Poole, Charles and Safko, John},
  year={2002},
  publisher={American Association of Physics Teachers}
}
@misc{zettili2003quantum,
    title={Quantum mechanics: concepts and applications},
    author={Zettili, Nouredine},
    year={2003},
    publisher={American Association of Physics Teachers}
}
@book{griffiths2018introduction,
    title={Introduction to quantum mechanics},
    author={Griffiths, David J and Schroeter, Darrell F},
    year={2018},
    publisher={Cambridge University Press}
}
@book{chaichian1997symmetries,
    title={Symmetries in Quantum Mechanics: From Angular Momentum to Supersymmetry (PBK)},
    author={Chaichian, M. and Hagedorn, R.},
    isbn={9780750304085},
    lccn={97048375},
    series={Graduate Student Series in Physics},
    url={https://books.google.co.in/books?id=pEhjQgAACAAJ},
    year={1997},
    publisher={Taylor \& Francis}
}
@article{article,
author = {Vaccaro, Joan},
year = {2015},
month = {02},
pages = {},
title = {Quantum asymmetry between time and space},
volume = {472},
journal = {Proceedings of the Royal Society A: Mathematical, Physical and Engineering Science},
doi = {10.1098/rspa.2015.0670}
}
@book{sakurai2014modern,
  title={Modern quantum mechanics},
  author={Sakurai, Jun John and Napolitano, Jim and others},
  volume={185},
  year={2014},
  publisher={Pearson Harlow}
}
@MISC{Pinterest,
    author = {{Google images}},
    title = {Noether Theorem},
    year = {2020},
    note = {[Online; accessed May 7, 2020]},
    url = {https://www.pinterest.es/pin/322851867018550297/?amp_client_id=CLIENT_ID(_)&mweb_unauth_id=&from_amp_pin_page=true}
}
@MISC{Cosmic,
    author = {{Google images}},
    title = {Beta decay},
    year = {2020},
    note = {[Online; accessed May 13, 2020]},
    url = {http://cosmic-horizons.blogspot.com/2014/04/the-greatest-experiment-youve-never.html}
}
@MISC{PeriodicPotential,
    author = {{PDF}},
    title = {Periodic Poetntial},
    year = {2020},
    note = {[Online; accessed May25 , 2020]},
    url = {http://www.physics.rutgers.edu/~eandrei/chengdu/reading/Energy_Bands.pdf}
}
@MISC{Energy,
    author = {{Google images}},
    title = {Energy Degenracy lifting up},
    year = {2020},
    note = {[Online; accessed May 25, 2020]},
    url = {https://i.stack.imgur.com/ixmAe.png}
}
@book{boas2006mathematical,
  title={Mathematical methods in the physical sciences},
  author={Boas, Mary L},
  year={2006},
  publisher={John Wiley \& Sons}
}
@book{schwabl2012advanced,
  title={Advanced quantum mechanics},
  author={Schwabl, Franz},
  year={2012},
  publisher={World Publishing Corporation}
}
@article{article,
author = {Jugdutt, B. and Marsiglio, F.},
year = {2012},
month = {11},
pages = {},
title = {Solving for three-dimensional central potentials using matrix mechanics}
}
@article{article1,
author = {Jelic, V. and Marsiglio, F.},
year = {2012},
month = {09},
pages = {},
title = {The double-well potential in quantum mechanics: A simple, numerically exact formulation},
volume = {33},
journal = {European Journal of Physics},
doi = {10.1088/0143-0807/33/6/1651}
}

答案1

与原始代码相比的变化:

  1. 参考文献列表中的数字代替了小图像:我将其添加\setbeamertemplate{bibliography item}{\insertbiblabel}到了序言中。另请参阅:如何获取 Beamer 书目中的编号条目

  2. “参考文献”幻灯片中的重复标题:该\printbibliography命令会插入其自己的“参考文献”标题。如果您还使用该\frametitle命令,则最终会得到两个“参考文献”标题。要解决此问题,请使用[heading=none]中的选项\printbibliography[heading=none]

  3. 添加目录:为了获取目录,请在文档中使用\section和命令。如果每个框架都在其自己的部分中,您可能还需要添加以禁用主题自动插入的部分框架。为了避免重复部分标题,您可以使用以下命令访问当前部分的名称。\subsection\metroset{sectionpage=none}metropolis\frametitle\secname

  4. 垂直对齐:为了使所有框架中的内容顶部对齐,请添加选项,t\documentclass[11pt,t]{beamer}。如果您想局部更改对齐方式,请将选项添加到环境中,frame\begin{frame}[t]。另请参阅:将内容定位在投影仪幻灯片的顶部(默认)

以下是完整的 MWE:

\documentclass[11pt,t]{beamer} %<----- top align all frame contents
\usetheme[progressbar=frametitle]{metropolis}
\setbeamertemplate{frame numbering}[fraction]
\setbeamercolor{progress bar}{fg=green,bg=blue}
\makeatletter
\setlength{\metropolis@progressinheadfoot@linewidth}{3pt}
\makeatother
\metroset{sectionpage=none} %<----- remove all section frames
\usepackage{tikz}
\usetikzlibrary{calc}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{wrapfig}
\usepackage{float}
\usepackage[style=numeric]{biblatex}
\addbibresource{references.bib}
\setbeamertemplate{bibliography item}{\insertbiblabel} % <--- number references

\begin{document}
\begin{frame}
    \frametitle{Overview}
    \tableofcontents
\end{frame}

\section{Symmetries in Classical Physics} % <---- add sections in order to get them listed in the table of contents
\begin{frame}{\secname} % <----- \secname here used the section's name as a frametitle
Hi\cite{Cosmic} Bye\cite{PeriodicPotential}
\end{frame}

\section{Translation Symmetry}
\begin{frame}{\secname}
\end{frame}

\section{Rotational Symmetry}
\begin{frame}{\secname}
\end{frame}

\section{Degeneracy}
\begin{frame}{\secname}
\end{frame}

\section{Parity}
\begin{frame}{\secname}
\end{frame}

\section{Time Reversal Symmetry}
\begin{frame}{\secname}
\end{frame}

\section{Symmetries in Dirac Equation}
\begin{frame}{\secname}
\end{frame}

\section{References}
\begin{frame}{\secname}
    \printbibliography[heading=none] % <----- heading= none is added in order to prevent a duplicate heading
\end{frame}



\end{document}

答案2

您需要添加以下部分--

添加的图片用于背景,可以根据选择进行更改

所有代码取自--Beamer 中的目录 投影机

\documentclass{beamer}
\usetheme{Boadilla}
\usepackage{tikz}

\begin{document}
    
    \setbeamertemplate{background}{%
        \tikz\node[opacity=0.3] at (current page.center) 
         {\includegraphics[height=\paperheight]{example-image}};}
    \begin{frame}
        \frametitle{Outline}
        \tableofcontents
    \end{frame}
    
    \setbeamertemplate{background}{}
    \section{Test Section One}
    \begin{frame}
        Contents of section one
    \end{frame}
    
    \section{Test Section Two}
    \begin{frame}
        Contents of section two
    \end{frame}
    
    \section{Test Section Three}
    \begin{frame}
        Contents of section three
    \end{frame}
    
\end{document}

在此处输入图片描述

相关内容