LaTeX_Examples/CitationsAndQuotes/CitationsAndQuotes.tex

34 lines
2 KiB
TeX
Raw Normal View History

2024-08-05 21:02:37 +00:00
\documentclass{article}
\usepackage{xcolor}
\usepackage{hyperref}
\usepackage[style=apa, backend=biber]{biblatex} % Ran into an error that might be related to the order of packages loaded
\usepackage[thresholdtype=words]{csquotes}
\SetBlockThreshold{40}
\setlength{\parindent}{0pt}
\addbibresource{Example.bib}
\hypersetup{
colorlinks = true, %Colours links instead of ugly boxes
urlcolor = [RGB]{0 70 120}, %Colour for external hyperlinks
linkcolor = [RGB]{0 70 120}, %Colour of internal links
citecolor = [RGB]{0 70 120} %Colour of citations
}
\begin{document}
% Example text
According to \parencite{adamsGameMechanicsAdvanced2012}, this is a critical finding. \\
According to \cite{adamsGameMechanicsAdvanced2012}, this is a critical finding. \\
According to \textcite{adamsGameMechanicsAdvanced2012}, this is a critical finding. \\
% We set the Threshold to 40 Words (see APA), so we can always use blockquote.
He said \blockquote[\cite{adamsGameMechanicsAdvanced2012}]{Lorem ipsum dolor sit amet}. This is a critical finding. \\
He said \blockquote[\cite{adamsGameMechanicsAdvanced2012}]{Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.} This is a critical finding.
\printbibliography
\end{document}