> 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/pl/bibliografia-i-cytowania/04-bibtex-bibliography-styles.md).

# Style bibliografii BibTeX

## Wprowadzenie i przykład

Podczas używania [BibTeX](/latex/pl/bibliografia-i-cytowania/01-bibliography-management-with-bibtex.md), styl bibliografii jest ustawiany, a plik bibliograficzny jest importowany za pomocą następujących dwóch poleceń:

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

gdzie `bibfile` to nazwa bibliografii `.bib` pliku, bez rozszerzenia, oraz `stylename` jest jedną z wartości pokazanych w [poniższej tabeli](#table-of-stylename-values).

Oto przykład, który możesz otworzyć w Overleaf — `.bib` plik zostanie dla Ciebie utworzony:

```latex
\documentclass[a4paper,10pt]{article}
\usepackage[english]{babel}
%Uwzględnia „References” w spisie treści
\usepackage[nottoc]{tocbibind}

%Tytuł, data i autor dokumentu
\title{Zarządzanie bibliografią: BibTeX}
\author{Overleaf}

%Początek dokumentu
\begin{document}

\maketitle

\tableofcontents

\medskip

\section{Pierwsza sekcja}
Ten dokument jest przykładem użycia BibTeX w zarządzaniu bibliografią. Cytowane są trzy pozycje: \textit{The \LaTeX\ Companion} book \cite{latexcompanion}, artykuł Einsteina z czasopisma \cite{einstein} oraz strona internetowa Donalda Knutha \cite{knuthwebsite}. Pozycje związane z \LaTeX to \cite{latexcompanion,knuthwebsite}.

\medskip

%Ustawia styl bibliografii na UNSRT i importuje
%plik bibliografii „sample.bib”.
\bibliographystyle{unsrt}
\bibliography{sample}
\end{document}
```

[Otwórz w Overleaf (generowany jest odpowiedni plik .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>)

## Tabela wartości stylename

| stylename | wynik                                                                      |
| --------- | -------------------------------------------------------------------------- |
| `abbrv`   | ![BibtexStylesEx1.png](/files/411058ee7a7f67b43799f484f3a89b59136a1baa)    |
| `acm`     | ![BibtexStylesEx2.png](/files/d6439b090886710745d352aaa0af22b9a1d3d13b)    |
| `alpha`   | ![BibtexStylesEx3.png](/files/33289b46fcc2dee3098117e9b0fdf5fb1a6a1e31)    |
| `apalike` | ![BibtexStylesEx4.png](/files/e4321350b0bf5e7cf6808c6f67de234a779104dc)    |
| `ieeetr`  | ![BibtexStylesEx5.png](/files/d8652cf1663237cc852d58c70fbbd33030b14ee0)    |
| `plain`   | ![BibtexStylesEx6new.png](/files/15b0f2d6d19ab3c787eceed07c137e4cc5ca8462) |
| `siam`    | ![BibtexStylesEx7.png](/files/4baf1aaf149629e3acbceeced2cd50c1afeead27)    |
| `unsrt`   | ![BibtexStylesEx8.png](/files/1da160cb58ae184cb193759c47ab1afb76458ca8)    |

## Dalsza lektura

Więcej informacji znajdziesz w:

* [Zarządzanie bibliografią za pomocą BibTeX](/latex/pl/bibliografia-i-cytowania/01-bibliography-management-with-bibtex.md)
* [Dokumentacja BibTeX na stronie internetowej CTAN](http://www.ctan.org/tex-archive/biblio/bibtex/contrib/doc/)
* [Dokumentacja pakietu tocbibind](ftp://ftp.tex.ac.uk/tex-archive/macros/latex/contrib/tocbibind/tocbibind.pdf)
* [Zarządzanie bibliografią z natbib](/latex/pl/bibliografia-i-cytowania/02-bibliography-management-with-natbib.md)
* [Zarządzanie bibliografią z biblatex](/latex/pl/bibliografia-i-cytowania/03-bibliography-management-with-biblatex.md)
* [Spis treści](/latex/pl/struktura-dokumentu/02-table-of-contents.md)
* [Zarządzanie w dużym projekcie](/latex/pl/struktura-dokumentu/07-management-in-a-large-project.md)
* [Wieloplikowe projekty LaTeX](/latex/pl/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/pl/bibliografia-i-cytowania/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.
