NOWOŚĆ: Odwiedź nowe Overleaf Learning Center, aby poznać bezpłatne kursy online i webinary na żywo — wszystko, czego potrzebujesz, by opanować LaTeX i w pełni wykorzystać możliwości Overleaf.
Ten samouczek wprowadzający nie zakłada żadnego wcześniejszego doświadczenia z LaTeX, ale mamy nadzieję, że gdy go ukończysz, nie tylko napiszesz swój pierwszy dokument w LaTeX, lecz także zdobędziesz wystarczającą wiedzę i pewność siebie, aby zrobić kolejne kroki w kierunku biegłości w LaTeX.
Czym jest LaTeX?
LaTeX (wymawiany „LEJ-tek” lub „LA-tek”) to narzędzie do składania profesjonalnie wyglądających dokumentów. Sposób działania LaTeX znacznie różni się jednak od wielu innych aplikacji do tworzenia dokumentów, z których być może korzystałeś, takich jak Microsoft Word czy LibreOffice Writer: tamte narzędzia typu „WYSIWYG” udostępniają interaktywną stronę, na której użytkownik wpisuje i edytuje tekst oraz stosuje różne formy stylów. LaTeX działa zupełnie inaczej: Twój dokument jest zwykłym plikiem tekstowym przeplatanym poleceniami LaTeX, które wyrażają pożądany (złożony) wynik. Aby uzyskać widoczny, złożony dokument, plik LaTeX jest przetwarzany przez oprogramowanie zwane silnikiem TeX, które na podstawie poleceń osadzonych w pliku tekstowym steruje procesem składu, przekształcając polecenia LaTeX i tekst dokumentu w profesjonalnie złożony plik PDF. Oznacza to, że musisz skupić się wyłącznie na treści dokumentu, a komputer — za pośrednictwem poleceń LaTeX i silnika TeX — zadba o jego wygląd (formatowanie).
Dlaczego warto nauczyć się LaTeX?
Można przytoczyć różne argumenty za nauką LaTeX zamiast innych aplikacji do tworzenia dokumentów lub przeciw niej; ostatecznie jest to jednak osobisty wybór, zależny od preferencji, upodobań i wymagań dotyczących dokumentacji.Argumenty przemawiające za LaTeX obejmują:
obsługę składu niezwykle złożonej matematyki, tabel i treści technicznych z zakresu nauk ścisłych;
mechanizmy obsługi przypisów, odsyłaczy i zarządzania bibliografią;
łatwość tworzenia skomplikowanych lub żmudnych elementów dokumentu, takich jak indeksy, słowniczki, spisy treści czy spisy ilustracji;
bardzo duże możliwości dostosowania do tworzenia dokumentów na zamówienie dzięki wbudowanej programowalności i rozszerzalności za pomocą tysięcy bezpłatnych pakietów dodatkowych.
Ogólnie rzecz biorąc, LaTeX daje użytkownikom dużą kontrolę nad tworzeniem dokumentów składanych według niezwykle wysokich standardów. Oczywiście istnieją rodzaje dokumentów lub publikacji, w których LaTeX się nie wyróżnia, w tym wiele „swobodnych” projektów stron typowych dla publikacji w stylu magazynów.Jedną z ważnych zalet LaTeX jest oddzielenie treści dokumentu od jego stylu: po napisaniu treści dokumentu jego wygląd można łatwo zmienić. Podobnie możesz utworzyć plik LaTeX, który definiuje układ/styl określonego typu dokumentu, i używać go jako szablonu do ujednolicenia tworzenia kolejnych dokumentów tego typu; na przykład pozwala to wydawcom naukowym tworzyć w LaTeX szablony artykułów, których autorzy używają do pisania prac zgłaszanych do czasopism. Overleaf ma galerię zawierającą tysiące szablonów, obejmującą ogromną gamę typów dokumentów — od artykułów naukowych, raportów i książek po CV i prezentacje. Ponieważ szablony te definiują układ i styl dokumentu, autorzy muszą je jedynie otworzyć w Overleaf — tworząc nowy projekt — i zacząć pisać, dodając własną treść.
Twój pierwszy fragment kodu LaTeX
Pierwszym krokiem jest utworzenie nowego projektu LaTeX. Możesz to zrobić na własnym komputerze, tworząc nowy plik .tex; alternatywnie możesz rozpocząć nowy projekt w Overleaf.Zacznijmy od najprostszego działającego przykładu, który można otworzyć bezpośrednio w Overleaf:
\documentclass{article}\begin{document}First document. This is a simple example, with no extra parameters or packages included.\end{document}
Otwórz ten przykład w Overleaf.Ten przykład daje następujący wynik:Jak widać, LaTeX automatycznie wciął pierwszy wiersz akapitu, dbając za Ciebie o to formatowanie. Przyjrzyjmy się bliżej, co robi każda część naszego kodu.Pierwszy wiersz kodu, \documentclass{article}, deklaruje typ dokumentu, zwany jego klasą, która decyduje o ogólnym wyglądzie dokumentu. Różne rodzaje dokumentów wymagają różnych klas; np. CV/życiorys będzie wymagać innej klasy niż artykuł naukowy, który może korzystać ze standardowej klasy LaTeX article. Inne rodzaje dokumentów, nad którymi pracujesz, mogą wymagać innych klas, takich jak book lub report. Aby zorientować się, jak wiele typów klas LaTeX jest dostępnych, odwiedź odpowiednią stronę w CTAN (Comprehensive TeX Archive Network).Po ustawieniu klasy dokumentu nasza treść, zwana ciałem dokumentu, jest zapisywana między znacznikami \begin{document} i \end{document}. Po otwarciu powyższego przykładu możesz wprowadzać zmiany w tekście, a po zakończeniu obejrzeć wynikowy złożony PDF, ponownie kompilując dokument. Aby to zrobić w Overleaf, po prostu kliknij Recompile, jak pokazano w tym krótkim klipie wideo:Każdy projekt Overleaf można skonfigurować tak, aby był automatycznie kompilowany ponownie po każdej edycji: kliknij małą strzałkę obok przycisku Recompile i ustaw Auto Compile na On, jak pokazano na poniższym zrzucie ekranu:Wiemy już, jak dodawać treść do dokumentu — kolejnym krokiem jest nadanie mu tytułu. W tym celu musimy krótko omówić preambułę.
Preambuła dokumentu
Powyższy zrzut ekranu pokazuje, że Overleaf przechowuje dokument LaTeX w pliku o nazwie main.tex: rozszerzenie .tex jest zwyczajowo używane w nazwach plików zawierających kod LaTeX dokumentu.Poprzedni przykład pokazał, że treść dokumentu wpisuje się po poleceniu \begin{document}; wszystko jednak, co w pliku .tex znajduje się przed tym miejscem, nazywa się preambułą i pełni rolę sekcji „konfiguracyjnej” dokumentu. W preambule definiujesz klasę (typ) dokumentu wraz ze szczegółami, takimi jak języki używane w dokumencie; wczytujesz pakiety, z których chcesz korzystać (więcej na ten temat później), a także stosujesz inne rodzaje konfiguracji.Minimalna preambuła dokumentu może wyglądać tak:
gdzie \documentclass[12pt, letterpaper]{article} definiuje ogólną klasę (typ) dokumentu. Dodatkowe parametry, które muszą być rozdzielone przecinkami, umieszcza się w nawiasach kwadratowych ([...]) i służą one do skonfigurowania tej instancji klasy article, czyli ustawień, których chcemy użyć w tym konkretnym dokumencie opartym na klasie article.W tym przykładzie oba parametry działają następująco:
12pt ustawia rozmiar czcionki
letterpaper ustawia rozmiar papieru
Oczywiście można używać innych rozmiarów czcionki, 9pt, 11pt, 12pt, ale jeśli żaden nie zostanie podany, domyślny rozmiar to 10pt. Jeśli chodzi o rozmiar papieru, inne możliwe wartości to a4paper i legalpaper. Więcej informacji znajdziesz w artykule o rozmiarze strony i marginesach.Wiersz preambuły
\usepackage{graphicx}
jest przykładem wczytania zewnętrznego pakietu (tutaj graphicx) w celu rozszerzenia możliwości LaTeX — w tym przypadku o import zewnętrznych plików graficznych. Pakiety LaTeX omówiono w sekcji Wyszukiwanie i używanie pakietów LaTeX.
Dodawanie tytułu, autora i daty
Dodanie tytułu, autora i daty do naszego dokumentu wymaga trzech dodatkowych wierszy w preambule (nie w głównej części dokumentu). Te wiersze to:
\title{My first LaTeX document}: tytuł dokumentu
\author{Hubert Farnsworth}: tutaj wpisujesz imię i nazwisko autora (autorów) oraz, opcjonalnie, polecenie \thanks wewnątrz nawiasów klamrowych:
\thanks{Funded by the Overleaf team.}: można je dodać po nazwisku autora, wewnątrz nawiasów klamrowych polecenia author. Doda ono indeks górny i przypis z tekstem podanym w nawiasach. Przydaje się, gdy w artykule trzeba podziękować jakiejś instytucji.
\date{August 2022}: datę możesz wpisać ręcznie lub użyć polecenia \today, aby przy każdej kompilacji dokumentu wstawiana była bieżąca data
Po dodaniu tych wierszy preambuła powinna wyglądać mniej więcej tak:
\documentclass[12pt, letterpaper]{article}\title{My first LaTeX document}\author{Hubert Farnsworth\thanks{Funded by the Overleaf team.}}\date{August 2022}
Aby złożyć tytuł, autora i datę, użyj polecenia \maketitle w ciele dokumentu:
\begin{document}\maketitleWe have now added a title, author and date to our first \LaTeX{} document!\end{document}
Preambułę i ciało można teraz połączyć w kompletny dokument, który można otworzyć w Overleaf:
\documentclass[12pt, letterpaper]{article}\title{My first LaTeX document}\author{Hubert Farnsworth\thanks{Funded by the Overleaf team.}}\date{August 2022}\begin{document}\maketitleWe have now added a title, author and date to our first \LaTeX{} document!\end{document}
LaTeX jest formą „kodu programu”, ale wyspecjalizowaną w składzie dokumentów; dlatego, podobnie jak w przypadku kodu w każdym innym języku programowania, bardzo przydatne może być umieszczanie w dokumencie komentarzy. Komentarz LaTeX to fragment tekstu, który nie zostanie złożony ani w żaden sposób nie wpłynie na dokument — często używany do dodawania notatek „do zrobienia”, umieszczania objaśnień, wyjaśniania w tekście skomplikowanych makr lub wykomentowywania wierszy/sekcji kodu LaTeX podczas debugowania.Aby utworzyć komentarz w LaTeX, wystarczy wpisać symbol % na początku wiersza, jak pokazano w poniższym kodzie opartym na powyższym przykładzie:
\documentclass[12pt, letterpaper]{article}\title{My first LaTeX document}\author{Hubert Farnsworth\thanks{Funded by the Overleaf team.}}\date{August 2022}\begin{document}\maketitleWe have now added a title, author and date to our first \LaTeX{} document!% This line here is a comment. It will not be typeset in the document.\end{document}
Teraz przyjrzymy się kilku poleceniom formatowania tekstu:
Pogrubienie: pogrubiony tekst w LaTeX składa się za pomocą polecenia \textbf{...}.
Kursywa: tekst pisany kursywą uzyskuje się poleceniem \textit{...}.
Podkreślenie: aby podkreślić tekst, użyj polecenia \underline{...}.
Kolejny przykład demonstruje te polecenia:
Some of the \textbf{greatest}discoveries in \underline{science} were made by \textbf{\textit{accident}}.
Otwórz ten przykład w Overleaf.Ten przykład daje następujący wynik:Innym bardzo przydatnym poleceniem jest \emph{_argument_}, którego wpływ na _argument_ zależy od kontekstu. W zwykłym tekście wyróżniony tekst jest pisany kursywą, ale to zachowanie jest odwracane, jeśli polecenie zostanie użyte wewnątrz tekstu pisanego kursywą — zobacz następny przykład:
Some of the greatest \emph{discoveries} in science were made by accident.\textit{Some of the greatest \emph{discoveries} in science were made by accident.}\textbf{Some of the greatest \emph{discoveries} in science were made by accident.}
Użyj Code Editor, aby napisać kod LaTeX wstawiający grafikę.
Opcje 1 i 2 automatycznie generują kod LaTeX potrzebny do wstawienia obrazów, ale tutaj przedstawiamy opcję 3 — pamiętaj, że musisz przesłać te obrazy do swojego projektu Overleaf. Poniższy przykład pokazuje, jak dołączyć obraz:
\documentclass{article}\usepackage{graphicx} %LaTeX package to import graphics\graphicspath{{images/}} %configuring the graphicx package\begin{document}The universe is immense and it seems to be homogeneous, on a large scale, everywhere we look.% The \includegraphics command is % provided (implemented) by the % graphicx package\includegraphics{universe} There's a picture of a galaxy above.\end{document}
Otwórz ten przykład z obrazem w Overleaf.Ten przykład daje następujący wynik:Importowanie grafiki do dokumentu LaTeX wymaga dodatkowego pakietu, który udostępnia polecenia i funkcje potrzebne do dołączania zewnętrznych plików graficznych. Powyższy przykład wczytuje pakiet graphicx, który — oprócz wielu innych poleceń — udostępnia \includegraphics{...} do importowania grafiki oraz \graphicspath{...} do wskazania LaTeX, gdzie znajdują się pliki graficzne.Aby użyć pakietu graphicx, dodaj następujący wiersz do preambuły swojego dokumentu Overleaf:
\usepackage{graphicx}
W naszym przykładzie polecenie \graphicspath{{images/}} informuje LaTeX, że obrazy są przechowywane w folderze o nazwie images, znajdującym się w bieżącym katalogu:Polecenie \includegraphics{universe} faktycznie wstawia obraz do dokumentu. Tutaj universe to nazwa pliku obrazu bez rozszerzenia.Uwaga:
Choć w poleceniu \includegraphics dozwolona jest pełna nazwa pliku z rozszerzeniem, za dobrą praktykę uważa się pomijanie rozszerzenia, ponieważ wtedy LaTeX wyszuka wszystkie obsługiwane formaty.
Ogólnie nazwa pliku graficznego nie powinna zawierać spacji ani wielu kropek; zaleca się też używanie małych liter w rozszerzeniu pliku podczas przesyłania plików graficznych do Overleaf.
Obrazy można opatrywać podpisami, etykietami i odwołaniami za pomocą środowiska figure, jak pokazano poniżej:
\documentclass{article}\usepackage{graphicx}\graphicspath{{images/}}\begin{document}\begin{figure}[h] \centering \includegraphics[width=0.75\textwidth]{mesh} \caption{A nice plot.} \label{fig:mesh1}\end{figure}As you can see in figure \ref{fig:mesh1}, the function grows near the origin. This example is on page \pageref{fig:mesh1}.\end{document}
\includegraphics[width=0.75\textwidth]{mesh}: Ta postać \includegraphics nakazuje LaTeX ustawić szerokość rysunku na 75% szerokości tekstu, której wartość jest przechowywana w poleceniu \textwidth.
\caption{A nice plot.}: Jak sugeruje nazwa, to polecenie ustawia podpis rysunku, który może znajdować się nad lub pod rysunkiem. Jeśli utworzysz spis ilustracji, ten podpis zostanie w nim użyty.
\label{fig:mesh1}: Aby odwołać się do tego obrazu w dokumencie, nadajesz mu etykietę za pomocą polecenia \label. Etykieta służy do wygenerowania numeru obrazu, a w połączeniu z kolejnym poleceniem pozwala się do niego odwołać.
\ref{fig:mesh1}: Ten kod zostanie zastąpiony numerem odpowiadającym rysunkowi, do którego się odwołujemy.
Obrazy umieszczane w dokumencie LaTeX powinny znajdować się w środowisku figure lub podobnym, aby LaTeX mógł automatycznie umieścić obraz w odpowiednim miejscu dokumentu.Dalsze wskazówki zawierają następujące artykuły pomocy Overleaf:
Różne rodzaje list możesz tworzyć za pomocą środowisk, które służą do obejmowania kodu LaTeX potrzebnego do realizacji określonej funkcji składu. Środowisko zaczyna się od \begin{_environment-name_}, a kończy na \end{_environment-name_}, gdzie _environment-name_ może być figure, tabular lub jednym z typów list: itemize dla list nieuporządkowanych lub enumerate dla list uporządkowanych.
Listy nieuporządkowane
Listy nieuporządkowane tworzy środowisko itemize. Każdy element listy musi być poprzedzony poleceniem \item, jak pokazano poniżej:
\documentclass{article}\begin{document}\begin{itemize} \item The individual entries are indicated with a black dot, a so-called bullet. \item The text in the entries may be of any length.\end{itemize}\end{document}
Listy uporządkowane mają taką samą składnię jak listy nieuporządkowane, ale tworzy się je za pomocą środowiska enumerate:
\documentclass{article}\begin{document}\begin{enumerate} \item This is the first entry in our list. \item The list numbers increase with each entry we add.\end{enumerate}\end{document}
Otwórz ten przykład w Overleaf.Ten przykład daje następujący wynik:Podobnie jak w przypadku list nieuporządkowanych (unordered), każdy element musi być poprzedzony poleceniem \item, które tutaj automatycznie generuje numeryczną etykietę elementu listy uporządkowanej, zaczynając od 1.Więcej informacji znajdziesz w tym większym projekcie Overleaf, który demonstruje różne rodzaje list LaTeX, lub w naszym dedykowanym artykule pomocy na temat list LaTeX, który zawiera wiele dodatkowych przykładów i pokazuje, jak tworzyć niestandardowe listy.
Dodawanie matematyki w LaTeX
Jedną z głównych zalet LaTeX jest łatwość zapisywania wyrażeń matematycznych. LaTeX udostępnia dwa tryby zapisu matematyki:
tryb matematyczny w tekście (inline), używany do zapisywania wzorów będących częścią akapitu
tryb matematyczny wyświetlany (display), używany do zapisywania wyrażeń, które nie są częścią tekstu ani akapitu i są składane w osobnych wierszach
Tryb matematyczny w tekście
Zobaczmy przykład trybu matematycznego w tekście:
\documentclass[12pt, letterpaper]{article}\begin{document}In physics, the mass-energy equivalence is stated by the equation $E=mc^2$, discovered in 1905 by Albert Einstein.\end{document}
Otwórz ten przykład w Overleaf.Ten przykład daje następujący wynik:Aby złożyć matematykę w trybie w tekście, możesz użyć jednej z następujących par ograniczników: \( ... \), $ ... $ lub \begin{math} ... \end{math}, jak pokazano w poniższym przykładzie:
\documentclass[12pt, letterpaper]{article}\begin{document}\begin{math}E=mc^2\end{math} is typeset in a paragraph using inline math mode---as is $E=mc^2$, and so too is \(E=mc^2\).\end{document}
Równania składane w trybie wyświetlanym mogą być numerowane lub nienumerowane, jak w poniższym przykładzie:
\documentclass[12pt, letterpaper]{article}\begin{document}The mass-energy equivalence is described by the famous equation\[ E=mc^2 \] discovered in 1905 by Albert Einstein. In natural units ($c = 1$), the formula expresses the identity\begin{equation}E=m\end{equation}\end{document}
Otwórz ten przykład w Overleaf.Ten przykład daje następujący wynik:Aby złożyć matematykę w trybie wyświetlanym, możesz użyć jednej z następujących par ograniczników: \[ ... \], \begin{displaymath} ... \end{displaymath} lub \begin{equation} ... \end{equation}. Historycznie skład matematyki w trybie wyświetlanym wymagał użycia ograniczników $$, jak w $$ _... display math here ..._$$, ale ta metoda nie jest już zalecana: zamiast niej używaj ograniczników LaTeX \[ ... \].
Bardziej kompletne przykłady
Poniższe przykłady pokazują różnorodne treści matematyczne złożone za pomocą LaTeX.
\documentclass{article}\begin{document}Subscripts in math mode are written as $a_b$ and superscripts are written as $a^b$. These can be combined and nested to write expressions such as\[ T^{i_1 i_2 \dots i_p}_{j_1 j_2 \dots j_q} = T(x^{i_1},\dots,x^{i_p},e_{j_1},\dots,e_{j_q}) \]We write integrals using $\int$ and fractions using $\frac{a}{b}$. Limits are placed on integrals using superscripts and subscripts:\[ \int_0^1 \frac{dx}{e^x} = \frac{e-1}{e} \]Lower case Greek letters are written as $\omega$ $\delta$ etc. while upper case Greek letters are written as $\Omega$ $\Delta$.Mathematical operators are prefixed with a backslash as $\sin(\beta)$, $\cos(\alpha)$, $\log(x)$ etc.\end{document}
Otwórz ten przykład w Overleaf.Ten przykład daje następujący wynik:Następny przykład używa środowiska equation*, które udostępnia pakiet amsmath, dlatego musimy dodać do preambuły dokumentu następujący wiersz:
\usepackage{amsmath}% For the equation* environment
\documentclass{article}\usepackage{amsmath}% For the equation* environment\begin{document}\section{First example}The well-known Pythagorean theorem \(x^2 + y^2 = z^2\) was proved to be invalid for other exponents, meaning the next equation has no integer solutions for \(n>2\):\[ x^n + y^n = z^n \]\section{Second example}This is a simple math expression \(\sqrt{x^2+1}\) inside text. And this is also the same: \begin{math}\sqrt{x^2+1}\end{math}but by using another command.This is a simple math expression without numbering\[\sqrt{x^2+1}\]separated from text.This is also the same:\begin{displaymath}\sqrt{x^2+1}\end{displaymath}\ldots and this:\begin{equation*}\sqrt{x^2+1}\end{equation*}\end{document}
Otwórz ten przykład w Overleaf.Ten przykład daje następujący wynik:Możliwości matematyki w LaTeX są nieograniczone, więc koniecznie zajrzyj na nasze strony pomocy, gdzie znajdziesz porady i przykłady dotyczące konkretnych zagadnień:
Następnie przyjrzymy się streszczeniom oraz temu, jak podzielić dokument LaTeX na rozdziały, sekcje i akapity.
Streszczenia
Artykuły naukowe zwykle zawierają streszczenie (abstrakt), czyli krótki przegląd/podsumowanie ich głównych tematów lub tez. Następny przykład pokazuje skład streszczenia za pomocą środowiska LaTeX abstract:
\documentclass{article}\begin{document}\begin{abstract}This is a simple paragraph at the beginning of the document. A brief introduction about the main subject.\end{abstract}\end{document}
Mając już streszczenie, możemy zacząć pisać pierwszy akapit. Następny przykład pokazuje:
jak utworzyć nowy akapit, dwukrotnie naciskając klawisz „enter”, co kończy bieżący wiersz i wstawia po nim pusty wiersz;
jak zacząć nowy wiersz bez rozpoczynania nowego akapitu, wstawiając ręczne złamanie wiersza poleceniem \\, czyli podwójnym ukośnikiem odwrotnym; alternatywnie można użyć polecenia \newline.
Trzeci akapit w tym przykładzie demonstruje użycie poleceń \\ i \newline:
\documentclass{article}\begin{document}\begin{abstract}This is a simple paragraph at the beginning of the document. A brief introduction about the main subject.\end{abstract}After our abstract we can begin the first paragraph, then press ``enter'' twice to start the second one.This line will start a second paragraph.I will start the third paragraph and then add \\ a manual line break which causes this text to start on a new line but remains part of the same paragraph. Alternatively, I can use the \verb|\newline|\newline command to start a new line, which is also part of the same paragraph.\end{document}
Otwórz ten przykład w Overleaf.Ten przykład daje następujący wynik:Zwróć uwagę, że LaTeX automatycznie wcina akapity — z wyjątkiem tych bezpośrednio po nagłówkach dokumentu, takich jak sekcja i podsekcja — jak zobaczymy.Początkującym użytkownikom odradzamy używanie wielu \\ lub \newline do „symulowania” akapitów z większymi odstępami, ponieważ może to zakłócać algorytmy składu LaTeX. Zalecaną metodą jest dalsze używanie pustych wierszy do tworzenia nowych akapitów, bez żadnych \\, oraz wczytanie pakietu parskip przez dodanie \usepackage{parskip} do preambuły.Więcej informacji o akapitach znajdziesz w następujących artykułach:
Dłuższe dokumenty, niezależnie od oprogramowania, w którym powstają, zwykle dzieli się na części, rozdziały, sekcje, podsekcje itd. LaTeX również udostępnia polecenia do strukturyzowania dokumentu, ale dostępne polecenia i ich implementacje (to, co robią) mogą zależeć od używanej klasy dokumentu. Na przykład dokumenty utworzone przy użyciu klasy book można dzielić na części, rozdziały, sekcje, podsekcje itd., ale klasa letter nie udostępnia (nie obsługuje) żadnych poleceń do tego celu.Następny przykład pokazuje polecenia używane do strukturyzowania dokumentu opartego na klasie book:
\documentclass{book}\begin{document}\chapter{First Chapter}\section{Introduction}This is the first section.Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Etiam lobortisfacilisis sem. Nullam nec mi et neque pharetra sollicitudin. Praesent imperdietmi nec ante. Donec ullamcorper, felis non sodales...\section{Second Section}Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Etiam lobortis facilisissem. Nullam nec mi et neque pharetra sollicitudin. Praesent imperdiet mi necante...\subsection{First Subsection}Praesent imperdietmi nec ante. Donec ullamcorper, felis non sodales...\section*{Unnumbered Section}Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Etiam lobortis facilisissem...\end{document}
Otwórz ten przykład w Overleaf.Ten przykład daje następujący wynik:Nazwy poleceń podziału są w większości oczywiste; na przykład \chapter{First Chapter} tworzy nowy rozdział zatytułowany First Chapter, \section{Introduction} tworzy sekcję zatytułowaną Introduction itd. Sekcje można dalej dzielić na \subsection{...}, a nawet \subsubsection{...}. Numeracja sekcji, podsekcji itp. jest automatyczna, ale można ją wyłączyć, używając tzw. wersji z gwiazdką odpowiedniego polecenia, która ma gwiazdkę (*) na końcu, np. \section*{...} i \subsection*{...}.Łącznie klasy dokumentów LaTeX udostępniają następujące polecenia podziału, przy czym poszczególne klasy obsługują odpowiedni ich podzbiór:
\part{part}
\chapter{chapter}
\section{section}
\subsection{subsection}
\subsubsection{subsubsection}
\paragraph{paragraph}
\subparagraph{subparagraph}
W szczególności polecenia \part i \chapter są dostępne tylko w klasach dokumentów report i book.Więcej informacji o poleceniach strukturyzujących dokument znajdziesz w artykule Overleaf o sekcjach i rozdziałach.
Jeśli dopiero zaczynasz przygodę z LaTeX, pasek narzędzi w Visual Editor (opcja 1) to świetny sposób na start — możesz przełączać się między Visual Editor a Code Editor, aby zobaczyć kod stojący za tabelą.Tutaj skupiamy się na opcji 3 — najbardziej elastycznej metodzie tworzenia tabel — i przedstawiamy przykłady pokazujące, jak tworzyć tabele w LaTeX, w tym jak dodawać linie (reguły) i podpisy. Gdy nabierzesz doświadczenia, zapoznaj się z naszym szczegółowym przewodnikiem o tworzeniu tabel w LaTeX.
Tworzenie prostej tabeli w LaTeX
Zaczniemy od przykładu pokazującego skład prostej tabeli:
Otwórz ten przykład w Overleaf.Ten przykład daje następujący wynik:Środowisko tabular to domyślna metoda tworzenia tabel w LaTeX. Musisz podać parametr tego środowiska, w tym przypadku {c c c}, który informuje LaTeX, że będą trzy kolumny, a tekst w każdej z nich ma być wyśrodkowany. Możesz też użyć r, aby wyrównać tekst do prawej, lub l, aby wyrównać go do lewej. Symbol wyrównania & służy do oddzielania poszczególnych komórek w wierszu tabeli. Aby zakończyć wiersz tabeli, użyj polecenia nowego wiersza\\. Nasza tabela jest umieszczona w środowisku center, aby była wyśrodkowana w obrębie szerokości tekstu na stronie.
Dodawanie obramowań
Środowisko tabular obsługuje poziome i pionowe linie (reguły) jako część tabeli:
aby dodać poziome linie nad wierszami i pod nimi, użyj polecenia \hline
aby dodać pionowe linie między kolumnami, użyj parametru pionowej kreski |
W tym przykładzie argumentem jest {|c|c|c|}, co deklaruje trzy (wyśrodkowane) kolumny, każda oddzielona pionową linią; dodatkowo używamy \hline, aby umieścić poziomą linię nad pierwszym i pod ostatnim wierszem:
Tabele możesz opatrywać podpisami i odwołaniami w bardzo podobny sposób jak obrazy. Jedyna różnica polega na tym, że zamiast środowiska figure używasz środowiska table.Tabela \ref{table:data} pokazuje, jak dodać podpis tabeli i odwołać się do niej.
Utworzenie spisu treści jest proste, ponieważ polecenie \tableofcontents wykonuje za Ciebie niemal całą pracę:
\documentclass{article}\title{Sections and Chapters}\author{Gubert Farnsworth}\date{August 2022}\begin{document}\maketitle\tableofcontents\section{Introduction}This is the first section.Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Etiam lobortisfacilisis sem. Nullam nec mi et neque pharetra sollicitudin. Praesent imperdietmi nec ante. Donec ullamcorper, felis non sodales...\section*{Unnumbered Section}\addcontentsline{toc}{section}{Unnumbered Section}Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Etiam lobortis facilisissem. Nullam nec mi et neque pharetra sollicitudin. Praesent imperdiet mi necante...\section{Second Section}Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Etiam lobortis facilisissem. Nullam nec mi et neque pharetra sollicitudin. Praesent imperdiet mi necante...\end{document}
Otwórz ten przykład w Overleaf.Ten przykład daje następujący wynik:Sekcje, podsekcje i rozdziały są automatycznie umieszczane w spisie treści. Aby ręcznie dodać wpisy, na przykład nienumerowaną sekcję, użyj polecenia \addcontentsline, jak pokazano w przykładzie.
Pobieranie gotowego dokumentu
Poniższy krótki klip wideo pokazuje, jak pobrać kod źródłowy projektu lub złożony plik PDF:Więcej informacji znajdziesz w artykule pomocy Overleaf Eksportowanie pracy z Overleaf.
Wyszukiwanie i używanie pakietów LaTeX
LaTeX nie tylko zapewnia rozbudowane możliwości składu, ale także udostępnia mechanizm rozszerzalności poprzez dodatkowe pakiety. Zamiast próbować dostarczać polecenia i funkcje, które „robią wszystko”, LaTeX zaprojektowano jako rozszerzalny, co pozwala użytkownikom wczytywać zewnętrzny kod (pakiety) zapewniający bardziej wyspecjalizowane możliwości składu lub rozszerzający wbudowane funkcje LaTeX — takie jak skład tabel. Jak wspomniano w sekcji Dodawanie obrazów, pakiet graphicx rozszerza LaTeX o polecenia do importowania plików graficznych i został wczytany (w preambule) przez wpisanie
\usepackage{graphicx}
Wczytywanie pakietów
Jak wspomniano powyżej, pakiety wczytuje się w preambule dokumentu za pomocą polecenia \usepackage, ale ponieważ (wiele) pakietów LaTeX udostępnia zestaw opcji, które pozwalają skonfigurować ich działanie, polecenie \usepackage często wygląda tak:
\usepackage[options]{somepackage}
Nawiasy kwadratowe „[...]” informują LaTeX, który zestaw opcji ma zostać zastosowany podczas wczytywania somepackage. W zestawie opcji wybranych przez użytkownika poszczególne opcje lub ustawienia są zwykle rozdzielone przecinkami; na przykład pakiet geometry udostępnia wiele opcji do konfigurowania układu strony w LaTeX, więc typowe użycie geometry może wyglądać tak:
Pakiet geometry jest przykładem pakietu napisanego i udostępnionego przez członków globalnej społeczności LaTeX, dostępnego bezpłatnie dla każdego, kto chce z niego korzystać.Jeśli pakiet LaTeX nie udostępnia żadnych opcji lub użytkownik chce użyć domyślnych wartości opcji pakietu, wczytuje się go tak:
\usepackage{somepackage}
Gdy piszesz \usepackage[...]{somepackage}, LaTeX szuka odpowiadającego mu pliku o nazwie _somepackage_.sty, który musi wczytać i przetworzyć — aby udostępnić polecenia pakietu i wykonać wszelki inny kod dostarczony przez ten pakiet. Jeśli LaTeX nie może znaleźć _somepackage_.sty, zakończy działanie z błędem, jak pokazano w poniższym przykładzie Overleaf:
\documentclass[12pt, letterpaper]{article}\usepackage{somepackage}% a NON-EXISTENT package\begin{document}This will fail!\end{document}
Pakiety są dystrybuowane za pośrednictwem Comprehensive TeX Archive Network, zwykle nazywanej CTAN, która w chwili pisania tego tekstu hostuje 6287 pakietów od 2881 autorów. CTAN opisuje siebie jako
… zbiór witryn internetowych na całym świecie, które oferują do pobrania materiały związane z TEX.
Możesz przeglądać CTAN w poszukiwaniu przydatnych pakietów, na przykład:
alfabetycznie (przydatne, jeśli znasz nazwę pakietu)
Możesz też skorzystać z wyszukiwarki (u góry strony).
Pakiety dostępne w Overleaf: przedstawiamy TeX Live
Raz w roku (duży) podzbiór pakietów hostowanych w CTAN, wraz z fontami związanymi z LaTeX i innym oprogramowaniem, jest zestawiany i dystrybuowany jako system o nazwie TeX Live, którego można użyć do zainstalowania własnego (lokalnego) środowiska LaTeX. W rzeczywistości serwery Overleaf również używają TeX Live i są aktualizowane po wydaniu nowej wersji TeX Live. Aktualizacje TeX Live w Overleaf nie są natychmiastowe, lecz następują kilka miesięcy po wydaniu, co daje nam czas na przeprowadzenie testów zgodności nowej wersji TeX Live z tysiącami szablonów w naszej galerii. Oto na przykład nasze ogłoszenie o aktualizacji do TeX Live 2025.Choć TeX Live zawiera (duży) podzbiór pakietów CTAN, można natrafić na interesujący pakiet, taki jak igo do składu diagramów gry Go, który jest hostowany w CTAN, ale nie jest zawarty w TeX Live (ani przez niego dystrybuowany), a zatem jest niedostępny w Overleaf. Niektóre pakiety hostowane w CTAN nie wchodzą w skład TeX Live z różnych powodów: pakiet może być przestarzały, mieć problemy licencyjne, być bardzo nowy (niedawno przesłany) lub mieć zależności od platformy, np. działać w systemie Windows, ale nie w Linuksie.Nowe pakiety i aktualizacje istniejących są przesyłane do CTAN przez cały rok, ale aktualizacje TeX Live są dystrybuowane raz w roku; w związku z tym pakiety zawarte w bieżącej wersji TeX Live nie będą tak aktualne jak te hostowane w CTAN. Ponieważ serwery Overleaf używają TeX Live, możliwe jest, że pakiety zainstalowane na naszych serwerach — czyli dostępne dla naszych użytkowników — nie są najnowszymi wersjami dostępnymi w CTAN, ale zazwyczaj nie stanowi to problemu.
Ostatnia modyfikacja 8 listopada 2026
Czy ta strona była pomocna?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Ayakaleaf Pro","description":"Overleaf Community Edition enhanced with all Pro features: open source, free to use, self-hostable.","colors":{"primary":"#0E0E0E","light":"#D4A27F","dark":"#0E0E0E"},"logo":{"light":"https://mintcdn.com/ayakaleaf-pro/JetHeEeglWIIXNds/logo/light.png?fit=max\u0026auto=format\u0026n=JetHeEeglWIIXNds\u0026q=85\u0026s=7f1abd8dcc74dd3b7cdafac9e6e82092","dark":"https://mintcdn.com/ayakaleaf-pro/JetHeEeglWIIXNds/logo/dark.png?fit=max\u0026auto=format\u0026n=JetHeEeglWIIXNds\u0026q=85\u0026s=4e369d29a8c5a6cd8b4b7697ddb1f7e2","href":"/"},"favicon":"https://mintcdn.com/ayakaleaf-pro/x9kfDjtWlyyhG_mR/favicon.png?fit=max\u0026auto=format\u0026n=x9kfDjtWlyyhG_mR\u0026q=85\u0026s=832c6bfafce5eb69ebc83783083a4a85","background":{"color":{"light":"#FDFDF7","dark":"#09090B"}},"navbar":{"links":[{"href":"https://github.com/ayaka-notes/ayakaleaf-pro-playground","label":"Playground"},{"href":"https://github.com/orgs/ayaka-notes/packages/container/package/overleaf-pro","label":"Docker Image"},{"href":"https://github.com/ayaka-notes/texlive-full","label":"TeXLive Full"}],"primary":{"type":"button","label":"Open GitHub","href":"https://github.com/ayaka-notes/ayakaleaf-pro"}},"footer":{"socials":{"github":"https://github.com/ayaka-notes"}},"styling":{"latex":true},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode","assistant","download-pdf","download-spec"],"display":"header"},"metadata":{"timestamp":true},"navigation":{"languages":[{"language":"en","default":true,"href":""},{"language":"zh-CN","href":"zh-CN"},{"language":"zh-TW","href":"zh-TW"},{"language":"ja","href":"ja"},{"language":"de","href":"de"},{"language":"fr","href":"fr"},{"language":"es","href":"es"},{"language":"it","href":"it"},{"language":"ko","href":"ko"},{"language":"ru","href":"ru"},{"language":"nl","href":"nl"},{"language":"pt","href":"pt"},{"language":"tr","href":"tr"},{"language":"uk","href":"uk"},{"language":"pl","href":"pl"},{"language":"cs","href":"cs"},{"language":"sv","href":"sv"},{"language":"fi","href":"fi"},{"language":"ar","href":"ar"},{"language":"vi","href":"vi"},{"language":"no","href":"no"},{"language":"da","href":"da"},{"language":"id","href":"id"},{"language":"zh-Hans","href":"zh-Hans"},{"language":"zh-Hant","href":"zh-Hant"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"ayakaleaf-pro","hasAudioNarration":false,"actualSubdomain":"ayakaleaf-pro","customDomains":[],"gitSource":{"type":"github","owner":"ayaka-notes","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b01b8980081ff9d8e91cddc","clientVersion":"0.0.4270","searchFilterCounts":[{"language":"ar","tag":"الاستضافة المحلية","count":159},{"language":"en","tag":"On-Premises","count":159},{"language":"cs","tag":"On-Premises","count":159},{"language":"da","tag":"On-premises","count":159},{"language":"de","tag":"On-Premises","count":159},{"language":"es","tag":"Local","count":159},{"language":"fi","tag":"Paikallinen asennus","count":159},{"language":"fr","tag":"Sur site","count":159},{"language":"id","tag":"On-Premises","count":159},{"language":"it","tag":"On-premise","count":159},{"language":"ja","tag":"オンプレミス","count":159},{"language":"ko","tag":"온프레미스","count":159},{"language":"nl","tag":"On-premises","count":159},{"language":"no","tag":"Lokal drift","count":159},{"language":"pl","tag":"On-Premises","count":159},{"language":"pt","tag":"On-Premises","count":159},{"language":"ru","tag":"Локальное развертывание","count":159},{"language":"sv","tag":"On-Premises","count":159},{"language":"tr","tag":"Şirket İçi Kurulum","count":159},{"language":"uk","tag":"Локальне розгортання","count":159},{"language":"vi","tag":"Tự triển khai (On-Premises)","count":159},{"language":"zh-CN","tag":"本地部署","count":159},{"language":"zh-Hans","tag":"本地部署","count":159},{"language":"zh-Hant","tag":"本地部署","count":159},{"language":"zh-TW","tag":"本地部署","count":159},{"language":"ar","tag":"الإعداد","count":66},{"language":"en","tag":"Configuration","count":66},{"language":"cs","tag":"Konfigurace","count":66},{"language":"da","tag":"Konfiguration","count":66},{"language":"de","tag":"Konfiguration","count":66},{"language":"es","tag":"Configuración","count":66},{"language":"fi","tag":"Määritys","count":66},{"language":"fr","tag":"Configuration","count":66},{"language":"id","tag":"Konfigurasi","count":66},{"language":"it","tag":"Configurazione","count":66},{"language":"ja","tag":"設定","count":66},{"language":"ko","tag":"구성","count":66},{"language":"nl","tag":"Configuratie","count":66},{"language":"no","tag":"Konfigurasjon","count":66},{"language":"pl","tag":"Konfiguracja","count":66},{"language":"pt","tag":"Configuração","count":66},{"language":"ru","tag":"Настройка","count":66},{"language":"sv","tag":"Konfiguration","count":66},{"language":"tr","tag":"Yapılandırma","count":66},{"language":"uk","tag":"Конфігурація","count":66},{"language":"vi","tag":"Cấu hình","count":66},{"language":"zh-CN","tag":"配置","count":66},{"language":"zh-Hans","tag":"配置","count":66},{"language":"zh-Hant","tag":"設定","count":66},{"language":"zh-TW","tag":"設定","count":66},{"language":"en","tag":"Developer","count":57},{"language":"ar","tag":"المطوّرون","count":51},{"language":"cs","tag":"Vývojáři","count":51},{"language":"da","tag":"Udvikler","count":51},{"language":"de","tag":"Entwickler","count":51},{"language":"es","tag":"Desarrollador","count":51},{"language":"fi","tag":"Kehittäjä","count":51},{"language":"fr","tag":"Développeur","count":51},{"language":"id","tag":"Pengembang","count":51},{"language":"it","tag":"Sviluppatore","count":51},{"language":"ja","tag":"開発者","count":51},{"language":"ko","tag":"개발자","count":51},{"language":"nl","tag":"Ontwikkelaar","count":51},{"language":"no","tag":"Utvikler","count":51},{"language":"pl","tag":"Dla deweloperów","count":51},{"language":"pt","tag":"Desenvolvedor","count":51},{"language":"ru","tag":"Разработчикам","count":51},{"language":"sv","tag":"Utvecklare","count":51},{"language":"tr","tag":"Geliştirici","count":51},{"language":"uk","tag":"Розробникам","count":51},{"language":"vi","tag":"Nhà phát triển","count":51},{"language":"zh-CN","tag":"开发者","count":51},{"language":"zh-Hans","tag":"开发者","count":51},{"language":"zh-Hant","tag":"開發者","count":51},{"language":"zh-TW","tag":"開發者","count":51},{"language":"ar","tag":"التثبيت","count":40},{"language":"en","tag":"Installation","count":40},{"language":"cs","tag":"Instalace","count":40},{"language":"da","tag":"Installation","count":40},{"language":"de","tag":"Installation","count":40},{"language":"es","tag":"Instalación","count":40},{"language":"fi","tag":"Asennus","count":40},{"language":"fr","tag":"Installation","count":40},{"language":"id","tag":"Instalasi","count":40},{"language":"it","tag":"Installazione","count":40},{"language":"ja","tag":"インストール","count":40},{"language":"ko","tag":"설치","count":40},{"language":"nl","tag":"Installatie","count":40},{"language":"no","tag":"Installasjon","count":40},{"language":"pl","tag":"Instalacja","count":40},{"language":"pt","tag":"Instalação","count":40},{"language":"ru","tag":"Установка","count":40},{"language":"sv","tag":"Installation","count":40},{"language":"tr","tag":"Kurulum","count":40},{"language":"uk","tag":"Встановлення","count":40},{"language":"vi","tag":"Cài đặt","count":40},{"language":"zh-CN","tag":"安装","count":40},{"language":"zh-Hans","tag":"安装","count":40},{"language":"zh-Hant","tag":"安裝","count":40},{"language":"zh-TW","tag":"安裝","count":40},{"language":"en","tag":"Data Model","count":37},{"language":"ar","tag":"Docker Compose","count":34},{"language":"en","tag":"Docker Compose","count":34},{"language":"cs","tag":"Docker Compose","count":34},{"language":"da","tag":"Docker Compose","count":34},{"language":"de","tag":"Docker Compose","count":34},{"language":"es","tag":"Docker Compose","count":34},{"language":"fi","tag":"Docker Compose","count":34},{"language":"fr","tag":"Docker Compose","count":34},{"language":"id","tag":"Docker Compose","count":34},{"language":"it","tag":"Docker Compose","count":34},{"language":"ja","tag":"Docker Compose","count":34},{"language":"ko","tag":"Docker Compose","count":34},{"language":"nl","tag":"Docker Compose","count":34},{"language":"no","tag":"Docker Compose","count":34},{"language":"pl","tag":"Docker Compose","count":34},{"language":"pt","tag":"Docker Compose","count":34},{"language":"ru","tag":"Docker Compose","count":34},{"language":"sv","tag":"Docker Compose","count":34},{"language":"tr","tag":"Docker Compose","count":34},{"language":"uk","tag":"Docker Compose","count":34},{"language":"vi","tag":"Docker Compose","count":34},{"language":"zh-CN","tag":"Docker Compose","count":34},{"language":"zh-Hans","tag":"Docker Compose","count":34},{"language":"zh-Hant","tag":"Docker Compose","count":34},{"language":"zh-TW","tag":"Docker Compose","count":34},{"language":"ar","tag":"Kubernetes","count":32},{"language":"en","tag":"Kubernetes","count":32},{"language":"cs","tag":"Kubernetes","count":32},{"language":"da","tag":"Kubernetes","count":32},{"language":"de","tag":"Kubernetes","count":32},{"language":"es","tag":"Kubernetes","count":32},{"language":"fi","tag":"Kubernetes","count":32},{"language":"fr","tag":"Kubernetes","count":32},{"language":"id","tag":"Kubernetes","count":32},{"language":"it","tag":"Kubernetes","count":32},{"language":"ja","tag":"Kubernetes","count":32},{"language":"ko","tag":"Kubernetes","count":32},{"language":"nl","tag":"Kubernetes","count":32},{"language":"no","tag":"Kubernetes","count":32},{"language":"pl","tag":"Kubernetes","count":32},{"language":"pt","tag":"Kubernetes","count":32},{"language":"ru","tag":"Kubernetes","count":32},{"language":"sv","tag":"Kubernetes","count":32},{"language":"tr","tag":"Kubernetes","count":32},{"language":"uk","tag":"Kubernetes","count":32},{"language":"vi","tag":"Kubernetes","count":32},{"language":"zh-CN","tag":"Kubernetes","count":32},{"language":"zh-Hans","tag":"Kubernetes","count":32},{"language":"zh-Hant","tag":"Kubernetes","count":32},{"language":"zh-TW","tag":"Kubernetes","count":32},{"language":"ar","tag":"نموذج البيانات","count":31},{"language":"cs","tag":"Datový model","count":31},{"language":"da","tag":"Datamodel","count":31},{"language":"de","tag":"Datenmodell","count":31},{"language":"es","tag":"Modelo de datos","count":31},{"language":"fi","tag":"Tietomalli","count":31},{"language":"fr","tag":"Modèle de données","count":31},{"language":"id","tag":"Model Data","count":31},{"language":"it","tag":"Modello dati","count":31},{"language":"ja","tag":"データモデル","count":31},{"language":"ko","tag":"데이터 모델","count":31},{"language":"nl","tag":"Datamodel","count":31},{"language":"no","tag":"Datamodell","count":31},{"language":"pl","tag":"Model danych","count":31},{"language":"pt","tag":"Modelo de dados","count":31},{"language":"ru","tag":"Модель данных","count":31},{"language":"sv","tag":"Datamodell","count":31},{"language":"tr","tag":"Veri Modeli","count":31},{"language":"uk","tag":"Модель даних","count":31},{"language":"vi","tag":"Mô hình dữ liệu","count":31},{"language":"zh-CN","tag":"数据模型","count":31},{"language":"zh-Hans","tag":"数据模型","count":31},{"language":"zh-Hant","tag":"資料模型","count":31},{"language":"zh-TW","tag":"資料模型","count":31},{"language":"ar","tag":"استخدام Docker Compose","count":27},{"language":"en","tag":"Using Docker Compose","count":27},{"language":"cs","tag":"Použití Docker Compose","count":27},{"language":"da","tag":"Brug af Docker Compose","count":27},{"language":"de","tag":"Docker Compose verwenden","count":27},{"language":"es","tag":"Uso de Docker Compose","count":27},{"language":"fi","tag":"Docker Composen käyttö","count":27},{"language":"fr","tag":"Utiliser Docker Compose","count":27},{"language":"id","tag":"Menggunakan Docker Compose","count":27},{"language":"it","tag":"Utilizzo di Docker Compose","count":27},{"language":"ja","tag":"Docker Compose の使用","count":27},{"language":"ko","tag":"Docker Compose 사용","count":27},{"language":"nl","tag":"Docker Compose gebruiken","count":27},{"language":"no","tag":"Bruke Docker Compose","count":27},{"language":"pl","tag":"Korzystanie z Docker Compose","count":27},{"language":"pt","tag":"Usando o Docker Compose","count":27},{"language":"ru","tag":"Использование Docker Compose","count":27},{"language":"sv","tag":"Använda Docker Compose","count":27},{"language":"tr","tag":"Docker Compose kullanımı","count":27},{"language":"uk","tag":"Використання Docker Compose","count":27},{"language":"vi","tag":"Sử dụng Docker Compose","count":27},{"language":"zh-CN","tag":"使用 Docker Compose","count":27},{"language":"zh-Hans","tag":"使用 Docker Compose","count":27},{"language":"zh-Hant","tag":"使用 Docker Compose","count":27},{"language":"zh-TW","tag":"使用 Docker Compose","count":27},{"language":"ar","tag":"دليل المستخدم","count":24},{"language":"en","tag":"User guide","count":24},{"language":"cs","tag":"Uživatelská příručka","count":24},{"language":"da","tag":"Brugervejledning","count":24},{"language":"de","tag":"Benutzerhandbuch","count":24},{"language":"es","tag":"Guía del usuario","count":24},{"language":"fi","tag":"Käyttöopas","count":24},{"language":"fr","tag":"Guide de l'utilisateur","count":24},{"language":"id","tag":"Panduan pengguna","count":24},{"language":"it","tag":"Guida utente","count":24},{"language":"ja","tag":"ユーザーガイド","count":24},{"language":"ko","tag":"사용자 가이드","count":24},{"language":"nl","tag":"Gebruikershandleiding","count":24},{"language":"no","tag":"Brukerveiledning","count":24},{"language":"pl","tag":"Przewodnik użytkownika","count":24},{"language":"pt","tag":"Guia do usuário","count":24},{"language":"ru","tag":"Руководство пользователя","count":24},{"language":"sv","tag":"Användarguide","count":24},{"language":"tr","tag":"Kullanıcı kılavuzu","count":24},{"language":"uk","tag":"Посібник користувача","count":24},{"language":"vi","tag":"Hướng dẫn người dùng","count":24},{"language":"zh-CN","tag":"用户指南","count":24},{"language":"zh-Hans","tag":"用户指南","count":24},{"language":"zh-Hant","tag":"使用者指南","count":24},{"language":"zh-TW","tag":"使用者指南","count":24},{"language":"ar","tag":"التكاملات","count":22},{"language":"en","tag":"Integrations","count":22},{"language":"cs","tag":"Integrace","count":22},{"language":"da","tag":"Integrationer","count":22},{"language":"de","tag":"Integrationen","count":22},{"language":"es","tag":"Integraciones","count":22},{"language":"fi","tag":"Integraatiot","count":22},{"language":"fr","tag":"Intégrations","count":22},{"language":"id","tag":"Integrasi","count":22},{"language":"it","tag":"Integrazioni","count":22},{"language":"ja","tag":"連携","count":22},{"language":"ko","tag":"통합","count":22},{"language":"nl","tag":"Integraties","count":22},{"language":"no","tag":"Integrasjoner","count":22},{"language":"pl","tag":"Integracje","count":22},{"language":"pt","tag":"Integrações","count":22},{"language":"ru","tag":"Интеграции","count":22},{"language":"sv","tag":"Integrationer","count":22},{"language":"tr","tag":"Entegrasyonlar","count":22},{"language":"uk","tag":"Інтеграції","count":22},{"language":"vi","tag":"Tích hợp","count":22},{"language":"zh-CN","tag":"集成","count":22},{"language":"zh-Hans","tag":"集成","count":22},{"language":"zh-Hant","tag":"整合","count":22},{"language":"zh-TW","tag":"整合","count":22}],"searchSettings":{"maxResults":6}},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":true,"enableContextualStarterQuestions":true,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"@font-face{font-family:\"Site Sans\";src:url(\"/fonts/SiteSans-Text-Regular-Static.otf\") format(\"opentype\");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:\"Site Sans\";src:url(\"/fonts/SiteSans-Text-RegularItalic-Static.otf\") format(\"opentype\");font-weight:400;font-style:italic;font-display:swap}@font-face{font-family:\"Site Sans\";src:url(\"/fonts/SiteSans-Text-Medium-Static.otf\") format(\"opentype\");font-weight:500;font-style:normal;font-display:swap}@font-face{font-family:\"Site Sans\";src:url(\"/fonts/SiteSans-Text-MediumItalic-Static.otf\") format(\"opentype\");font-weight:500;font-style:italic;font-display:swap}@font-face{font-family:\"Site Sans\";src:url(\"/fonts/SiteSans-Text-Semibold-Static.otf\") format(\"opentype\");font-weight:600;font-style:normal;font-display:swap}@font-face{font-family:\"Site Sans\";src:url(\"/fonts/SiteSans-Text-SemiboldItalic-Static.otf\") format(\"opentype\");font-weight:600;font-style:italic;font-display:swap}@font-face{font-family:\"Site Sans\";src:url(\"/fonts/SiteSans-Text-Bold-Static.otf\") format(\"opentype\");font-weight:700;font-style:normal;font-display:swap}@font-face{font-family:\"Site Sans\";src:url(\"/fonts/SiteSans-Text-BoldItalic-Static.otf\") format(\"opentype\");font-weight:700;font-style:italic;font-display:swap}@font-face{font-family:\"Site Serif Display\";src:url(\"/fonts/SiteSerif-Display-Regular-Static.otf\") format(\"opentype\");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:\"Site Serif Display\";src:url(\"/fonts/SiteSerif-Display-RegularItalic-Static.otf\") format(\"opentype\");font-weight:400;font-style:italic;font-display:swap}@font-face{font-family:\"Site Serif Display\";src:url(\"/fonts/SiteSerif-Display-Medium-Static.otf\") format(\"opentype\");font-weight:500;font-style:normal;font-display:swap}@font-face{font-family:\"Site Serif Display\";src:url(\"/fonts/SiteSerif-Display-Semibold-Static.otf\") format(\"opentype\");font-weight:600;font-style:normal;font-display:swap}@font-face{font-family:\"Site Serif Display\";src:url(\"/fonts/SiteSerif-Display-Bold-Static.otf\") format(\"opentype\");font-weight:700;font-style:normal;font-display:swap}@font-face{font-family:\"Site Serif\";src:url(\"/fonts/SiteSerif-Text-Regular-Static.otf\") format(\"opentype\");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:\"Site Serif\";src:url(\"/fonts/SiteSerif-Text-RegularItalic-Static.otf\") format(\"opentype\");font-weight:400;font-style:italic;font-display:swap}@font-face{font-family:\"Site Serif\";src:url(\"/fonts/SiteSerif-Text-Medium-Static.otf\") format(\"opentype\");font-weight:500;font-style:normal;font-display:swap}@font-face{font-family:\"Site Serif\";src:url(\"/fonts/SiteSerif-Text-MediumItalic-Static.otf\") format(\"opentype\");font-weight:500;font-style:italic;font-display:swap}@font-face{font-family:\"Site Serif\";src:url(\"/fonts/SiteSerif-Text-Semibold-Static.otf\") format(\"opentype\");font-weight:600;font-style:normal;font-display:swap}@font-face{font-family:\"Site Serif\";src:url(\"/fonts/SiteSerif-Text-SemiboldItalic-Static.otf\") format(\"opentype\");font-weight:600;font-style:italic;font-display:swap}@font-face{font-family:\"Site Serif\";src:url(\"/fonts/SiteSerif-Text-Bold-Static.otf\") format(\"opentype\");font-weight:700;font-style:normal;font-display:swap}@font-face{font-family:\"Site Serif\";src:url(\"/fonts/SiteSerif-Text-BoldItalic-Static.otf\") format(\"opentype\");font-weight:700;font-style:italic;font-display:swap}:root{--always-white: 0 0% 100%;--always-black: 0 0% 0%;--constant-book-cloth: 15 55% 80%;--constant-clay: 15 60% 85%;--constant-kraft: 25 40% 83%;--constant-manilla: 40 20% 92%;--constant-slate-000: 0 0% 100%;--constant-slate-050: 48 33.3% 97.1%;--constant-slate-100: 53 28.6% 94.5%;--constant-slate-150: 48 25% 92.2%;--constant-slate-200: 50 20.7% 88.6%;--constant-slate-250: 51 16.5% 84.5%;--constant-slate-300: 50 11.5% 79.6%;--constant-slate-350: 50 9% 73.7%;--constant-slate-400: 49 6.5% 66.9%;--constant-slate-450: 48 4.8% 59.2%;--constant-slate-500: 53 3.2% 51.4%;--constant-slate-550: 51 3.1% 43.7%;--constant-slate-600: 48 2.7% 35.9%;--constant-slate-650: 48 3.4% 29.2%;--constant-slate-700: 60 2.5% 23.3%;--constant-slate-750: 60 2.1% 18.4%;--constant-slate-800: 60 2.7% 14.5%;--constant-slate-850: 30 3.3% 11.8%;--constant-slate-900: 30 4% 9.8%;--constant-slate-950: 60 2.6% 7.6%;--constant-slate-1000: 60 3.4% 5.7%}:root:not(.dark){--accent-brand: 15 63.1% 59.6%;--accent-main-000: 15 55.6% 52.4%;--accent-main-100: 15 55.6% 52.4%;--accent-main-200: 15 63.1% 59.6%;--accent-main-900: 0 0% 0%;--accent-pro-000: 251 34.2% 33.3%;--accent-pro-100: 251 40% 45.1%;--accent-pro-200: 251 61% 72.2%;--accent-pro-900: 253 33.3% 91.8%;--accent-secondary-000: 210 73.7% 40.2%;--accent-secondary-100: 210 70.9% 51.6%;--accent-secondary-200: 210 70.9% 51.6%;--accent-secondary-900: 211 72% 90%;--bg-000: 0 0% 100%;--bg-100: 48 33.3% 97.1%;--bg-200: 53 28.6% 94.5%;--bg-300: 48 25% 92.2%;--bg-400: 50 20.7% 88.6%;--bg-500: 50 20.7% 88.6%;--border-100: 30 3.3% 11.8%;--border-200: 30 3.3% 11.8%;--border-300: 30 3.3% 11.8%;--border-400: 30 3.3% 11.8%;--danger-000: 0 61.4% 22.4%;--danger-100: 0 58.6% 34.1%;--danger-200: 0 58.6% 34.1%;--danger-900: 0 50% 95%;--oncolor-100: 0 0% 100%;--oncolor-200: 60 6.7% 97.1%;--oncolor-300: 60 6.7% 97.1%;--text-000: 60 2.6% 7.6%;--text-100: 60 2.6% 7.6%;--text-200: 60 2.5% 23.3%;--text-300: 60 2.5% 23.3%;--text-400: 51 3.1% 43.7%;--text-500: 51 3.1% 43.7%}:root.dark{--accent-brand: 15 63.1% 59.6%;--accent-main-000: 15 55.6% 52.4%;--accent-main-100: 15 63.1% 59.6%;--accent-main-200: 15 63.1% 59.6%;--accent-main-900: 0 0% 0%;--accent-pro-000: 251 84.6% 74.5%;--accent-pro-100: 251 40.2% 54.1%;--accent-pro-200: 251 40% 45.1%;--accent-pro-900: 250 25.3% 19.4%;--accent-secondary-000: 210 71.1% 62%;--accent-secondary-100: 210 70.9% 51.6%;--accent-secondary-200: 210 70.9% 51.6%;--accent-secondary-900: 210 55.9% 24.6%;--bg-000: 60 2.1% 18.4%;--bg-100: 60 2.7% 14.5%;--bg-200: 30 3.3% 11.8%;--bg-300: 60 2.6% 7.6%;--bg-400: 60 3.4% 5.7%;--bg-500: 60 3.4% 5.7%;--border-100: 51 16.5% 84.5%;--border-200: 51 16.5% 84.5%;--border-300: 51 16.5% 84.5%;--border-400: 51 16.5% 84.5%;--danger-000: 0 73.1% 66.5%;--danger-100: 0 58.6% 34.1%;--danger-200: 0 58.6% 34.1%;--danger-900: 0 23% 15.6%;--oncolor-100: 0 0% 100%;--oncolor-200: 60 6.7% 97.1%;--oncolor-300: 60 6.7% 97.1%;--text-000: 48 33.3% 97.1%;--text-100: 48 33.3% 97.1%;--text-200: 50 9% 73.7%;--text-300: 50 9% 73.7%;--text-400: 48 4.8% 59.2%;--text-500: 48 4.8% 59.2%}#home-header{font-family:\"Site Sans\", system-ui, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif;font-weight:400!important;font-size:50px;line-height:1.2;margin-bottom:1rem;color:--text-000;display:flex;align-items:baseline;justify-content:center;flex-wrap:nowrap}#localization-select-trigger>:has(img[src*=\"flags\"]){display:none}div[id^=\"localization-select-item\"]>:has(img[src*=\"flags\"]){display:none}@media (min-width: 768px){#home-header{justify-content:center}}.build-with{font-family:\"Site Sans\", system-ui, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif;letter-spacing:-0.02em}.claude-wordmark-wrapper{display:inline-flex;align-items:baseline;margin-left:10px}.claude-wordmark{height:40px;width:auto;position:relative}.dark #home-header{color:white}.description-text{color:black}.dark .description-text{color:white}.dark .claude-wordmark{filter:invert(1)}:root{--bg-color: #f0efea}.dark{--bg-color: #2b2b2b}body,input,#category-select,.dropdown-item,#table-of-contents{font-family:\"Site Sans\", system-ui, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif}.eyebrow{font-family:\"Site Sans\", system-ui, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif;text-transform:uppercase;letter-spacing:0.02rem}#content-container{font-family:\"Site Sans\", system-ui, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif}#content-container h1,#content-container h2,#content-container h3,#content-container h4,#content-container h5,#content-container h6{font-family:\"Site Serif Display\", Georgia, \"Times New Roman\", Times, serif;font-weight:400;letter-spacing:0;word-spacing:0.1em}#content-container p{font-size:1rem;line-height:1.65rem}.font-extrabold{font-weight:600!important}.wide-table{width:100%;overflow-x:auto}.wide-table table{width:175%;margin-bottom:0}#prompt-library-container{margin:4rem auto;max-width:48rem;padding-left:1.25rem;padding-right:1.25rem}.prompt-library-title{font-size:24px;text-align:center;font-weight:700;color:#1f2937}.dark .prompt-library-title{color:#e5e7eb}.prompt-library-description{margin-top:1rem;text-align:center}.main-content{margin-bottom:10rem;max-width:64rem;margin-left:auto;margin-right:auto;padding-left:1.25rem;padding-right:1.25rem}.prompt-controllers{display:flex;gap:0.5rem}.prompt-search-container{position:relative;flex:1 1 0%}.prompt-search-icon-container{display:flex;position:absolute;top:0;bottom:0;left:0;align-items:center;padding-left:0.75rem}.prompt-search-icon{margin-left:0.25rem;margin-right:0.75rem;flex:none;width:1rem;height:1rem;background-color:#6b7280;mask-image:url(https://mintlify.b-cdn.net/v6.5.1/solid/magnifying-glass.svg);mask-repeat:no-repeat;mask-position:center center}input.prompt-search-bar{display:block;height:2.5rem;padding-left:2.5rem;border-radius:0.75rem;border-width:1px;background-color:#ffffff;width:100%;color:#111827;box-shadow:0 1px 2px 0 rgba(0, 0, 0, 0.05)}.dark input.prompt-search-bar{color:#ffffff;background-color:rgb(var(--background-dark));border-color:#d1d5db1a}input.prompt-search-bar:focus{outline-color:rgb(var(--primary))}.dark input.prompt-search-bar:focus{outline-color:rgb(var(--primary-light))}.dark .prompt-search-icon{background-color:#ffffff80}#category-select{padding-left:1rem;padding-right:2.5rem;height:2.5rem;display:flex;align-items:center;border-radius:0.75rem;border-width:1px;color:#111827;background-color:#ffffff;cursor:pointer;box-shadow:0 1px 2px 0 rgba(0, 0, 0, 0.05);white-space:nowrap}.dark #category-select{background-color:rgb(var(--background-dark));border-color:#d1d5db1a;color:#ffffff}#category-select:hover{background-color:#f9fafb}.dark #category-select:hover{background-color:#ffffff0d}#category-select:focus{outline-color:rgb(var(--primary))}.dark #category-select:focus{outline-color:rgb(var(--primary-light))}#categories-dropdown{top:calc(100% + 4px);padding:0.5rem 0.5rem;display:none;position:absolute;z-index:10;border-radius:0.75rem;border-width:1px;width:100%;color:#111827;background-color:#ffffff;box-shadow:0 1px 2px 0 rgba(0, 0, 0, 0.05)}.dark #categories-dropdown{background-color:rgb(var(--background-dark));border-color:#d1d5db1a;color:#ffffff}#categories-dropdown-clickout{position:fixed;top:0;right:0;bottom:0;left:0;z-index:0}.dropdown-icon-container{display:flex;position:absolute;top:0;bottom:0;right:0;align-items:center;padding-right:0.25rem}.dropdown-icon{margin-left:0.25rem;margin-right:0.75rem;flex:none;width:0.75rem;height:0.75rem;background-color:#6b7280;mask-image:url(https://mintlify.b-cdn.net/v6.5.1/solid/caret-down.svg);mask-repeat:no-repeat;mask-position:center center}.dark .dropdown-icon{background-color:#ffffff80}#prompts-container{grid-template-columns:repeat(1, minmax(0, 1fr));gap:2rem}.dropdown-item{padding:0.25rem 0.5rem;border-radius:0.375rem;display:flex;align-items:center;cursor:pointer}.dropdown-item:hover{background-color:#f9fafb}.dark .dropdown-item:hover{background-color:#ffffff0d}.check-icon{mask-image:url(https://mintlify.b-cdn.net/v6.5.1/solid/check.svg);height:0.875rem;width:1rem;background-color:rgb(var(--primary-light));mask-repeat:no-repeat;mask-position:center center}.prompt-card{margin:-0.75rem;padding:0.75rem;display:flex;border-radius:1rem}.prompt-card:hover{background-color:#03071208}.dark .prompt-card:hover{background-color:#ffffff08}.prompt-icon-container{display:flex;flex:none;align-items:center;justify-content:center;margin-right:1.5rem;border-radius:0.75rem;height:4rem;width:4rem;background-color:#cb785c1a}.prompt-icon{height:1.5rem;width:1.5rem;background-color:rgb(var(--primary-light));mask-repeat:no-repeat;mask-position:center center}.prompt-title{color:rgb(31 41 55);font-weight:600}.dark .prompt-title{color:rgb(229 231 235)}.prompt-description{margin-top:0.25rem}#prompts-container{display:grid;margin-top:2.5rem}@media (min-width: 640px){#category-select{width:16rem}}@media (min-width: 1024px){#prompts-container{grid-template-columns:repeat(2, minmax(0, 1fr))}}.home-cards-custom{display:grid;grid-template-columns:repeat(3, 1fr);grid-template-rows:repeat(2, auto);gap:1.5rem}.home-cards-custom .card{background:transparent;border:0.5px solid hsl(var(--border-300));border-radius:12px;padding:0.25rem}@media (max-width: 1024px){.home-cards-custom{grid-template-columns:repeat(2, 1fr);grid-template-rows:repeat(3, auto)}}@media (max-width: 768px){.home-cards-custom{grid-template-columns:1fr;grid-template-rows:repeat(6, auto)}}.relative{position:relative}.flex-1{flex:1 1 0%}.mermaid{position:relative;background-color:#FDFDFB;background-image:linear-gradient(rgba(235, 219, 188, .25) 1px, transparent 1px), /* Secondary color #EBDBBC with low opacity */\n linear-gradient(90deg, rgba(235, 219, 188, .25) 1px, transparent 1px),\n linear-gradient(rgba(235, 219, 188, .1) 1px, transparent 1px),\n linear-gradient(90deg, rgba(235, 219, 188, .1) 1px, transparent 1px);background-size:20px 20px,\n 20px 20px,\n 4px 4px,\n 4px 4px;background-position:-1px -1px,\n -1px -1px,\n -1px -1px,\n -1px -1px;padding:20px;border-radius:8px;border:1px solid rgba(235, 219, 188, .4);box-shadow:0 2px 4px rgba(64, 64, 62, 0.08)}.dark .mermaid{background-color:#1a1918;background-image:linear-gradient(rgba(212, 162, 127, .15) 1px, transparent 1px), /* Tertiary color #D4A27F with low opacity */\n linear-gradient(90deg, rgba(212, 162, 127, .15) 1px, transparent 1px),\n linear-gradient(rgba(212, 162, 127, .08) 1px, transparent 1px),\n linear-gradient(90deg, rgba(212, 162, 127, .08) 1px, transparent 1px);border:1px solid rgba(102, 102, 99, .5);box-shadow:0 2px 4px rgba(0, 0, 0, 0.2)}.digest-meta{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:0.5rem 1rem;padding:0.75rem 1rem;margin:1.5rem 0 2.5rem;border:1px solid hsl(var(--border-300) / 0.15);background:hsl(var(--bg-200));font-variant-numeric:tabular-nums;font-size:0.875rem;color:hsl(var(--text-400))}#content-container .digest-meta a{color:hsl(var(--accent-main-100));font-weight:500;text-decoration:none;border-bottom:none}#content-container .digest-meta a:hover{text-decoration:underline}.digest-feature{position:relative;margin:2.5rem 0;padding:1.875rem 1.875rem 1.625rem;background:radial-gradient(circle, hsl(var(--text-000) / 0.025) 1px, transparent 1px) 0 0 / 18px 18px,\n linear-gradient(180deg, hsl(var(--constant-manilla) / 0.55), hsl(var(--constant-manilla) / 0.38));border:1px solid hsl(var(--border-300) / 0.12);box-shadow:inset 0 1px 0 hsl(var(--text-000) / 0.04),\n 0 1px 2px hsl(var(--always-black) / 0.04)}.digest-feature::before{content:\"\";position:absolute;inset:0 auto 0 0;width:4px;background:hsl(var(--accent-brand))}.dark .digest-feature{background:radial-gradient(circle, hsl(var(--text-000) / 0.02) 1px, transparent 1px) 0 0 / 18px 18px,\n linear-gradient(180deg, hsl(var(--bg-000) / 0.75), hsl(var(--bg-000) / 0.5));border-color:hsl(var(--border-300) / 0.1);box-shadow:inset 0 1px 0 hsl(var(--text-000) / 0.03),\n 0 1px 2px hsl(var(--always-black) / 0.25)}.digest-feature>:first-child{margin-top:0}.digest-feature>:last-child{margin-bottom:0}.digest-feature-header{display:flex;align-items:center;flex-wrap:wrap;gap:0.625rem;margin:0 0 0.75rem}#content-container .digest-feature-title{font-family:\"Site Serif Display\", Georgia, serif;font-size:1.75rem;line-height:1.15;font-weight:500;letter-spacing:-0.015em;color:hsl(var(--text-000));margin:0}#content-container .digest-feature-pill{font-family:ui-monospace, \"SF Mono\", Menlo, Consolas, monospace;font-size:0.75rem;line-height:1;letter-spacing:0.01em;padding:0.3rem 0.6rem;border-radius:999px;background:hsl(var(--accent-brand) / 0.12);color:hsl(var(--accent-main-000));border:1px solid hsl(var(--accent-brand) / 0.25);white-space:nowrap;transform:translateY(1px)}#content-container .digest-feature-lede{font-size:1.0625rem;line-height:1.65;color:hsl(var(--text-100));margin:0 0 1.25rem;max-width:none}#content-container .digest-feature-lede code{font-size:0.875em;padding:0.1em 0.35em}#content-container .digest-feature-try{font-size:0.875rem;color:hsl(var(--text-400));margin:1.25rem 0 0.5rem}#content-container .digest-feature .frame{margin:1rem 0;border-radius:0;padding:0}#content-container .digest-feature .frame>*{border-radius:0}#content-container .digest-feature pre,#content-container .digest-feature [class*=\"CodeBlock\"]{border-radius:0}#content-container .digest-feature-link{display:inline-flex;align-items:center;gap:0.35rem;font-size:0.875rem;font-weight:500;color:hsl(var(--accent-main-100));text-decoration:none;border-bottom:none;margin-top:0.75rem}#content-container .digest-feature-link::after{content:\"→\";transition:transform 120ms ease-out}#content-container .digest-feature-link:hover::after{transform:translateX(3px)}.digest-wins{margin:2.5rem 0;padding:1.5rem 1.75rem 1.25rem;background:hsl(var(--bg-200));border:1px solid hsl(var(--border-300) / 0.1)}.dark .digest-wins{background:hsl(var(--bg-200) / 0.6)}#content-container .digest-wins-title{font-family:\"Site Serif Display\", Georgia, serif;font-size:1.25rem;font-weight:500;color:hsl(var(--text-000));margin:0 0 0.75rem}.digest-wins-grid{display:grid;grid-template-columns:repeat(auto-fit, minmax(16rem, 1fr));column-gap:2rem}#content-container .digest-wins-grid>div{position:relative;font-size:0.875rem;line-height:1.5;color:hsl(var(--text-300));padding:0.5rem 0 0.5rem 1.125rem;border-top:1px solid hsl(var(--border-300) / 0.06);margin:0}#content-container .digest-wins-grid>div::before{content:\"+\";position:absolute;left:0;top:0.5rem;font-family:ui-monospace, \"SF Mono\", Menlo, Consolas, monospace;font-size:0.8125rem;font-weight:600;color:hsl(var(--accent-brand))}#content-container .digest-wins-grid>div:first-child,#content-container .digest-wins-grid>div:nth-child(2){border-top:none;padding-top:0}#content-container .digest-wins-grid>div:first-child::before,#content-container .digest-wins-grid>div:nth-child(2)::before{top:0}#content-container .digest-wins-grid code{font-size:0.8125rem;padding:0.1em 0.3em}:root{--toc-wrapper-max: 92rem;--toc-wrapper-pad: 2rem;--toc-col: 19rem;--toc-side: 28rem;--toc-btn-size: 1.75rem}#toc-collapse-toggle{display:none;align-items:center;justify-content:center;position:fixed;top:10rem;right:calc(\n max((100% - var(--toc-wrapper-max)) / 2, 0px) + var(--toc-wrapper-pad) +\n var(--toc-col) - var(--toc-btn-size) - 0.35rem\n );transition:right 200ms ease-out;z-index:30;width:var(--toc-btn-size);height:var(--toc-btn-size);border-radius:9999px;border:1px solid hsl(var(--border-300) / 0.15);background:hsl(var(--bg-100));color:hsl(var(--text-400));cursor:pointer}#toc-collapse-toggle:hover{background:hsl(var(--bg-300));color:hsl(var(--text-100))}#toc-collapse-toggle svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}#toc-collapse-toggle .toc-glyph{display:none;stroke-width:2}@media print{#toc-collapse-toggle{display:none!important}}@media (prefers-reduced-motion: reduce){#toc-collapse-toggle{transition:none}}@media (min-width: 1280px){html:has(#table-of-contents-layout) #toc-collapse-toggle{display:flex}html.toc-collapsed #toc-collapse-toggle .toc-chevron{transform:rotate(180deg)}html.toc-collapsed #toc-collapse-toggle{right:0.5rem;width:auto;padding:0 0.5rem;gap:0.25rem}html.toc-collapsed #toc-collapse-toggle .toc-glyph{display:block}html.toc-collapsed #table-of-contents-layout{display:none!important}html.toc-collapsed #content-side-layout:has(#table-of-contents-layout){display:none!important}html.toc-collapsed #content-container:has(#table-of-contents-layout) #content-area{width:100%!important}html.toc-collapsed #content-container:has(#table-of-contents-layout) #content-area>*{max-width:calc(var(--toc-wrapper-max) - var(--toc-side))}}@media (max-width: 640px){.digest-feature{padding:1.25rem 1rem 1rem;margin:1.5rem 0}#content-container .digest-feature-title{font-size:1.375rem}.digest-wins{padding:1.25rem 1rem 1rem}.digest-wins-grid{grid-template-columns:1fr}#content-container .digest-wins-grid>div:nth-child(2){border-top:1px solid hsl(var(--border-300) / 0.06);padding-top:0.5rem}#content-container .digest-wins-grid>div:nth-child(2)::before{top:0.5rem}}img[data-component-part=\"card-image\"]{aspect-ratio:16 / 9;height:auto;object-fit:cover;object-position:top center}"},{"filePath":"button.css","content":".btn{position:relative;display:inline-flex;gap:0.5rem;align-items:center;justify-content:center;flex-shrink:0;min-width:5rem;height:2.25rem;padding:0.5rem 1rem;white-space:nowrap;font-family:Styrene;font-weight:600;border-radius:0.5rem;\u0026:active{transform:scale(0.985)}\u0026.size-xs{height:1.75rem;min-width:3.5rem;padding:0 0.5rem;border-radius:0.25rem;font-size:0.75rem;gap:0.25rem}\u0026.size-sm{height:2rem;min-width:4rem;padding:0 0.75rem;border-radius:0.375rem;font-size:0.75rem}\u0026.size-lg{height:2.75rem;min-width:6rem;padding:0 1.25rem;border-radius:0.6rem}\u0026:disabled{pointer-events:none;opacity:0.5;box-shadow:none}\u0026:focus-visible{outline:none;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow)}\u0026.primary{font-weight:600;color:hsl(var(--oncolor-100));background-color:hsl(var(--accent-main-100));background-image:linear-gradient(\n to right,\n hsl(var(--accent-main-100)) 0%,\n hsl(var(--accent-main-200) / 0.5) 50%,\n hsl(var(--accent-main-200)) 100%\n );background-size:200% 100%;background-position:0% 0%;border:0.5px solid hsl(var(--border-300) / 0.25);box-shadow:inset 0 0.5px 0px rgba(255, 255, 0, 0.15),\n 0 1px 1px rgba(0, 0, 0, 0.05);text-shadow:0 1px 2px rgb(0 0 0 / 10%);transition:all 150ms cubic-bezier(0.4, 0, 0.2, 1);\u0026:hover{background-position:100% 0%;background-image:linear-gradient(\n to right,\n hsl(var(--accent-main-200)) 0%,\n hsl(var(--accent-main-200)) 100%\n )}\u0026:active{background-color:hsl(var(--accent-main-000));box-shadow:inset 0 1px 6px rgba(0, 0, 0, 0.2);transform:scale(0.985)}}\u0026.flat{font-weight:500;color:hsl(var(--oncolor-100));background-color:hsl(var(--accent-main-100));transition:background-color 150ms;\u0026:hover{background-color:hsl(var(--accent-main-200))}}\u0026.secondary{font-weight:600;color:hsl(var(--text-100) / 0.9);background-image:radial-gradient(\n ellipse at center,\n hsl(var(--bg-500) / 0.1) 50%,\n hsl(var(--bg-500) / 0.3) 100%\n );border:0.5px solid hsl(var(--border-400));transition:color 150ms, background-color 150ms;\u0026:hover{color:hsl(var(--text-000));background-color:hsl(var(--bg-500) / 0.6)}\u0026:active{background-color:hsl(var(--bg-500) / 0.5)}}\u0026.outline{font-weight:600;color:hsl(var(--text-200));background-color:transparent;border:1.5px solid currentColor;transition:color 150ms, background-color 150ms;\u0026:hover{color:hsl(var(--text-100));background-color:hsl(var(--bg-400));border-color:hsl(var(--bg-400))}}\u0026.ghost{color:hsl(var(--text-200));border-color:transparent;transition:color 150ms, background-color 150ms;\u0026:hover{color:hsl(var(--text-100));background-color:hsl(var(--bg-500) / 0.4)}\u0026:active{background-color:hsl(var(--bg-400))}}\u0026.underline{opacity:0.8;text-decoration-line:none;text-underline-offset:3px;transition:all 150ms;\u0026:hover{opacity:1;text-decoration-line:underline}\u0026:active{transform:scale(0.985)}}\u0026.danger{font-weight:600;color:hsl(var(--oncolor-100));background-color:hsl(var(--danger-100));transition:background-color 150ms;\u0026:hover{background-color:hsl(var(--danger-200))}}}"}]}
{"page":{"pagePath":"pl/texlive/latex-basics/learn-latex-in-30-minutes","slug":"/pl/texlive/latex-basics/learn-latex-in-30-minutes","pageMetadata":{"title":"Naucz się LaTeX w 30 minut","description":null,"href":"/pl/texlive/latex-basics/learn-latex-in-30-minutes"},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,blockquote:`blockquote`,code:`code`,em:`em`,img:`img`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,OptimizedImage}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.blockquote,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(`strong`,{children:`NOWOŚĆ:`}),` Odwiedź nowe `,_jsx(_components.a,{href:`https://learn.overleaf.com/`,children:`Overleaf Learning Center`}),`, aby poznać bezpłatne kursy online i webinary na żywo — wszystko, czego potrzebujesz, by opanować LaTeX i w pełni wykorzystać możliwości Overleaf.`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`Ten samouczek wprowadzający nie zakłada żadnego wcześniejszego doświadczenia z LaTeX, ale mamy nadzieję, że gdy go ukończysz, nie tylko napiszesz swój pierwszy dokument w LaTeX, lecz także zdobędziesz wystarczającą wiedzę i pewność siebie, aby zrobić kolejne kroki w kierunku biegłości w LaTeX.`}),`\n`,_jsx(Heading,{level:`2`,id:`what-is-latex`,children:`Czym jest LaTeX?`}),`\n`,_jsxs(_components.p,{children:[`LaTeX (wymawiany „`,_jsx(_components.em,{children:`LEJ`}),`-tek” lub „`,_jsx(_components.em,{children:`LA`}),`-tek”) to narzędzie do składania profesjonalnie wyglądających dokumentów. Sposób działania LaTeX znacznie różni się jednak od wielu innych aplikacji do tworzenia dokumentów, z których być może korzystałeś, takich jak Microsoft Word czy LibreOffice Writer: tamte narzędzia typu „`,_jsx(_components.a,{href:`https://en.wikipedia.org/wiki/WYSIWYG`,children:`WYSIWYG`}),`” udostępniają interaktywną stronę, na której użytkownik wpisuje i edytuje tekst oraz stosuje różne formy stylów. LaTeX działa zupełnie inaczej: Twój dokument jest zwykłym plikiem tekstowym przeplatanym `,_jsx(_components.em,{children:`poleceniami`}),` LaTeX, które wyrażają pożądany (złożony) wynik. Aby uzyskać widoczny, złożony dokument, plik LaTeX jest przetwarzany przez oprogramowanie zwane `,_jsx(_components.em,{children:`silnikiem TeX`}),`, które na podstawie poleceń osadzonych w pliku tekstowym steruje procesem składu, przekształcając polecenia LaTeX i tekst dokumentu w profesjonalnie złożony plik PDF. Oznacza to, że musisz skupić się wyłącznie na `,_jsx(_components.em,{children:`treści`}),` dokumentu, a komputer — za pośrednictwem poleceń LaTeX i silnika TeX — zadba o jego `,_jsx(_components.em,{children:`wygląd`}),` (formatowanie).`]}),`\n`,_jsx(Heading,{level:`2`,id:`why-learn-latex`,children:`Dlaczego warto nauczyć się LaTeX?`}),`\n`,_jsx(_components.p,{children:`Można przytoczyć różne argumenty za nauką LaTeX zamiast innych aplikacji do tworzenia dokumentów lub przeciw niej; ostatecznie jest to jednak osobisty wybór, zależny od preferencji, upodobań i wymagań dotyczących dokumentacji.`}),`\n`,_jsx(_components.p,{children:`Argumenty przemawiające za LaTeX obejmują:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`obsługę składu niezwykle złożonej matematyki, tabel i treści technicznych z zakresu nauk ścisłych;`}),`\n`,_jsx(_components.li,{children:`mechanizmy obsługi przypisów, odsyłaczy i zarządzania bibliografią;`}),`\n`,_jsx(_components.li,{children:`łatwość tworzenia skomplikowanych lub żmudnych elementów dokumentu, takich jak indeksy, słowniczki, spisy treści czy spisy ilustracji;`}),`\n`,_jsxs(_components.li,{children:[`bardzo duże możliwości dostosowania do tworzenia dokumentów na zamówienie dzięki wbudowanej programowalności i rozszerzalności za pomocą tysięcy `,_jsx(_components.a,{href:`https://www.ctan.org/pkg`,children:`bezpłatnych pakietów dodatkowych`}),`.`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`Ogólnie rzecz biorąc, LaTeX daje użytkownikom dużą kontrolę nad tworzeniem dokumentów składanych według niezwykle wysokich standardów. Oczywiście istnieją rodzaje dokumentów lub publikacji, w których LaTeX się nie wyróżnia, w tym wiele „swobodnych” projektów stron typowych dla publikacji w stylu magazynów.`}),`\n`,_jsxs(_components.p,{children:[`Jedną z ważnych zalet LaTeX jest oddzielenie treści dokumentu od jego stylu: po napisaniu treści dokumentu jego wygląd można łatwo zmienić. Podobnie możesz utworzyć plik LaTeX, który definiuje układ/styl określonego typu dokumentu, i używać go jako `,_jsx(_components.em,{children:`szablonu`}),` do ujednolicenia tworzenia kolejnych dokumentów tego typu; na przykład pozwala to wydawcom naukowym tworzyć w LaTeX szablony artykułów, których autorzy używają do pisania prac zgłaszanych do czasopism. Overleaf ma `,_jsx(_components.a,{href:`https://www.overleaf.com/gallery`,children:`galerię zawierającą tysiące szablonów`}),`, obejmującą ogromną gamę typów dokumentów — od artykułów naukowych, raportów i książek po CV i prezentacje. Ponieważ szablony te definiują układ i styl dokumentu, autorzy muszą je jedynie otworzyć w Overleaf — tworząc nowy projekt — i zacząć pisać, dodając własną treść.`]}),`\n`,_jsx(Heading,{level:`2`,id:`writing-your-first-piece-of-latex`,children:`Twój pierwszy fragment kodu LaTeX`}),`\n`,_jsxs(_components.p,{children:[`Pierwszym krokiem jest utworzenie nowego projektu LaTeX. Możesz to zrobić na własnym komputerze, tworząc nowy plik `,_jsx(_components.code,{children:`.tex`}),`; alternatywnie możesz `,_jsx(_components.a,{href:`https://docs.overleaf.com/getting-started/your-first-project`,children:`rozpocząć nowy projekt w Overleaf`}),`.`]}),`\n`,_jsx(_components.p,{children:`Zacznijmy od najprostszego działającego przykładu, który można otworzyć bezpośrednio w Overleaf:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`latex`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`latex`,children:_jsxs(_components.code,{language:`latex`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\\\\documentclass`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`article`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\begin`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`document`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`First document. This is a simple example, with no `})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`extra parameters or packages included.`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\end`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`document`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.a,{href:`https://www.overleaf.com/docs?engine=pdflatex\u0026snip%5Fname=Simplest+working+example+LaTeX+document\u0026snip=%5Cdocumentclass%7Barticle%7D%0A%5Cbegin%7Bdocument%7D%0AFirst+document.+This+is+a+simple+example%2C+with+no+%0Aextra+parameters+or+packages+included.%0A%5Cend%7Bdocument%7D`,children:`Otwórz ten przykład w Overleaf.`})}),`\n`,_jsx(_components.p,{children:`Ten przykład daje następujący wynik:`}),`\n`,_jsx(_components.p,{children:_jsx(_components.img,{src:`https://images.ctfassets.net/nrgyaltdicpt/5oBbZABsWEnHZpwhfvV2PD/95ba7d5496616b4f10dffe6fb90f578a/LL30Fig1-plain.svg`,alt:`Przykładowy dokument`})}),`\n`,_jsx(_components.p,{children:`Jak widać, LaTeX automatycznie wciął pierwszy wiersz akapitu, dbając za Ciebie o to formatowanie. Przyjrzyjmy się bliżej, co robi każda część naszego kodu.`}),`\n`,_jsxs(_components.p,{children:[`Pierwszy wiersz kodu, `,_jsx(_components.code,{children:`\\\\documentclass{article}`}),`, deklaruje typ dokumentu, zwany jego `,_jsx(_components.em,{children:`klasą`}),`, która decyduje o ogólnym wyglądzie dokumentu. Różne rodzaje dokumentów wymagają różnych klas; np. CV/życiorys będzie wymagać innej klasy niż artykuł naukowy, który może korzystać ze standardowej klasy LaTeX `,_jsx(_components.code,{children:`article`}),`. Inne rodzaje dokumentów, nad którymi pracujesz, mogą wymagać innych klas, takich jak `,_jsx(_components.code,{children:`book`}),` lub `,_jsx(_components.code,{children:`report`}),`. Aby zorientować się, jak wiele typów klas LaTeX jest dostępnych, `,_jsx(_components.a,{href:`https://www.ctan.org/topic/class`,children:`odwiedź odpowiednią stronę w CTAN (Comprehensive TeX Archive Network)`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`Po ustawieniu klasy dokumentu nasza treść, zwana `,_jsx(_components.em,{children:`ciałem`}),` dokumentu, jest zapisywana między znacznikami `,_jsx(_components.code,{children:`\\\\begin{document}`}),` i `,_jsx(_components.code,{children:`\\\\end{document}`}),`. Po otwarciu powyższego przykładu możesz wprowadzać zmiany w tekście, a po zakończeniu obejrzeć wynikowy złożony PDF, `,_jsx(_components.em,{children:`ponownie kompilując dokument`}),`. Aby to zrobić w Overleaf, po prostu kliknij `,_jsx(_components.strong,{children:`Recompile`}),`, jak pokazano w tym krótkim klipie wideo:`]}),`\n`,_jsxs(_components.p,{children:[`Każdy projekt Overleaf można skonfigurować tak, aby był automatycznie kompilowany ponownie po każdej edycji: kliknij małą strzałkę obok przycisku `,_jsx(_components.strong,{children:`Recompile`}),` i ustaw `,_jsx(_components.strong,{children:`Auto Compile`}),` na `,_jsx(_components.strong,{children:`On`}),`, jak pokazano na poniższym zrzucie ekranu:`]}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/ayakaleaf-pro/GmaXa-Cu4QQRFT4C/images/texlive/ll30autocompile.png?fit=max\u0026auto=format\u0026n=GmaXa-Cu4QQRFT4C\u0026q=85\u0026s=a109144b1a0939f182ce202207687428`,alt:`Zrzut ekranu pokazujący, jak włączyć lub wyłączyć Auto Compile`,\"data-og-width\":`1820`,width:`1820`,\"data-og-height\":`831`,height:`831`,\"data-path\":`images/texlive/ll30autocompile.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/ayakaleaf-pro/GmaXa-Cu4QQRFT4C/images/texlive/ll30autocompile.png?w=280\u0026fit=max\u0026auto=format\u0026n=GmaXa-Cu4QQRFT4C\u0026q=85\u0026s=e164db1856f25bf6404cd7ba5065cfcf 280w, https://mintcdn.com/ayakaleaf-pro/GmaXa-Cu4QQRFT4C/images/texlive/ll30autocompile.png?w=560\u0026fit=max\u0026auto=format\u0026n=GmaXa-Cu4QQRFT4C\u0026q=85\u0026s=ca319ff6a9315ef5fbe4c409e37cb6f7 560w, https://mintcdn.com/ayakaleaf-pro/GmaXa-Cu4QQRFT4C/images/texlive/ll30autocompile.png?w=840\u0026fit=max\u0026auto=format\u0026n=GmaXa-Cu4QQRFT4C\u0026q=85\u0026s=f7ad06fbf7199367c7bc9f5b46a01b03 840w, https://mintcdn.com/ayakaleaf-pro/GmaXa-Cu4QQRFT4C/images/texlive/ll30autocompile.png?w=1100\u0026fit=max\u0026auto=format\u0026n=GmaXa-Cu4QQRFT4C\u0026q=85\u0026s=bfec0fb1e0993b7c877512a1e2c99488 1100w, https://mintcdn.com/ayakaleaf-pro/GmaXa-Cu4QQRFT4C/images/texlive/ll30autocompile.png?w=1650\u0026fit=max\u0026auto=format\u0026n=GmaXa-Cu4QQRFT4C\u0026q=85\u0026s=6115017cfa95aa2e6f74ccd144dd59c3 1650w, https://mintcdn.com/ayakaleaf-pro/GmaXa-Cu4QQRFT4C/images/texlive/ll30autocompile.png?w=2500\u0026fit=max\u0026auto=format\u0026n=GmaXa-Cu4QQRFT4C\u0026q=85\u0026s=76157afa59c7c1782a41112b9fb4dec6 2500w`}),`\n`,_jsxs(_components.p,{children:[`Wiemy już, jak dodawać treść do dokumentu — kolejnym krokiem jest nadanie mu tytułu. W tym celu musimy krótko omówić `,_jsx(_components.strong,{children:`preambułę`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`the-preamble-of-a-document`,children:`Preambuła dokumentu`}),`\n`,_jsxs(_components.p,{children:[`Powyższy zrzut ekranu pokazuje, że Overleaf przechowuje dokument LaTeX w pliku o nazwie `,_jsx(_components.code,{children:`main.tex`}),`: rozszerzenie `,_jsx(_components.code,{children:`.tex`}),` jest zwyczajowo używane w nazwach plików zawierających kod LaTeX dokumentu.`]}),`\n`,_jsxs(_components.p,{children:[`Poprzedni przykład pokazał, że treść dokumentu wpisuje się po poleceniu `,_jsx(_components.code,{children:`\\\\begin{document}`}),`; wszystko jednak, co w pliku `,_jsx(_components.code,{children:`.tex`}),` znajduje się `,_jsx(_components.em,{children:`przed`}),` tym miejscem, nazywa się `,_jsx(_components.em,{children:`preambułą`}),` i pełni rolę sekcji „konfiguracyjnej” dokumentu. W preambule definiujesz klasę (typ) dokumentu wraz ze szczegółami, takimi jak języki używane w dokumencie; wczytujesz `,_jsx(_components.em,{children:`pakiety`}),`, z których chcesz korzystać (więcej na ten temat `,_jsx(_components.a,{href:`#finding-and-using-latex-packages`,children:`później`}),`), a także stosujesz inne rodzaje konfiguracji.`]}),`\n`,_jsx(_components.p,{children:`Minimalna preambuła dokumentu może wyglądać tak:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`latex`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`latex`,children:_jsxs(_components.code,{language:`latex`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\\\\documentclass`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`12pt, letterpaper`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]{`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`article`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\\\\usepackage`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`graphicx`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`gdzie `,_jsx(_components.code,{children:`\\\\documentclass[12pt, letterpaper]{article}`}),` definiuje ogólną klasę (typ) dokumentu. Dodatkowe parametry, które muszą być rozdzielone przecinkami, umieszcza się w nawiasach kwadratowych (`,_jsx(_components.code,{children:`[...]`}),`) i służą one do skonfigurowania tej instancji klasy article, czyli ustawień, których chcemy użyć w tym konkretnym dokumencie opartym na klasie `,_jsx(_components.code,{children:`article`}),`.`]}),`\n`,_jsx(_components.p,{children:`W tym przykładzie oba parametry działają następująco:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`12pt`}),` ustawia rozmiar czcionki`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`letterpaper`}),` ustawia rozmiar papieru`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Oczywiście można używać innych rozmiarów czcionki, `,_jsx(_components.code,{children:`9pt`}),`, `,_jsx(_components.code,{children:`11pt`}),`, `,_jsx(_components.code,{children:`12pt`}),`, ale jeśli żaden nie zostanie podany, domyślny rozmiar to `,_jsx(_components.code,{children:`10pt`}),`. Jeśli chodzi o rozmiar papieru, inne możliwe wartości to `,_jsx(_components.code,{children:`a4paper`}),` i `,_jsx(_components.code,{children:`legalpaper`}),`. Więcej informacji znajdziesz w artykule o `,_jsx(_components.a,{href:`https://www.overleaf.com/learn/latex/Page_size_and_margins`,children:`rozmiarze strony i marginesach`}),`.`]}),`\n`,_jsx(_components.p,{children:`Wiersz preambuły`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`latex`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`latex`,children:_jsxs(_components.code,{language:`latex`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\\\\usepackage`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`graphicx`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`jest przykładem wczytania zewnętrznego pakietu (tutaj `,_jsx(_components.a,{href:`https://ctan.org/pkg/graphicx?lang=en`,children:`graphicx`}),`) w celu rozszerzenia możliwości LaTeX — w tym przypadku o import zewnętrznych plików graficznych. Pakiety LaTeX omówiono w sekcji `,_jsx(_components.a,{href:`#finding-and-using-latex-packages`,children:`Wyszukiwanie i używanie pakietów LaTeX`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`including-title-author-and-date-information`,children:`Dodawanie tytułu, autora i daty`}),`\n`,_jsxs(_components.p,{children:[`Dodanie tytułu, autora i daty do naszego dokumentu wymaga trzech dodatkowych wierszy w `,_jsx(_components.em,{children:`preambule`}),` (`,_jsx(_components.em,{children:`nie`}),` w głównej części dokumentu). Te wiersze to:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`\\\\title{My first LaTeX document}`}),`: tytuł dokumentu`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`\\\\author{Hubert Farnsworth}`}),`: tutaj wpisujesz imię i nazwisko autora (autorów) oraz, opcjonalnie, polecenie `,_jsx(_components.code,{children:`\\\\thanks`}),` wewnątrz nawiasów klamrowych:`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`\\\\thanks{Funded by the Overleaf team.}`}),`: można je dodać po nazwisku autora, wewnątrz nawiasów klamrowych polecenia `,_jsx(_components.code,{children:`author`}),`. Doda ono indeks górny i przypis z tekstem podanym w nawiasach. Przydaje się, gdy w artykule trzeba podziękować jakiejś instytucji.`]}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`\\\\date{August 2022}`}),`: datę możesz wpisać ręcznie lub użyć polecenia `,_jsx(_components.code,{children:`\\\\today`}),`, aby przy każdej kompilacji dokumentu wstawiana była bieżąca data`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`Po dodaniu tych wierszy preambuła powinna wyglądać mniej więcej tak:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`latex`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`latex`,children:_jsxs(_components.code,{language:`latex`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\\\\documentclass`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`12pt, letterpaper`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]{`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`article`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\title`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{My first LaTeX document}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\author`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{Hubert Farnsworth`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\thanks`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{Funded by the Overleaf team.}}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\date`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{August 2022}`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Aby złożyć tytuł, autora i datę, użyj polecenia `,_jsx(_components.code,{children:`\\\\maketitle`}),` w `,_jsx(_components.em,{children:`ciele`}),` dokumentu:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`latex`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`latex`,children:_jsxs(_components.code,{language:`latex`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\begin`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`document`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\maketitle`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`We have now added a title, author and date to our first `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\LaTeX`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{} document!`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\end`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`document`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Preambułę i ciało można teraz połączyć w kompletny dokument, który można otworzyć w Overleaf:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`latex`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`latex`,children:_jsxs(_components.code,{language:`latex`,numberOfLines:`8`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\\\\documentclass`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`12pt, letterpaper`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]{`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`article`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\title`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{My first LaTeX document}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\author`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{Hubert Farnsworth`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\thanks`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{Funded by the Overleaf team.}}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\date`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{August 2022}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\begin`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`document`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\maketitle`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`We have now added a title, author and date to our first `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\LaTeX`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{} document!`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\end`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`document`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.a,{href:`https://www.overleaf.com/docs?engine=pdflatex\u0026snip%5Fname=My+first+LaTeX+document\u0026snip=%5Cdocumentclass%5B12pt%2C+letterpaper%5D%7Barticle%7D%0A%5Ctitle%7BMy+first+LaTeX+document%7D%0A%5Cauthor%7BHubert+Farnsworth%5Cthanks%7BFunded+by+the+Overleaf+team.%7D%7D%0A%5Cdate%7BAugust+2022%7D%0A%5Cbegin%7Bdocument%7D%0A%5Cmaketitle%0AWe+have+now+added+a+title%2C+author+and+date+to+our+first+%5CLaTeX%7B%7D+document%21%0A%5Cend%7Bdocument%7D`,children:`Otwórz ten przykład w Overleaf.`})}),`\n`,_jsx(_components.p,{children:`Ten przykład daje następujący wynik:`}),`\n`,_jsx(_components.p,{children:_jsx(_components.img,{src:`https://images.ctfassets.net/nrgyaltdicpt/3WzMd0bx2zlj3zLTKS8SxT/dc2b7c16adbc96bdd750b6d2c8b4227e/LL30Fig2r-plain.svg`,alt:`Obraz prostego dokumentu utworzonego w LaTeX`})}),`\n`,_jsx(Heading,{level:`2`,id:`adding-comments`,children:`Dodawanie komentarzy`}),`\n`,_jsx(_components.p,{children:`LaTeX jest formą „kodu programu”, ale wyspecjalizowaną w składzie dokumentów; dlatego, podobnie jak w przypadku kodu w każdym innym języku programowania, bardzo przydatne może być umieszczanie w dokumencie komentarzy. Komentarz LaTeX to fragment tekstu, który nie zostanie złożony ani w żaden sposób nie wpłynie na dokument — często używany do dodawania notatek „do zrobienia”, umieszczania objaśnień, wyjaśniania w tekście skomplikowanych makr lub wykomentowywania wierszy/sekcji kodu LaTeX podczas debugowania.`}),`\n`,_jsxs(_components.p,{children:[`Aby utworzyć komentarz w LaTeX, wystarczy wpisać symbol `,_jsx(_components.code,{children:`%`}),` na początku wiersza, jak pokazano w poniższym kodzie opartym na powyższym przykładzie:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`10`,language:`latex`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`latex`,children:_jsxs(_components.code,{language:`latex`,numberOfLines:`10`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\\\\documentclass`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`12pt, letterpaper`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]{`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`article`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\title`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{My first LaTeX document}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\author`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{Hubert Farnsworth`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\thanks`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{Funded by the Overleaf team.}}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\date`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{August 2022}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\begin`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`document`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\maketitle`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`We have now added a title, author and date to our first `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\LaTeX`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{} document!`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`% This line here is a comment. It will not be typeset in the document.`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\end`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`document`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.a,{href:`https://www.overleaf.com/docs?engine=pdflatex\u0026snip%5Fname=My+first+LaTeX+document+with+a+comment\u0026snip=%5Cdocumentclass%5B12pt%2C+letterpaper%5D%7Barticle%7D%0A%5Ctitle%7BMy+first+LaTeX+document%7D%0A%5Cauthor%7BHubert+Farnsworth%5Cthanks%7BFunded+by+the+Overleaf+team.%7D%7D%0A%5Cdate%7BAugust+2022%7D%0A%5Cbegin%7Bdocument%7D%0A%5Cmaketitle%0AWe+have+now+added+a+title%2C+author+and+date+to+our+first+%5CLaTeX%7B%7D+document%21%0A%0A%25+This+line+here+is+a+comment.+It+will+not+be+typeset+in+the+document.%0A%5Cend%7Bdocument%7D`,children:`Otwórz ten przykład w Overleaf.`})}),`\n`,_jsx(_components.p,{children:`Ten przykład daje wynik identyczny z poprzednim kodem LaTeX, który nie zawierał komentarza.`}),`\n`,_jsx(Heading,{level:`2`,id:`bold-italics-and-underlining`,children:`Pogrubienie, kursywa i podkreślenie`}),`\n`,_jsx(_components.p,{children:`Teraz przyjrzymy się kilku poleceniom formatowania tekstu:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Pogrubienie`}),`: pogrubiony tekst w LaTeX składa się za pomocą polecenia `,_jsx(_components.code,{children:`\\\\textbf{...}`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.em,{children:`Kursywa`}),`: tekst pisany kursywą uzyskuje się poleceniem `,_jsx(_components.code,{children:`\\\\textit{...}`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Podkreślenie: aby podkreślić tekst, użyj polecenia `,_jsx(_components.code,{children:`\\\\underline{...}`}),`.`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`Kolejny przykład demonstruje te polecenia:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`latex`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`latex`,children:_jsxs(_components.code,{language:`latex`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`Some of the `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\textbf`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-light-font-weight\":`bold`,\"--shiki-dark\":`#569CD6`,\"--shiki-dark-font-weight\":`bold`},children:`greatest`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`discoveries in `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\underline`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{science} `})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`were made by `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\textbf`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-light-font-weight\":`bold`,\"--shiki-dark\":`#DCDCAA`,\"--shiki-dark-font-weight\":`bold`},children:`\\\\textit`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-light-font-weight\":`bold`,\"--shiki-dark\":`#569CD6`,\"--shiki-dark-font-weight\":`bold`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#569CD6`,\"--shiki-dark-font-style\":`italic`},children:`accident`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-light-font-weight\":`bold`,\"--shiki-dark\":`#569CD6`,\"--shiki-dark-font-weight\":`bold`},children:`}`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}.`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.a,{href:`https://www.overleaf.com/docs?engine=pdflatex\u0026snip%5Fname=First+example+with+formatted+text\u0026snip=%5Cdocumentclass%5B12pt%2C+letterpaper%5D%7Barticle%7D%0A%5Ctitle%7BMy+first+LaTeX+document%7D%0A%5Cauthor%7BHubert+Farnsworth%5Cthanks%7BFunded+by+the+Overleaf+team.%7D%7D%0A%5Cdate%7BAugust+2022%7D%0A%5Cbegin%7Bdocument%7D%0A%5Cmaketitle%0ASome+of+the+%5Ctextbf%7Bgreatest%7D%0Adiscoveries+in+%5Cunderline%7Bscience%7D+%0Awere+made+by+%5Ctextbf%7B%5Ctextit%7Baccident%7D%7D.%0A%5Cend%7Bdocument%7D`,children:`Otwórz ten przykład w Overleaf.`})}),`\n`,_jsx(_components.p,{children:`Ten przykład daje następujący wynik:`}),`\n`,_jsx(_components.p,{children:_jsx(_components.img,{src:`https://images.ctfassets.net/nrgyaltdicpt/6vo15r0tLCByTpcvn1w2E8/8f14edc7ece1f10ce4ba2c76e1e58a56/LL30Fig3r-plain.svg`,alt:`Obraz pokazujący sformatowany tekst w dokumencie LaTeX`})}),`\n`,_jsxs(_components.p,{children:[`Innym bardzo przydatnym poleceniem jest `,_jsx(_components.code,{children:`\\\\emph{_argument_}`}),`, którego wpływ na `,_jsx(_components.code,{children:`_argument_`}),` zależy od kontekstu. W zwykłym tekście wyróżniony tekst jest pisany kursywą, ale to zachowanie jest odwracane, jeśli polecenie zostanie użyte wewnątrz tekstu pisanego kursywą — zobacz następny przykład:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`latex`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`latex`,children:_jsxs(_components.code,{language:`latex`,numberOfLines:`8`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`Some of the greatest `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\emph`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#D4D4D4`,\"--shiki-dark-font-style\":`italic`},children:`discoveries`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`} in science `})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`were made by accident.`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\textit`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#D4D4D4`,\"--shiki-dark-font-style\":`italic`},children:`Some of the greatest `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#DCDCAA`,\"--shiki-dark-font-style\":`italic`},children:`\\\\emph`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#D4D4D4`,\"--shiki-dark-font-style\":`italic`},children:`{discoveries} `})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#D4D4D4`,\"--shiki-dark-font-style\":`italic`},children:`in science were made by accident.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\textbf`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-light-font-weight\":`bold`,\"--shiki-dark\":`#569CD6`,\"--shiki-dark-font-weight\":`bold`},children:`Some of the greatest `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-light-font-weight\":`bold`,\"--shiki-dark\":`#DCDCAA`,\"--shiki-dark-font-weight\":`bold`},children:`\\\\emph`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-light-font-weight\":`bold`,\"--shiki-dark\":`#569CD6`,\"--shiki-dark-font-weight\":`bold`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#569CD6`,\"--shiki-dark-font-style\":`italic`},children:`discoveries`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-light-font-weight\":`bold`,\"--shiki-dark\":`#569CD6`,\"--shiki-dark-font-weight\":`bold`},children:`} `})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-light-font-weight\":`bold`,\"--shiki-dark\":`#569CD6`,\"--shiki-dark-font-weight\":`bold`},children:`in science were made by accident.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsxs(_components.a,{href:`https://www.overleaf.com/docs?engine=pdflatex\u0026snip%5Fname=Using+the+emph+command\u0026snip=%5Cdocumentclass%5B12pt%2C+letterpaper%5D%7Barticle%7D%0A%5Ctitle%7BMy+first+LaTeX+document%7D%0A%5Cauthor%7BHubert+Farnsworth%5Cthanks%7BFunded+by+the+Overleaf+team.%7D%7D%0A%5Cdate%7BAugust+2022%7D%0A%5Cbegin%7Bdocument%7D%0A%5Cparindent0pt%25+To+remove+the+paragraph+indentation%0A%5Cmaketitle%0ASome+of+the+greatest+%5Cemph%7Bdiscoveries%7D+in+science+%0Awere+made+by+accident.%0A%0A%5Ctextit%7BSome+of+the+greatest+%5Cemph%7Bdiscoveries%7D+%0Ain+science+were+made+by+accident.%7D%0A%0A%5Ctextbf%7BSome+of+the+greatest+%5Cemph%7Bdiscoveries%7D+%0Ain+science+were+made+by+accident.%7D%0A%5Cend%7Bdocument%7D`,children:[`Otwórz ten przykład `,_jsx(`strong`,{children:`\\\\emph`}),` w Overleaf.`]})}),`\n`,_jsx(_components.p,{children:`Ten przykład daje następujący wynik:`}),`\n`,_jsx(_components.p,{children:_jsx(_components.img,{src:`https://images.ctfassets.net/nrgyaltdicpt/1K0A8RXXOomakJBAr2usmp/62d0e8b5275092dd0b1b4a59c745b632/LL30Fig4r-plain.svg`,alt:`Obraz demonstrujący użycie polecenia LaTeX \\\\emph`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(`strong`,{children:`Uwaga:`}),` niektóre pakiety, takie jak `,_jsx(_components.a,{href:`https://www.overleaf.com/learn/latex/Beamer`,children:`Beamer`}),`, zmieniają zachowanie polecenia `,_jsx(_components.code,{children:`\\\\emph`}),`.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`adding-images`,children:`Dodawanie obrazów`}),`\n`,_jsx(_components.p,{children:`W tej sekcji pokażemy, jak dodawać obrazy do dokumentu LaTeX. Overleaf obsługuje trzy sposoby wstawiania obrazów:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Użyj `,_jsxs(_components.a,{href:`https://docs.overleaf.com/writing-and-editing/inserting-images/using-the-insert-figure-button`,children:[`przycisku `,_jsx(_components.strong,{children:`Insert Figure`})]}),`(`,_jsx(_components.img,{src:`https://sharelatex-wiki-cdn-671420.cdn77.org/learn-scripts/images/a/a8/InsertFigureButton.png`,alt:`Przycisk Insert Figure na pasku narzędzi edytora`}),`), znajdującego się na pasku narzędzi edytora, aby wstawić obraz w `,_jsx(_components.strong,{children:`Visual Editor`}),` lub `,_jsx(_components.strong,{children:`Code Editor`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`https://docs.overleaf.com/writing-and-editing/inserting-images/pasting-images-into-your-project`,children:`Skopiuj i wklej obraz`}),` do `,_jsx(_components.strong,{children:`Visual Editor`}),` lub `,_jsx(_components.strong,{children:`Code Editor`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Użyj `,_jsx(_components.strong,{children:`Code Editor`}),`, aby napisać kod LaTeX wstawiający grafikę.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Opcje 1 i 2 automatycznie generują kod LaTeX potrzebny do wstawienia obrazów, ale tutaj przedstawiamy opcję 3 — pamiętaj, że musisz `,_jsx(_components.a,{href:`https://docs.overleaf.com/writing-and-editing/inserting-images`,children:`przesłać te obrazy`}),` do swojego projektu Overleaf. Poniższy przykład pokazuje, jak dołączyć obraz:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`15`,language:`latex`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`latex`,children:_jsxs(_components.code,{language:`latex`,numberOfLines:`15`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\\\\documentclass`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`article`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\\\\usepackage`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`graphicx`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`} `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`%LaTeX package to import graphics`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\graphicspath`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{{images/}} `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`%configuring the graphicx package`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` `})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\begin`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`document`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`The universe is immense and it seems to be homogeneous, `})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`on a large scale, everywhere we look.`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`% The \\\\includegraphics command is `})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`% provided (implemented) by the `})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`% graphicx package`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\includegraphics`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{universe} `})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` `})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`There's a picture of a galaxy above.`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\end`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`document`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.a,{href:`https://www.overleaf.com/project/new/template/25686?id=107971142\u0026templateName=Example+using+images+in+LaTeX\u0026latexEngine=pdflatex\u0026texImage=texlive-full%3A2022.1\u0026mainFile=`,children:`Otwórz ten przykład z obrazem w Overleaf.`})}),`\n`,_jsx(_components.p,{children:`Ten przykład daje następujący wynik:`}),`\n`,_jsx(_components.p,{children:_jsx(_components.img,{src:`https://images.ctfassets.net/nrgyaltdicpt/4p5toat08FUgehv4yuNwXS/efc9e75e4342c9caeec94f26627fa337/LL30Fig5v2-plain.svg`,alt:`Grafika pokazująca obraz zaimportowany do dokumentu LaTeX`})}),`\n`,_jsxs(_components.p,{children:[`Importowanie grafiki do dokumentu LaTeX wymaga `,_jsxs(_components.a,{href:`#finding-and-using-latex-packages`,children:[`dodatkowego `,_jsx(_components.em,{children:`pakietu`})]}),`, który udostępnia polecenia i funkcje potrzebne do dołączania zewnętrznych plików graficznych. Powyższy przykład wczytuje `,_jsx(_components.a,{href:`https://ctan.org/pkg/graphicx?lang=en`,children:`pakiet graphicx`}),`, który — oprócz wielu innych poleceń — udostępnia `,_jsx(_components.code,{children:`\\\\includegraphics{...}`}),` do importowania grafiki oraz `,_jsx(_components.code,{children:`\\\\graphicspath{...}`}),` do wskazania LaTeX, gdzie znajdują się pliki graficzne.`]}),`\n`,_jsxs(_components.p,{children:[`Aby użyć pakietu `,_jsx(_components.code,{children:`graphicx`}),`, dodaj następujący wiersz do preambuły swojego dokumentu Overleaf:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`latex`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`latex`,children:_jsxs(_components.code,{language:`latex`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\\\\usepackage`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`graphicx`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`W naszym przykładzie polecenie `,_jsx(_components.code,{children:`\\\\graphicspath{{images/}}`}),` informuje LaTeX, że obrazy są przechowywane w folderze o nazwie `,_jsx(_components.code,{children:`images`}),`, znajdującym się w bieżącym katalogu:`]}),`\n`,_jsx(_components.p,{children:_jsx(_components.img,{src:`https://sharelatex-wiki-cdn-671420.cdn77.org/learn-scripts/images/1/17/ImagesInAFolder.png`,alt:`Obraz pokazujący, jak LaTeX uzyskuje dostęp do obrazów przechowywanych w folderze`})}),`\n`,_jsxs(_components.p,{children:[`Polecenie `,_jsx(_components.code,{children:`\\\\includegraphics{universe}`}),` faktycznie wstawia obraz do dokumentu. Tutaj `,_jsx(_components.code,{children:`universe`}),` to nazwa pliku obrazu bez rozszerzenia.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Uwaga`}),`:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Choć w poleceniu `,_jsx(_components.code,{children:`\\\\includegraphics`}),` dozwolona jest pełna nazwa pliku z rozszerzeniem, za dobrą praktykę uważa się pomijanie rozszerzenia, ponieważ wtedy LaTeX wyszuka wszystkie obsługiwane formaty.`]}),`\n`,_jsx(_components.li,{children:`Ogólnie nazwa pliku graficznego nie powinna zawierać spacji ani wielu kropek; zaleca się też używanie małych liter w rozszerzeniu pliku podczas przesyłania plików graficznych do Overleaf.`}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Więcej informacji o pakietach LaTeX znajdziesz na końcu tego samouczka, w sekcji `,_jsx(_components.a,{href:`#finding-and-using-latex-packages`,children:`Wyszukiwanie i używanie pakietów LaTeX`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`captions-labels-and-references`,children:`Podpisy, etykiety i odwołania`}),`\n`,_jsxs(_components.p,{children:[`Obrazy można opatrywać podpisami, etykietami i odwołaniami za pomocą środowiska `,_jsx(_components.code,{children:`figure`}),`, jak pokazano poniżej:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`16`,language:`latex`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`latex`,children:_jsxs(_components.code,{language:`latex`,numberOfLines:`16`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\\\\documentclass`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`article`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\\\\usepackage`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`graphicx`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\graphicspath`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{{images/}}`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` `})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\begin`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`document`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\begin`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`figure`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}[h]`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` \\\\centering`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` \\\\includegraphics`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[width=0.75`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\textwidth`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]{mesh}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` \\\\caption`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{A nice plot.}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` \\\\label`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`fig:mesh1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\end`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`figure`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` `})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`As you can see in figure `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\\\\ref`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:`fig:mesh1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}, the function grows near the origin. This example is on page `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\\\\pageref`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:`fig:mesh1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}.`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\end`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`document`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.a,{href:`https://www.overleaf.com/project/new/template/25519?id=107980830\u0026templateName=Example+using+image+captions+in+LaTeX\u0026latexEngine=pdflatex\u0026texImage=texlive-full%3A2022.1\u0026mainFile=`,children:`Otwórz ten przykład z obrazem w Overleaf.`})}),`\n`,_jsx(_components.p,{children:`Ten przykład daje następujący wynik:`}),`\n`,_jsx(_components.p,{children:_jsx(_components.img,{src:`https://images.ctfassets.net/nrgyaltdicpt/4DkAWWkQqZP6QHU2EErogQ/9aa2371f2cde0f3f8bf22aa1c0b91789/LL30Fig6r-plain.svg`,alt:`Grafika pokazująca użycie podpisów rysunków w LaTeX`})}),`\n`,_jsx(_components.p,{children:`W przykładzie jest kilka godnych uwagi poleceń:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:_jsx(_components.code,{children:`\\\\includegraphics[width=0.75\\\\textwidth]{mesh}`})}),`: Ta postać `,_jsx(_components.code,{children:`\\\\includegraphics`}),` nakazuje LaTeX ustawić szerokość rysunku na 75% szerokości tekstu, której wartość jest przechowywana w poleceniu `,_jsx(_components.code,{children:`\\\\textwidth`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:_jsx(_components.code,{children:`\\\\caption{A nice plot.}`})}),`: Jak sugeruje nazwa, to polecenie ustawia podpis rysunku, który może znajdować się nad lub pod rysunkiem. Jeśli utworzysz spis ilustracji, ten podpis zostanie w nim użyty.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:_jsx(_components.code,{children:`\\\\label{fig:mesh1}`})}),`: Aby odwołać się do tego obrazu w dokumencie, nadajesz mu etykietę za pomocą polecenia `,_jsx(_components.code,{children:`\\\\label`}),`. Etykieta służy do wygenerowania numeru obrazu, a w połączeniu z kolejnym poleceniem pozwala się do niego odwołać.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:_jsx(_components.code,{children:`\\\\ref{fig:mesh1}`})}),`: Ten kod zostanie zastąpiony numerem odpowiadającym rysunkowi, do którego się odwołujemy.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Obrazy umieszczane w dokumencie LaTeX powinny znajdować się w środowisku `,_jsx(_components.code,{children:`figure`}),` lub podobnym, aby LaTeX mógł automatycznie umieścić obraz w odpowiednim miejscu dokumentu.`]}),`\n`,_jsx(_components.p,{children:`Dalsze wskazówki zawierają następujące artykuły pomocy Overleaf:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`https://www.overleaf.com/learn/latex/Positioning_images_and_tables`,children:`Pozycjonowanie rysunków`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`https://docs.overleaf.com/writing-and-editing/inserting-images`,children:`Wstawianie obrazów`})}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`creating-lists-in-latex`,children:`Tworzenie list w LaTeX`}),`\n`,_jsxs(_components.p,{children:[`Różne rodzaje list możesz tworzyć za pomocą `,_jsx(_components.em,{children:`środowisk`}),`, które służą do obejmowania kodu LaTeX potrzebnego do realizacji określonej funkcji składu. Środowisko zaczyna się od `,_jsx(_components.code,{children:`\\\\begin{_environment-name_}`}),`, a kończy na `,_jsx(_components.code,{children:`\\\\end{_environment-name_}`}),`, gdzie `,_jsx(_components.code,{children:`_environment-name_`}),` może być `,_jsx(_components.code,{children:`figure`}),`, `,_jsx(_components.code,{children:`tabular`}),` lub jednym z typów list: `,_jsx(_components.code,{children:`itemize`}),` dla list nieuporządkowanych lub `,_jsx(_components.code,{children:`enumerate`}),` dla list uporządkowanych.`]}),`\n`,_jsx(Heading,{level:`3`,id:`unordered-lists`,children:`Listy nieuporządkowane`}),`\n`,_jsxs(_components.p,{children:[`Listy nieuporządkowane tworzy środowisko `,_jsx(_components.code,{children:`itemize`}),`. Każdy element listy musi być poprzedzony poleceniem `,_jsx(_components.code,{children:`\\\\item`}),`, jak pokazano poniżej:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`latex`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`latex`,children:_jsxs(_components.code,{language:`latex`,numberOfLines:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\\\\documentclass`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`article`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\begin`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`document`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\begin`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`itemize`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` \\\\item`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` The individual entries are indicated with a black dot, a so-called bullet.`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` \\\\item`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` The text in the entries may be of any length.`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\end`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`itemize`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\end`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`document`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.a,{href:`https://www.overleaf.com/docs?engine=pdflatex\u0026snip%5Fname=Example+of+a+LaTeX+unordered+list\u0026snip=%5Cdocumentclass%7Barticle%7D%0A%5Cbegin%7Bdocument%7D%0A%5Cbegin%7Bitemize%7D%0A++%5Citem+The+individual+entries+are+indicated+with+a+black+dot%2C+a+so-called+bullet.%0A++%5Citem+The+text+in+the+entries+may+be+of+any+length.%0A%5Cend%7Bitemize%7D%0A%5Cend%7Bdocument%7D`,children:`Otwórz ten przykład w Overleaf.`})}),`\n`,_jsx(_components.p,{children:`Ten przykład daje następujący wynik:`}),`\n`,_jsx(_components.p,{children:_jsx(_components.img,{src:`https://images.ctfassets.net/nrgyaltdicpt/1lDj29Mg9ZuLNHXwZrTJew/cd7d950c65fd05b251c4aa55746f4eb7/LL30Fig7-plain.svg`,alt:`Przykład list punktowanych w LaTeX`})}),`\n`,_jsxs(_components.p,{children:[`Możesz też otworzyć ten `,_jsx(_components.a,{href:`https://www.overleaf.com/project/new/template/25521?id=107987258\u0026templateName=Demonstrating+various+types+of+LaTeX+list\u0026latexEngine=pdflatex\u0026texImage=texlive-full%3A2022.1\u0026mainFile=`,children:`większy projekt Overleaf`}),`, który demonstruje różne rodzaje list LaTeX.`]}),`\n`,_jsx(Heading,{level:`3`,id:`ordered-lists`,children:`Listy uporządkowane`}),`\n`,_jsxs(_components.p,{children:[`Listy uporządkowane mają taką samą składnię jak listy nieuporządkowane, ale tworzy się je za pomocą środowiska `,_jsx(_components.code,{children:`enumerate`}),`:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`latex`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`latex`,children:_jsxs(_components.code,{language:`latex`,numberOfLines:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\\\\documentclass`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`article`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\begin`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`document`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\begin`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`enumerate`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` \\\\item`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` This is the first entry in our list.`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` \\\\item`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` The list numbers increase with each entry we add.`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\end`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`enumerate`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\end`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`document`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.a,{href:`https://www.overleaf.com/docs?engine=pdflatex\u0026snip%5Fname=Example+of+the+enumerate+environment\u0026snip=%5Cdocumentclass%7Barticle%7D%0A%5Cbegin%7Bdocument%7D%0A%5Cbegin%7Benumerate%7D%0A++%5Citem+This+is+the+first+entry+in+our+list.%0A++%5Citem+The+list+numbers+increase+with+each+entry+we+add.%0A%5Cend%7Benumerate%7D%0A%5Cend%7Bdocument%7D`,children:`Otwórz ten przykład w Overleaf.`})}),`\n`,_jsx(_components.p,{children:`Ten przykład daje następujący wynik:`}),`\n`,_jsx(_components.p,{children:_jsx(_components.img,{src:`https://images.ctfassets.net/nrgyaltdicpt/2vkfa7RiAIJxv5wIZbg9UK/530c384f159d091a587de279d13fefec/LL30Fig8-plain.svg`,alt:`Przykładowa lista numerowana utworzona w LaTeX`})}),`\n`,_jsxs(_components.p,{children:[`Podobnie jak w przypadku list nieuporządkowanych (`,_jsx(_components.code,{children:`unordered`}),`), każdy element musi być poprzedzony poleceniem `,_jsx(_components.code,{children:`\\\\item`}),`, które tutaj automatycznie generuje numeryczną etykietę elementu listy uporządkowanej, zaczynając od 1.`]}),`\n`,_jsxs(_components.p,{children:[`Więcej informacji znajdziesz w tym `,_jsx(_components.a,{href:`https://www.overleaf.com/project/new/template/25521?id=107987258\u0026templateName=Demonstrating+various+types+of+LaTeX+list\u0026latexEngine=pdflatex\u0026texImage=texlive-full%3A2022.1\u0026mainFile=`,children:`większym projekcie Overleaf`}),`, który demonstruje różne rodzaje list LaTeX, lub w naszym dedykowanym `,_jsx(_components.a,{href:`https://www.overleaf.com/learn/latex/Lists`,children:`artykule pomocy na temat list LaTeX`}),`, który zawiera wiele dodatkowych przykładów i pokazuje, jak tworzyć niestandardowe listy.`]}),`\n`,_jsx(Heading,{level:`2`,id:`adding-math-to-latex`,children:`Dodawanie matematyki w LaTeX`}),`\n`,_jsx(_components.p,{children:`Jedną z głównych zalet LaTeX jest łatwość zapisywania wyrażeń matematycznych. LaTeX udostępnia dwa tryby zapisu matematyki:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`tryb matematyczny `,_jsx(_components.em,{children:`w tekście`}),` (inline), używany do zapisywania wzorów będących częścią akapitu`]}),`\n`,_jsxs(_components.li,{children:[`tryb matematyczny `,_jsx(_components.em,{children:`wyświetlany`}),` (display), używany do zapisywania wyrażeń, które nie są częścią tekstu ani akapitu i są składane w osobnych wierszach`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`inline-math-mode`,children:`Tryb matematyczny w tekście`}),`\n`,_jsx(_components.p,{children:`Zobaczmy przykład trybu matematycznego w tekście:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`latex`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`latex`,children:_jsxs(_components.code,{language:`latex`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\\\\documentclass`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`12pt, letterpaper`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]{`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`article`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\begin`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`document`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`In physics, the mass-energy equivalence is stated `})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`by the equation `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`$`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`E=mc^`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`$`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, discovered in 1905 by Albert Einstein.`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\end`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`document`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.a,{href:`https://www.overleaf.com/docs?engine=pdflatex\u0026snip%5Fname=Inline+LaTeX+maths+example\u0026snip=%5Cdocumentclass%5B12pt%2C+letterpaper%5D%7Barticle%7D%0A%5Cbegin%7Bdocument%7D%0AIn+physics%2C+the+mass-energy+equivalence+is+stated+%0Aby+the+equation+%24E%3Dmc%5E2%24%2C+discovered+in+1905+by+Albert+Einstein.%0A%5Cend%7Bdocument%7D`,children:`Otwórz ten przykład w Overleaf.`})}),`\n`,_jsx(_components.p,{children:`Ten przykład daje następujący wynik:`}),`\n`,_jsx(_components.p,{children:_jsx(_components.img,{src:`https://images.ctfassets.net/nrgyaltdicpt/77oK8pfew1B1VvxiBtALag/15714f2da4e469bbb8cf70a0d3733e5d/LL30Fig9-plain.svg`,alt:`Obraz pokazujący matematykę złożoną w trybie matematycznym w tekście`})}),`\n`,_jsxs(_components.p,{children:[`Aby złożyć matematykę w trybie w tekście, możesz użyć jednej z następujących par ograniczników: `,_jsx(_components.code,{children:`\\\\( ... \\\\)`}),`, `,_jsx(_components.code,{children:`$ ... $`}),` lub `,_jsx(_components.code,{children:`\\\\begin{math} ... \\\\end{math}`}),`, jak pokazano w poniższym przykładzie:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`latex`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`latex`,children:_jsxs(_components.code,{language:`latex`,numberOfLines:`6`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\\\\documentclass`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`12pt, letterpaper`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]{`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`article`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\begin`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`document`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\begin`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`math`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`E=mc^`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\end`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`math`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`} is typeset in a paragraph using inline math mode---as is `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`$`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`E=mc^`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`$`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, and so too is `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`\\\\(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`E=mc^`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`\\\\)`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\end`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`document`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.a,{href:`https://www.overleaf.com/docs?engine=pdflatex\u0026snip%5Fname=Demonstrating+inline+math+mode\u0026snip=%5Cdocumentclass%5B12pt%2C+letterpaper%5D%7Barticle%7D%0A%5Cbegin%7Bdocument%7D%0A%5Cbegin%7Bmath%7D%0AE%3Dmc%5E2%0A%5Cend%7Bmath%7D+is+typeset+in+a+paragraph+using+inline+math+mode---as+is+%24E%3Dmc%5E2%24%2C+and+so+too+is+%5C%28E%3Dmc%5E2%5C%29.%0A%5Cend%7Bdocument%7D`,children:`Otwórz ten przykład w Overleaf.`})}),`\n`,_jsx(_components.p,{children:`Ten przykład daje następujący wynik:`}),`\n`,_jsx(_components.p,{children:_jsx(_components.img,{src:`https://images.ctfassets.net/nrgyaltdicpt/46VPfEGxYJ3di18TLzaLo9/ed67df07532c52b6543fd2bae7cb7c04/LL30Fig10r-plain.svg`,alt:`Obraz demonstrujący treść utworzoną w trybie matematycznym w tekście w LaTeX`})}),`\n`,_jsx(Heading,{level:`3`,id:`display-math-mode`,children:`Tryb matematyczny wyświetlany`}),`\n`,_jsx(_components.p,{children:`Równania składane w trybie wyświetlanym mogą być numerowane lub nienumerowane, jak w poniższym przykładzie:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`10`,language:`latex`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`latex`,children:_jsxs(_components.code,{language:`latex`,numberOfLines:`10`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\\\\documentclass`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`12pt, letterpaper`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]{`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`article`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\begin`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`document`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`The mass-energy equivalence is described by the famous equation`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`\\\\[`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` E=mc^`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` \\\\]`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` discovered in 1905 by Albert Einstein. `})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`In natural units (`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`$`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`c = `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`$`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`), the formula expresses the identity`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\begin`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`equation`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`E=m`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\end`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`equation`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\end`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`document`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.a,{href:`https://www.overleaf.com/docs?engine=pdflatex\u0026snip%5Fname=Display+math+mode+example\u0026snip=%5Cdocumentclass%5B12pt%2C+letterpaper%5D%7Barticle%7D%0A%5Cbegin%7Bdocument%7D%0AThe+mass-energy+equivalence+is+described+by+the+famous+equation%0A%5C%5B+E%3Dmc%5E2+%5C%5D+discovered+in+1905+by+Albert+Einstein.+%0A%0AIn+natural+units+%28%24c+%3D+1%24%29%2C+the+formula+expresses+the+identity%0A%5Cbegin%7Bequation%7D%0AE%3Dm%0A%5Cend%7Bequation%7D%0A%5Cend%7Bdocument%7D`,children:`Otwórz ten przykład w Overleaf.`})}),`\n`,_jsx(_components.p,{children:`Ten przykład daje następujący wynik:`}),`\n`,_jsx(_components.p,{children:_jsx(_components.img,{src:`https://images.ctfassets.net/nrgyaltdicpt/6n1FPYFzmzCHPpWoEoYQZM/79b33f1096be06326bff7d2e1976c67c/LL30Fig11-plain.svg`,alt:`Obraz pokazujący matematykę w trybie wyświetlanym w LaTeX`})}),`\n`,_jsxs(_components.p,{children:[`Aby złożyć matematykę w trybie wyświetlanym, możesz użyć jednej z następujących par ograniczników: `,_jsx(_components.code,{children:`\\\\[ ... \\\\]`}),`, `,_jsx(_components.code,{children:`\\\\begin{displaymath} ... \\\\end{displaymath}`}),` lub `,_jsx(_components.code,{children:`\\\\begin{equation} ... \\\\end{equation}`}),`. Historycznie skład matematyki w trybie wyświetlanym wymagał użycia ograniczników `,_jsx(_components.code,{children:`$$`}),`, jak w `,_jsx(_components.code,{children:`$$ _... display math here ..._$$`}),`, ale ta metoda `,_jsx(_components.a,{href:`https://texfaq.org/FAQ-dolldoll`,children:`nie jest już zalecana`}),`: zamiast niej używaj ograniczników LaTeX `,_jsx(_components.code,{children:`\\\\[ ... \\\\]`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`more-complete-examples`,children:`Bardziej kompletne przykłady`}),`\n`,_jsx(_components.p,{children:`Poniższe przykłady pokazują różnorodne treści matematyczne złożone za pomocą LaTeX.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`14`,language:`latex`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`latex`,children:_jsxs(_components.code,{language:`latex`,numberOfLines:`14`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\\\\documentclass`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`article`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\begin`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`document`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`Subscripts in math mode are written as `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`$`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`a_b`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`$`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` and superscripts are written as `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`$`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`a^b`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`$`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`. These can be combined and nested to write expressions such as`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`\\\\[`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` T^{i_`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` i_`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` \\\\dots i_p}_{j_`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` j_`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` \\\\dots j_q} = T(x^{i_`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`},\\\\dots,x^{i_p},e_{j_`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`},\\\\dots,e_{j_q}) `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`\\\\]`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` `})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`We write integrals using `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`$`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`\\\\int`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`$`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` and fractions using `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`$`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`\\\\frac{a}{b}`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`$`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`. Limits are placed on integrals using superscripts and subscripts:`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`\\\\[`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` \\\\int`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`_`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`^`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` \\\\frac{dx}{e^x} = \\\\frac{e-`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`}{e} `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`\\\\]`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`Lower case Greek letters are written as `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`$`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`\\\\omega`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`$`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` $`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`\\\\delta`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`$`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` etc. while upper case Greek letters are written as `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`$`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`\\\\Omega`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`$`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` $`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`\\\\Delta`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`$`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`Mathematical operators are prefixed with a backslash as `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`$`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`\\\\sin(`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`\\\\beta`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`)`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`$`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`$`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`\\\\cos(`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`\\\\alpha`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`)`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`$`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`$`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`\\\\log(x)`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`$`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` etc.`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\end`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`document`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.a,{href:`https://www.overleaf.com/docs?engine=pdflatex\u0026snip%5Fname=More+advanced+LaTeX+math+example\u0026snip=%5Cdocumentclass%7Barticle%7D%0A%5Cbegin%7Bdocument%7D%0ASubscripts+in+math+mode+are+written+as+%24a%5Fb%24+and+superscripts+are+written+as+%24a%5Eb%24.+These+can+be+combined+and+nested+to+write+expressions+such+as%0A%0A%5C%5B+T%5E%7Bi%5F1+i%5F2+%5Cdots+i%5Fp%7D%5F%7Bj%5F1+j%5F2+%5Cdots+j%5Fq%7D+%3D+T%28x%5E%7Bi%5F1%7D%2C%5Cdots%2Cx%5E%7Bi%5Fp%7D%2Ce%5F%7Bj%5F1%7D%2C%5Cdots%2Ce%5F%7Bj%5Fq%7D%29+%5C%5D%0A+%0AWe+write+integrals+using+%24%5Cint%24+and+fractions+using+%24%5Cfrac%7Ba%7D%7Bb%7D%24.+Limits+are+placed+on+integrals+using+superscripts+and+subscripts%3A%0A%0A%5C%5B+%5Cint%5F0%5E1+%5Cfrac%7Bdx%7D%7Be%5Ex%7D+%3D++%5Cfrac%7Be-1%7D%7Be%7D+%5C%5D%0A%0ALower+case+Greek+letters+are+written+as+%24%5Comega%24+%24%5Cdelta%24+etc.+while+upper+case+Greek+letters+are+written+as+%24%5COmega%24+%24%5CDelta%24.%0A%0AMathematical+operators+are+prefixed+with+a+backslash+as+%24%5Csin%28%5Cbeta%29%24%2C+%24%5Ccos%28%5Calpha%29%24%2C+%24%5Clog%28x%29%24+etc.%0A%5Cend%7Bdocument%7D`,children:`Otwórz ten przykład w Overleaf.`})}),`\n`,_jsx(_components.p,{children:`Ten przykład daje następujący wynik:`}),`\n`,_jsx(_components.p,{children:_jsx(_components.img,{src:`https://images.ctfassets.net/nrgyaltdicpt/5xfm4NybWckHL5ndpdnBRq/bc0b5e27044820ea5cdd11648a68f543/LL30Fig12r-plain.svg`,alt:`Obraz pokazujący różnorodną matematykę złożoną w LaTeX`})}),`\n`,_jsxs(_components.p,{children:[`Następny przykład używa środowiska `,_jsx(_components.code,{children:`equation*`}),`, które udostępnia pakiet `,_jsx(_components.code,{children:`amsmath`}),`, dlatego musimy dodać do preambuły dokumentu następujący wiersz:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`latex`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`latex`,children:_jsxs(_components.code,{language:`latex`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\\\\usepackage`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`amsmath`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`% For the equation* environment`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Więcej informacji o używaniu `,_jsx(_components.code,{children:`amsmath`}),` znajdziesz w `,_jsx(_components.a,{href:`https://www.overleaf.com/learn/latex/Aligning_equations_with_amsmath`,children:`naszym artykule pomocy`}),`.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`32`,language:`latex`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`latex`,children:_jsxs(_components.code,{language:`latex`,numberOfLines:`32`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\\\\documentclass`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`article`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\\\\usepackage`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`amsmath`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`% For the equation* environment`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\begin`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`document`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\section`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#D4D4D4`},children:`First example`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`The well-known Pythagorean theorem `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`\\\\(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`x^`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` + y^`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` = z^`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`\\\\)`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` was proved to be invalid for other exponents, meaning the next equation has no integer solutions for `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`\\\\(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`n>`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`\\\\)`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`\\\\[`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` x^n + y^n = z^n `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`\\\\]`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\section`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#D4D4D4`},children:`Second example`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`This is a simple math expression `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`\\\\(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`\\\\sqrt{x^`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`+`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`}`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`\\\\)`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` inside text. `})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`And this is also the same: `})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\begin`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`math`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`\\\\sqrt{x^`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`+`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\end`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`math`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`but by using another command.`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`This is a simple math expression without numbering`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`\\\\[`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`\\\\sqrt{x^`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`+`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`}`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`\\\\]`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` `})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`separated from text.`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`This is also the same:`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\begin`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`displaymath`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`\\\\sqrt{x^`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`+`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\end`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`displaymath`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\ldots`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` and this:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\begin`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`equation*`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`\\\\sqrt{x^`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`+`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\end`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`equation*`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\end`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`document`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.a,{href:`https://www.overleaf.com/docs?engine=pdflatex\u0026snip%5Fname=More+math+content+typeset+in+LaTeX\u0026snip=%5Cdocumentclass%7Barticle%7D%0A%5Cusepackage%7Bamsmath%7D%25+For+the+equation%2A+environment%0A%5Cbegin%7Bdocument%7D%0A%5Csection%7BFirst+example%7D%0A%0AThe+well-known+Pythagorean+theorem+%5C%28x%5E2+%2B+y%5E2+%3D+z%5E2%5C%29+was+proved+to+be+invalid+for+other+exponents%2C+meaning+the+next+equation+has+no+integer+solutions+for+%5C%28n%3E2%5C%29%3A%0A%0A%5C%5B+x%5En+%2B+y%5En+%3D+z%5En+%5C%5D%0A%0A%5Csection%7BSecond+example%7D%0A%0AThis+is+a+simple+math+expression+%5C%28%5Csqrt%7Bx%5E2%2B1%7D%5C%29+inside+text.+%0AAnd+this+is+also+the+same%3A+%0A%5Cbegin%7Bmath%7D%0A%5Csqrt%7Bx%5E2%2B1%7D%0A%5Cend%7Bmath%7D%0Abut+by+using+another+command.%0A%0AThis+is+a+simple+math+expression+without+numbering%0A%5C%5B%5Csqrt%7Bx%5E2%2B1%7D%5C%5D+%0Aseparated+from+text.%0A%0AThis+is+also+the+same%3A%0A%5Cbegin%7Bdisplaymath%7D%0A%5Csqrt%7Bx%5E2%2B1%7D%0A%5Cend%7Bdisplaymath%7D%0A%0A%5Cldots+and+this%3A%0A%5Cbegin%7Bequation%2A%7D%0A%5Csqrt%7Bx%5E2%2B1%7D%0A%5Cend%7Bequation%2A%7D%0A%5Cend%7Bdocument%7D`,children:`Otwórz ten przykład w Overleaf.`})}),`\n`,_jsx(_components.p,{children:`Ten przykład daje następujący wynik:`}),`\n`,_jsx(_components.p,{children:_jsx(_components.img,{src:`https://images.ctfassets.net/nrgyaltdicpt/hT85gkewCDlxCHeNU5slE/9256c129b25bec7a93dcfe9e44b0654a/LL30Fig13r-plain.svg`,alt:`Obraz pokazujący różnorodną matematykę złożoną w LaTeX`})}),`\n`,_jsx(_components.p,{children:`Możliwości matematyki w LaTeX są nieograniczone, więc koniecznie zajrzyj na nasze strony pomocy, gdzie znajdziesz porady i przykłady dotyczące konkretnych zagadnień:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`https://www.overleaf.com/learn/latex/Mathematical_expressions`,children:`Wyrażenia matematyczne`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`https://www.overleaf.com/learn/latex/Subscripts_and_superscripts`,children:`Indeksy dolne i górne`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`https://www.overleaf.com/learn/latex/Brackets_and_Parentheses`,children:`Nawiasy`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`https://www.overleaf.com/learn/latex/Fractions_and_Binomials`,children:`Ułamki i symbole Newtona`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`https://www.overleaf.com/learn/latex/Aligning_equations_with_amsmath`,children:`Wyrównywanie równań`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`https://www.overleaf.com/learn/latex/Operators`,children:`Operatory`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`https://www.overleaf.com/learn/latex/Spacing_in_math_mode`,children:`Odstępy w trybie matematycznym`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`https://www.overleaf.com/learn/latex/Integrals%2C_sums_and_limits`,children:`Całki, sumy i granice`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`https://www.overleaf.com/learn/latex/Display_style_in_math_mode`,children:`Styl wyświetlany w trybie matematycznym`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`https://www.overleaf.com/learn/latex/List_of_Greek_letters_and_math_symbols`,children:`Lista liter greckich i symboli matematycznych`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`https://www.overleaf.com/learn/latex/Mathematical_fonts`,children:`Fonty matematyczne`})}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`basic-document-structure`,children:`Podstawowa struktura dokumentu`}),`\n`,_jsx(_components.p,{children:`Następnie przyjrzymy się streszczeniom oraz temu, jak podzielić dokument LaTeX na rozdziały, sekcje i akapity.`}),`\n`,_jsx(Heading,{level:`3`,id:`abstracts`,children:`Streszczenia`}),`\n`,_jsxs(_components.p,{children:[`Artykuły naukowe zwykle zawierają `,_jsx(_components.em,{children:`streszczenie`}),` (abstrakt), czyli krótki przegląd/podsumowanie ich głównych tematów lub tez. Następny przykład pokazuje skład streszczenia za pomocą środowiska LaTeX `,_jsx(_components.code,{children:`abstract`}),`:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`latex`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`latex`,children:_jsxs(_components.code,{language:`latex`,numberOfLines:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\\\\documentclass`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`article`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\begin`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`document`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\begin`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`abstract`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`This is a simple paragraph at the beginning of the `})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`document. A brief introduction about the main subject.`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\end`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`abstract`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\end`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`document`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.a,{href:`https://www.overleaf.com/docs?engine=pdflatex\u0026snip%5Fname=How+to+create+a+document+abstract\u0026snip=%5Cdocumentclass%7Barticle%7D%0A%5Cbegin%7Bdocument%7D%0A%5Cbegin%7Babstract%7D%0AThis+is+a+simple+paragraph+at+the+beginning+of+the+%0Adocument.+A+brief+introduction+about+the+main+subject.%0A%5Cend%7Babstract%7D%0A%5Cend%7Bdocument%7D`,children:`Otwórz ten przykład w Overleaf.`})}),`\n`,_jsx(_components.p,{children:`Ten przykład daje następujący wynik:`}),`\n`,_jsx(_components.p,{children:_jsx(_components.img,{src:`https://images.ctfassets.net/nrgyaltdicpt/4cPu8x8ZxuDVF6efcZ03yi/91aa6aa84719613b0e25c725b70aa0b8/LL30Fig14-plain.svg`,alt:`Obraz pokazujący streszczenie złożone w LaTeX`})}),`\n`,_jsx(Heading,{level:`3`,id:`paragraphs-and-new-lines`,children:`Akapity i nowe wiersze`}),`\n`,_jsx(_components.p,{children:`Mając już streszczenie, możemy zacząć pisać pierwszy akapit. Następny przykład pokazuje:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`jak utworzyć nowy akapit, dwukrotnie naciskając klawisz „enter”, co kończy bieżący wiersz i wstawia po nim pusty wiersz;`}),`\n`,_jsxs(_components.li,{children:[`jak zacząć nowy wiersz bez rozpoczynania nowego akapitu, wstawiając ręczne złamanie wiersza poleceniem `,_jsx(_components.code,{children:`\\\\\\\\`}),`, czyli podwójnym ukośnikiem odwrotnym; alternatywnie można użyć polecenia `,_jsx(_components.code,{children:`\\\\newline`}),`.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Trzeci akapit w tym przykładzie demonstruje użycie poleceń `,_jsx(_components.code,{children:`\\\\\\\\`}),` i `,_jsx(_components.code,{children:`\\\\newline`}),`:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`14`,language:`latex`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`latex`,children:_jsxs(_components.code,{language:`latex`,numberOfLines:`14`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\\\\documentclass`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`article`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\begin`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`document`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\begin`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`abstract`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`This is a simple paragraph at the beginning of the `})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`document. A brief introduction about the main subject.`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\end`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`abstract`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:\"After our abstract we can begin the first paragraph, then press ``enter'' twice to start the second one.\"})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`This line will start a second paragraph.`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`I will start the third paragraph and then add `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\\\\\\\\`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` a manual line break which causes this text to start on a new line but remains part of the same paragraph. Alternatively, I can use the `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\verb`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`|\\\\newline|`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\\\\newline`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` command to start a new line, which is also part of the same paragraph.`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\end`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`document`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.a,{href:`https://www.overleaf.com/docs?engine=pdflatex\u0026snip%5Fname=Example+to+create+a+new+paragraph\u0026snip=%5Cdocumentclass%7Barticle%7D%0A%5Cbegin%7Bdocument%7D%0A%0A%5Cbegin%7Babstract%7D%0AThis+is+a+simple+paragraph+at+the+beginning+of+the+%0Adocument.+A+brief+introduction+about+the+main+subject.%0A%5Cend%7Babstract%7D%0A%0AAfter+our+abstract+we+can+begin+the+first+paragraph%2C+then+press+%60%60enter%27%27+twice+to+start+the+second+one.%0A%0AThis+line+will+start+a+second+paragraph.%0A%0AI+will+start+the+third+paragraph+and+then+add+%5C%5C+a+manual+line+break+which+causes+this+text+to+start+on+a+new+line+but+remains+part+of+the+same+paragraph.+Alternatively%2C+I+can+use+the+%5Cverb%7C%5Cnewline%7C%5Cnewline+command+to+start+a+new+line%2C+which+is+also+part+of+the+same+paragraph.%0A%5Cend%7Bdocument%7D`,children:`Otwórz ten przykład w Overleaf.`})}),`\n`,_jsx(_components.p,{children:`Ten przykład daje następujący wynik:`}),`\n`,_jsx(_components.p,{children:_jsx(_components.img,{src:`https://images.ctfassets.net/nrgyaltdicpt/5DdSH06hFli8k4lR0dxw4m/a55cddf9aa10b64302ae7b72ba0c6447/LL30Fig15r-plain.svg`,alt:`Obraz pokazujący tworzenie akapitów w LaTeX`})}),`\n`,_jsxs(_components.p,{children:[`Zwróć uwagę, że LaTeX automatycznie wcina akapity — z wyjątkiem tych bezpośrednio po nagłówkach dokumentu, takich jak sekcja i podsekcja — `,_jsx(_components.a,{href:`#chapters-and-sections`,children:`jak zobaczymy`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`Początkującym użytkownikom odradzamy używanie wielu `,_jsx(_components.code,{children:`\\\\\\\\`}),` lub `,_jsx(_components.code,{children:`\\\\newline`}),` do „symulowania” akapitów z większymi odstępami, ponieważ może to zakłócać algorytmy składu LaTeX. Zalecaną metodą jest dalsze używanie pustych wierszy do tworzenia nowych akapitów, bez żadnych `,_jsx(_components.code,{children:`\\\\\\\\`}),`, oraz wczytanie `,_jsx(_components.a,{href:`https://ctan.org/pkg/parskip?lang=en`,children:`pakietu parskip`}),` przez dodanie `,_jsx(_components.code,{children:`\\\\usepackage{parskip}`}),` do preambuły.`]}),`\n`,_jsx(_components.p,{children:`Więcej informacji o akapitach znajdziesz w następujących artykułach:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`https://www.overleaf.com/learn/latex/Paragraphs_and_new_lines`,children:`Akapity i nowe wiersze`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`https://www.overleaf.com/learn/latex/Articles/How_to_change_paragraph_spacing_in_LaTeX`,children:`Jak zmienić odstępy między akapitami w LaTeX`})}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`https://www.overleaf.com/learn/latex/Errors/LaTeX_Error%3A_There%27s_no_line_here_to_end`,children:`LaTeX Error: There’s no line here to end`}),` — dodatkowe porady i wskazówki dotyczące używania `,_jsx(_components.code,{children:`\\\\\\\\`}),`.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`chapters-and-sections`,children:`Rozdziały i sekcje`}),`\n`,_jsxs(_components.p,{children:[`Dłuższe dokumenty, niezależnie od oprogramowania, w którym powstają, zwykle dzieli się na części, rozdziały, sekcje, podsekcje itd. LaTeX również udostępnia polecenia do strukturyzowania dokumentu, ale dostępne polecenia i ich implementacje (to, co robią) mogą zależeć od używanej klasy dokumentu. Na przykład dokumenty utworzone przy użyciu klasy `,_jsx(_components.code,{children:`book`}),` można dzielić na części, rozdziały, sekcje, podsekcje itd., ale klasa `,_jsx(_components.code,{children:`letter`}),` nie udostępnia (nie obsługuje) żadnych poleceń do tego celu.`]}),`\n`,_jsxs(_components.p,{children:[`Następny przykład pokazuje polecenia używane do strukturyzowania dokumentu opartego na klasie `,_jsx(_components.code,{children:`book`}),`:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`27`,language:`latex`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`latex`,children:_jsxs(_components.code,{language:`latex`,numberOfLines:`27`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\\\\documentclass`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`book`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\begin`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`document`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\chapter`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#D4D4D4`},children:`First Chapter`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\section`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#D4D4D4`},children:`Introduction`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`This is the first section.`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`Lorem ipsum dolor sit amet, consectetuer adipiscing `})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`elit. Etiam lobortisfacilisis sem. Nullam nec mi et `})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`neque pharetra sollicitudin. Praesent imperdietmi nec ante. `})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`Donec ullamcorper, felis non sodales...`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\section`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#D4D4D4`},children:`Second Section`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`Lorem ipsum dolor sit amet, consectetuer adipiscing elit. `})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`Etiam lobortis facilisissem. Nullam nec mi et neque pharetra `})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`sollicitudin. Praesent imperdiet mi necante...`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\subsection`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#D4D4D4`},children:`First Subsection`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`Praesent imperdietmi nec ante. Donec ullamcorper, felis non sodales...`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\section*`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#D4D4D4`},children:`Unnumbered Section`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`Lorem ipsum dolor sit amet, consectetuer adipiscing elit. `})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`Etiam lobortis facilisissem...`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\end`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`document`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.a,{href:`https://www.overleaf.com/docs?engine=pdflatex\u0026snip%5Fname=Book+class+example+document\u0026snip=%5Cdocumentclass%7Bbook%7D%0A%5Cbegin%7Bdocument%7D%0A%0A%5Cchapter%7BFirst+Chapter%7D%0A%0A%5Csection%7BIntroduction%7D%0A%0AThis+is+the+first+section.%0A%0ALorem++ipsum++dolor++sit++amet%2C++consectetuer++adipiscing++%0Aelit.+Etiam++lobortisfacilisis+sem.++Nullam+nec+mi+et+%0Aneque+pharetra+sollicitudin.++Praesent+imperdietmi+nec+ante.+%0ADonec+ullamcorper%2C+felis+non+sodales...%0A%0A%5Csection%7BSecond+Section%7D%0A%0ALorem+ipsum+dolor+sit+amet%2C+consectetuer+adipiscing+elit.++%0AEtiam+lobortis+facilisissem.++Nullam+nec+mi+et+neque+pharetra+%0Asollicitudin.++Praesent+imperdiet+mi+necante...%0A%0A%5Csubsection%7BFirst+Subsection%7D%0APraesent+imperdietmi+nec+ante.+Donec+ullamcorper%2C+felis+non+sodales...%0A%0A%5Csection%2A%7BUnnumbered+Section%7D%0ALorem+ipsum+dolor+sit+amet%2C+consectetuer+adipiscing+elit.++%0AEtiam+lobortis+facilisissem...%0A%5Cend%7Bdocument%7D`,children:`Otwórz ten przykład w Overleaf.`})}),`\n`,_jsx(_components.p,{children:`Ten przykład daje następujący wynik:`}),`\n`,_jsx(_components.p,{children:_jsx(_components.img,{src:`https://images.ctfassets.net/nrgyaltdicpt/1A1T7YsurQdM058OwmLqd8/7f6e962c31356bafa702bab9062f6061/LL30Fig16-plain.svg`,alt:`Obraz pokazujący sekcje w dokumencie LaTeX klasy book`})}),`\n`,_jsxs(_components.p,{children:[`Nazwy poleceń podziału są w większości oczywiste; na przykład `,_jsx(_components.code,{children:`\\\\chapter{First Chapter}`}),` tworzy nowy rozdział zatytułowany `,_jsx(_components.code,{children:`First Chapter`}),`, `,_jsx(_components.code,{children:`\\\\section{Introduction}`}),` tworzy sekcję zatytułowaną `,_jsx(_components.code,{children:`Introduction`}),` itd. Sekcje można dalej dzielić na `,_jsx(_components.code,{children:`\\\\subsection{...}`}),`, a nawet `,_jsx(_components.code,{children:`\\\\subsubsection{...}`}),`. Numeracja sekcji, podsekcji itp. jest automatyczna, ale można ją wyłączyć, używając tzw. `,_jsx(_components.em,{children:`wersji z gwiazdką`}),` odpowiedniego polecenia, która ma gwiazdkę (*) na końcu, np. `,_jsx(_components.code,{children:`\\\\section*{...}`}),` i `,_jsx(_components.code,{children:`\\\\subsection*{...}`}),`.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.em,{children:`Łącznie`}),` klasy dokumentów LaTeX udostępniają następujące polecenia podziału, przy czym poszczególne klasy obsługują odpowiedni ich podzbiór:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`\\\\part{part}`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`\\\\chapter{chapter}`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`\\\\section{section}`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`\\\\subsection{subsection}`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`\\\\subsubsection{subsubsection}`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`\\\\paragraph{paragraph}`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`\\\\subparagraph{subparagraph}`})}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`W szczególności polecenia `,_jsx(_components.code,{children:`\\\\part`}),` i `,_jsx(_components.code,{children:`\\\\chapter`}),` są dostępne tylko w klasach dokumentów `,_jsx(_components.code,{children:`report`}),` i `,_jsx(_components.code,{children:`book`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`Więcej informacji o poleceniach strukturyzujących dokument znajdziesz w `,_jsx(_components.a,{href:`https://www.overleaf.com/learn/latex/Sections_and_chapters`,children:`artykule Overleaf o sekcjach i rozdziałach`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`creating-tables`,children:`Tworzenie tabel`}),`\n`,_jsx(_components.p,{children:`Overleaf oferuje trzy sposoby tworzenia tabel:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Użycie `,_jsxs(_components.a,{href:`https://docs.overleaf.com/writing-and-editing/generating-and-inserting-tables`,children:[`przycisku `,_jsx(_components.strong,{children:`Insert Table`})]}),` na pasku narzędzi `,_jsx(_components.strong,{children:`Visual Editor`}),` (lub `,_jsx(_components.strong,{children:`Code Editor`}),`).`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`https://docs.overleaf.com/writing-and-editing/generating-and-inserting-tables/pasting-tables-into-your-project`,children:`Skopiowanie i wklejenie tabeli`}),` z innego dokumentu podczas pracy w `,_jsx(_components.strong,{children:`Visual Editor`}),`.`]}),`\n`,_jsx(_components.li,{children:`Napisanie kodu LaTeX tabeli w Code Editor.`}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Jeśli dopiero zaczynasz przygodę z LaTeX, pasek narzędzi w `,_jsx(_components.strong,{children:`Visual Editor`}),` (opcja 1) to świetny sposób na start — możesz przełączać się między `,_jsx(_components.strong,{children:`Visual Editor`}),` a `,_jsx(_components.strong,{children:`Code Editor`}),`, aby zobaczyć kod stojący za tabelą.`]}),`\n`,_jsxs(_components.p,{children:[`Tutaj skupiamy się na opcji 3 — najbardziej elastycznej metodzie tworzenia tabel — i przedstawiamy przykłady pokazujące, jak tworzyć tabele w LaTeX, w tym jak dodawać linie (reguły) i podpisy. Gdy nabierzesz doświadczenia, zapoznaj się z naszym szczegółowym przewodnikiem `,_jsx(_components.a,{href:`https://www.overleaf.com/learn/latex/Tables`,children:`o tworzeniu tabel w LaTeX`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`creating-a-basic-table-in-latex`,children:`Tworzenie prostej tabeli w LaTeX`}),`\n`,_jsx(_components.p,{children:`Zaczniemy od przykładu pokazującego skład prostej tabeli:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`latex`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`latex`,children:_jsxs(_components.code,{language:`latex`,numberOfLines:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\begin`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`center`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\begin`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`tabular`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}{c c c}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` cell1 `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\u0026`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` cell2 `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\u0026`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` cell3 `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\\\\\\\\`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` `})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` cell4 `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\u0026`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` cell5 `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\u0026`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` cell6 `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\\\\\\\\`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` `})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` cell7 `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\u0026`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` cell8 `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\u0026`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` cell9 `})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\end`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`tabular`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\end`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`center`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.a,{href:`https://www.overleaf.com/docs?engine=pdflatex\u0026snip%5Fname=An+example+of+a+basic+table\u0026snip=%5Cdocumentclass%7Barticle%7D%0A%5Cbegin%7Bdocument%7D%0A%5Cbegin%7Bcenter%7D%0A%5Cbegin%7Btabular%7D%7Bc+c+c%7D%0A+cell1+%26+cell2+%26+cell3+%5C%5C+%0A+cell4+%26+cell5+%26+cell6+%5C%5C++%0A+cell7+%26+cell8+%26+cell9++++%0A%5Cend%7Btabular%7D%0A%5Cend%7Bcenter%7D%0A%5Cend%7Bdocument%7D%0A%3C%2Fsource%3E`,children:`Otwórz ten przykład w Overleaf.`})}),`\n`,_jsx(_components.p,{children:`Ten przykład daje następujący wynik:`}),`\n`,_jsx(_components.p,{children:_jsx(_components.img,{src:`https://images.ctfassets.net/nrgyaltdicpt/5K46QavbKv9vF4RI1GbUf2/f22d4f8a06d00251166f86d2c891321e/LL30Fig17-plain.svg`,alt:`Grafika przedstawiająca tabelę złożoną w LaTeX`})}),`\n`,_jsxs(_components.p,{children:[`Środowisko `,_jsx(_components.code,{children:`tabular`}),` to domyślna metoda tworzenia tabel w LaTeX. Musisz podać parametr tego środowiska, w tym przypadku `,_jsx(_components.code,{children:`{c c c}`}),`, który informuje LaTeX, że będą trzy kolumny, a tekst w każdej z nich ma być wyśrodkowany. Możesz też użyć `,_jsx(_components.code,{children:`r`}),`, aby wyrównać tekst do prawej, lub `,_jsx(_components.code,{children:`l`}),`, aby wyrównać go do lewej. Symbol wyrównania `,_jsx(_components.code,{children:`\u0026`}),` służy do oddzielania poszczególnych komórek w wierszu tabeli. Aby zakończyć wiersz tabeli, użyj polecenia `,_jsx(_components.em,{children:`nowego wiersza`}),` `,_jsx(_components.code,{children:`\\\\\\\\`}),`. Nasza tabela jest umieszczona w środowisku `,_jsx(_components.code,{children:`center`}),`, aby była wyśrodkowana w obrębie szerokości tekstu na stronie.`]}),`\n`,_jsx(Heading,{level:`3`,id:`adding-borders`,children:`Dodawanie obramowań`}),`\n`,_jsxs(_components.p,{children:[`Środowisko `,_jsx(_components.code,{children:`tabular`}),` obsługuje poziome i pionowe linie (reguły) jako część tabeli:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`aby dodać poziome linie nad wierszami i pod nimi, użyj polecenia `,_jsx(_components.code,{children:`\\\\hline`})]}),`\n`,_jsxs(_components.li,{children:[`aby dodać pionowe linie między kolumnami, użyj parametru pionowej kreski `,_jsx(_components.code,{children:`|`})]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`W tym przykładzie argumentem jest `,_jsx(_components.code,{children:`{|c|c|c|}`}),`, co deklaruje trzy (wyśrodkowane) kolumny, każda oddzielona pionową linią; dodatkowo używamy `,_jsx(_components.code,{children:`\\\\hline`}),`, aby umieścić poziomą linię nad pierwszym i pod ostatnim wierszem:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`9`,language:`latex`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`latex`,children:_jsxs(_components.code,{language:`latex`,numberOfLines:`9`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\begin`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`center`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\begin`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`tabular`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}{|c|c|c|} `})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` \\\\hline`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` cell1 `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\u0026`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` cell2 `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\u0026`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` cell3 `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\\\\\\\\`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` `})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` cell4 `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\u0026`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` cell5 `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\u0026`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` cell6 `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\\\\\\\\`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` `})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` cell7 `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\u0026`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` cell8 `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\u0026`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` cell9 `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\\\\\\\\`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` `})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` \\\\hline`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\end`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`tabular`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\end`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`center`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.a,{href:`https://www.overleaf.com/docs?engine=pdflatex\u0026snip%5Fname=Table+example+with+rules\u0026snip=%5Cdocumentclass%7Barticle%7D%0A%5Cbegin%7Bdocument%7D%0A%5Cbegin%7Bcenter%7D%0A%5Cbegin%7Btabular%7D%7B%7Cc%7Cc%7Cc%7C%7D+%0A+%5Chline%0A+cell1+%26+cell2+%26+cell3+%5C%5C+%0A+cell4+%26+cell5+%26+cell6+%5C%5C+%0A+cell7+%26+cell8+%26+cell9+%5C%5C+%0A+%5Chline%0A%5Cend%7Btabular%7D%0A%5Cend%7Bcenter%7D%0A%5Cend%7Bdocument%7D`,children:`Otwórz ten przykład w Overleaf.`})}),`\n`,_jsx(_components.p,{children:`Ten przykład daje następujący wynik:`}),`\n`,_jsx(_components.p,{children:_jsx(_components.img,{src:`https://images.ctfassets.net/nrgyaltdicpt/5uWYGUhK1XJJJaWz5R1EmX/3ee88bf6b2eaf8d0644b57fa8064800b/LL30Fig18-plain.svg`,alt:`Grafika przedstawiająca tabelę złożoną w LaTeX z liniami poziomymi i pionowymi`})}),`\n`,_jsx(_components.p,{children:`Oto kolejny przykład:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`17`,language:`latex`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`latex`,children:_jsxs(_components.code,{language:`latex`,numberOfLines:`17`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\begin`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`center`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` \\\\begin`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`tabular`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}{||c c c c||} `})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` \\\\hline`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` Col1 `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\u0026`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` Col2 `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\u0026`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` Col2 `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\u0026`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` Col3 `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\\\\\\\\`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [0.5ex] `})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` \\\\hline\\\\hline`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` 1 `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\u0026`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` 6 `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\u0026`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` 87837 `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\u0026`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` 787 `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\\\\\\\\`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` `})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` \\\\hline`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` 2 `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\u0026`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` 7 `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\u0026`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` 78 `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\u0026`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` 5415 `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\\\\\\\\`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` \\\\hline`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` 3 `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\u0026`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` 545 `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\u0026`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` 778 `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\u0026`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` 7507 `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\\\\\\\\`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` \\\\hline`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` 4 `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\u0026`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` 545 `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\u0026`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` 18744 `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\u0026`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` 7560 `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\\\\\\\\`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` \\\\hline`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` 5 `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\u0026`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` 88 `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\u0026`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` 788 `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\u0026`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` 6344 `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\\\\\\\\`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [1ex] `})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` \\\\hline`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\end`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`tabular`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\end`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`center`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.a,{href:`https://www.overleaf.com/docs?engine=pdflatex\u0026snip%5Fname=Another+table+example+containing+rules\u0026snip=%5Cdocumentclass%7Barticle%7D%0A%5Cbegin%7Bdocument%7D%0A%5Cbegin%7Bcenter%7D%0A+%5Cbegin%7Btabular%7D%7B%7C%7Cc+c+c+c%7C%7C%7D+%0A+%5Chline%0A+Col1+%26+Col2+%26+Col2+%26+Col3+%5C%5C+%5B0.5ex%5D+%0A+%5Chline%5Chline%0A+1+%26+6+%26+87837+%26+787+%5C%5C+%0A+%5Chline%0A+2+%26+7+%26+78+%26+5415+%5C%5C%0A+%5Chline%0A+3+%26+545+%26+778+%26+7507+%5C%5C%0A+%5Chline%0A+4+%26+545+%26+18744+%26+7560+%5C%5C%0A+%5Chline%0A+5+%26+88+%26+788+%26+6344+%5C%5C+%5B1ex%5D+%0A+%5Chline%0A%5Cend%7Btabular%7D%0A%5Cend%7Bcenter%7D%0A%5Cend%7Bdocument%7D`,children:`Otwórz ten przykład w Overleaf.`})}),`\n`,_jsx(_components.p,{children:`Ten przykład daje następujący wynik:`}),`\n`,_jsx(_components.p,{children:_jsx(_components.img,{src:`https://images.ctfassets.net/nrgyaltdicpt/1Cy9FcRnDVDRUPQdCgaKq6/c21e5f7d9a53514756c6e1f2996e51e0/LL30Fig19-plain.svg`,alt:`Grafika przedstawiająca tabelę złożoną w LaTeX z liniami poziomymi i pionowymi`})}),`\n`,_jsx(Heading,{level:`3`,id:`captions-labels-and-references-2`,children:`Podpisy, etykiety i odwołania`}),`\n`,_jsxs(_components.p,{children:[`Tabele możesz opatrywać podpisami i odwołaniami w bardzo podobny sposób jak obrazy. Jedyna różnica polega na tym, że zamiast środowiska `,_jsx(_components.strong,{children:_jsx(_components.code,{children:`figure`})}),` używasz środowiska `,_jsx(_components.strong,{children:_jsx(_components.code,{children:`table`})}),`.`]}),`\n`,_jsx(_components.p,{children:`Tabela \\\\ref{table:data} pokazuje, jak dodać podpis tabeli i odwołać się do niej.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`16`,language:`latex`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`latex`,children:_jsxs(_components.code,{language:`latex`,numberOfLines:`16`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\begin`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`table`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}[h!]`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\centering`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\begin`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`tabular`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}{||c c c c||} `})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` \\\\hline`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` Col1 `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\u0026`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` Col2 `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\u0026`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` Col2 `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\u0026`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` Col3 `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\\\\\\\\`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [0.5ex] `})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` \\\\hline\\\\hline`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` 1 `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\u0026`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` 6 `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\u0026`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` 87837 `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\u0026`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` 787 `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\\\\\\\\`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` `})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` 2 `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\u0026`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` 7 `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\u0026`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` 78 `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\u0026`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` 5415 `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\\\\\\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` 3 `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\u0026`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` 545 `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\u0026`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` 778 `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\u0026`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` 7507 `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\\\\\\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` 4 `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\u0026`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` 545 `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\u0026`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` 18744 `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\u0026`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` 7560 `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\\\\\\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` 5 `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\u0026`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` 88 `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\u0026`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` 788 `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\u0026`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` 6344 `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\\\\\\\\`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [1ex] `})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` \\\\hline`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\end`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`tabular`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\caption`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{Table to test captions and labels.}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\\\\label`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`table:data`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\end`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`table`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.a,{href:`https://www.overleaf.com/docs?engine=pdflatex\u0026snip%5Fname=Table+captions+and+references\u0026snip=%5Cdocumentclass%7Barticle%7D%0A%5Cbegin%7Bdocument%7D%0ATable+%5Cref%7Btable%3Adata%7D+shows+how+to+add+a+table+caption+and+reference+a+table.%0A%5Cbegin%7Btable%7D%5Bh%21%5D%0A%5Ccentering%0A%5Cbegin%7Btabular%7D%7B%7C%7Cc+c+c+c%7C%7C%7D+%0A+%5Chline%0A+Col1+%26+Col2+%26+Col2+%26+Col3+%5C%5C+%5B0.5ex%5D+%0A+%5Chline%5Chline%0A+1+%26+6+%26+87837+%26+787+%5C%5C+%0A+2+%26+7+%26+78+%26+5415+%5C%5C%0A+3+%26+545+%26+778+%26+7507+%5C%5C%0A+4+%26+545+%26+18744+%26+7560+%5C%5C%0A+5+%26+88+%26+788+%26+6344+%5C%5C+%5B1ex%5D+%0A+%5Chline%0A%5Cend%7Btabular%7D%0A%5Ccaption%7BTable+to+test+captions+and+labels.%7D%0A%5Clabel%7Btable%3Adata%7D%0A%5Cend%7Btable%7D%0A%5Cend%7Bdocument%7D`,children:`Otwórz ten przykład w Overleaf.`})}),`\n`,_jsx(_components.p,{children:`Ten przykład daje następujący wynik:`}),`\n`,_jsx(_components.p,{children:_jsx(_components.img,{src:`https://images.ctfassets.net/nrgyaltdicpt/1f5w74UIaTCkpApaPdVeWf/580a87c2413ddc9d6bdef3bf462689fc/LL30Fig20-plain.svg`,alt:`Tabela LaTeX z podpisem`})}),`\n`,_jsx(Heading,{level:`2`,id:`adding-a-table-of-contents`,children:`Dodawanie spisu treści`}),`\n`,_jsxs(_components.p,{children:[`Utworzenie spisu treści jest proste, ponieważ polecenie `,_jsx(_components.code,{children:`\\\\tableofcontents`}),` wykonuje za Ciebie niemal całą pracę:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`32`,language:`latex`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`latex`,children:_jsxs(_components.code,{language:`latex`,numberOfLines:`32`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\\\\documentclass`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`article`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\title`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{Sections and Chapters}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\author`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{Gubert Farnsworth}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\date`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{August 2022}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\begin`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`document`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` `})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\maketitle`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` `})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\tableofcontents`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\section`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#D4D4D4`},children:`Introduction`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` `})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`This is the first section.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` `})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`Lorem ipsum dolor sit amet, consectetuer adipiscing `})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`elit. Etiam lobortisfacilisis sem. Nullam nec mi et `})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`neque pharetra sollicitudin. Praesent imperdietmi nec ante. `})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`Donec ullamcorper, felis non sodales...`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` `})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\section*`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#D4D4D4`},children:`Unnumbered Section`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\addcontentsline`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{toc}{section}{Unnumbered Section}`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`Lorem ipsum dolor sit amet, consectetuer adipiscing elit. `})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`Etiam lobortis facilisissem. Nullam nec mi et neque pharetra `})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`sollicitudin. Praesent imperdiet mi necante...`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\section`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#D4D4D4`},children:`Second Section`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` `})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`Lorem ipsum dolor sit amet, consectetuer adipiscing elit. `})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`Etiam lobortis facilisissem. Nullam nec mi et neque pharetra `})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`sollicitudin. Praesent imperdiet mi necante...`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\end`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`document`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.a,{href:`https://www.overleaf.com/docs?engine=pdflatex\u0026snip%5Fname=Generating+a+table+of+contents\u0026snip=%5Cdocumentclass%7Barticle%7D%0A%5Ctitle%7BSections+and+Chapters%7D%0A%5Cauthor%7BGubert+Farnsworth%7D%0A%5Cdate%7BAugust+2022%7D%0A%5Cbegin%7Bdocument%7D%0A++%0A%5Cmaketitle%0A++%0A%5Ctableofcontents%0A%0A%5Csection%7BIntroduction%7D%0A+++%0AThis+is+the+first+section.%0A++++++%0ALorem++ipsum++dolor++sit++amet%2C++consectetuer++adipiscing++%0Aelit.+++Etiam++lobortisfacilisis+sem.++Nullam+nec+mi+et+%0Aneque+pharetra+sollicitudin.++Praesent+imperdietmi+nec+ante.+%0ADonec+ullamcorper%2C+felis+non+sodales...%0A+++++++%0A%5Csection%2A%7BUnnumbered+Section%7D%0A%5Caddcontentsline%7Btoc%7D%7Bsection%7D%7BUnnumbered+Section%7D%0A%0ALorem+ipsum+dolor+sit+amet%2C+consectetuer+adipiscing+elit.++%0AEtiam+lobortis+facilisissem.++Nullam+nec+mi+et+neque+pharetra+%0Asollicitudin.++Praesent+imperdiet+mi+necante...%0A%0A%5Csection%7BSecond+Section%7D%0A+++++++%0ALorem+ipsum+dolor+sit+amet%2C+consectetuer+adipiscing+elit.++%0AEtiam+lobortis+facilisissem.++Nullam+nec+mi+et+neque+pharetra+%0Asollicitudin.++Praesent+imperdiet+mi+necante...%0A%5Cend%7Bdocument%7D`,children:`Otwórz ten przykład w Overleaf.`})}),`\n`,_jsx(_components.p,{children:`Ten przykład daje następujący wynik:`}),`\n`,_jsx(_components.p,{children:_jsx(_components.img,{src:`https://images.ctfassets.net/nrgyaltdicpt/MxY592Q6EGsDKMA2mZw0t/fffa41a0a0d30770526f73aff72a7be1/LL30Fig21r-plain.svg`,alt:`Grafika pokazująca spis treści utworzony przez LaTeX`})}),`\n`,_jsxs(_components.p,{children:[`Sekcje, podsekcje i rozdziały są automatycznie umieszczane w spisie treści. Aby ręcznie dodać wpisy, na przykład nienumerowaną sekcję, użyj polecenia `,_jsx(_components.code,{children:`\\\\addcontentsline`}),`, jak pokazano w przykładzie.`]}),`\n`,_jsx(Heading,{level:`2`,id:`downloading-your-finished-document`,children:`Pobieranie gotowego dokumentu`}),`\n`,_jsx(_components.p,{children:`Poniższy krótki klip wideo pokazuje, jak pobrać kod źródłowy projektu lub złożony plik PDF:`}),`\n`,_jsxs(_components.p,{children:[`Więcej informacji znajdziesz w artykule pomocy Overleaf `,_jsx(_components.a,{href:`https://docs.overleaf.com/managing-projects-and-files/downloading-a-project`,children:`Eksportowanie pracy z Overleaf`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`finding-and-using-latex-packages`,children:`Wyszukiwanie i używanie pakietów LaTeX`}),`\n`,_jsxs(_components.p,{children:[`LaTeX nie tylko zapewnia rozbudowane możliwości składu, ale także udostępnia `,_jsx(_components.em,{children:`mechanizm rozszerzalności`}),` poprzez dodatkowe `,_jsx(_components.em,{children:`pakiety`}),`. Zamiast próbować dostarczać polecenia i funkcje, które „robią wszystko”, LaTeX zaprojektowano jako `,_jsx(_components.em,{children:`rozszerzalny`}),`, co pozwala użytkownikom wczytywać zewnętrzny kod (pakiety) zapewniający bardziej wyspecjalizowane możliwości składu lub rozszerzający wbudowane funkcje LaTeX — takie jak skład tabel. Jak wspomniano w sekcji `,_jsx(_components.a,{href:`#adding-images`,children:`Dodawanie obrazów`}),`, pakiet `,_jsx(_components.code,{children:`graphicx`}),` rozszerza LaTeX o polecenia do importowania plików graficznych i został wczytany (w preambule) przez wpisanie`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`latex`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`latex`,children:_jsxs(_components.code,{language:`latex`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\\\\usepackage`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`graphicx`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`loading-packages`,children:`Wczytywanie pakietów`}),`\n`,_jsxs(_components.p,{children:[`Jak wspomniano powyżej, pakiety wczytuje się w preambule dokumentu za pomocą polecenia `,_jsx(_components.code,{children:`\\\\usepackage`}),`, ale ponieważ (wiele) pakietów LaTeX udostępnia zestaw `,_jsx(_components.em,{children:`opcji`}),`, które pozwalają skonfigurować ich działanie, polecenie `,_jsx(_components.code,{children:`\\\\usepackage`}),` często wygląda tak:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`latex`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`latex`,children:_jsxs(_components.code,{language:`latex`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\\\\usepackage`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`options`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]{`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`somepackage`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Nawiasy kwadratowe „`,_jsx(_components.code,{children:`[...]`}),`” informują LaTeX, który zestaw opcji ma zostać zastosowany podczas wczytywania `,_jsx(_components.code,{children:`somepackage`}),`. W zestawie opcji wybranych przez użytkownika poszczególne opcje lub ustawienia są zwykle rozdzielone przecinkami; na przykład `,_jsx(_components.a,{href:`https://ctan.org/pkg/geometry`,children:`pakiet geometry`}),` udostępnia wiele opcji do konfigurowania układu strony w LaTeX, więc typowe użycie `,_jsx(_components.code,{children:`geometry`}),` może wyglądać tak:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`latex`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`latex`,children:_jsxs(_components.code,{language:`latex`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\\\\usepackage`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`total={6.5in,8.75in},`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`top=1.2in, left=0.9in, includefoot`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]{`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`geometry`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Pakiet `,_jsx(_components.code,{children:`geometry`}),` jest przykładem pakietu napisanego i udostępnionego przez członków globalnej społeczności LaTeX, dostępnego bezpłatnie dla każdego, kto chce z niego korzystać.`]}),`\n`,_jsx(_components.p,{children:`Jeśli pakiet LaTeX nie udostępnia żadnych opcji lub użytkownik chce użyć domyślnych wartości opcji pakietu, wczytuje się go tak:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`latex`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`latex`,children:_jsxs(_components.code,{language:`latex`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\\\\usepackage`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`somepackage`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Gdy piszesz `,_jsx(_components.code,{children:`\\\\usepackage[...]{somepackage}`}),`, LaTeX szuka odpowiadającego mu pliku o nazwie `,_jsx(_components.code,{children:`_somepackage_.sty`}),`, który musi wczytać i przetworzyć — aby udostępnić polecenia pakietu i wykonać wszelki inny kod dostarczony przez ten pakiet. Jeśli LaTeX nie może znaleźć `,_jsx(_components.code,{children:`_somepackage_.sty`}),`, zakończy działanie z błędem, jak pokazano w poniższym przykładzie Overleaf:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`latex`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`latex`,children:_jsxs(_components.code,{language:`latex`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\\\\documentclass`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`12pt, letterpaper`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]{`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`article`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`\\\\usepackage`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`somepackage`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`% a NON-EXISTENT package`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\begin`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`document`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`This will fail!`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`\\\\end`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`document`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsxs(_components.a,{href:`https://www.overleaf.com/docs?engine=pdflatex\u0026snip%5Fname=Error+due+to+missing+package\u0026snip=%5Cdocumentclass%5B12pt%2C+letterpaper%5D%7Barticle%7D%0A%5Cusepackage%7Bsomepackage%7D%25+a+NON-EXISTENT+package%0A%5Cbegin%7Bdocument%7D%0AThis+will+fail%21%0A%5Cend%7Bdocument%7D`,children:[`Otwórz ten `,_jsx(_components.em,{children:_jsx(_components.strong,{children:`przykład generujący błąd`})}),` w Overleaf`]})}),`\n`,_jsx(_components.p,{children:`Ten przykład daje następujący wynik:`}),`\n`,_jsx(_components.p,{children:_jsx(_components.img,{src:`https://sharelatex-wiki-cdn-671420.cdn77.org/learn-scripts/images/6/60/LL30packagefail.png`,alt:`Obraz pokazujący błąd spowodowany brakującym pakietem`})}),`\n`,_jsx(Heading,{level:`3`,id:`finding-information-about-packages-ctan`,children:`Wyszukiwanie informacji o pakietach: CTAN`}),`\n`,_jsxs(_components.p,{children:[`Pakiety są dystrybuowane za pośrednictwem `,_jsx(_components.a,{href:`https://www.ctan.org/`,children:`Comprehensive TeX Archive Network`}),`, zwykle nazywanej CTAN, która w chwili pisania tego tekstu hostuje 6287 pakietów od 2881 autorów. CTAN `,_jsx(_components.a,{href:`https://www.ctan.org/ctan`,children:`opisuje siebie`}),` jako`]}),`\n`,_jsxs(_components.blockquote,{children:[`\n`,_jsx(_components.p,{children:`… zbiór witryn internetowych na całym świecie, które oferują do pobrania materiały związane z TEX.`}),`\n`]}),`\n`,_jsx(_components.p,{children:`Możesz przeglądać CTAN w poszukiwaniu przydatnych pakietów, na przykład:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`https://www.ctan.org/topics/cloud`,children:`według tematu`})}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`https://www.ctan.org/pkg`,children:`alfabetycznie`}),` (przydatne, jeśli znasz nazwę pakietu)`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Możesz też skorzystać z `,_jsx(_components.a,{href:`https://www.ctan.org/pkg`,children:`wyszukiwarki`}),` (u góry strony).`]}),`\n`,_jsx(Heading,{level:`3`,id:`packages-available-on-overleaf-introducing-tex-live`,children:`Pakiety dostępne w Overleaf: przedstawiamy TeX Live`}),`\n`,_jsxs(_components.p,{children:[`Raz w roku (duży) `,_jsx(_components.em,{children:`podzbiór`}),` pakietów hostowanych w CTAN, wraz z fontami związanymi z LaTeX i innym oprogramowaniem, jest zestawiany i dystrybuowany jako system o nazwie `,_jsx(_components.a,{href:`https://tug.org/texlive/`,children:`TeX Live`}),`, którego można użyć do zainstalowania własnego (lokalnego) środowiska LaTeX. W rzeczywistości `,_jsx(_components.a,{href:`https://www.overleaf.com/learn/latex/Overleaf_and_TeX_Live`,children:`serwery Overleaf również używają TeX Live`}),` i są aktualizowane po wydaniu nowej wersji TeX Live. Aktualizacje TeX Live w Overleaf nie są natychmiastowe, lecz następują kilka miesięcy po wydaniu, co daje nam czas na przeprowadzenie testów zgodności nowej wersji TeX Live z `,_jsx(_components.a,{href:`https://www.overleaf.com/gallery`,children:`tysiącami szablonów w naszej galerii`}),`. Oto na przykład nasze `,_jsx(_components.a,{href:`https://www.overleaf.com/blog/tex-live-2025-is-now-available`,children:`ogłoszenie o aktualizacji do TeX Live 2025`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`Choć TeX Live zawiera (duży) `,_jsx(_components.em,{children:`podzbiór`}),` pakietów CTAN, można natrafić na interesujący pakiet, taki jak `,_jsx(_components.a,{href:`https://ctan.org/pkg/igo?lang=en`,children:`igo do składu diagramów gry Go`}),`, który jest hostowany w CTAN, ale nie jest zawarty w TeX Live (ani przez niego dystrybuowany), a zatem jest niedostępny w Overleaf. Niektóre pakiety hostowane w CTAN nie wchodzą w skład TeX Live z różnych powodów: pakiet może być przestarzały, mieć problemy licencyjne, być bardzo nowy (niedawno przesłany) lub mieć zależności od platformy, np. działać w systemie Windows, ale nie w Linuksie.`]}),`\n`,_jsx(_components.p,{children:`Nowe pakiety i aktualizacje istniejących są przesyłane do CTAN przez cały rok, ale aktualizacje TeX Live są dystrybuowane raz w roku; w związku z tym pakiety zawarte w bieżącej wersji TeX Live nie będą tak aktualne jak te hostowane w CTAN. Ponieważ serwery Overleaf używają TeX Live, możliwe jest, że pakiety zainstalowane na naszych serwerach — czyli dostępne dla naszych użytkowników — nie są najnowszymi wersjami dostępnymi w CTAN, ale zazwyczaj nie stanowi to problemu.`})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Naucz się LaTeX w 30 minut","description":null,"href":"/pl/texlive/latex-basics/learn-latex-in-30-minutes"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Czym jest LaTeX?","slug":"what-is-latex","depth":2,"children":[]},{"title":"Dlaczego warto nauczyć się LaTeX?","slug":"why-learn-latex","depth":2,"children":[]},{"title":"Twój pierwszy fragment kodu LaTeX","slug":"writing-your-first-piece-of-latex","depth":2,"children":[]},{"title":"Preambuła dokumentu","slug":"the-preamble-of-a-document","depth":2,"children":[]},{"title":"Dodawanie tytułu, autora i daty","slug":"including-title-author-and-date-information","depth":2,"children":[]},{"title":"Dodawanie komentarzy","slug":"adding-comments","depth":2,"children":[]},{"title":"Pogrubienie, kursywa i podkreślenie","slug":"bold-italics-and-underlining","depth":2,"children":[]},{"title":"Dodawanie obrazów","slug":"adding-images","depth":2,"children":[]},{"title":"Podpisy, etykiety i odwołania","slug":"captions-labels-and-references","depth":2,"children":[]},{"title":"Tworzenie list w LaTeX","slug":"creating-lists-in-latex","depth":2,"children":[{"title":"Listy nieuporządkowane","slug":"unordered-lists","depth":3,"children":[]},{"title":"Listy uporządkowane","slug":"ordered-lists","depth":3,"children":[]}]},{"title":"Dodawanie matematyki w LaTeX","slug":"adding-math-to-latex","depth":2,"children":[{"title":"Tryb matematyczny w tekście","slug":"inline-math-mode","depth":3,"children":[]},{"title":"Tryb matematyczny wyświetlany","slug":"display-math-mode","depth":3,"children":[]},{"title":"Bardziej kompletne przykłady","slug":"more-complete-examples","depth":3,"children":[]}]},{"title":"Podstawowa struktura dokumentu","slug":"basic-document-structure","depth":2,"children":[{"title":"Streszczenia","slug":"abstracts","depth":3,"children":[]},{"title":"Akapity i nowe wiersze","slug":"paragraphs-and-new-lines","depth":3,"children":[]},{"title":"Rozdziały i sekcje","slug":"chapters-and-sections","depth":3,"children":[]}]},{"title":"Tworzenie tabel","slug":"creating-tables","depth":2,"children":[{"title":"Tworzenie prostej tabeli w LaTeX","slug":"creating-a-basic-table-in-latex","depth":3,"children":[]},{"title":"Dodawanie obramowań","slug":"adding-borders","depth":3,"children":[]},{"title":"Podpisy, etykiety i odwołania","slug":"captions-labels-and-references-2","depth":3,"children":[]}]},{"title":"Dodawanie spisu treści","slug":"adding-a-table-of-contents","depth":2,"children":[]},{"title":"Pobieranie gotowego dokumentu","slug":"downloading-your-finished-document","depth":2,"children":[]},{"title":"Wyszukiwanie i używanie pakietów LaTeX","slug":"finding-and-using-latex-packages","depth":2,"children":[{"title":"Wczytywanie pakietów","slug":"loading-packages","depth":3,"children":[]},{"title":"Wyszukiwanie informacji o pakietach: CTAN","slug":"finding-information-about-packages-ctan","depth":3,"children":[]},{"title":"Pakiety dostępne w Overleaf: przedstawiamy TeX Live","slug":"packages-available-on-overleaf-introducing-tex-live","depth":3,"children":[]}]}],"codeExamples":{}},"jsLinks":[],"subdomain":"ayakaleaf-pro","siteName":"Ayakaleaf Pro","title":"Naucz się LaTeX w 30 minut - Ayakaleaf Pro","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/texlive/latex-basics/learn-latex-in-30-minutes","matchLevel":1},"zh-CN":{"href":"/zh-CN/texlive/latex-basics/learn-latex-in-30-minutes","matchLevel":1},"zh-TW":{"href":"/zh-TW/texlive/latex-basics/learn-latex-in-30-minutes","matchLevel":1},"ja":{"href":"/ja/texlive/latex-basics/learn-latex-in-30-minutes","matchLevel":1},"de":{"href":"/de/texlive/latex-basics/learn-latex-in-30-minutes","matchLevel":1},"fr":{"href":"/fr/texlive/latex-basics/learn-latex-in-30-minutes","matchLevel":1},"es":{"href":"/es/texlive/latex-basics/learn-latex-in-30-minutes","matchLevel":1},"it":{"href":"/it/texlive/latex-basics/learn-latex-in-30-minutes","matchLevel":1},"ko":{"href":"/ko/texlive/latex-basics/learn-latex-in-30-minutes","matchLevel":1},"ru":{"href":"/ru/texlive/latex-basics/learn-latex-in-30-minutes","matchLevel":1},"nl":{"href":"/nl/texlive/latex-basics/learn-latex-in-30-minutes","matchLevel":1},"pt":{"href":"/pt/texlive/latex-basics/learn-latex-in-30-minutes","matchLevel":1},"tr":{"href":"/tr/texlive/latex-basics/learn-latex-in-30-minutes","matchLevel":1},"uk":{"href":"/uk/texlive/latex-basics/learn-latex-in-30-minutes","matchLevel":1},"pl":{"href":"/pl/texlive/latex-basics/learn-latex-in-30-minutes","matchLevel":0},"cs":{"href":"/cs/texlive/latex-basics/learn-latex-in-30-minutes","matchLevel":1},"sv":{"href":"/sv/texlive/latex-basics/learn-latex-in-30-minutes","matchLevel":1},"fi":{"href":"/fi/texlive/latex-basics/learn-latex-in-30-minutes","matchLevel":1},"ar":{"href":"/ar/texlive/latex-basics/learn-latex-in-30-minutes","matchLevel":1},"vi":{"href":"/vi/texlive/latex-basics/learn-latex-in-30-minutes","matchLevel":1},"no":{"href":"/no/texlive/latex-basics/learn-latex-in-30-minutes","matchLevel":1},"da":{"href":"/da/texlive/latex-basics/learn-latex-in-30-minutes","matchLevel":1},"id":{"href":"/id/texlive/latex-basics/learn-latex-in-30-minutes","matchLevel":1},"zh-Hans":{"href":"/zh-Hans/texlive/latex-basics/learn-latex-in-30-minutes","matchLevel":1},"zh-Hant":{"href":"/zh-Hant/texlive/latex-basics/learn-latex-in-30-minutes","matchLevel":1}}},"lastModified":"2026-11-08T04:24:13.738Z","gitLastModified":"2026-11-08T04:23:51.000Z","originalFileLocation":"pl/texlive/latex-basics/learn-latex-in-30-minutes.mdx","locale":"pl"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"application-name\" content=\"Ayakaleaf Pro\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/ayakaleaf-pro/o_LAbiVNKQm96Y75/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/ayakaleaf-pro/o_LAbiVNKQm96Y75/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/ayakaleaf-pro/o_LAbiVNKQm96Y75/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/ayakaleaf-pro/o_LAbiVNKQm96Y75/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/ayakaleaf-pro/o_LAbiVNKQm96Y75/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/ayakaleaf-pro/o_LAbiVNKQm96Y75/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/ayakaleaf-pro/o_LAbiVNKQm96Y75/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/ayakaleaf-pro/o_LAbiVNKQm96Y75/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/ayakaleaf-pro/o_LAbiVNKQm96Y75/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Naucz się LaTeX w 30 minut - Ayakaleaf Pro\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Ayakaleaf Pro\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://ayakaleaf-pro.mintlify.app/pl/texlive/latex-basics/learn-latex-in-30-minutes\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://ayakaleaf-pro.mintlify.site/_mintlify/api/og/v2?division=Podstawy+LaTeX\u0026amp;title=Naucz+si%C4%99+LaTeX+w+30+minut\u0026amp;theme=a85f2ba202ff92d99974cf6c\u0026amp;signature=9d1c164faebfcbfcca5f1917466053dbcfa7930e0ca0ab98285081dbefaff947\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Naucz się LaTeX w 30 minut - Ayakaleaf Pro\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://ayakaleaf-pro.mintlify.site/_mintlify/api/og/v2?division=Podstawy+LaTeX\u0026amp;title=Naucz+si%C4%99+LaTeX+w+30+minut\u0026amp;theme=a85f2ba202ff92d99974cf6c\u0026amp;signature=9d1c164faebfcbfcca5f1917466053dbcfa7930e0ca0ab98285081dbefaff947\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/ayakaleaf-pro/o_LAbiVNKQm96Y75/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Ayakaleaf Pro\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0E0E0E\">\u003clink data-mint-head rel=\"canonical\" href=\"https://ayakaleaf-pro.mintlify.app/pl/texlive/latex-basics/learn-latex-in-30-minutes\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/pl/texlive/latex-basics/learn-latex-in-30-minutes.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"pl\" href=\"https://ayakaleaf-pro.mintlify.app/pl/texlive/latex-basics/learn-latex-in-30-minutes\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://ayakaleaf-pro.mintlify.app/texlive/latex-basics/learn-latex-in-30-minutes\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh-CN\" href=\"https://ayakaleaf-pro.mintlify.app/zh-CN/texlive/latex-basics/learn-latex-in-30-minutes\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh-TW\" href=\"https://ayakaleaf-pro.mintlify.app/zh-TW/texlive/latex-basics/learn-latex-in-30-minutes\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ja\" href=\"https://ayakaleaf-pro.mintlify.app/ja/texlive/latex-basics/learn-latex-in-30-minutes\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"de\" href=\"https://ayakaleaf-pro.mintlify.app/de/texlive/latex-basics/learn-latex-in-30-minutes\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"fr\" href=\"https://ayakaleaf-pro.mintlify.app/fr/texlive/latex-basics/learn-latex-in-30-minutes\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"es\" href=\"https://ayakaleaf-pro.mintlify.app/es/texlive/latex-basics/learn-latex-in-30-minutes\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"it\" href=\"https://ayakaleaf-pro.mintlify.app/it/texlive/latex-basics/learn-latex-in-30-minutes\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ko\" href=\"https://ayakaleaf-pro.mintlify.app/ko/texlive/latex-basics/learn-latex-in-30-minutes\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ru\" href=\"https://ayakaleaf-pro.mintlify.app/ru/texlive/latex-basics/learn-latex-in-30-minutes\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"nl\" href=\"https://ayakaleaf-pro.mintlify.app/nl/texlive/latex-basics/learn-latex-in-30-minutes\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"pt\" href=\"https://ayakaleaf-pro.mintlify.app/pt/texlive/latex-basics/learn-latex-in-30-minutes\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"tr\" href=\"https://ayakaleaf-pro.mintlify.app/tr/texlive/latex-basics/learn-latex-in-30-minutes\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"uk\" href=\"https://ayakaleaf-pro.mintlify.app/uk/texlive/latex-basics/learn-latex-in-30-minutes\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"cs\" href=\"https://ayakaleaf-pro.mintlify.app/cs/texlive/latex-basics/learn-latex-in-30-minutes\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"sv\" href=\"https://ayakaleaf-pro.mintlify.app/sv/texlive/latex-basics/learn-latex-in-30-minutes\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"fi\" href=\"https://ayakaleaf-pro.mintlify.app/fi/texlive/latex-basics/learn-latex-in-30-minutes\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ar\" href=\"https://ayakaleaf-pro.mintlify.app/ar/texlive/latex-basics/learn-latex-in-30-minutes\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"vi\" href=\"https://ayakaleaf-pro.mintlify.app/vi/texlive/latex-basics/learn-latex-in-30-minutes\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"no\" href=\"https://ayakaleaf-pro.mintlify.app/no/texlive/latex-basics/learn-latex-in-30-minutes\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"da\" href=\"https://ayakaleaf-pro.mintlify.app/da/texlive/latex-basics/learn-latex-in-30-minutes\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"id\" href=\"https://ayakaleaf-pro.mintlify.app/id/texlive/latex-basics/learn-latex-in-30-minutes\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh-Hans\" href=\"https://ayakaleaf-pro.mintlify.app/zh-Hans/texlive/latex-basics/learn-latex-in-30-minutes\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh-Hant\" href=\"https://ayakaleaf-pro.mintlify.app/zh-Hant/texlive/latex-basics/learn-latex-in-30-minutes\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://ayakaleaf-pro.mintlify.app/texlive/latex-basics/learn-latex-in-30-minutes\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://ayakaleaf-pro.mintlify.app/#organization\",\"name\":\"Ayakaleaf Pro\",\"url\":\"https://ayakaleaf-pro.mintlify.app\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/ayakaleaf-pro/JetHeEeglWIIXNds/logo/light.png?fit=max\u0026auto=format\u0026n=JetHeEeglWIIXNds\u0026q=85\u0026s=7f1abd8dcc74dd3b7cdafac9e6e82092\"}},{\"@type\":\"WebSite\",\"@id\":\"https://ayakaleaf-pro.mintlify.app#website\",\"name\":\"Ayakaleaf Pro\",\"url\":\"https://ayakaleaf-pro.mintlify.app\",\"publisher\":{\"@id\":\"https://ayakaleaf-pro.mintlify.app/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://ayakaleaf-pro.mintlify.app/pl/texlive/latex-basics/learn-latex-in-30-minutes#webpage\",\"url\":\"https://ayakaleaf-pro.mintlify.app/pl/texlive/latex-basics/learn-latex-in-30-minutes\",\"name\":\"Naucz się LaTeX w 30 minut\",\"dateModified\":\"2026-11-08T04:23:51.000Z\",\"isPartOf\":{\"@id\":\"https://ayakaleaf-pro.mintlify.app#website\"},\"breadcrumb\":{\"@id\":\"https://ayakaleaf-pro.mintlify.app/pl/texlive/latex-basics/learn-latex-in-30-minutes#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://ayakaleaf-pro.mintlify.app/pl/texlive/latex-basics/learn-latex-in-30-minutes#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Ayakaleaf Pro\",\"item\":\"https://ayakaleaf-pro.mintlify.app\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Naucz się LaTeX w 30 minut\",\"item\":\"https://ayakaleaf-pro.mintlify.app/pl/texlive/latex-basics/learn-latex-in-30-minutes\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://ayakaleaf-pro.mintlify.app/pl/texlive/latex-basics/learn-latex-in-30-minutes#article\",\"headline\":\"Naucz się LaTeX w 30 minut\",\"name\":\"Naucz się LaTeX w 30 minut\",\"url\":\"https://ayakaleaf-pro.mintlify.app/pl/texlive/latex-basics/learn-latex-in-30-minutes\",\"mainEntityOfPage\":{\"@id\":\"https://ayakaleaf-pro.mintlify.app/pl/texlive/latex-basics/learn-latex-in-30-minutes#webpage\"},\"dateModified\":\"2026-11-08T04:23:51.000Z\",\"publisher\":{\"@id\":\"https://ayakaleaf-pro.mintlify.app/#organization\"},\"isPartOf\":{\"@id\":\"https://ayakaleaf-pro.mintlify.app#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Ayakaleaf Pro\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Ayakaleaf Pro\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/pl/texlive/latex-basics/learn-latex-in-30-minutes.md","siteName":"Ayakaleaf Pro","nav":{"global":null,"languages":[{"language":"en","default":true,"pages":[{"title":"en","href":"/texlive/latex-basics/learn-latex-in-30-minutes"}]},{"language":"zh-CN","pages":[{"title":"zh-CN","href":"/zh-CN/texlive/latex-basics/learn-latex-in-30-minutes"}]},{"language":"zh-TW","pages":[{"title":"zh-TW","href":"/zh-TW/texlive/latex-basics/learn-latex-in-30-minutes"}]},{"language":"ja","pages":[{"title":"ja","href":"/ja/texlive/latex-basics/learn-latex-in-30-minutes"}]},{"language":"de","pages":[{"title":"de","href":"/de/texlive/latex-basics/learn-latex-in-30-minutes"}]},{"language":"fr","pages":[{"title":"fr","href":"/fr/texlive/latex-basics/learn-latex-in-30-minutes"}]},{"language":"es","pages":[{"title":"es","href":"/es/texlive/latex-basics/learn-latex-in-30-minutes"}]},{"language":"it","pages":[{"title":"it","href":"/it/texlive/latex-basics/learn-latex-in-30-minutes"}]},{"language":"ko","pages":[{"title":"ko","href":"/ko/texlive/latex-basics/learn-latex-in-30-minutes"}]},{"language":"ru","pages":[{"title":"ru","href":"/ru/texlive/latex-basics/learn-latex-in-30-minutes"}]},{"language":"nl","pages":[{"title":"nl","href":"/nl/texlive/latex-basics/learn-latex-in-30-minutes"}]},{"language":"pt","pages":[{"title":"pt","href":"/pt/texlive/latex-basics/learn-latex-in-30-minutes"}]},{"language":"tr","pages":[{"title":"tr","href":"/tr/texlive/latex-basics/learn-latex-in-30-minutes"}]},{"language":"uk","pages":[{"title":"uk","href":"/uk/texlive/latex-basics/learn-latex-in-30-minutes"}]},{"language":"pl","tabs":[{"tab":"Strona główna","icon":"house-chimney","pages":[{"title":"Strona główna","href":"/pl"}]},{"tab":"On-Premises","icon":"server","pages":[{"title":"On-Premises","href":"/pl/on-premises"}]},{"tab":"Blog","icon":"rss","pages":[{"title":"Blog","href":"/pl/blog"}]},{"tab":"TeXLive","icon":"compact-disc","groups":[{"group":"Przegląd","pages":[{"title":"TeX Live","icon":"compact-disc","href":"/pl/texlive"},{"title":"TeX Live w Docker","icon":"https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/brands/docker.svg","href":"/pl/texlive/texlive-in-docker"}]},{"group":"Wydania","pages":[{"title":"TeX Live 2026 jest już dostępny","icon":"box-isometric","href":"/pl/texlive/release/tex-live-2026-is-now-available"}]},{"group":"Umiejętności","pages":[{"title":"Dodawanie zależności LaTeX","icon":"https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/brands/codepen.svg","href":"/pl/texlive/skills/adding-latex-dependencies"},{"title":"Tworzenie dostępnych plików PDF","icon":"universal-access","href":"/pl/texlive/skills/creating-accessible-pdfs"},{"title":"Kod R (knitr)","icon":"binary","description":null,"href":"/pl/texlive/skills/r-code-knitr"}]},{"group":"Podstawy LaTeX","pages":[{"title":"Naucz się LaTeX w 30 minut","href":"/pl/texlive/latex-basics/learn-latex-in-30-minutes"}]},{"group":"Pakiety","pages":[{"title":"{Minted}","icon":"code","description":null,"href":"/pl/texlive/package-related/minted"}]}]},{"tab":"Dla deweloperów","icon":"rectangle-terminal","pages":[{"title":"Dla deweloperów","href":"/pl/dev"}]}]},{"language":"cs","pages":[{"title":"cs","href":"/cs/texlive/latex-basics/learn-latex-in-30-minutes"}]},{"language":"sv","pages":[{"title":"sv","href":"/sv/texlive/latex-basics/learn-latex-in-30-minutes"}]},{"language":"fi","pages":[{"title":"fi","href":"/fi/texlive/latex-basics/learn-latex-in-30-minutes"}]},{"language":"ar","pages":[{"title":"ar","href":"/ar/texlive/latex-basics/learn-latex-in-30-minutes"}]},{"language":"vi","pages":[{"title":"vi","href":"/vi/texlive/latex-basics/learn-latex-in-30-minutes"}]},{"language":"no","pages":[{"title":"no","href":"/no/texlive/latex-basics/learn-latex-in-30-minutes"}]},{"language":"da","pages":[{"title":"da","href":"/da/texlive/latex-basics/learn-latex-in-30-minutes"}]},{"language":"id","pages":[{"title":"id","href":"/id/texlive/latex-basics/learn-latex-in-30-minutes"}]},{"language":"zh-Hans","pages":[{"title":"zh-Hans","href":"/zh-Hans/texlive/latex-basics/learn-latex-in-30-minutes"}]},{"language":"zh-Hant","pages":[{"title":"zh-Hant","href":"/zh-Hant/texlive/latex-basics/learn-latex-in-30-minutes"}]}]},"basePath":"","title":"Naucz się LaTeX w 30 minut - Ayakaleaf Pro","deploymentId":"dpl_DyXGnKeCjZyA3sUdfMJ7FjkdBefg","buildId":"dpl_DyXGnKeCjZyA3sUdfMJ7FjkdBefg","dynamics":["a74be98ba7"],"chunks":["zoom-image-lightbox-BQ4tbj_9.js","lightbox-handle-r17bVUz3.js"]}