【问题标题】:Bibliography style and line breaks in Beamer-posterBeamer-poster 中的参考书目样式和换行符
【发布时间】:2019-08-06 18:50:51
【问题描述】:

我正在通过投影仪制作海报,发现我的参考书目风格存在问题。我希望我的引用使用海报中可用的完整水平空间,例如:

(1) Authors. Title. Journal.

但取而代之的是,每个引用都分为 3 行:

(1) Authors

    Title

    Journal

示例

这是我一直在使用的参考书目代码:

\begin{block}{References}
\small
\bibliographystyle{sbc}
\bibliography{referencias.bib}
\end{block}

【问题讨论】:

    标签: latex beamer bibtex


    【解决方案1】:

    可以通过像这样设置参考书目模板来避免换行:

    \setbeamertemplate{bibliography entry article}{}
    \setbeamertemplate{bibliography entry title}{}
    \setbeamertemplate{bibliography entry location}{}
    \setbeamertemplate{bibliography entry note}{}
    

    MWE:

    \documentclass{beamer}
    
    \usepackage{filecontents}
    \begin{filecontents*}{\jobname.bib}
    @book{knuth,
      author       = {Knuth, Donald E.},
      title        = {The {\TeX} book},
      date         = 1984,
      maintitle    = {Computers \& Typesetting},
      volume       = {A},
      publisher    = {Addison-Wesley},
      location     = {Reading, Mass.},
      langid       = {english},
      langidopts   = {variant=american},
      sortyear     = {1984-1},
      sorttitle    = {Computers & Typesetting A},
      indexsorttitle= {The TeXbook},
      indextitle   = {\protect\TeX book, The},
      shorttitle   = {\TeX book}
    }
    \end{filecontents*}
    
    \setbeamertemplate{bibliography entry article}{}
    \setbeamertemplate{bibliography entry title}{}
    \setbeamertemplate{bibliography entry location}{}
    \setbeamertemplate{bibliography entry note}{}
    
    \begin{document}
    
    \begin{frame}
    \cite{knuth}
    \begin{block}{References}
    \small
    \bibliographystyle{plain}
    \bibliography{\jobname}
    \end{block} 
    \end{frame}
    
    \end{document}
    

    【讨论】:

    • 不错。谢谢你:)
    • @GabrielLucas 感谢您提出有关投影仪的问题!他们是我最喜欢的问题!
    猜你喜欢
    • 2018-10-07
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-02-03
    • 2020-02-04
    • 1970-01-01
    相关资源
    最近更新 更多