Search found 2 matches

by raycluster
Tue Jan 29, 2013 4:11 pm
Forum: LyX
Topic: Inserting C++-Code gets really messy
Replies: 3
Views: 5683

Re: Inserting C++-Code gets really messy

I worked it out.
Instead of inserting the Code with CTRL-V, insert it with CTRL-SHIFT-V. This removes any formatting inside the clipboard before pasting it to the textfield of a program. ;)
by raycluster
Thu Jan 24, 2013 12:51 am
Forum: LyX
Topic: Inserting C++-Code gets really messy
Replies: 3
Views: 5683

Inserting C++-Code gets really messy

Hi ;)

I tried to insert this:
listing.png
listing.png (30.87 KiB) Viewed 5675 times
into LyX, but all I get is this:
lyx.png
lyx.png (77.42 KiB) Viewed 5675 times
I tried many different programs to copy the code from, and also tried to convert my source to different codings, but nothing works. Please help, I need to get this code into my document :(