"John Maddock" wrote

> I hope you don't mind but I have some (completely unrelated) feature 
> requests:
> 
> * Superscript and subscript.
> * Unicode character insertion (insert a character by code value).
> * Greek letters (really important to me this one).
> * A few select Math symbols for not-equal less-than-equal etc.

Some of these items are available by using escapes:
Making the escapes into macros also seems to work (in QuickBook 1.1)

[/ using the double underscores as recommended gets a bit ugly though!]

[def __squared__  '''<superscript>2</superscript>''']
[def __alpha__  '''&alpha;''']
[def __ge__ '''&ge;''']
[def __angstrom__ '''&#212;''']

__alpha__ __ge__ x__squared__\n

__angstrom__\n

I guess that these can be combined with templates in the new version?

[template pow(x,y )  x'''<superscript>y</superscript>''']

invoked as:

pow(__alpha__,2)


regards
Andy Little




_______________________________________________
Boost-docs mailing list
[email protected]
Unsubscribe and other administrative requests: 
https://lists.sourceforge.net/lists/listinfo/boost-docs

Reply via email to