this question's title may not clearly. my english expression is not good. take an example to convey my problem:


I expect after compile this code , it will show two same paragraph, the second one will auto refers to the fist one

  • 2
    Maybe you are interested in using \label and \ref? – leandriis Aug 8 at 14:28
  • Could you please also explain what ` \someorder` is supposed to do / how it is defined? – leandriis Aug 8 at 14:29
  • 1
    Maybe this is what you are looking for: stackoverflow.com/questions/1211888/… – Hiwi Makro Aug 8 at 14:44
  • @ Hiwi Makro thank you,\defand\newcommand is useful – nevermind_15 Aug 8 at 14:54

Based on @leandriis comment, this might be what you are looking for is Lable/Reference.

For example:



This is some dummy Text, don't mind me.

        1+1 = 2

Please consider equation \ref{eq:1}. 

    \caption{Some Picture}

This also works for some reference for pictures \ref{fig:1}.


which produces:


This works for a lot more than just equations and figures, but I hope you get the idea.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.