Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

6
  • 4
    I can recommend 'Notes on Programming in TeX' written by Christian Feuersänger, which gives a lot of insights on this in a short and easy-to-read text. Commented Feb 10, 2017 at 12:18
  • 1
    @HenriMenke thank you for your comment, that is a phantastic Q&A. But it does not cover \gdef and \xdef. Commented Feb 10, 2017 at 12:25
  • 1
    Yes, exactly! Sorry for not providing the link, i'm just so used to using texdoc, so it's a simple texdoc programming for me. Commented Feb 10, 2017 at 12:29
  • 4
    @Jan \gdef (\xdef) is merely a shorthand for \global\def (\global\edef), so the question about these can be reduced to \def and \edef. Commented Feb 10, 2017 at 12:50
  • 1
    @HenriMenke: Thank you again for that information. Therefore, you are right, my question is a duplicate to your given Link. Commented Feb 10, 2017 at 15:47