Nicolas FERRE wrote:

I want to write some fortran90 code using the LyX-code environment. In 
fortran90, in order to type a variable, one must use ::, e.g.

integer :: i

Unfortunately, the font used by LyX-code inserts a space between the two : 
characters, like in between two words. A solution consists in inserting an ERT 
with \hspace{-2mm} between them.

Is there anything else ? Some package having the "::" character ?

You might try putting two colons in a math inset; it packs them closer together.

/Paul

Reply via email to