Re: [NTG-context] "overscored" or "overlined" text … (or whatever it should be called)

2012-01-26 Thread Hans Hagen
On 25-1-2012 21:17, Aditya Mahajan wrote: @Hans: Can we have \definemframed etc as well? sure, the next beta will have ... \starttext \dontleavehmode test \mframed{x} test $x^{\mframed{x}}$ test \inmframed{x} test $x^{\inmframed{x}}$ test \definemathframed[whatever][location=low]

Re: [NTG-context] "overscored" or "overlined" text … (or whatever it should be called)

2012-01-25 Thread Aditya Mahajan
On Thu, 26 Jan 2012, Philipp A. wrote: 2012/1/25 Aditya Mahajan Better is to use: \StrikeMeFrame{\mathsurround\zeropoint$#1$}. But for this to work in subscripts and superscripts, you must use math palette. IIRC, \mframed does that. In principle: \mframed[background=strikeme]{**...} should

Re: [NTG-context] "overscored" or "overlined" text … (or whatever it should be called)

2012-01-25 Thread Philipp A.
2012/1/25 Aditya Mahajan > Better is to use: \StrikeMeFrame{\mathsurround\zeropoint$#1$}. But for > this to work in subscripts and superscripts, you must use math palette. > IIRC, \mframed does that. In principle: > > \mframed[background=strikeme]{**...} > > should work (untested). > > @Hans: Can

Re: [NTG-context] "overscored" or "overlined" text … (or whatever it should be called)

2012-01-25 Thread Aditya Mahajan
On Wed, 25 Jan 2012, Wolfgang Schuster wrote: Am 25.01.2012 um 20:20 schrieb Philipp A.: 2012/1/25 Hans Hagen \ifmmode thanks. that was obvious… $\StrikeMe{x}$ unfortunately this does the same as my tikz version: it exits math mode: $\StrikeMe{\ifmmode math mode! \else no math mode :( \f

Re: [NTG-context] "overscored" or "overlined" text … (or whatever it should be called)

2012-01-25 Thread Wolfgang Schuster
Am 25.01.2012 um 20:20 schrieb Philipp A.: > 2012/1/25 Hans Hagen > \ifmmode > > thanks. that was obvious… > > $\StrikeMe{x}$ > > unfortunately this does the same as my tikz version: it exits math mode: > > $\StrikeMe{\ifmmode math mode! \else no math mode :( \fi} \ifmmode math mode. > \els

Re: [NTG-context] "overscored" or "overlined" text … (or whatever it should be called)

2012-01-25 Thread Philipp A.
2012/1/25 Hans Hagen > \ifmmode > thanks. that was obvious… $\StrikeMe{x}$ > unfortunately this does the same as my tikz version: it exits math mode: $\StrikeMe{\ifmmode math mode! \else no math mode :( \fi} \ifmmode math mode. \else wat \fi$ returns no math mode :( *mathmode.*

Re: [NTG-context] "overscored" or "overlined" text … (or whatever it should be called)

2012-01-25 Thread Hans Hagen
On 25-1-2012 18:04, Philipp A. wrote: while we are at it: how to do do strikethrough text? there is a changelog on contextgarden which says it was added, but \strike or \strikethrough are not defined. i have (a diagonal) one here, but it doesn’t really work in math mode (the text inside is norma

Re: [NTG-context] "overscored" or "overlined" text … (or whatever it should be called)

2012-01-25 Thread Philipp A.
while we are at it: how to do do strikethrough text? there is a changelog on contextgarden which says it was added, but \strike or \strikethrough are not defined. i have (a diagonal) one here, but it doesn’t really work in math mode (the text inside is normal). that being said, is there something

Re: [NTG-context] "overscored" or "overlined" text … (or whatever it should be called)

2012-01-25 Thread Hans Hagen
On 25-1-2012 13:14, Robert Blackstone wrote: Dear all, I am trying to reproduce with ConTeXt an old french text that contains numerous abbreviations, mostly of two types: - words cut off by means of a "period", with the last letter of the complete word as a superscript above the period. - "ove

[NTG-context] "overscored" or "overlined" text … (or whatever it should be called)

2012-01-25 Thread Robert Blackstone
Dear all, I am trying to reproduce with ConTeXt an old french text that contains numerous abbreviations, mostly of two types: - words cut off by means of a "period", with the last letter of the complete word as a superscript above the period. - "overscores" --either for single characters, for