> For the complete documentation index, see [llms.txt](https://overleaf-pro.ayaka.space/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://overleaf-pro.ayaka.space/latex/fi/viitteet-ja-sitaatit/04-bibtex-bibliography-styles.md).

# Bibtex-lähdeluettelotyylit

## Johdanto ja esimerkki

voit käyttää [BibTeX](/latex/fi/viitteet-ja-sitaatit/01-bibliography-management-with-bibtex.md), viittaustyyli asetetaan ja viitetiedosto tuodaan seuraavilla kahdella komennolla:

```latex
  \bibliographystyle{stylename}
  \bibliography{bibfile}
```

jossa `bibfile` on bibliografian nimi `.bib` tiedosto ilman tiedostopäätettä, ja `stylename` on yksi alla olevassa [taulukossa esitetyistä arvoista](#table-of-stylename-values).

Tässä on esimerkki, jonka voit avata Overleafissa — `.bib` tiedosto luodaan puolestasi:

```latex
\documentclass[a4paper,10pt]{article}
\usepackage[english]{babel}
%Sisällyttää "References"-kohdan sisällysluetteloon
\usepackage[nottoc]{tocbibind}

%Asiakirjan otsikko, päivämäärä ja tekijä
\title{Viiteluettelon hallinta: BibTeX}
\author{Overleaf}

%Asiakirjan alku
\begin{document}

\maketitle

\tableofcontents

\\medskip

\section{First Section}
Tämä asiakirja on esimerkki BibTeX:n käytöstä viiteluettelon hallinnassa. Kolmeen kohteeseen viitataan: \textit{The \LaTeX\ Companion} -kirjaan \cite{latexcompanion}, Einsteinin artikkeliin \cite{einstein} ja Donald Knuthin verkkosivustoon \cite{knuthwebsite}. \LaTeX:iin liittyvät kohteet ovat \cite{latexcompanion,knuthwebsite}.

\\medskip

%Asettaa viittaustyyliksi UNSRT:n ja tuo
%viitetiedoston "sample.bib".
\bibliographystyle{unsrt}
\bibliography{sample}
\end{document}
```

[Avaa Overleafissa (sopiva .bib-tiedosto luodaan)](<https://www.overleaf.com/docs?engine=\&snip_name\[]=main.tex\&snip\[]=\documentclass\[a4paper,10pt]{article}&#xA;\usepackage\[english]{babel}&#xA;%Includes+"References"+in+the+table+of+contents&#xA;\usepackage\[nottoc]{tocbibind}&#xA;&#xA;%Title,+date+an+author+of+the+document&#xA;\title{Bibliography+management:+BibTeX}&#xA;\author{Overleaf}&#xA;&#xA;%Begining+of+the+document&#xA;\begin{document}&#xA;&#xA;\maketitle&#xA;&#xA;\tableofcontents&#xA;&#xA;\medskip&#xA;&#xA;\section{First+Section}&#xA;This+document+is+an+example+of+BibTeX+using+in+bibliography+management.+Three+items+are+cited:+\textit{The+\LaTeX\\+Companion}+book+\cite{latexcompanion},+the+Einstein+journal+paper+\cite{einstein},+and+the+Donald+Knuth's+website+\cite{knuthwebsite}.+The+\LaTeX\\+related+items+are+\cite{latexcompanion,knuthwebsite}.+&#xA;&#xA;\medskip&#xA;&#xA;%Sets+the+bibliography+style+to+UNSRT+and+imports+the+&#xA;%bibliography+file+"sample.bib".&#xA;\bibliographystyle{unsrt}&#xA;\bibliography{sample}&#xA;\end{document}\&snip_name\[]=sample.bib\&snip\[]=@article{einstein,&#xA;++author+=+++++++"Albert+Einstein",&#xA;++title+=++++++++"{Zur+Elektrodynamik+bewegter+K{\\"o}rper}.+({German})&#xA;+++++++++++++++++\[{On}+the+electrodynamics+of+moving+bodies]",&#xA;++journal+=++++++"Annalen+der+Physik",&#xA;++volume+=+++++++"322",&#xA;++number+=+++++++"10",&#xA;++pages+=++++++++"891--921",&#xA;++year+=+++++++++"1905",&#xA;++DOI+=++++++++++"http://dx.doi.org/10.1002/andp.19053221004"&#xA;}&#xA;&#xA;@book{latexcompanion,&#xA;++++author++++=+"Michel+Goossens+and+Frank+Mittelbach+and+Alexander+Samarin",&#xA;++++title+++++=+"The+\LaTeX\\+Companion",&#xA;++++year++++++=+"1993",&#xA;++++publisher+=+"Addison-Wesley",&#xA;++++address+++=+"Reading,+Massachusetts"&#xA;}&#xA;+&#xA;@misc{knuthwebsite,&#xA;++++author++++=+"Donald+Knuth",&#xA;++++title+++++=+"Knuth:+Computers+and+Typesetting",&#xA;++++url+++++++=+"http://www-cs-faculty.stanford.edu/\\~{}uno/abcde.html"&#xA;}\&main_document=main.tex>)

## Tyylinimen arvojen taulukko

| stylename | tulos                                                                      |
| --------- | -------------------------------------------------------------------------- |
| `abbrv`   | ![BibtexStylesEx1.png](/files/7144477a81237085d159d9ee4f3b185480bb1ba7)    |
| `acm`     | ![BibtexStylesEx2.png](/files/5d81074845b8bc6c392d0c9b14bd00fcd54fa78b)    |
| `alpha`   | ![BibtexStylesEx3.png](/files/17e59c2f13cb65778309ca023fa0fb09bdc8a9d3)    |
| `apalike` | ![BibtexStylesEx4.png](/files/6299c7c36ebe4763c67eec57b20dd36acb87057c)    |
| `ieeetr`  | ![BibtexStylesEx5.png](/files/be67341d33257153decf8e64e995aa54d895780f)    |
| `plain`   | ![BibtexStylesEx6new.png](/files/b990b2b6e061be2aaed8c9627aba7a97779ef0bb) |
| `siam`    | ![BibtexStylesEx7.png](/files/1bf6ee9891ed173c0c7ae41071398e4f8cc1c7c7)    |
| `unsrt`   | ![BibtexStylesEx8.png](/files/500cdc368f909008c2d3a2651a521fdfa689cae6)    |

## Lisälukemista

Lisätietoja löydät:

* [Lähdeluettelon hallinta BibTeXillä](/latex/fi/viitteet-ja-sitaatit/01-bibliography-management-with-bibtex.md)
* [BibTeX-dokumentaatio CTAN-verkkosivustolla](http://www.ctan.org/tex-archive/biblio/bibtex/contrib/doc/)
* [tocbind-paketin dokumentaatio](ftp://ftp.tex.ac.uk/tex-archive/macros/latex/contrib/tocbibind/tocbibind.pdf)
* [Viiteluettelon hallinta natbibillä](/latex/fi/viitteet-ja-sitaatit/02-bibliography-management-with-natbib.md)
* [Viiteluettelon hallinta biblatexilla](/latex/fi/viitteet-ja-sitaatit/03-bibliography-management-with-biblatex.md)
* [Sisällysluettelo](/latex/fi/asiakirjan-rakenne/02-table-of-contents.md)
* [Hallinta suuressa projektissa](/latex/fi/asiakirjan-rakenne/07-management-in-a-large-project.md)
* [Useita tiedostoja sisältävät LaTeX-projektit](/latex/fi/asiakirjan-rakenne/08-multi-file-latex-projects.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://overleaf-pro.ayaka.space/latex/fi/viitteet-ja-sitaatit/04-bibtex-bibliography-styles.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
