Escolha do tamanho da fonte no nome e numeração da peça

Escolha do tamanho da fonte no nome e numeração da peça

Gostaria de usar fonte maior (14pt) para o nome e a numeração das partes, exceto no sumário. Eu sei que devo usar o pacote, titlesecmas não entendo como. Há uma pergunta semelhante para uma classe diferente aqui:Controlar o tamanho da fonte \part. O pacote sectstynão funciona com amsart.

\documentclass[12pt]{amsart}

\newtheorem{thm}{Theorem}[section]
\renewcommand{\thethm}{\Roman{part}.\arabic{section}.\arabic{thm}}
\renewcommand{\thepart}{\Roman{part}}

\begin{document}
    
\setcounter{tocdepth}{1}
\tableofcontents


\part{blabla}

\section{blablabla}


\begin{thm}
    The integer $1+1$ is finite.
\end{thm}

\begin{thm}
    The integer $1+1$ is less than $1000$.
\end{thm}

\end{document}

Responder1

Com amsartvocê não pode usar titlesec.

Basta encontrar a definição de \parte adicionar

  1. \large
  2. \let\@secnumfont\relax

(este último para usar negrito no número da peça no título).

\documentclass[12pt]{amsart}

\makeatletter
\def\part{%
  \@startsection{part}
  {0}
  {\z@}
  {\linespacing\@plus\linespacing}
  {.5\linespacing}
  {\let\@secnumfont\relax\normalfont\large\bfseries\raggedright}%
}
\show\@seccntformat
\makeatother

\newtheorem{thm}{Theorem}[section]
\renewcommand{\thethm}{\Roman{part}.\arabic{section}.\arabic{thm}}
\renewcommand{\thepart}{\Roman{part}}

\begin{document}
    
\setcounter{tocdepth}{1}
\tableofcontents

\part{blabla}

\section{blablabla}

\begin{thm}
    The integer $1+1$ is finite.
\end{thm}

\begin{thm}
    The integer $1+1$ is less than $1000$.
\end{thm}

\end{document}

insira a descrição da imagem aqui

informação relacionada