答案1
LateX 标题默认是两端对齐的(但实际上可能不应该这样),但您显示的图像不是两端对齐的标题但是一个正常的对齐段落,但有一个没有标题而只有数字的插入标题。
标准类别开始在以下级别使用插入标题\paragraph
:
\documentclass{article}
\setcounter{secnumdepth}{6}
\begin{document}
\paragraph{} some text some text some text some text some text
some text some text some text some text some text some text
some text some text some text some text some text some text
\paragraph{} some text some text some text some text some text
some text some text some text some text some text some text
some text some text some text some text some text some text
\end{document}
但是看起来你想要运行小节,有几个包可以调整部分格式,但很容易复制定义article.cls
并更改定义(翻转一个参数的符号从显示变为运行)
\documentclass{article}
\makeatletter
\renewcommand\subsection{\@startsection{subsection}{2}{\z@}%
{-3.25ex\@plus -1ex \@minus -.2ex}%
{-1em}%{1.5ex \@plus .2ex}%
{\normalfont\large\bfseries}}
\makeatletter
\begin{document}
\section{Zzzz}
\subsection{} some text some text some text some text some text
some text some text some text some text some text some text
some text some text some text some text some text some text
\subsection{} some text some text some text some text some text
some text some text some text some text some text some text
some text some text some text some text some text some text
\end{document}