\usepackage[dvips]{geometry}: How?
I'd like to take advantage of xdvik's ability to sense the paper size from the dvi file, as recommended in the xdvi man page, by putting the subject line in the latex source. It works fine in a custom class file, but when I put that line in the Preamble of an ordinary Article class I get this error: - LaTeX Error: Option clash for package geometry. The package geometry has already been loaded with options: [] There has now been an attempt to load it with options [dvips] Adding the global options: ,dvips to your \documentclass declaration may fix this... - I can't find any mention of geometry in the teTeX-3.0 article.cls file, nor in any of the other searching I've done. LyX 1.3.5 seems to imply that geometry gets invoked for certain paper sizes, but I can't find any place either in the Layout-Document or the Edit-Preferences dialogs to set this particular option. How can I put \usepackage[dvips]{geometry} in an article? TIA, Jim
Re: \usepackage[dvips]{geometry}: How?
Jim Osborn wrote: I'd like to take advantage of xdvik's ability to sense the paper size from the dvi file, as recommended in the xdvi man page, by putting the subject line in the latex source. It works fine in a custom class file, but when I put that line in the Preamble of an ordinary Article class I get this error: - LaTeX Error: Option clash for package geometry. The package geometry has already been loaded with options: [] There has now been an attempt to load it with options [dvips] Adding the global options: ,dvips to your \documentclass declaration may fix this... - I can't find any mention of geometry in the teTeX-3.0 article.cls file, nor in any of the other searching I've done. LyX 1.3.5 seems to imply that geometry gets invoked for certain paper sizes, but I can't find any place either in the Layout-Document or the Edit-Preferences dialogs to set this particular option. How can I put \usepackage[dvips]{geometry} in an article? TIA, Jim Certain document settings, such as custom paper sizes or margins (I think), cause LyX to load the geometry package and pass it necessary options. If you View-LaTeX your document, you'll see in the preamble where LyX loaded the geometry package. Fortunately, options can be set with \geometry{}, and invocations of that macro are cumulative. So try \geometry{dvips} in your preamble and see if that works. Paul
Re: \usepackage[dvips]{geometry}: How?
On Mon, Nov 07, 2005 at 6:22:51PM -0500, Paul A. Rubin wrote: Fortunately, options can be set with \geometry{}, and invocations of that macro are cumulative. So try \geometry{dvips} in your preamble and see if that works. It does indeed. Thanks, Paul! Jim
\usepackage[dvips]{geometry}: How?
I'd like to take advantage of xdvik's ability to sense the paper size from the dvi file, as recommended in the xdvi man page, by putting the subject line in the latex source. It works fine in a custom class file, but when I put that line in the Preamble of an ordinary Article class I get this error: - LaTeX Error: Option clash for package geometry. The package geometry has already been loaded with options: [] There has now been an attempt to load it with options [dvips] Adding the global options: ,dvips to your \documentclass declaration may fix this... - I can't find any mention of geometry in the teTeX-3.0 article.cls file, nor in any of the other searching I've done. LyX 1.3.5 seems to imply that geometry gets invoked for certain paper sizes, but I can't find any place either in the Layout-Document or the Edit-Preferences dialogs to set this particular option. How can I put \usepackage[dvips]{geometry} in an article? TIA, Jim
Re: \usepackage[dvips]{geometry}: How?
Jim Osborn wrote: I'd like to take advantage of xdvik's ability to sense the paper size from the dvi file, as recommended in the xdvi man page, by putting the subject line in the latex source. It works fine in a custom class file, but when I put that line in the Preamble of an ordinary Article class I get this error: - LaTeX Error: Option clash for package geometry. The package geometry has already been loaded with options: [] There has now been an attempt to load it with options [dvips] Adding the global options: ,dvips to your \documentclass declaration may fix this... - I can't find any mention of geometry in the teTeX-3.0 article.cls file, nor in any of the other searching I've done. LyX 1.3.5 seems to imply that geometry gets invoked for certain paper sizes, but I can't find any place either in the Layout-Document or the Edit-Preferences dialogs to set this particular option. How can I put \usepackage[dvips]{geometry} in an article? TIA, Jim Certain document settings, such as custom paper sizes or margins (I think), cause LyX to load the geometry package and pass it necessary options. If you View-LaTeX your document, you'll see in the preamble where LyX loaded the geometry package. Fortunately, options can be set with \geometry{}, and invocations of that macro are cumulative. So try \geometry{dvips} in your preamble and see if that works. Paul
Re: \usepackage[dvips]{geometry}: How?
On Mon, Nov 07, 2005 at 6:22:51PM -0500, Paul A. Rubin wrote: Fortunately, options can be set with \geometry{}, and invocations of that macro are cumulative. So try \geometry{dvips} in your preamble and see if that works. It does indeed. Thanks, Paul! Jim
\usepackage[dvips]{geometry}: How?
I'd like to take advantage of xdvik's ability to sense the paper size from the dvi file, as recommended in the xdvi man page, by putting the subject line in the latex source. It works fine in a custom class file, but when I put that line in the Preamble of an ordinary Article class I get this error: - LaTeX Error: Option clash for package geometry. The package geometry has already been loaded with options: [] There has now been an attempt to load it with options [dvips] Adding the global options: ,dvips to your \documentclass declaration may fix this... - I can't find any mention of geometry in the teTeX-3.0 article.cls file, nor in any of the other searching I've done. LyX 1.3.5 seems to imply that geometry gets invoked for certain paper sizes, but I can't find any place either in the Layout->Document or the Edit->Preferences dialogs to set this particular option. How can I put "\usepackage[dvips]{geometry}" in an article? TIA, Jim
Re: \usepackage[dvips]{geometry}: How?
Jim Osborn wrote: I'd like to take advantage of xdvik's ability to sense the paper size from the dvi file, as recommended in the xdvi man page, by putting the subject line in the latex source. It works fine in a custom class file, but when I put that line in the Preamble of an ordinary Article class I get this error: - LaTeX Error: Option clash for package geometry. The package geometry has already been loaded with options: [] There has now been an attempt to load it with options [dvips] Adding the global options: ,dvips to your \documentclass declaration may fix this... - I can't find any mention of geometry in the teTeX-3.0 article.cls file, nor in any of the other searching I've done. LyX 1.3.5 seems to imply that geometry gets invoked for certain paper sizes, but I can't find any place either in the Layout->Document or the Edit->Preferences dialogs to set this particular option. How can I put "\usepackage[dvips]{geometry}" in an article? TIA, Jim Certain document settings, such as custom paper sizes or margins (I think), cause LyX to load the geometry package and pass it necessary options. If you View->LaTeX your document, you'll see in the preamble where LyX loaded the geometry package. Fortunately, options can be set with \geometry{}, and invocations of that macro are cumulative. So try \geometry{dvips} in your preamble and see if that works. Paul
Re: \usepackage[dvips]{geometry}: How?
On Mon, Nov 07, 2005 at 6:22:51PM -0500, Paul A. Rubin wrote: > Fortunately, options can be set with \geometry{}, and invocations > of that macro are cumulative. So try \geometry{dvips} in your > preamble and see if that works. It does indeed. Thanks, Paul! Jim