design-patterns - 如何避免在乳胶的一个地方出现分段?
问题描述
我正在使用以下模式编写关于乳胶(背页)的文档。
**\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}**
不是遵循这种模式,而是在第一页的开头显示所有部分和小节,然后是所有数字。
可能的错误是什么?
解决方案
有时没有文字很难浮动数字或表格。我有替代解决方案。
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}
推荐阅读
- oracle - How to use IF / THEN / ELSIF for Oracle Apex Page Validation
- debugging - Ansible:无法访问 group_vars 文件中的嵌套变量
- python - 使用wxPython在多进程中冻结pyaudio程序
- c - 编译C代码时-Wall命令有什么用
- javascript - 将事件侦听器附加到包装组件
- c++ - C++:逐屏进行文本冒险?
- node.js - 需要帮助来优化处理来自 Query 的数据
- c# - 如何使用 C#/Mono 在 mac 终端中以编程方式执行命令
- continuous-integration - DevOps 和 CI/CD 新手
- python - 在 Python 中使用 Pygame 移动精灵