除了参考文献可以互通有无,图、表、公式等都可以和正文对应位置设置跳转:
1)图:
在插入图的代码中,有一个label命令,给它随意命名就好,如f7:
\begin{figure}[!t]
\centering
\includegraphics[width=2.5in]{luna.jpg}
\caption{this is a figure demo}
\label{f7}
\end{figure}接着在正文中找到需要引用的位置,Figure 7,我们想让数字7能够直接跳转到f7,就地加代码:
~\ref{f7}然后就可以发光啦:
2)表:
在插入表的代码中,也有label命令,一样给它随意命名就好,如t3:
\begin{table}[!t]
\renewcommand{\arraystretch}{1.3}
\caption{your description on table}
\label{t3}
\centering
\begin{tabular}{cccc}
\hline
\bfseries Do & \bfseries You & \bfseries Love & \bfseries Me\\
\hline
Yestoday & Yes & Yes & Yes\\
Today & Of Course & Of Course & Of Course\\
Tomorrow & Definitely Yes & Definitely Yes & Definitely Yes\\
\hline
\end{tabular}
\end{table}接着在正文中找到需要引用的位置,Table 3,我们想让数字3能够直接跳转到t3,就地加代码:
~\ref{t3}然后就可以发光啦: