[FIX] рисунки, таблицы и листинги плавают: нет пустых страниц и разрывов рамки

This commit is contained in:
Arseny
2026-09-02 13:10:18 +03:00
parent a3d41af022
commit 2a0333c673
5 changed files with 35 additions and 15 deletions
+1 -2
View File
@@ -14,6 +14,7 @@ PREAMBLE = r"""\documentclass[a4paper, 14pt]{extarticle}
\usepackage{graphicx}
\graphicspath{ {./} {./images/} }
\usepackage{float}
\usepackage[section]{placeins}
\usepackage{wrapfig}
\sloppy
\setlength{\emergencystretch}{2em}
@@ -36,7 +37,6 @@ PREAMBLE = r"""\documentclass[a4paper, 14pt]{extarticle}
\definecolor{lstkeyword}{RGB}{0,0,139}
\definecolor{lstcomment}{RGB}{110,110,110}
\definecolor{lststring}{RGB}{139,0,0}
\definecolor{lstnumber}{RGB}{0,100,0}
\definecolor{lstlineno}{RGB}{130,130,130}
% Встроенный диалект C++ в listings старше стандарта: auto, nullptr, override
@@ -59,7 +59,6 @@ PREAMBLE = r"""\documentclass[a4paper, 14pt]{extarticle}
commentstyle=\color{lstcomment},
stringstyle=\color{lststring},
numberstyle=\tiny\color{lstlineno},
directivestyle=\color{lstnumber},
identifierstyle=,
breakatwhitespace=false,
breaklines=true,