【问题标题】:How to avoid subsection appearance in one place on latex?如何避免在乳胶的一个地方出现分段?
【发布时间】:2020-07-18 22:49:32
【问题描述】:

我正在使用以下模式在乳胶(背面)上编写文档。

**\Section{1}
\subsection{1.1}
\begin{fig}
\end{fig}
\section{2}
\subsection{2.1}
\begin{fig}
\end{fig}
\subsection{2.2}
\begin{fig}
\end{fig}
\section{3}
\subsection{3.1}
\begin{fig}
\end{fig}**

所有部分和小部分都显示在第一页的开头,然后是所有数字,而不是遵循这种模式。

可能的错误是什么?

【问题讨论】:

标签: design-patterns latex styles sections heading


【解决方案1】:

有时没有文字很难浮动数字或表格。我有替代解决方案。

在序言中使用此环境figurehere 宏。

\newenvironment{figurehere}[1]
{\noindent\begin{minipage}{#1}\parindent\z@\def\@captype{figure}}
{\end{minipage}}

然后像这样编码图形

\begin{figurehere}{\textwidth}
{\protect\centerline{\includegraphics{fig1.eps}}}
\caption{This is caption.}
\end{figurehere}

【讨论】:

  • 嗨 Ganapathy,当我在一行中使用 5 个数字和两行数字时,我遇到了这段代码的问题。
  • @ashice 我认为您的问题已通过在 figurehere \begin{figurehere}{\textwidth} {\protect\begin{tabular}{ccccc} \includegraphics{fig1.eps} & \includegraphics{fig2.eps} & \includegraphics{fig3.eps} & \includegraphics{fig4.eps} & \includegraphics{fig5.eps}\\ \end{tabular}} \end{figurehere} 中使用 tabular 环境解决了
猜你喜欢
  • 2022-10-07
  • 1970-01-01
  • 1970-01-01
  • 2018-04-02
  • 2018-12-03
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多