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
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
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