Cerco di inserire delle immagini che sono leggermente più larghe della \textwidth (perchè mi occorre abbiano una determinata altezza) e per evitare i messaggi di overfull \hbox ho provato ad usare il comando \centerline, come indicato in
http://www.guit.sssup.it/phpbb/viewtopic.php?t=2437&highlight=ingrandire+margini
ma ottengo il seguente errore:
`File: figCarSoll.eps Graphic file (type eps)
[2] [3] [4] (figureconvergenza.tex ! LaTeX Error: Cannot determine size of graphic in \hss .eps (no BoundingBox).
See the LaTeX manual or LaTeX Companion for explanation.
Type Hfor immediate help.
…l.3 \includegraphics
[height=0.2\textheight]{Immagini/8tria_def}
Try typingto proceed.
If that doesn't work, type Xto quit. File: \hss .eps Graphic file (type eps)
! Missing \endcsname inserted.
\hss
l.3 \includegraphics
[height=0.2\textheight]{Immagini/8tria_def}
The control sequence markedshould
not appear between \csname and \endcsname.<\hss .eps>
! Missing number, treated as zero.
]
l.3 \includegraphics[height=0.2\textheight]
{Immagini/8tria_def}
A number should have been here; I inserted `0'.
(If you can't figure out why I needed to see a number,
look up `weird error' in the index to The TeXbook.)! Illegal unit of measure (pt inserted).
]
l.3 \includegraphics[height=0.2\textheight]
{Immagini/8tria_def}
Dimensions can be in units of em, ex, in, pt, pc,
cm, mm, dd, cc, nd, nc, bp, or sp; but yours is a new one!
I'll assume that you meant to say pt, for printer's points.
To recover gracefully from this error, it's best to
delete the erroneous units; e.g., type `2' to delete
two letters. (See Chapter 27 of The TeXbook.)`(probabilmente ho copiato qualcosa più del necessario ma non capivo bene dove finiva il messaggio…)
L’immagine in .eps non ha bounding box? Com’è possibile? O succede qualcos’altro che non riesco a capire?
Grazie in anticipo per l’aiuto.
`\centerline{\includegraphics[height=0.2\textheight]{Immagini/8tria_def}}`
Che cosa avevi scritto? Un’altra volta indica anche il codice che usi.
Se l’immagine sborda di poco puoi provare con
`\includegraphics[height=0.2\textheight,width=\textwidth,keepaspectratio]{Immagini/8tria_def}`
L’altezza sarà quasi quella desiderata ma non avrai sbordature.
Ciao
Enrico