On Mon, Mar 25, 2002 at 12:27:17PM +0000, Angus Leeming wrote:
> > [And no, this was no 'enh' marked item on the bugtracker but rather a
> > means to get food on Saturdays ;-)]
> 
> Give us an example of this in use.

Say you want a macro \def\myrel{\mathrel\something}  that behaves
"properly", i.e. exports to LaTeX as \mathrel\something, but displays
nicely on screen.

Currently you could

  (a) really put it the \mathrel into the macro. This exports nicely, but
      shows a red 'mathrel' everywhere the macro is used, or 

  (b) use dirty tricks like putting  just \something in the macro
      definition and "fix" the export by putting a
      \def\myrel{\mathrel\something} immediately afterwards in ERT.

Not really nice.

Now you can just put '\mathrel\somiething' in the first cell (the 'export
cell') and '\something' into the second cell (the 'display cell') and
both export and display just work.

If you don't need the feature, just leave the second box empty and nothing
will change. 

Andre'

-- 
André Pönitz .............................................. [EMAIL PROTECTED]

Reply via email to