On Thu, 2007-09-20 at 18:19 +0200, Peter Dalgaard wrote: > Gavin Simpson wrote: > > Dear List, > > > > I'm trying to typeset some chemical ions in axis labels. These have both > > super and subscript components, and for some, I need a superscript "-". > > In LaTeX I might use $NO_3^-$ to do the typesetting, but I'm having a > > problem getting the correct invocation for expression: <snip /> > > > It's an operator, it needs something to operate on. > > Try > > plot(0,main=quote(NO^-{})) >
Thanks, Peter, for this solution, and also to Peter Ehlers and ScionForbai for theirs. All the best, G -- %~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~% Gavin Simpson [t] +44 (0)20 7679 0522 ECRC, UCL Geography, [f] +44 (0)20 7679 0565 Pearson Building, [e] gavin.simpsonATNOSPAMucl.ac.uk Gower Street, London [w] http://www.ucl.ac.uk/~ucfagls/ UK. WC1E 6BT. [w] http://www.freshwaters.org.uk %~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~% ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.