Добавил оглавление

This commit is contained in:
Денис Буторин 2025-06-10 02:10:17 +03:00
parent ff8425d958
commit 0ebe286518
No known key found for this signature in database
GPG key ID: A41DE59BFAD5A389
6 changed files with 33 additions and 13 deletions

2
.gitignore vendored
View file

@ -1,5 +1,7 @@
*.pdf
*.log
*.aux
*.toc
*.out
scripts/text

View file

@ -2,6 +2,7 @@ READER=zathura
sbornik.pdf: sbornik.tex
xelatex sbornik
xelatex sbornik
open: sbornik.pdf
$(READER) sbornik.pdf & disown

BIN
fonts/Libertine-Bold.otf Normal file

Binary file not shown.

BIN
fonts/Libertine-Italic.otf Normal file

Binary file not shown.

BIN
fonts/Libertine-Regular.otf Normal file

Binary file not shown.

View file

@ -13,7 +13,13 @@
\setmainlanguage{russian}
% Шрифт
\setmainfont{LiberationSerif}
\setmainfont{Libertine}[
Path = fonts/,
Extension = .otf,
UprightFont = *-Regular,
BoldFont = *-Bold,
ItalicFont = *-Italic
]
\usepackage{verse}
@ -23,6 +29,12 @@
\author{Денис Буторин}
\date{\today}
\newcommand{\glava}[1]{
\chapter*{#1}
\addcontentsline{toc}{chapter}{#1}
\clearpage
}
\newcommand{\stih}[1]{
\poemtitle{#1}
\begin{verse}
@ -43,10 +55,21 @@
\end{flushright}
\chapter*{Предисловие}
\section*{Обо мне}
Денис Буторин
\section*{Об этой книге}
\section*{Благодарности}
Эта книга написана в текстовом редакторе Vim (\href{https://www.vim.org}{www.vim.org})
\par
Электронная версия сгенерирована системой компьютерной вёрстки \XeTeX{} (\href{https://xetex.sourceforge.net}{xetex.sourceforge.net})
\par
Шрифты:
\begin{itemize}
\item Libertine (\href{https://libertine-fonts.org}{libertine-fonts.org})
\item Fira Code (\href{https://github.com/tonsky/FiraCode}{github.com/tonsky/FiraCode})
\end{itemize}
\chapter*{Самоопределение}
\pagebreak
\glava{Самоопределение}
\stih{Первое весеннее}
\stih{Пурга}
\stih{Молодой поэт}
@ -64,9 +87,7 @@
\stih{Всё же вечны}
\stih{Про стрижа, влюблённого в космос}
\chapter*{Ностальгия}
\pagebreak
\glava{Ностальгия}
\stih{Вырос}
\stih{Элегия}
\stih{Живы будем -- не помрём}
@ -77,9 +98,7 @@
\stih{А небо}
\stih{Вот бы}
\chapter*{Политота}
\pagebreak
\glava{Политота}
\stih{Манифест поэзии юности}
\stih{Век}
\stih{Безропотно}
@ -92,9 +111,7 @@
\stih{Жить}
\stih{Знамя}
\chapter*{Любовная лирика}
\pagebreak
\glava{Любовная лирика}
\stih{Встречают по одёжке}
\stih{Позволь}
\stih{Моя упрямая голубка}