在脚注中显示来源

在脚注中显示来源

我该如何格式化我的 LaTeX 文档以便在脚注中看到我的来源?

\documentclass[10.5pt,a4paper,oldfontcommands]{memoir}

\usepackage[polutonikogreek, latin, english, french, ngerman]{babel}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{microtype}
\usepackage[dvips]{graphicx}
\usepackage{xcolor}
\usepackage{times}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsthm}
\usepackage{latexsym}
\usepackage{stmaryrd}
\usepackage{enumerate}
\usepackage{nicefrac}
\usepackage[all]{xy}
\usepackage{tabularx}
\usepackage{pst-plot,pstricks}
\usepackage{varwidth}
\usepackage{thmtools}
\usepackage{enumitem}
\usepackage{geometry}
\usepackage{float}
\usepackage{siunitx}


\floatstyle{boxed} 
\restylefloat{figure} 
\usepackage{pgfplots}
\usepackage{filecontents}

\usepackage[
breaklinks=true,colorlinks=true,
%linkcolor=blue,urlcolor=blue,citecolor=blue,% PDF VIEW
linkcolor=black,urlcolor=black,citecolor=black,% PRINT
bookmarks=true,bookmarksopenlevel=2]{hyperref}

\usepackage{geometry}
\geometry{total={210mm,297mm},
left=20mm,right=20mm,
bindingoffset=10mm, top=25mm,bottom=25mm}

\OnehalfSpacing
%\linespread{1.3}

%%% CHAPTER'S STYLE
\chapterstyle{lyhne}
%%% STYLE OF SECTIONS, SUBSECTIONS, AND SUBSUBSECTIONS
\setsecheadstyle{\Large\bfseries\sffamily\raggedright}
\setsubsecheadstyle{\large\bfseries\sffamily\raggedright}
\setsubsubsecheadstyle{\bfseries\sffamily\raggedright}

\pagestyle{plain}
\makepagestyle{plain}
\makeevenfoot{plain}{\thepage}{}{}
\makeoddfoot{plain}{}{}{\thepage}
\makeevenhead{plain}{}{}{}
\makeoddhead{plain}{}{}{}

\maxsecnumdepth{subsection} % chapters, sections, and subsections are numbered
\maxtocdepth{subsection} % chapters, sections, and subsections are in the Table of Contents

\bibliographystyle{unsrt}


\begin{document}

Da aber ein Luftpaket nicht eingeschlossen werden kann, ist eine solche Zustandsänderung in der Atmosphäre unwarscheinlich. \cite[S. 203]{sylvie}


\bibliography{literature}

\end{document}

以下是一些围兜条目:

@Book{sylvie, 
  title = {Fondamentaux de Météorologie}, 
  publisher = {Cépaduès-Éditions}, 
  year = {2009}, 
  author = {Sylvie Malardel}, 
  editor = {Meteo France}, 
  edition = {2}, 
  month = jan }

@Book{vladimir, 
  title = {Fundamentals of Lightning}, 
  publisher = {Cambridge University Press}, 
  year = {2016}, 
  author = {Vladimir A. Rakov}, 
  month = {April} }

答案1

嗯,例如您可以使用\footnote{\cite[S. 203]{sylvie}}

梅威瑟:

\RequirePackage{filecontents}
\begin{filecontents*}{\jobname.bib}
@Book{sylvie, 
  title = {Fondamentaux de Météorologie}, 
  publisher = {Cépaduès-Éditions}, 
  year = {2009}, 
  author = {Sylvie Malardel}, 
  editor = {Meteo France}, 
  edition = {2}, 
  month = jan,
}
@Book{vladimir, 
  title = {Fundamentals of Lightning}, 
  publisher = {Cambridge University Press}, 
  year = {2016}, 
  author = {Vladimir A. Rakov}, 
  month = {April},
}
\end{filecontents*}


\documentclass[10.5pt,a4paper,oldfontcommands]{memoir}

\usepackage[polutonikogreek, latin, english, french, ngerman]{babel}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{microtype}
\usepackage[dvips]{graphicx}
\usepackage{xcolor}
\usepackage{times}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsthm}
\usepackage{latexsym}
\usepackage{stmaryrd}
\usepackage{enumerate}
\usepackage{nicefrac}
\usepackage[all]{xy}
\usepackage{tabularx}
\usepackage{pst-plot,pstricks}
\usepackage{varwidth}
\usepackage{thmtools}
\usepackage{enumitem}
\usepackage{geometry}
\usepackage{float}
\usepackage{siunitx}


\floatstyle{boxed} 
\restylefloat{figure} 
\usepackage{pgfplots}


\usepackage[
breaklinks=true,colorlinks=true,
%linkcolor=blue,urlcolor=blue,citecolor=blue,% PDF VIEW
linkcolor=black,urlcolor=black,citecolor=black,% PRINT
bookmarks=true,bookmarksopenlevel=2]{hyperref}

\usepackage{geometry}
\geometry{total={210mm,297mm},
left=20mm,right=20mm,
bindingoffset=10mm, top=25mm,bottom=25mm}

