セクションに関連するサブセクション

セクションに関連するサブセクション

ドキュメントのサブセクション スタイルを改善できるかどうか知りたいです。ご覧のとおり、「方法」の章に最大 4 つのサブセクションを含めたいと考えています。たとえば、ドキュメントには「II. 資産の選択」と表示されていますが、理想的には「I.II. 資産の選択」です (特定の章に属しているため)。これは可能ですか?

これが私のコードです:

\AtBeginDocument{\flushbottom}
\documentclass[10pt,a4paper,twocolumn]{scrartcl}
\bibliographystyle{nature}      
\setlength{\columnsep}{30pt}
\usepackage{geometry}
\geometry{a4paper,left=25mm,right=25mm, top=25mm, bottom=25mm, headsep=10mm} 
\setlength{\parskip}{\the\baselineskip plus 2pt minus 1pt}
\setlength{\parindent}{0pt}
\usepackage[T1]{fontenc}
\usepackage[latin1,utf8]{inputenc}
\usepackage{lmodern}
\usepackage[ngerman,english]{babel} 
\usepackage[english,ngerman]{babel}     
\usepackage[tracking=true]{microtype}                   
\usepackage{dsfont}
\usepackage{hyperref}
\usepackage{accents}
\usepackage{textcomp}
\usepackage{url}

%----------------------------------------------------------------------------------------
%   HEADER
%----------------------------------------------------------------------------------------
\usepackage{fancyhdr} 
% All pages have headers and footers
\pagestyle{fancy} 
% Blank out the default header
\fancyhead{}
% Custom header text
\fancyhead[C]{ABC $\bullet$ ABC $\bullet$ ABC} 
%----------------------------------------------------------------------------------------

%----------------------------------------------------------------------------------------
%   TITLES
%----------------------------------------------------------------------------------------
% Allows customization of titles
\usepackage{titlesec} 
% Roman numerals for the sections
\renewcommand\thesection{\Roman{section}.} 
% Arabic numerals for subsections
\renewcommand\thesubsection{\Roman{subsection}.}
%----------------------------------------------------------------------------------------

%----------------------------------------------------------------------------------------
%   REFERENCE HYPERLINK SMALLER FONT
%----------------------------------------------------------------------------------------
\makeatletter
\def\url@leostyle{
  \@ifundefined{selectfont}{\def\UrlFont{\sffamily}}{\def\UrlFont{\small\ttfamily}}}
\makeatother
\urlstyle{leo}
%----------------------------------------------------------------------------------------

\begin{document}
% starts supressing the twoculomn environment, from here on it will we one column
\twocolumn[\begin{@twocolumnfalse}

% make a section
\section*{\huge\scshape\centering{The Mash-Up Experiment}}
\vspace{4mm}    
\normalsize

\begin{center}
\large\textsc{XXX XXX}\\
\vspace{4mm}  
University

\href{mailto:[email protected]}{[email protected]}
\end{center}
\vspace{6mm}

\section*{Abstract} 
“The Mash-Up Experiment” is a six-minute musical piece. 

\vspace{8mm}

%begins tabular
\begin{tabular}{p{1,5cm}p{12,55cm}p{1,5cm}}   
&\textbf{Keywords}: authorship\\
\end{tabular} 
% ends tabular

\vspace{11mm}

% ends suppressing the twocolumn environment, from here on it will be twocolumn
\end{@twocolumnfalse}]  

\section{Methods} % make section 
\subsection{Foundations}
In the matter of the sonic sources included in this song, more than thirty different tracks were utilised. The scope of genres and authors was motley, ranging from classical orchestration to bolero, from old singers to contemporary pop acts. Nonetheless, a great percentage of these tunes were taken from the works of James Bernard, who composed several scores for Hammer Films in the last millennium. He is the man behind the music from classic horror flicks such as “The Quartermass Experiment (1955),“ ”The Devil Rides Out (1968),” and “Scars of Dracula (1970).” 

\subsection{Selection of assets}
In the matter of the sonic sources included in this song, more than thirty different tracks were utilised. The scope of genres and authors was motley, ranging from classical orchestration to bolero, from old singers to contemporary pop acts. Nonetheless, a great percentage of these tunes were taken from the works of James Bernard, who composed several scores for Hammer Films in the last millennium. He is the man behind the music from classic horror flicks such as “The Quartermass Experiment (1955),“ ”The Devil Rides Out (1968),” and “Scars of Dracula (1970).” 

\subsection{Composition and arrangement}
In the matter of the sonic sources included in this song, more than thirty different tracks were utilised. The scope of genres and authors was motley, ranging from classical orchestration to bolero, from old singers to contemporary pop acts. Nonetheless, a great percentage of these tunes were taken from the works of James Bernard, who composed several scores for Hammer Films in the last millennium. He is the man behind the music from classic horror flicks such as “The Quartermass Experiment (1955),“ ”The Devil Rides Out (1968),” and “Scars of Dracula (1970).” 

\end{document}

答え1

望ましい行動

I.II. 資産の選択

次の行を変更することで取得できます

\renewcommand\thesubsection{\Roman{subsection}.}

\renewcommand\thesubsection{\thesection\Roman{subsection}.}

ただし、コメントに記載されている注意事項は依然として適用されます。

関連情報