Hi users,

    I use math-macros in lyx but I was wondering if there is any way to 
achieve macros in text-mode. A use-case that I frequently encounter is to use 
either "Eqn." or "equation" in front of equation-reference numbers when 
cross-referencing depending on which journal I am submitting my paper to. 
Right now, I am achieving this with branches for each journal that modify ERT 
definitions of a new latex command (eg. \newcommand{\eq}{Eqn.})

   Is there a text-mode macro feature in LyX, or is there a hack to achieve 
the same effect?

  The above use-case can be achieved through the hyperref package but that, at 
many times, opens another can of worms (spurious errors about extra '}', 
improper DVI generation etc.)

thanks,
Manoj

Reply via email to