我想更改 overleaf 中的 IEEEtran 模板中的子部分,子部分显示如下:
不过,我希望小节中的文本出现在标题下方,而不是出现在冒号符号的旁边,同时如果有办法使小节标题不缩进的话。
我很感谢您的帮助,该页面的代码如下。
\documentclass[conference]{IEEEtran}
\usepackage[pdftex]{graphicx}
% declare the path(s) where your graphic files are
\graphicspath{{../Figuras/}}
% and their extensions so you won't have to specify these with
% every instance of \includegraphics
\DeclareGraphicsExtensions{.JPG,.jpeg,.png}
\usepackage{gensymb}
\usepackage[utf8]{inputenc}
\usepackage[spanish]{babel}
\usepackage{amsmath}
\usepackage{amssymb}
\begin{document}
\title{\LARGE Title}
\author{
\IEEEauthorblockN{Author}
}
\maketitle
\begin{IEEEkeywords}
\end{IEEEkeywords}
\begin{abstract}
\end{abstract}
\IEEEpeerreviewmaketitle
\section{Section}
Something I should write in a section ...
\subsection{Subsection}
Something I should write in a subsection ...
\subsubsection{Subsubsections}
Something I should write in a subsubsection ...
\bibliographystyle{IEEEtran}
\bibliography{IEEEabrv,referencias}
\end{document}
答案1
尝试一下这个代码。
\documentclass[comsoc]{IEEEtran}
\usepackage[pdftex]{graphicx}
% declare the path(s) where your graphic files are
\graphicspath{{../Figuras/}}
% and their extensions so you won't have to specify these with
% every instance of \includegraphics
\DeclareGraphicsExtensions{.JPG,.jpeg,.png}
\usepackage{gensymb}
\usepackage[utf8]{inputenc}
\usepackage[spanish]{babel}
\usepackage{amsmath}
\usepackage{amssymb}
\makeatletter % added <<<<<<<<<<<<<<<<<<<
\def\subsubsection{\@startsection{subsubsection}{3}{\parindent}{1ex plus 0.1ex minus 0.1ex}%
{0.7ex plus .5ex minus 0ex}{\normalfont\normalsize\itshape}}%
\makeatother
\begin{document}
\title{\LARGE Title}
\author{
\IEEEauthorblockN{Author}
}
\maketitle
\begin{IEEEkeywords}
\end{IEEEkeywords}
\begin{abstract}
\end{abstract}
\IEEEpeerreviewmaketitle
\section{Section}
Something I should write in a section ...
\subsection{Subsection}
Something I should write in a subsection ...
\subsubsection{Subsubsections}
Something I should write in a subsubsection ...
% \bibliographystyle{IEEEtran}
% \bibliography{IEEEabrv,referencias}
%
\end{document}