Graphics, Figures & TablesAlign subfloats on the right side

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
palle
Posts: 1
Joined: Fri Feb 25, 2011 3:46 pm

Align subfloats on the right side

Post by palle »

Hej,

I need some help with the following problem:

In a figure-environment I have several subfloats (gnuplot plots as pdf) one below the other. As the labels of the y-tics are differing in length , the two plot areas of the subfloats are not aligned to each other, which is though what I want.
Does anyone here know how I can align the subfloats so, that the margin to the right edge of the document is remains equal?

Code: Select all

That's what I have:

 y   :::::::::::::
 y   :::::::::::::

yyyyy   :::::::::::::
yyyyy   :::::::::::::

That's what I want:

    y   :::::::::::::
    y   :::::::::::::

yyyyy   :::::::::::::
yyyyy   :::::::::::::
Any ideas anyone?
Thanks in advance,

palle

EDIT: Ok little update: Normally this would work with \flushright, but as the figures may be larger than \textwidth, this is not always applicable. Is there a way to let figures ignore the page margins?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

Post Reply