GeneralPDF problem

General information and discussion about TeXnicCenter
Post Reply
emmajonson
Posts: 5
Joined: Mon Jun 15, 2009 10:42 am

PDF problem

Post by emmajonson »

I'm quite the beginner using latex! I use TeXnicCenter and I have some problems when making a pdf document. I have included a minipage that doesn't look as it should.

\definecolor{ljusgron}{rgb}{0.8,1,0.70}
\fcolorbox{black}{ljusgron}{
\begin{minipage}[t]{1.0\textwidth}
\textbf{Title}

\begin{description}
\item[A. first item]
Some text about A
\item[B. second item]
Some text about B
\item[C. third item]
Some text about C
\end{description}
\end{minipage}
}

When I take LaTeX=>DVI it looks perfekt. When I take LaTeX=>PDD my minipage isn't icluded...

If anybody knows how to solve the problem I would be very grateful! :)

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

MartinC
Posts: 153
Joined: Wed Jan 17, 2007 10:09 pm

PDF problem

Post by MartinC »

First, this is a general Latex problem, not a TexnicCenter-related problem.

Second, it is hard to guess what your problem is if you don't send a complete small exemple that demonstrates the problem (so we know what packages you use, for instance).

I have no problem with this example:

Code: Select all

\documentclass{article}
\usepackage{xcolor}

\begin{document}

\definecolor{ljusgron}{rgb}{0.8,1,0.70}
\fcolorbox{black}{ljusgron}{
\begin{minipage}[t]{1.0\textwidth}
\textbf{Title}

\begin{description}
\item[A. first item]
Some text about A
\item[B. second item]
Some text about B
\item[C. third item]
Some text about C
\end{description}
\end{minipage}
} 

\end{document}
emmajonson
Posts: 5
Joined: Mon Jun 15, 2009 10:42 am

Re: PDF problem

Post by emmajonson »

Thank you so much!

When I used the xcolor package as you suggested it worked perfectly! I only had
\usepackage[dvips]{color}
\usepackage{multicol}
before and that was enough for the DVI!

Thanks again!
Emma
Post Reply