如何改變標題的大小?

如何改變標題的大小?

我需要更改「摘要」的大小,只有標題必須影響內容必須保持完整,我想要字母大小 20

\documentclass[11pt,letterpaper]{report}    
%\usepackage{etoolbox}
\usepackage{titlesec}

\begin{document}


\begin{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
\end{abstract}
\section{Exp}
this Exp SECTION
\tableofcontents
\chapter{ETAPA2}
\label{cap:experimental}
this intro

\section{Exp2}
this Exp SECTION

\end{document}

答案1

在此輸入影像描述

\documentclass{report}

\usepackage{lmodern,lipsum}

\renewcommand{\abstractname}{%
  \fontsize{20}{24}\selectfont\bfseries SECCI\'ON RESUMEN}

\begin{document}

\begin{abstract}
\lipsum[1]
\end{abstract}

\end{document}

相關內容