Closed StormLord07 closed 5 months ago
Please use the issue template
Please use the issue template
Updated the Issue, kinda missunderstood how to use the template, i just replaced the sections with my text, sorry.
using the following
defaultIndent: " "
noAdditionalIndent:
document: 0
indentAfterHeadings:
section:
indentAfterThisHeading: 1
level: 3
subsection:
indentAfterThisHeading: 1
level: 4
subsection*:
indentAfterThisHeading: 0
level: 4
gives
\documentclass[a4paper,12pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[T2A]{fontenc}
\usepackage[russian]{babel}
\usepackage[left=30mm, top=20mm, right=15mm, bottom=20mm]{geometry}
\usepackage{titlesec}
\usepackage{indentfirst}
\setlength{\parindent}{1.25cm}
\linespread{1.5}
\usepackage{enumitem}
\setlist{nolistsep}
\usepackage{amsmath, amsfonts, amssymb}
\usepackage{graphicx}
\usepackage{tabularx, longtable}
\usepackage{listings}
\usepackage{hyperref}
\usepackage{csquotes}
\usepackage[backend=biber, style=gost-numeric]{biblatex}
\addbibresource{references.bib}
\titleformat{\section}[block]{\bfseries\normalsize}{\thesection}{1em}{}
\titleformat{\subsection}[block]{\bfseries\normalsize}{\thesubsection}{1em}{}
\titleformat{\subsubsection}[block]{\bfseries\normalsize}{\thesubsubsection}{1em}{}
\begin{document}
\title{Название}
\author{Имя Фамилия}
\date{2023}
\maketitle
\tableofcontents
\newpage
\section{Введение}
\subsection{Актуальность}
Текст Введения очень долгий и длинный который повторяется повторяется повторяется повторяется повторяется повторяется повторяется повторяется повторяется повторяется повторяется повторяется повторяется повторяется
\section{Основная часть}
\subsection{Раздел 1}
Текст\dots
\subsection{Раздел 2}
Текст\dots
\section{Заключение}
Текст заключения\dots
\printbibliography{}
\end{document}
see https://latexindentpl.readthedocs.io/en/latest/sec-default-user-local.html#lst-indentafterheadings
Let me know if you need anything else on this.
original .tex code
yaml settings
I use(told to use) the defaults.
actual/given output
The output is exactly the same as input, even if I add manually indents it just resets to all on left alignment. If there is a lot of text on one line, it doesn't separate it into multiple lines.
desired or expected output
I was expecting something like this:
anything else
It may be because of Russian and usage of utf-8? But I'm not sure, changing everything to English doesn't seem to work, one time changing the document to center did something but I can't reproduce it.
Specs
Windows 10,
same result