Re: Automagically reduce the spacing between "++" in the word "C++"

2008-10-23 Thread Guenter Milde
Daniel Lohmann schrieb: > On 22.10.2008, at 14:12, Charles de Miramon wrote: >> Daniel Lohmann wrote: >>> some ERT box is not an option, as this would cause too much hassle >>> and would not work in external material, such as bibliographic >>> entries. I am looking for a more elegant solution. >>

Re: Automagically reduce the spacing between "++" in the word "C++"

2008-10-22 Thread Daniel Lohmann
On 23.10.2008, at 00:00, Andre Poenitz wrote: Since I started to waste the evening with TeX, the final version: \def\plus{+} \def\gobble#1{} \catcode`\+=\active \def\checknextchar{% \ifx\nextchar+% \raisebox{0.6ex}{\tiny\plus\kern-.3ex\plus}% \let\next\gobble%

Re: Automagically reduce the spacing between "++" in the word "C++"

2008-10-22 Thread rgheck
Andre Poenitz wrote: Since I started to waste the evening with TeX, the final version: \def\plus{+} \def\gobble#1{} \catcode`\+=\active \def\checknextchar{% \ifx\nextchar+% \raisebox{0.6ex}{\tiny\plus\kern-.3ex\plus}% \let\next\gobble% \else%

Re: Automagically reduce the spacing between "++" in the word "C++"

2008-10-22 Thread Andre Poenitz
On Wed, Oct 22, 2008 at 05:44:58PM -0400, rgheck wrote: > Andre Poenitz wrote: >> On Wed, Oct 22, 2008 at 09:22:35PM +0200, Andre Poenitz wrote: >> I think that I remember to have read about so-called catcodes (or whatever?) in TeX, which apparently make it possible to declare

Re: Automagically reduce the spacing between "++" in the word "C++"

2008-10-22 Thread rgheck
Andre Poenitz wrote: On Wed, Oct 22, 2008 at 09:22:35PM +0200, Andre Poenitz wrote: I think that I remember to have read about so-called catcodes (or whatever?) in TeX, which apparently make it possible to declare certain characters as "active" so that further processing is possible whenev

Re: Automagically reduce the spacing between "++" in the word "C++"

2008-10-22 Thread Andre Poenitz
On Wed, Oct 22, 2008 at 09:22:35PM +0200, Andre Poenitz wrote: > > I think that I remember to have read about so-called catcodes (or > > whatever?) in TeX, which apparently make it possible to declare certain > > characters as "active" so that further processing is possible whenever > > the Te

Re: Automagically reduce the spacing between "++" in the word "C++"

2008-10-22 Thread Andre Poenitz
On Wed, Oct 22, 2008 at 01:51:34PM +0200, Daniel Lohmann wrote: > Hi, > > I am currently in the process of polishing the typesetting of my thesis. > One of the things I would like to achieve is to reduce the spacing > between "++" in the words C++ and AspectC++, as this looks somewhat > "strange

Re: Automagically reduce the spacing between "++" in the word "C++"

2008-10-22 Thread Daniel Lohmann
On 22.10.2008, at 14:07, Konrad Hofbauer wrote: Daniel Lohmann wrote: Any TeX gurus on this list who might help me? If you don't get any answer here, try in the comp.text.tex newsgroup. Thanks Konrad! Daniel, who is hoping nevertheless to find an expert here :-)

Re: Automagically reduce the spacing between "++" in the word "C++"

2008-10-22 Thread Daniel Lohmann
On 22.10.2008, at 14:12, Charles de Miramon wrote: Daniel Lohmann wrote: [...] occurrences with some ERT box is not an option, as this would cause too much hassle and would not work in external material, such as bibliographic entries. I am looking for a more elegant solution. The easiest way

Re: Automagically reduce the spacing between "++" in the word "C++"

2008-10-22 Thread Charles de Miramon
Daniel Lohmann wrote: > Hi, > > I am currently in the process of polishing the typesetting of my > thesis. One of the things I would like to achieve is to reduce the > spacing between "++" in the words C++ and AspectC++, as this looks > somewhat "strange" with the font I am using. > > This quest

Re: Automagically reduce the spacing between "++" in the word "C++"

2008-10-22 Thread Konrad Hofbauer
Daniel Lohmann wrote: Any TeX gurus on this list who might help me? If you don't get any answer here, try in the comp.text.tex newsgroup. /Konrad

Automagically reduce the spacing between "++" in the word "C++"

2008-10-22 Thread Daniel Lohmann
Hi, I am currently in the process of polishing the typesetting of my thesis. One of the things I would like to achieve is to reduce the spacing between "++" in the words C++ and AspectC++, as this looks somewhat "strange" with the font I am using. This question is somewhat related to the