LaTeX_Examples/CitationsAndQuotes/CitationsAndQuotes.tex

50 lines
2.6 KiB
TeX
Raw Permalink 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}
\subsection*{Citations}
2024-08-05 21:02:37 +00:00
% 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. \\
\subsection*{Quotes}
2024-08-05 21:02:37 +00:00
% 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.
\subsection*{Footnotes}
I'm writing to test\footnote{Footnotes work fine!} several footnote features.
You can insert the footnote marker\footnotemark{} using the \verb|\footnotemark|
command and later use the \verb|\footnotetext| command to typeset the footnote
text by writing \verb|\footnotetext{Text of second footnote.}|
\footnotetext{Text of second footnote.}
I can use the same footnote\footnotemark{} more than
once\footnotemark[\value{footnote}].
\footnotetext{A footnote with two references.}
2024-08-05 21:02:37 +00:00
\printbibliography
\end{document}