Discussion:
Dimension too large
Dani Infante
2008-01-19 15:39:39 UTC
Permalink
Hi everybody.
Something strange is happening when including an image in my .tex file and
I'm going head over heels.
I run pdflatex on a file where there's only the image and it works. However,
when I copy the code for the image into my main file (in which there are
already some images) I get the message:

! Dimension too large

Does anybody know how can I overcome this problem?
Thanks in advance
--
Daniel Infante Gómez
--------------------------------
Communication Technology Student at KTH
Lars Madsen
2008-01-19 16:31:12 UTC
Permalink
Post by Dani Infante
Hi everybody.
Something strange is happening when including an image in my .tex file and
I'm going head over heels.
I run pdflatex on a file where there's only the image and it works. However,
when I copy the code for the image into my main file (in which there are
! Dimension too large
Does anybody know how can I overcome this problem?
Thanks in advance
--
Daniel Infante Gómez
--------------------------------
Communication Technology Student at KTH
example code please


/daleif
Dani Infante
2008-01-19 16:49:42 UTC
Permalink
Sorry, here is the code for the image

\begin{figure}[htpb]
\centering
\xymatrix @C=1.5cm @R=0.3cm{
\includegraphics[width=0.45\linewidth]{./figuras/Lspec/specL11ASsoi.pdf} &
\includegraphics[width=0.45\linewidth]{./figuras/Lspec/specL11AAsoi.pdf}\\
\textbf{(a)}&\textbf{(b)}\\
\includegraphics[width=0.45\linewidth]{./figuras/Lspec/specL11SAsoi.pdf} &
\includegraphics[width=0.45\linewidth]{./figuras/Lspec/specL11SSsoi.pdf}\\
\textbf{(c)}&\textbf{(d)}\\
}
\caption{\footnotesize Spectrum (Arbitrary units VS Normalized frequency)
obtained after FDTD simulation for the L11 design on SOI on different
symmetry conditions. (a)$-1$ $+1$, (b)$-1$ $-1$, (c)$+1$ $-1$ and (d)$+1$
$+1$.} \label{specL11soi}
\end{figure}
Post by Dani Infante
Post by Dani Infante
Hi everybody.
Something strange is happening when including an image in my .tex file
and
Post by Dani Infante
I'm going head over heels.
I run pdflatex on a file where there's only the image and it works.
However,
Post by Dani Infante
when I copy the code for the image into my main file (in which there are
! Dimension too large
Does anybody know how can I overcome this problem?
Thanks in advance
--
Daniel Infante Gómez
--------------------------------
Communication Technology Student at KTH
example code please
/daleif
--
Daniel Infante Gómez
--------------------------------
Communication Technology Student at KTH
Dani Infante
2008-01-19 17:33:20 UTC
Permalink
The problem is solved!

I mixed erroneously the cropping (editing the dimensions) parameters of one
of the subimages that compose the xymatrix, and that one had not compatible
dimensions. That was the reason that made pdflatex give an error message.

Thank you anyway!
Post by Dani Infante
Sorry, here is the code for the image
\begin{figure}[htpb]
\centering
\includegraphics[width=0.45\linewidth]{./figuras/Lspec/specL11ASsoi.pdf} &
\includegraphics[width=0.45\linewidth]{./figuras/Lspec/specL11AAsoi.pdf}\\
\textbf{(a)}&\textbf{(b)}\\
\includegraphics[width=0.45\linewidth]{./figuras/Lspec/specL11SAsoi.pdf} &
\includegraphics[width=0.45\linewidth]{./figuras/Lspec/specL11SSsoi.pdf}\\
\textbf{(c)}&\textbf{(d)}\\
}
\caption{\footnotesize Spectrum (Arbitrary units VS Normalized frequency)
obtained after FDTD simulation for the L11 design on SOI on different
symmetry conditions. (a)$-1$ $+1$, (b)$-1$ $-1$, (c)$+1$ $-1$ and (d)$+1$
$+1$.} \label{specL11soi}
\end{figure}
Post by Dani Infante
Post by Dani Infante
Hi everybody.
Something strange is happening when including an image in my .tex file
and
Post by Dani Infante
I'm going head over heels.
I run pdflatex on a file where there's only the image and it works.
However,
Post by Dani Infante
when I copy the code for the image into my main file (in which there
are
Post by Dani Infante
! Dimension too large
Does anybody know how can I overcome this problem?
Thanks in advance
--
Daniel Infante Gómez
--------------------------------
Communication Technology Student at KTH
example code please
/daleif
--
Daniel Infante Gómez
--------------------------------
Communication Technology Student at KTH
--
Daniel Infante Gómez
--------------------------------
Communication Technology Student at KTH
Loading...