소스 검색

Implemented the bibliography with bibtex, using sharelatex guide. Added a dummy reference in the conclusion that MUST BE REMOVED before the final draft

andreagus 8 년 전
부모
커밋
7125c856c8
4개의 변경된 파일10개의 추가작업 그리고 4개의 파일을 삭제
  1. 6 0
      source/bibliography.bib
  2. 3 1
      source/paper.tex
  3. 1 1
      source/sections/conclusions.tex
  4. 0 2
      source/sections/references.tex

+ 6 - 0
source/bibliography.bib

@@ -0,0 +1,6 @@
+@article{knuthwebsite,
+    author    = "Donald Knuth",
+    title     = "Knuth: Computers and Typesetting",
+    url       = "http://www-cs-faculty.stanford.edu/~uno/abcde.html",
+    keywords  = "latex,knuth"
+}

+ 3 - 1
source/paper.tex

@@ -1,6 +1,8 @@
 \documentclass[10pt, a4paper, twocolumn, notitlepage]{article}
 \usepackage[utf8]{inputenc}
 \usepackage{lipsum}
+\usepackage{biblatex}
+\addbibresource{bibliography.bib}
 
 \begin{document}
 
@@ -18,6 +20,6 @@ Andrea Gussoni\\
 \input{sections/introduction}
 \input{sections/sections}
 \input{sections/conclusions}
-\input{sections/references}
+\printbibliography
 
 \end{document}

+ 1 - 1
source/sections/conclusions.tex

@@ -1,2 +1,2 @@
 \section{Conclusions}
-  \lipsum[1]
+  \lipsum[1] this is a dummy citation TO BE REMOVED\cite{knuthwebsite}

+ 0 - 2
source/sections/references.tex

@@ -1,2 +0,0 @@
-\section{References}
-  \lipsum[1]