Search found 2 matches

by tedfflamp
Wed Jul 08, 2009 9:56 am
Forum: Text Formatting
Topic: Generating straight apostrophes in verbatim environment
Replies: 3
Views: 3079

Re: Generating straight apostrophes in verbatim environment

Well, I need to comment my sources. But when i'm writing a few words in comment in my native language, it transforms into one line without spaces in pdf (and it looks like '# with floating point' in .tex and '# withfloatingpoint' in .pdf). I couldn't find a solution so I chose verbatim :).

But does ...
by tedfflamp
Tue Jul 07, 2009 10:16 am
Forum: Text Formatting
Topic: Generating straight apostrophes in verbatim environment
Replies: 3
Views: 3079

Generating straight apostrophes in verbatim environment

Hi, i'm a bit depressed now as i can't decorate my Perl code listings.

I have some code (as an example):

print <<EOF;
Цена $price.
EOF

print <<"EOF";
Цена $price.
EOF

print <<'EOF';
Цена $price.
EOF

To decorate this I use custom simple environment:

\newenvironment{mylisting}
{\begin{list ...