I'm preparing my document (Koma-script report class) in Lyx.
If I use \KOMAoptions{headings=onelinechapter} the chapter has no prefix
Without it the MWE produces the file with chapter prefix + title in two lines.
\documentclass[fontsize=13pt]{scrreprt}
\usepackage{fontspec}
\makeatletter
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
\RequirePackage{fix-cm}
\usepackage{fontspec}
\setmainfont{Cambria}
\usepackage[english, russian]{babel}
%\usepackage[fontsize=13pt]{scrextend}
\usepackage {setspace}
\onehalfspacing
\usepackage[a4paper, left=2.5cm, right=1cm, top=2cm, nohead]{geometry}
\addtokomafont{disposition}{\rmfamily}
\KOMAoption{chapterprefix}{true}
\KOMAoptions{headings=onelinechapter}
\setkomafont{chapter}{\MakeUppercase}
\setkomafont{chapter}{\rmfamily\mdseries}
\setkomafont{section}{\rmfamily\mdseries}
\usepackage{mathtext}
%\usepackage[backend=biber, style=gost-numeric, bibencoding=utf8, sorting=none, language=auto]{biblatex}
%\usepackage{multirow}
%\usepackage{longtable}
\ifpdf\usepackage{graphicx}\else\usepackage{graphicx}\fi
\usepackage{comment}
%\ifpdf\usepackage{epstopdf}\usepackage{pdfpages}\fi
\graphicspath{{fig/}}
\renewcommand{\appendixfont}{\normalsize\bfseries}
\setcounter{tocdepth}{2}
\makeatother
\usepackage[style=gost-numeric,backend=biber, style=gost-numeric, bibencoding=utf8, sorting=none, language=auto]{biblatex}
\begin{document}
\tableofcontents
\clearpage
\chapter*{{\large{}Введение}}
\addcontentsline{toc}{chapter}{Введение}
\chapter{\textsc{\large{}Литературный обзор}}
\vspace{40pt}
\section{{\normalsize{}один}}
\section{{\normalsize{}два}}
\chapter{\textsc{\large{}Технология приготовления }}
\vspace{40pt}
\section{{\normalsize{}один}}
\section{еще}
\chapter*{{\large{}Литература}}
\end{document}
I'd like to keep the prefix , but on the same line and also with dot after it.
Like "Глава 1. ЛИТЕРАТУРНЫЙ ОБЗОР"
How is that done? I believe \chapterlineswithprefixformat commands should be used somehow, but not sure.

fontspectwice. Libertine is free and available in TeX Live and MiKTeX. It is suitable for my example (see the resulting screenshot). So I've used it. Cambria is a Microsoft font not available for free with TeX Live or Linux. So it is not the best idea for a minimal working example, and I cannot use it, because I'm not using Windows. BTW: For your problem even usingrussianand a Cyrillic font is not needed. It is the same with a Latin font. – cabohah Mar 13 '24 at 08:03