% !TEX TS-program = pdflatex % !TEX encoding = UTF-8 Unicode \RequirePackage{fixltx2e} \documentclass[hidelinks,12pt,twoside,a4paper]{article} \usepackage[ngerman]{babel} % Neue deutsche Silbentrennung \usepackage[utf8]{inputenc} % Zeichenkodierung UTF-8 (Unicode) \usepackage[T1]{fontenc} % Korrektes Trennen von Wörtern mit Umlauten und Akzenten \usepackage{helvet} %\renewcommand{\familydefault}{\sfdefault} % !TEX TS-program = pdflatex % !TEX encoding = UTF-8 Unicode % using XeL \usepackage{geometry} \geometry{margin=2.5cm} % should be english % \usepackage[ngerman]{babel} % Neue deutsche Silbentrennung \usepackage[utf8]{inputenc} % Zeichenkodierung UTF-8 (Unicode) \usepackage[T1]{fontenc} % Korrektes Trennen von Wörtern mit Umlauten und Akzenten % required to change the font size of the title \usepackage{titlesec} \titleformat*{\section}{\large\bfseries} \titlespacing*{\section}{0pt}{1.5ex plus 1ex minus .2ex}{1.3ex plus .2ex} % switch to sans-serif font %\renewcommand{\familydefault}{\sfdefault} % adding images \usepackage{graphicx} \graphicspath{ {./images/} } % subdirectory for images \usepackage{subcaption} % required for subfigures \usepackage{fancyhdr} \pagestyle{fancy} \fancyhead{} \renewcommand{\headrulewidth}{0pt} \renewcommand{\footrulewidth}{0pt} % packages \usepackage{hyperref} % for having urls in the document \usepackage{url} %required to have the url in the bibliography \usepackage[autostyle=true]{csquotes} % get the proper quotes depending on the language % for forumulars, needed for \eqref especially % also enables the * environments \usepackage{amsmath} % package to have APA style citation and the option enables numbering \usepackage{apacite}[numberedbib] \setlength{\parindent}{0em} % intendation at the beginning of the paragraph \setlength{\parskip}{1em} % spacing between paragraphs \renewcommand{\baselinestretch}{1.5} % making the 1.5 line spacing % no clue why but this gives the proper spacing after sections \raggedbottom \usepackage{filecontents} %\usepackage{lmodern} \fontfamily{cmss} %\renewcommand*\familydefault{\sfdefault} % Only if the base font of the document is to be sans serif \usepackage{mathptmx} %Times New Roman \usepackage{siunitx} \usepackage{textcomp} \usepackage{textgreek} \usepackage[electronic]{ifsym} \fancyhead[C]{\small www.act-act-act.com\\DOI und URL zu BIB} \fancyfoot[CE,CO]{\thepage} \title{\LaTeX Literaturverzeichnis\\DOI und URL zu BIB} \author{} \date{\vspace{-5ex}} % remove the date from the title \usepackage{tikz} \usetikzlibrary{calc, shapes, backgrounds} \usepackage{amsmath, amssymb} \begin{document} \maketitle \thispagestyle{fancy} %required to get the header on the first page as well \section{Überblick} Dieses Dokument in \LaTeX ist ein kleines Beispiel wie man innerhalb von Dokumenten auch ein Literaturverzeichnis einbinden kann. Dieses Beispiel nutzt generierte Einträge von einer Webseite \fullcite{website_wwwactactactcom}.\par Der Stil des Literaturverzeichnisses ist hier in APA gehalten.\par Das ist ein Beispiel für eine Quelle bezüglich Verhaltensänderung \fullcite{Bandura_1977}.\par \clearpage \bibliographystyle{apacite} \begin{filecontents}{biblio.bib} @article{Bandura_1977, doi = {10.1037/0033-295x.84.2.191}, url = {https://doi.org/10.1037/0033-295x.84.2.191}, year = {1977}, publisher = {American Psychological Association ({APA})}, volume = {84}, number = {2}, pages = {191--215}, author = {Albert Bandura}, title = {Self-efficacy: Toward a unifying theory of behavioral change.}, journal = {Psychological Review} } @online{website_wwwactactactcom, title = {DOI2BIB}, howpublished = {Website}, url = {https://www.act-act-act.com/de/doi2bib}, year = {2020}, urldate = {2020-07-09} } \end{filecontents} \bibliography{biblio.bib} \end{document}