General ⇒ How to create a biblography
How to create a biblography
This is the book details:
AUTHOR = Star, R. M
TITLE = Foo Bar Baz
PUBLISHER = MIT Press
ADDRESS = Cambridge, MA
YEAR = 1989
I was wonderig if you could tell me if i require a '.bib' file or i can do all this in one latex .tex file. could you also tell me what i would need to type in my .tex file for the above refrence to be valid.
Thanks for the help
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Re: How to create a biblography
\begin{thebibliography}{1}%%the number of characters is the length of the longest label you'll have%%
\bibitem{fbb}%% for references%%
\textsc{Star}, R.M.
\emph{Foo Bar Baz},
MIT Press, Cambridge, MA, 1989.
\end{thebibliography}
B.A.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
How to create a biblography
Code: Select all
\begin{filecontents*}{bibdata.bib}
@BOOK{lamport06,
AUTHOR={Leslie Lamport},
TITLE={\LaTeX: A Document Preparation System - User's Guide and Reference Manual},
EDITION={2nd},
PUBLISHER={Addison-Wesley},
YEAR=2006}
\end{filecontents*}
\documentclass[BCOR13mm,DIV15]{scrartcl}
\usepackage{fixltx2e}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage[english]{babel}
\begin{document}
\nocite{lamport06}
\bibliography{bibdata.bib}
\bibliographystyle{unsrt}
\end{doucment}
For more information on BibTeX refer to its documentation. Information about BibTeX bibliography styles is available on CTAN. And now the version without BibTeX.
Code: Select all
\documentclass[BCOR13mm,DIV15]{scrartcl}
\usepackage{fixltx2e}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage[english]{babel}
\begin{document}
\cite{ll06}
\begin{thebibliography}{99}
\bibitem[lamport06]{ll06} L.~Lamport: \textsl{\LaTeX: A Document Preparation System - User's Guide and Reference Manual}, 2\textsuperscript{nd} Edition, Addison-Wesley (2006).
\end{thebibliography}
\end{document}
Creating a bibliography should be described in every book about basic LaTeX documentation. Useful information can be found in lshort.
Best regards
Thorsten¹
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10