\OnehalfSpacing
%\linespread{1.3}

%%% CHAPTER'S STYLE
\chapterstyle{lyhne}
%%% STYLE OF SECTIONS, SUBSECTIONS, AND SUBSUBSECTIONS
\setsecheadstyle{\Large\bfseries\sffamily\raggedright}
\setsubsecheadstyle{\large\bfseries\sffamily\raggedright}
\setsubsubsecheadstyle{\bfseries\sffamily\raggedright}

\pagestyle{plain}
\makepagestyle{plain}
\makeevenfoot{plain}{\thepage}{}{}
\makeoddfoot{plain}{}{}{\thepage}
\makeevenhead{plain}{}{}{}
\makeoddhead{plain}{}{}{}

\maxsecnumdepth{subsection} % chapters, sections, and subsections are numbered
\maxtocdepth{subsection} % chapters, sections, and subsections are in the Table of Contents

\bibliographystyle{unsrt}


\begin{document}

Da aber ein Luftpaket nicht eingeschlossen werden kann, ist eine solche Zustandsänderung in der Atmosphäre unwarscheinlich. \footnote{\cite[S. 203]{sylvie}} %\footcite[S. 203]{sylvie}


\bibliography{\jobname}

\end{document}

结果如下:

在此处输入图片描述

或者您可以使用包biblatex来获取命令\footcite......

使用包,natbib您可以在序言中添加给定的代码

\usepackage{natbib}

并更改\bibliographystyle{unsrt}

\bibliographystyle{unsrtnat}

结果(仅脚注):

在此处输入图片描述

使用以下方式完成 MWE natbib

\RequirePackage{filecontents}
\begin{filecontents*}{\jobname.bib}
@Book{sylvie, 
  title = {Fondamentaux de Météorologie}, 
  publisher = {Cépaduès-Éditions}, 
  year = {2009}, 
  author = {Sylvie Malardel}, 
  editor = {Meteo France}, 
  edition = {2}, 
  month = jan,
}
@Book{vladimir, 
  title = {Fundamentals of Lightning}, 
  publisher = {Cambridge University Press}, 
  year = {2016}, 
  author = {Vladimir A. Rakov}, 
  month = {April},
}
\end{filecontents*}


\documentclass[10.5pt,a4paper,oldfontcommands]{memoir}

\usepackage[polutonikogreek, latin, english, french, ngerman]{babel}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{natbib} % <=================================================
\usepackage{microtype}
\usepackage[dvips]{graphicx}
\usepackage{xcolor}
\usepackage{times}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsthm}
\usepackage{latexsym}
\usepackage{stmaryrd}
\usepackage{enumerate}
\usepackage{nicefrac}
\usepackage[all]{xy}
\usepackage{tabularx}
\usepackage{pst-plot,pstricks}
\usepackage{varwidth}
\usepackage{thmtools}
\usepackage{enumitem}
\usepackage{geometry}
\usepackage{float}
\usepackage{siunitx}


\floatstyle{boxed} 
\restylefloat{figure} 
\usepackage{pgfplots}


\usepackage[
breaklinks=true,colorlinks=true,
%linkcolor=blue,urlcolor=blue,citecolor=blue,% PDF VIEW
linkcolor=black,urlcolor=black,citecolor=black,% PRINT
bookmarks=true,bookmarksopenlevel=2]{hyperref}

\usepackage{geometry}
\geometry{total={210mm,297mm},
left=20mm,right=20mm,
bindingoffset=10mm, top=25mm,bottom=25mm}

\OnehalfSpacing
%\linespread{1.3}

%%% CHAPTER'S STYLE
\chapterstyle{lyhne}
%%% STYLE OF SECTIONS, SUBSECTIONS, AND SUBSUBSECTIONS
\setsecheadstyle{\Large\bfseries\sffamily\raggedright}
\setsubsecheadstyle{\large\bfseries\sffamily\raggedright}
\setsubsubsecheadstyle{\bfseries\sffamily\raggedright}

\pagestyle{plain}
\makepagestyle{plain}
\makeevenfoot{plain}{\thepage}{}{}
\makeoddfoot{plain}{}{}{\thepage}
\makeevenhead{plain}{}{}{}
\makeoddhead{plain}{}{}{}

\maxsecnumdepth{subsection} % chapters, sections, and subsections are numbered
\maxtocdepth{subsection} % chapters, sections, and subsections are in the Table of Contents

\bibliographystyle{unsrtnat} % <========================================


\begin{document}

Da aber ein Luftpaket nicht eingeschlossen werden kann, ist eine solche Zustandsänderung in der Atmosphäre unwahrscheinlich. \footnote{\cite[S. 203]{sylvie}} %\footcite[S. 203]{sylvie}


\bibliography{\jobname} % <===== to use the bib file created with filecontents 

\end{document}

我使用包filecontents只将 bib 文件和 TeX 代码连接到一个可编译的 MWE。当然,你可以拥有自己的 bib 文件!请literature.bib阅读 的文档。filecontentstexdoc filecontents

相关内容