Skip to content

Instantly share code, notes, and snippets.

@Fooftilly
Created November 4, 2020 20:18
Show Gist options
  • Save Fooftilly/caf9a286315ed9101e51e4657b0b6da2 to your computer and use it in GitHub Desktop.
Save Fooftilly/caf9a286315ed9101e51e4657b0b6da2 to your computer and use it in GitHub Desktop.
LaTeX
%Compile with Xelatex
\documentclass[12pt,serbian]{article}
\usepackage[serbian]{babel}
\usepackage{fontspec}
\setmainfont{FreeSerif}
\setsansfont{FreeSans}
\setmonofont{FreeMono}
\usepackage{blindtext}
\usepackage[bibencoding=auto,backend=biber,autolang=other,style=authoryear]{biblatex}
\usepackage{csquotes}
\bibliography{ref}
\renewcommand*{\postnotedelim}{\addcolon\space} % add colon after year while \parencite
\DeclareFieldFormat{postnote}{#1} %no page prefix while citing
\DeclareFieldFormat{multipostnote}{#1} %no page prefix while citing
\begin{document}
"što kog njih ne nalazimo odredbe koje za njihovo obrazovanje još nisu postojale".\parencite[42]{hegel1975}
\end{document}
@book{hegel1975,
author = {Georg Vilhelm Fridrih Hegel},
title = {Istorija filozofije},
year = {1975},
publisher = {Beogradski izdavačko-grafički zavod},
location = {Beograd},
edition = {treće izdanje},
translator = {Dr. Nikola M. Popović}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment