http://bbs.tongji.edu.cn/wForum/disparticle.php?boardName=Linux&ID=9524
Tex uses the/lable{label} to define the label, where the label can be a letter,
A string consisting of numbers, punctuation, and so on. Need to reference, then use/ref{label}, which
The "label" in the/lable should have been defined, defined and referenced successively regardless.
For example, we have
/subsection{early Results}
/label{sec-early}% here defines the Sub section label
Euler ' s equation
/begin{equation}
E^{i/pi}+1=0/label{eq:euler}% here defines the equation marking
/end{equation}
/combines The five most important numbers in mathematics
In a single euqtion.
Then we can refer to the following
Equation~/ref{eq:euler} in Section~/ref{sec-early} ...
Whatever the label of the equation or sub-section here is, the reference can be accurately pointed out. This
That's why we want to use automatic cross-references. Here,/label will automatically follow
Own position, draw the markings, such as appeared in Equation, Eqnarray, enumerate
(project), figure (figure), table (table) environment, the reference is the formula number, the item
Head number or chart number; It is the chapter number that appears in the other location.
There is also a/pageref{label in addition to the/REF, which shows
/label{the page position where the label} appears.
/cite and/bibitem we have seen in the first example that we
In more detail, the full format of these two commands:
/cite[additional information]{marking 1, marking 2, ..., marking n}
/bibitem[name]{Label}
Let's look at an example of a/cite plus additional information (this example is a reference to the 5th example
On the basis of the literature):
See/cite{texbook, companion} or/cite[page 20-22]{lamport}.
Then look at the name of the/bibitem option:
See/cite{kn:texbook} for more details.
...
/begin{thebibliography}[lamport 86]%[] is the longest document number
/bibitem[knuth 84]{kn:texbook} D. E. Knuth. {/SL The/tex{}book}.
Addison-wesley, Reading.
/end{thebibliography}
Here's a few more words: all the documents involved in cross-references have been modified and
Cross-reference the relevant content, you need to compile the source file two times to get
The right result.