Search found 2 matches

by kazyka
Mon Feb 21, 2011 8:39 pm
Forum: General
Topic: Verbatim color
Replies: 1
Views: 2056

Verbatim color

Hi I have a problem. I wish to make color to my verbatim cause the reader needs to see differens between input and output.

I have this
\renewcommand{\FancyVerbFormatLine}[1]{%
\ifnum\value{FancyVerbLine}<5\color{red}#1%
\else\color{blue}#1\fi}
\begin{Verbatim}
line 1
line 2
line 3
line 4
line 5 ...
by kazyka
Mon Feb 21, 2011 5:50 pm
Forum: General
Topic: Cannot Open DDE link
Replies: 0
Views: 2442

Cannot Open DDE link

Hi I have a problem when i compile my code. Have uploaded a picture and here is the code I use
\documentclass[11pt,a4paper]{report}
\usepackage[ansinew]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{amsmath}
\usepackage{appendix}
\usepackage{caption}
\usepackage{booktabs}
\usepackage{lipsum ...