Better references, support for images and subfigures
This commit is contained in:
parent
715e6543db
commit
540d49d160
24
extended_bibliography.tex
Normal file
24
extended_bibliography.tex
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
%{{{ archivedat and archivedon for online sources
|
||||||
|
\NewBibliographyString{archivedat,archivedon}
|
||||||
|
\DefineBibliographyStrings{english}{%
|
||||||
|
archivedat = {archived at},
|
||||||
|
archivedon = {on},
|
||||||
|
}
|
||||||
|
\DeclareFieldFormat{archiveurl}{\bibstring{archivedat}\space\url{#1}}
|
||||||
|
\DeclareFieldFormat{archivedate}{\bibstring{archivedon}\space#1}
|
||||||
|
|
||||||
|
\newbibmacro*{archiveurl}{\printfield{archiveurl}}
|
||||||
|
\newbibmacro*{archivedate}{\printarchivedate}
|
||||||
|
\renewbibmacro*{url+urldate}{%
|
||||||
|
\usebibmacro{url}%
|
||||||
|
\iffieldundef{urlyear}
|
||||||
|
{}
|
||||||
|
{\setunit*{\addspace}%
|
||||||
|
\usebibmacro{urldate}}%
|
||||||
|
\setunit{\addcomma\space}%
|
||||||
|
\usebibmacro{archiveurl}%
|
||||||
|
\iffieldundef{archiveyear}
|
||||||
|
{}
|
||||||
|
{\setunit*{\addspace}%
|
||||||
|
\usebibmacro{archivedate}}}
|
||||||
|
%}}} archivedat and archivedon for online sources
|
34
report.tex
34
report.tex
@ -34,36 +34,18 @@ headsepline,
|
|||||||
% language specific quotes and general recommendations for biblatex
|
% language specific quotes and general recommendations for biblatex
|
||||||
\usepackage{lmodern,csquotes,xpatch}
|
\usepackage{lmodern,csquotes,xpatch}
|
||||||
|
|
||||||
|
% images
|
||||||
|
\usepackage{graphicx}
|
||||||
|
\usepackage{caption}
|
||||||
|
\usepackage{subcaption}
|
||||||
|
|
||||||
% acronyms
|
% acronyms
|
||||||
\usepackage{acro}
|
\usepackage{acro}
|
||||||
\include{acronyms}
|
\include{acronyms}
|
||||||
|
|
||||||
% bibliography
|
% bibliography
|
||||||
\usepackage[datamodel=archived,backend=biber]{biblatex}
|
\usepackage[datamodel=archived,backend=biber]{biblatex}
|
||||||
%{{{ archivedat and archivedon for online sources
|
\include{extended_bibliography}
|
||||||
\NewBibliographyString{archivedat,archivedon}
|
|
||||||
\DefineBibliographyStrings{english}{%
|
|
||||||
archivedat = {archived at},
|
|
||||||
archivedon = {on},
|
|
||||||
}
|
|
||||||
\DeclareFieldFormat{archiveurl}{\bibstring{archivedat}\space\url{#1}}
|
|
||||||
\DeclareFieldFormat{archivedate}{\bibstring{archivedon}\space#1}
|
|
||||||
|
|
||||||
\newbibmacro*{archiveurl}{\printfield{archiveurl}}
|
|
||||||
\newbibmacro*{archivedate}{\printarchivedate}
|
|
||||||
\renewbibmacro*{url+urldate}{%
|
|
||||||
\usebibmacro{url}%
|
|
||||||
\iffieldundef{urlyear}
|
|
||||||
{}
|
|
||||||
{\setunit*{\addspace}%
|
|
||||||
\usebibmacro{urldate}}%
|
|
||||||
\setunit{\addcomma\space}%
|
|
||||||
\usebibmacro{archiveurl}%
|
|
||||||
\iffieldundef{archiveyear}
|
|
||||||
{}
|
|
||||||
{\setunit*{\addspace}%
|
|
||||||
\usebibmacro{archivedate}}}
|
|
||||||
%}}} archivedat and archivedon for online sources
|
|
||||||
\addbibresource{bibliography.bib}
|
\addbibresource{bibliography.bib}
|
||||||
|
|
||||||
% OTH specific commands for logos, colors
|
% OTH specific commands for logos, colors
|
||||||
@ -85,6 +67,8 @@ headsepline,
|
|||||||
% custom commands
|
% custom commands
|
||||||
\include{commands}
|
\include{commands}
|
||||||
|
|
||||||
|
\graphicspath{{assets/dot/}}
|
||||||
|
|
||||||
\setcounter{tocdepth}{2}
|
\setcounter{tocdepth}{2}
|
||||||
|
|
||||||
\begin{document}
|
\begin{document}
|
||||||
@ -103,4 +87,4 @@ headsepline,
|
|||||||
|
|
||||||
\end{document}
|
\end{document}
|
||||||
|
|
||||||
% vim: set filetype=tex ts=2 sw=2 tw=0 et :
|
% vim: set filetype=tex ts=2 sw=2 tw=0 foldmethod=marker et :
|
||||||
|
Loading…
Reference in New Issue
Block a user