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.
