making proper api citation

This commit is contained in:
2026-04-08 22:00:25 +02:00
parent e72e3c81c1
commit 97a6bf3974
4 changed files with 6 additions and 4 deletions

View File

@@ -1,6 +1,7 @@
$pdf_mode = 1;
$pdflatex = 'pdflatex -synctex=1 -interaction=nonstopmode -file-line-error %O %S';
$bibtex_use = 2; # run bibtex when needed
$bibtex = 'bibtex %O %B';
$bibtex_use = 2; # run biber when biblatex .bcf changes
# biber runs with cwd = -outdir (paper/build); .bib paths are relative to paper/src
$biber = 'biber --input-directory=../src %O %S';
$pdf_previewer = 'zathura %O %S';
$clean_ext = 'synctex.gz bbl bcf run.xml fls fdb_latexmk glg glo gls ist blg lof lot out toc';

Binary file not shown.

Binary file not shown.

View File

@@ -25,6 +25,7 @@
\usepackage{graphicx}
\usepackage{hyperref}
\usepackage{booktabs}
\usepackage[american]{babel}
\usepackage{csquotes}
\usepackage{subcaption}
\usepackage{siunitx}
@@ -57,8 +58,8 @@
literate={·}{{\textperiodcentered}}1 {}{{\textminus}}1 {}{{---}}1 {}{{--}}1
}
% Use biblatex with authoryear style for in-text citations like (Author, Year)
\usepackage[backend=bibtex,style=authoryear,natbib=true,maxcitenames=2]{biblatex}
% APA 7-style references and citations (requires biber)
\usepackage[style=apa,backend=biber]{biblatex}
\addbibresource{bib/references.bib}
% Page headers (SciTech format)