|
Clarification on Wiki Math Macros information: msg#00348editors.lyx.general
Hi, the Wiki on Math Macros has the following piece piece of information: ### begin paste ### Changing an existing command Math-macros translate to \newcommand, i.e. they fail, if the macro name is already defined. To change an existing command (and its rendering in Lyx) you can use the following trick: Assume you want to redefine \Re to print “Re” in roman font. * define the macro: M-x math-macro Re * fill it with \Re in the latex-cmd box and with \mathrm{Re} in the lyx-render box * put it in a Comment, so latex will not see it * do the redefinition in ERT (of course not in a comment): \renewcommand{\Re}{\mathrm{Re}} ### end paste ### I do not understand how I can "put it in a Comment, so latex will not see it". I know latex, and I know what a comment in latex is, but what do I do in LyX to put in a comment. The user guide says there is a comment paragraph environment, which I interpreted to mean that in the pull-down down where Standard, Caption, Itemize, etc. are I would see a Comment section but I can't seem to find it. I am using the revtex4 style. Thanks |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Three dots: 00348, Juergen Spitzmueller |
|---|---|
| Next by Date: | Re: \thispagestyle{empty} not working for me: 00348, Rich Shepard |
| Previous by Thread: | accented chars & dead keys problemi: 00348, Gour |
| Next by Thread: | Re: Clarification on Wiki Math Macros information: 00348, Christian Ridderström |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |