I am working on a large project that contains multiple document typeset in latex. I be consistent with the use of my symbols I want to, therefore, a good idea to define a command for each theorem, which has a specific meaning throughout the project. Does anyone have any experience with this? Is there any problem I should pay attention to?
Say a bit more specific, I show some named potentials by Script P in the entire document, it is
\ supplycommand {\ permeability} {\ mathscr {P }} or would it be more like "defining the command for $ n $"?
I am doing something that has a specific meaning and is more than the same symbol To save most typing:
\ newcommand {\ objId} {\ mbox {$ \ Mathit {objId} $} \ xspace} \ newcommand {\ insOp} [1] {# 1 \ Mbox {$ ^ + $} \ xspace} \ newcommand {\ delOp} [1] {# 1 \ mbox {$ ^ - $} \ xspace}
I still see I stopped blocking the inconsistency errors (objId vs ObjId vs Objid), so I agree that this is a good idea.
Although I'm not sure if this is a good idea, then in the symbols in production, a Latin symbol like:
\ newcommand {\ numOfObjs} {$ N $}
It is easy to type and forget a single symbol, even if it was defined for a command.
EDIT: Using your example IMHO would be a good idea to define this \ permeability
because it is more than a P you have to type without command but it is a There is a close call.
Comments
Post a Comment