> 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/cs/odkazy-a-citace/04-bibtex-bibliography-styles.md).

# Bibtexové styly bibliografie

## Úvod a příklad

Při použití [BibTeX](/latex/cs/odkazy-a-citace/01-bibliography-management-with-bibtex.md), se nastaví styl bibliografie a soubor bibliografie se importuje pomocí následujících dvou příkazů:

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

kde `bibfile` je název bibliografie `.bib` souboru, bez přípony, a `stylename` je jednou z hodnot uvedených v [tabulce níže](#table-of-stylename-values).

Zde je příklad, který můžete otevřít v Overleafu — `.bib` soubor je pro vás vytvořen:

```latex
\documentclass[a4paper,10pt]{article}
\usepackage[english]{babel}
%Zahrne "References" do obsahu
\usepackage[nottoc]{tocbibind}

%Název, datum a autor dokumentu
\title{Správa bibliografie: BibTeX}
\author{Overleaf}

%Začátek dokumentu
\begin{document}

\maketitle

\tableofcontents

\medskip

\section{První sekce}
Tento dokument je příkladem použití BibTeXu pro správu bibliografie. Jsou citovány tři položky: kniha \textit{The \LaTeX\ Companion} \cite{latexcompanion}, článek Einsteina v časopise \cite{einstein} a webová stránka Donalda Knutha \cite{knuthwebsite}. Položky související s \LaTeXem jsou \cite{latexcompanion,knuthwebsite}.

\medskip

%Nastaví styl bibliografie na UNSRT a importuje
%soubor bibliografie "sample.bib".
\bibliographystyle{unsrt}
\bibliography{sample}
\end{document}
```

[Otevřít v Overleafu (je vygenerován vhodný soubor .bib)](<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>)

## Tabulka hodnot stylename

| stylename | výstup                                                                     |
| --------- | -------------------------------------------------------------------------- |
| `abbrv`   | ![BibtexStylesEx1.png](/files/c2486e54a60d9d2ea2d8a89564ba1e82c2f0c3b0)    |
| `acm`     | ![BibtexStylesEx2.png](/files/c7b9d9a614b87d528ac53fe3a27e0b117653e4d4)    |
| `alpha`   | ![BibtexStylesEx3.png](/files/4ce73c38e3a3d2a78cfd3087b63d8a58b3818b0e)    |
| `apalike` | ![BibtexStylesEx4.png](/files/67ac9dc9a720b26625b7c517def20c92b88803f9)    |
| `ieeetr`  | ![BibtexStylesEx5.png](/files/543beb9725f00021b7cd197da971643a2afff927)    |
| `plain`   | ![BibtexStylesEx6new.png](/files/08aeb505b7b4c16bf260e51c5f5b40483749d6c0) |
| `siam`    | ![BibtexStylesEx7.png](/files/1222820d861ba4c1ce3985dc964c1601a9f5a7ad)    |
| `unsrt`   | ![BibtexStylesEx8.png](/files/fead4cb7c255a874de3584ca1c3051f01ffb8889)    |

## Další čtení

Více informací viz:

* [Správa bibliografie pomocí BibTeXu](/latex/cs/odkazy-a-citace/01-bibliography-management-with-bibtex.md)
* [Dokumentace BibTeXu na webu CTAN](http://www.ctan.org/tex-archive/biblio/bibtex/contrib/doc/)
* [Dokumentace balíčku tocbind](ftp://ftp.tex.ac.uk/tex-archive/macros/latex/contrib/tocbibind/tocbibind.pdf)
* [Správa bibliografie s natbib](/latex/cs/odkazy-a-citace/02-bibliography-management-with-natbib.md)
* [Správa bibliografie s biblatex](/latex/cs/odkazy-a-citace/03-bibliography-management-with-biblatex.md)
* [Obsah](/latex/cs/struktura-dokumentu/02-table-of-contents.md)
* [Správa ve velkém projektu](/latex/cs/struktura-dokumentu/07-management-in-a-large-project.md)
* [Vícesouborové projekty LaTeXu](/latex/cs/struktura-dokumentu/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/cs/odkazy-a-citace/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.
