[FIX] рисунок как float H и маркер списка длинное тире

This commit is contained in:
Arseny
2026-08-25 16:31:51 +03:00
parent e0c25cc0fe
commit 035300d372
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -93,7 +93,7 @@ def figure(tokens: list[Token]) -> str:
caption = escape_latex(m.group(1))
lines = [
"\\begin{figure}[ht]",
"\\begin{figure}[H]",
" \\centering",
rf" \includegraphics[width={width}]{{\detokenize{{{path}}}}}",
]
+2
View File
@@ -13,12 +13,14 @@ PREAMBLE = r"""\documentclass[a4paper, 14pt]{extarticle}
\onehalfspacing
\usepackage{graphicx}
\graphicspath{ {./} {./images/} }
\usepackage{float}
\usepackage{wrapfig}
\sloppy
\clubpenalty=10000
\widowpenalty=10000
\usepackage{enumitem}
\setlist[enumerate,1]{label=\arabic*., leftmargin=1.25cm, itemsep=0pt, parsep=0pt}
\setlist[itemize]{label={---}, leftmargin=1.25cm, itemsep=0pt, parsep=0pt}
\usepackage{caption}
\usepackage{hyperref}
\hypersetup {unicode=true}