我正在写一篇文档,其导入由大学提供,并带有 {memoir} 类。我的问题是 Latex 将第一章之前的页面显示为罗马数字,之后的数字显示为小数,并从第 1 页开始。
我已经搜索过其他帖子,但我没有\pagestyle{empty}
定义或提及任何其他命令。任何帮助都非常感谢!
谢谢!
这是我的配置:
\documentclass[11pt, a4paper]{memoir} % for a short document
\usepackage[french,english]{babel}
\usepackage[acronym, toc]{glossaries}
%\makeglossaries
\input{extra/glossary.tex}
\usepackage [vscale=0.76,includehead]{geometry}
\usepackage{times}
%\geometry{a4paper} % ... or a4paper or a5paper or ...
%\geometry{landscape} % Activate for for rotated page geometry
\OnehalfSpacing
\setSingleSpace{1.05}
%\usepackage[parfill]{parskip} % Activate to begin paragraphs with an empty line rather than an indent
%===================================== packages
\usepackage{lipsum}
\usepackage{graphicx}
\usepackage{amsmath}
\usepackage{fullpage}
\usepackage{mathptmx} % font = times
\usepackage{helvet} % font sf = helvetica
\usepackage[latin1]{inputenc}
\usepackage{relsize}
\usepackage[T1]{fontenc}
\usepackage{tikz}
\usepackage{booktabs}
\usepackage{textcomp}%textquotesingle
\usepackage{multirow}
\usepackage{pgfplots}
\usepackage{url}
\usepackage{footnote}
%============================================
\usetikzlibrary{arrows,shapes,positioning,shadows,trees}
\makesavenoteenv{tabular}
\makesavenoteenv{table}
%==============================================
\def\checkmark{\tikz\fill[scale=0.4](0,.35) -- (.25,0) -- (1,.7) -- (.25,.15) -- cycle;}
%Style des têtes de section, headings, chapitre
\headstyles{komalike}
\nouppercaseheads
%\chapterstyle{dash}
\makeevenhead{headings}{\sffamily\thepage}{}{\sffamily\leftmark}
\makeoddhead{headings}{\sffamily\rightmark}{}{\sffamily\thepage}
%\makeoddfoot{plain}{}{}{} % Pages chapitre.
\makeheadrule{headings}{\textwidth}{\normalrulethickness}
%\renewcommand{\leftmark}{\thechapter ---}
\renewcommand{\chaptername}{\relax}
\renewcommand{\chaptitlefont}{ \sffamily\bfseries \LARGE}
\renewcommand{\chapnumfont}{ \sffamily\bfseries \LARGE}
\setsecnumdepth{subsection}
% Title page formatting
\newcommand{\jury}[1]{%
\gdef\juryB{#1}}
\newcommand{\juryB}{}
\newcommand{\session}[1]{%
\gdef\sessionB{#1}}
\newcommand{\sessionB}{}
\newcommand{\option}[1]{%
\gdef\optionB{#1}}
\newcommand{\optionB} {}
\renewcommand{\maketitlehookd}{%
\vfill{} \large\par\noindent
\begin{center}\juryB \bigskip\sessionB\end{center}
\vspace{-1.5cm}}
\renewcommand{\maketitlehooka}{%
\vspace{-1.5cm}\noindent\includegraphics[height=12ex]{pics/logo-uga.png}\hfill\raisebox{2ex}{\includegraphics[height=14ex]{pics/logoINP.png}}\\
\bigskip
\begin{center} \large
% =======================End of title page formatting
%%% BEGIN DOCUMENT
\begin{document}
\selectlanguage{English}
\frontmatter
\begin{titlingpage}
\maketitle
\end{titlingpage}
答案1
我通过测试和错误发现:
\frontmatter
应该评论通过这样做我们可以停止罗马数字。
\mainmatter
应将其删除,因为它将停止重置编号。