Contents
How to include centered full page figure with no margins?
Here is the result (I put a black border around the page, and covered the area of the figure with a gray box). The top margin is slightly larger than the bottom margin. And the figure’s caption is below the page number. I’d just like to move the figure and caption up by 1-2 cm. Another option is to use pdfpages package as reported here.
How to insert a full page image in TeX LaTeX?
In the first case, the paper is resized to the dimensions of the picture. In the second case, the picture is scaled to fit to the given page. For both cases, any tikz code can be overlayed; I used a text node.
Can a figure be placed beyond the right margin?
This results in the figure being placed flush with the left margin, and way beyond the right margin. What I want is to do, is center the figure on the page. Can I do this, e.g. by setting a different left margin for this figure? If the figure is e.g. 3 inches too wide, add a negative space of half that before the figure:
How to find the size of a PDF page?
In case you do not know what is the exact size of page in pixels, just open the pdf with Inkscape. This will give you titlepage, you can see the height and width of page in Inkscape. Let’s say the size of page is 765×990 pixels. Now resize the image that you want to this size and embed it in this page.
How to center a figure that is wider than the text?
This will center its content to the normal text width even if it is wider than that. See also my similar answer to Place figures side by side, spill into outer margin. The image can also be aligned to the left and right using [l] and [r], which makes the image lap into the right or left margin, respectively.
How to center figure on page-TeX-LaTeX stack?
TeX honors the left margin, but if the figure-set is too large, it spills out the right. You can reduce the width of the figure-set to fit inside the margins allocated; this is the route taken in the 2nd figure-set on the 1st page. You can trick LaTeX into momentarily ignoring the margins, as I do on page 2 of the MWE.
Why do I get error in figure margins too large?
Dealing with error messages is simply a part of programming. The better you understand them more likely you are to avoid them and the better equipped you will be to handle them when they do occur. The “error in plot.new () : figure margins too large” error is an interesting one because not all of its occurrences result from your program or data.