Timeline for Default values in \newcommand & renewing \maketitle
Current License: CC BY-SA 3.0
4 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jul 25, 2013 at 7:59 | vote | accept | pyro | ||
| Jul 25, 2013 at 7:45 | comment | added | Jagath | @PradeepKumar: \gdef is \global\def. It overrides the \def. I personally used \def rather than \newcommand, which is more convenient for me. The main logic is, define a default value for logo inside \@logo and if you have your own logo provided by \logo command in TeX, make it a global value to \@logo and override the default value. | |
| Jul 25, 2013 at 7:37 | comment | added | pyro | Thanks! It fixed all my errors. Just a few questions: (1) why do you make use of \gdef? (2) can I make use of \newcommand instead of \def? Is it just a personal choice or is there a reason why you used it? | |
| Jul 25, 2013 at 7:16 | history | answered | Jagath | CC BY-SA 3.0 |