[FIX] рисунки, таблицы и листинги плавают: нет пустых страниц и разрывов рамки
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user