0

While writing a thesis, there are statements like Corollary.5, Theorem.23, etc. I refer these and sometimes, I am adding some extra statements between these referred ones so that the Corollary.5 becomes Corollary.6. How to avoid these kind of problems?

migrated from academia.stackexchange.com Apr 29 '18 at 7:34

This question came from our site for academics and those enrolled in higher education.

  • 13
    I agree with aeismail, but it also sounds as if you're manually numbering things. If so, the solution is to make the computer do the work for you, using automated cross referencing functionality – Anyon Apr 29 '18 at 1:16
  • 1
    Migrating this to TeX - LaTeX because it is purely about using a typesetting program and not specific to academia. Chances are that this is a duplicate, but I fail to find it (which justifies this question as it will make it easier to find the duplicate in the future). – Wrzlprmft Apr 29 '18 at 7:33
  • 4
    Normally you would use \begin{theorem}...\end{theorem} and similar environments to typeset theorems and the like. These environments can be set up to perform the numbering automatically. Then it is just a matter of setting a \label and referencing it later with \ref. See en.wikibooks.org/wiki/LaTeX/Labels_and_Cross-referencing and en.wikibooks.org/wiki/LaTeX/Theorems (there are various packages for theorem labelling, but amsthm is one of the popular ones). There are fancy crossref packages such as cleveref that can automate this further. – moewe Apr 29 '18 at 8:02
  • @Wrzlprmft I'm not sure this should have been migrated here from academia.SE; after all academics may use a number of document systems including (gasp) Word. So the question is not really specific to (La)TeX, though of course using LaTeX is the simplest solution. – ShreevatsaR Apr 29 '18 at 9:51
  • 3
    @ShreevatsaR Initially the question posted on Academia was tagged LaTeX and BibTeX. – Massimo Ortolano Apr 29 '18 at 9:58

Your Answer

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

Browse other questions tagged or ask your own question.