Paul Medwell wrote:

If my LyX documents contain images then the papersize of the pdflatex output gets set to "letter" (8.5 � 11 inch), whereas I want it to be A4.
I don't have this problem if the margins are set to default or custom.

Sorry to reply to my own question, but I've had a bit of a play around with pdflatex, and have narrowed the problem down a bit.


Below is an excerpt of latex code;

\documentclass[english]{article}
\usepackage{graphicx}
\usepackage{a4wide}
\begin{document}
aaa
\end{document}


If I comment out the \usepackage{graphicx} line, then the result of the pdflatex output is a4, otherwise it gives letter size. So in this sense it seems as if the problem is a conflict with the graphicx package, however...if I change the first line to \documentclass[english,a4paper]{article} then it's all okay.


I realise that I could just use a different PDF generator, but any clues how I can get LyX to give pdflatex the extra flag in the document class definition?

Lata,
Paul



Reply via email to