如何在乳胶中的参考文献/参考书目后放置一些图表

如何在乳胶中的参考文献/参考书目后放置一些图表

我打算向会议提交一篇论文,该论文要求一些图表应位于参考文献/书目之后。在 LaTeX 中可以做到这一点吗?

附言:我并不是说 LaTeX 会将图片放在参考文献中,而我想将它们移到参考文献之前 - 我知道这方面存在很多问题和解决方案。我问的是相反的问题。

答案1

下面是一个示例论文,其末尾附加了两个图表。

首先,将figure环境放在创建参考书目的命令之后(在代码中\printbibliographgybiblatex

其次,使用可选参数[p][tbh]。后者很常见,只要有足够的空间,图形就会出现在文本中,这里紧跟在参考书目之后。另一方面,[p]将导致图形出现在单独的浮动页面这意味着无论参考书目后还剩多少空间,前面都会添加分页符。

filecontents创建所需的文件biblatex\jobname扩展为主文档的名称,例如,output如果主文件是output.tex。因此\jobname.bib将变成output.bib

附注:您可能想要尝试在一个figure环境中收集图像并控制它们之间的间隙;如果您喜欢不同的间隙,请更改\bigskip为,例如。\vspace{...}\vspace{1cm}

\begin{figure}[p]
  \centering
  \includegraphics[scale=0.65]{example-image-a}
  \caption{Image A}\label{fig:A}

  \bigskip

  \includegraphics[scale=0.65]{example-image-a}
  \caption{Image B}\label{fig:B}
\end{figure}

主要代码:

\begin{filecontents}[overwrite]{\jobname.bib}
@article{frie2002,
    author  = {Jonathan Friedland},
    title   = {Across the Divide},
    journal = {Guardian}, 
    pages   = {10-11},
    date    = {2002-01-15},
    entrysubtype = {newspaper},
    url     = {https://www.theguardian.com/uk},
    urldate = {2016-09-16},
}
@book{ref:murphy2012,
  title = {Machine Learning: A Probabilistic Perspective},
  author = {Murphy, Kevin P.},
  date = {2012},
  series = {Adaptive {{Computation}} and {{Machine Learning}} Series},
  publisher = {{The MIT Press}},
  abstract = {A comprehensive introduction to machine learning that uses probabilistic models and inference as a unifying approach.},
  isbn = {978-0-262-01802-9},
  url = {http://www.example.url.address},
  file = {/home/ziko/Documents/research/papers/pdfs/Murphy/2012/murphy_2012_machine learning.pdf}
}
@www{GoogleWWW,
  title        = {Google website},
  author       = {Google},
  url = {https://www.google.com},
  year         = 2022,
  note         = {Accessed:2022-07-23},
}
@online{CitekeyMiscAudio,
  title        = {Audio: The 'Other' Red Planet},
  author       = {NASA},
  url = {https://www.nasa.gov/nh/pluto-the-other-red-planet},
  year         = 2015,
  note         = {Accessed: 2018-12-06},
}
@online{CitekeyMiscVideo,
  title        = {Video: The 'Other' Red Planet},
  author       = {NASA},
  url = {https://www.nasa.gov/nh/pluto-the-other-red-planet},
  year         = 2015,
  note         = {Accessed: 2018-12-06},
}
\end{filecontents}
%%% 
\documentclass{article}
\usepackage{blindtext}
\usepackage{graphicx}
\usepackage{biblatex}

\addbibresource{\jobname.bib}
\title{\bfseries The Title}
\author{Xxxxxx Yyyyyyy}
\date{}


\begin{document}
\maketitle
\blindmathpaper\Blinddocument
\nocite{*}
\printbibliography

\begin{figure}[p]
  \centering
  \includegraphics[scale=0.65]{example-image-a}
  \caption{Image A}\label{fig:A}
\end{figure}
  
\begin{figure}[p]
  \centering
  \includegraphics[scale=0.65]{example-image-b}
  \caption{Image B}\label{fig:B}
\end{figure}
\end{document}

相关内容