Andreas Vox wrote: > The code is equivalent to > \def\underbar#1{\underline{\sbox2{#1}\dp2 0\box2}} > > which stores its argument in box #2, sets the box' depth to zero and uses > this box as an argument to \underline. > > This means that \underline puts the bar beneath any text while \underbar > puts the bar at the baseline, cutting through ys, gs, qs, ps etc.
So there is a visible difference between the two. I am therefore not changing tex2lyx and leave \underline in ERT. Georg