[ADD] подписи листингов по ГОСТ и читаемый кегль кода

This commit is contained in:
Arseny
2026-09-02 03:31:27 +03:00
parent fab9e19962
commit f616dc0cd5
6 changed files with 145 additions and 8 deletions
+3 -1
View File
@@ -29,7 +29,7 @@ PREAMBLE = r"""\documentclass[a4paper, 14pt]{extarticle}
\captionsetup[table]{labelsep=emdash,font=onehalfspacing,position=top,name=Таблица,singlelinecheck=false,justification=raggedright}
\usepackage{listings}
\lstset{
basicstyle=\ttfamily\footnotesize,
basicstyle=\ttfamily\small\setstretch{1.0},
breakatwhitespace=false,
breaklines=true,
captionpos=t,
@@ -47,6 +47,8 @@ PREAMBLE = r"""\documentclass[a4paper, 14pt]{extarticle}
stepnumber=1,
tabsize=2,
}
\renewcommand{\lstlistingname}{Листинг}
\captionsetup[lstlisting]{labelsep=emdash,font=onehalfspacing,position=top,singlelinecheck=false,justification=raggedright}
\usepackage{amsthm,amsfonts,amsmath,amssymb,amscd}
\usepackage{mathtools}
\usepackage{unicode-math}