要約は列挙せず、内容リストは I (ローマ数字) から始まり、最初の章は 1 (通常の数字) から始まる必要がありますが、どのように作成しますか?
\documentclass[11pt,letterpaper]{report}
%\usepackage{etoolbox}
\usepackage{titlesec}
\begin{document}
{
\titleformat{\chapter}[block]{\filcenter\Huge\bfseries}{}{0pt}{}
\titlespacing{\chapter}{0pt}{0pt}{40pt}
\chapter*{ABSTRACT}
}
%\chapter*{\makebox[\linewidth]{ABSTRACT}}%\chapter*{\centering Abstract}
El principal mecanthis introthis introthis introthis introthis introthis introthis introthis introthis introthis introthis introthis introthis introthis introthis introthis introthis introthis introthis introthis introthis introthis introthis introthis introthis introthis introthis introthis intro
\section{Exp}
this Exp SECTION
\tableofcontents
\chapter{ETAPA2}
\label{cap:experimental}
this intro
\section{Exp2}
this Exp SECTION
\end{document}
答え1
に基づくhttps://tex.stackexchange.com/a/408118/36296次のようなことができます:
\documentclass[11pt,letterpaper]{report}
%\usepackage{etoolbox}
\usepackage{titlesec}
\newcommand\frontmatter{%
\cleardoublepage
% \@mainmatterfalse
\pagenumbering{roman}
}
\newcommand\mainmatter{%
\cleardoublepage
% \@mainmattertrue
\pagenumbering{arabic}
}
\newcommand\backmatter{%
\if@openright
\cleardoublepage
\else
\clearpage
\fi
% \@mainmatterfalse
}
\begin{document}
{
\titleformat{\chapter}[block]{\filcenter\Huge\bfseries}{}{0pt}{}
\titlespacing{\chapter}{0pt}{0pt}{40pt}
\chapter*{ABSTRACT}
}
\thispagestyle{empty}
%\chapter*{\makebox[\linewidth]{ABSTRACT}}%\chapter*{\centering Abstract}
El principal mecanthis introthis introthis introthis introthis introthis introthis introthis introthis introthis introthis introthis introthis introthis introthis introthis introthis introthis introthis introthis introthis introthis introthis introthis introthis introthis introthis introthis intro
\section{Exp}
this Exp SECTION
\frontmatter
\tableofcontents
\mainmatter
\chapter{ETAPA2}
\label{cap:experimental}
this intro
\section{Exp2}
this Exp SECTION
\end{document}