-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Q23 如何插入Figure,Scheme, Table 等并按类型编号? #30
Comments
首先是插图和表格制作。插图需要借助 \usepackage{graphicx} 插图示例命令为 \includegraphics[width=0.7\textwidth]{image.png} 这样我们就可以在当前位置插入 表格的制作参照 #24 。 |
在完成插图和插入表格之后,如果想要引用图表的编号,则需要通过交叉引用,也就是通过 下面举例说明,在不涉及交叉引用时,插图的代码一般是: \begin{figure}
\centering
\includegraphics[width=0.7\textwidth]{image.png}
\caption{The Caption of Figure}
\end{figure} 其中, Figure x. The Caption of Figure。 如果想要引用这个图的编号,也就是 x,可以改为 \begin{figure}
\centering
\includegraphics[width=0.7\textwidth]{image.png}
\caption{The Caption of Figure}
\label{fig:label_text}
\end{figure} 然后在需要引用图表编号的地方使用 |
表格的引用也是类似,如果不涉及引用时,代码为 \begin{table}
\centering
\caption{The Caption of Table}
\begin{tabular}
1 & 2\\
3 & 4\\
\end{tabular}
\end{table}
\begin{table}
\centering
\caption{The Caption of Table}
\label{tab:label_text}
\begin{tabular}
1 & 2\\
3 & 4\\
\end{tabular}
\end{table} 在引用时,则使用 强烈建议:标签文本也即 |
如何为所有的Figure (or Table)生成一个目录列表 |
如果你设置好了图/表的 caption,你可以使用 \renewcommand{\listfigurename}{Figures}
\renewcommand{\listtablename}{Tables} 更多例子参考:Lists of Tables and Figures。 |
No description provided.
The text was updated successfully, but these errors were encountered: