mirror of
https://github.com/MartinThoma/LaTeX-examples.git
synced 2025-04-19 11:38:05 +02:00
biblatex-mwe added
This commit is contained in:
parent
3ee28d093b
commit
74ccb400c2
4 changed files with 43 additions and 0 deletions
9
documents/biblatex-mwe/Makefile
Normal file
9
documents/biblatex-mwe/Makefile
Normal file
|
@ -0,0 +1,9 @@
|
|||
SOURCE = biblatex-mwe
|
||||
make:
|
||||
pdflatex -shell-escape $(SOURCE).tex -output-format=pdf
|
||||
biber $(SOURCE).tex
|
||||
pdflatex -shell-escape $(SOURCE).tex -output-format=pdf
|
||||
make clean
|
||||
|
||||
clean:
|
||||
rm -rf $(TARGET) *.class *.html *.log *.aux *.out *.toc *.bbl *.blg *.pyg *.bcf *.run.xml
|
1
documents/biblatex-mwe/README.md
Normal file
1
documents/biblatex-mwe/README.md
Normal file
|
@ -0,0 +1 @@
|
|||
Example was created by matth on [tex.stackexchange.com](http://tex.stackexchange.com/a/34136/5645).
|
7
documents/biblatex-mwe/biblatex-examples.bib
Normal file
7
documents/biblatex-mwe/biblatex-examples.bib
Normal file
|
@ -0,0 +1,7 @@
|
|||
@BOOK
|
||||
{KandR,
|
||||
AUTHOR = "Kernighan, Brian W. and Ritchie, Dennis M.",
|
||||
TITLE = "{The C Programming Language Second Edition}",
|
||||
PUBLISHER = "Prentice-Hall, Inc.",
|
||||
YEAR = 1988
|
||||
}
|
26
documents/biblatex-mwe/biblatex-mwe.tex
Normal file
26
documents/biblatex-mwe/biblatex-mwe.tex
Normal file
|
@ -0,0 +1,26 @@
|
|||
\documentclass[]{article}
|
||||
|
||||
\usepackage[autostyle]{csquotes}
|
||||
|
||||
\usepackage[
|
||||
backend=biber,
|
||||
style=authoryear-icomp,
|
||||
sortlocale=de_DE,
|
||||
natbib=true,
|
||||
url=false,
|
||||
doi=true,
|
||||
eprint=false
|
||||
]{biblatex}
|
||||
\addbibresource{biblatex-examples.bib}
|
||||
|
||||
\usepackage[]{hyperref}
|
||||
\hypersetup{
|
||||
colorlinks=true,
|
||||
}
|
||||
|
||||
%% ##############################
|
||||
\begin{document}
|
||||
Lorem ipsum dolor sit amet~\citep{KandR}.
|
||||
At vero eos et accusam et justo duo dolores et ea rebum~\citet{KandR}.
|
||||
\printbibliography
|
||||
\end{document}
|
Loading…
Add table
Add a link
Reference in a new issue