Centering inside sidewaysfigure with footnote
Clash Royale CLAN TAG#URR8PPP
up vote
3
down vote
favorite
I am using sidewaysfigure
environment to rotate my figures. However, they are not centered in the middle of the page. I can't use centering
since I want that my footnote is "left aligned".
Here is a short example:
documentclass[a4paper,12pt]scrartcl
usepackage[ngerman]babel
usepackageamsthm
usepackagemathtools
usepackagerotating
usepackagefloat
begindocument
beginsidewaysfigure
captionFill
includegraphics[width=0.9paperwidth]example-image-c
footnotesize
A long footnote
labelfig:fill
endsidewaysfigure
enddocument
The output of my "real example" with the code mentioned in the comments:
The caption should be aligned in the same height as the footnote.
graphics floats rotating
add a comment |Â
up vote
3
down vote
favorite
I am using sidewaysfigure
environment to rotate my figures. However, they are not centered in the middle of the page. I can't use centering
since I want that my footnote is "left aligned".
Here is a short example:
documentclass[a4paper,12pt]scrartcl
usepackage[ngerman]babel
usepackageamsthm
usepackagemathtools
usepackagerotating
usepackagefloat
begindocument
beginsidewaysfigure
captionFill
includegraphics[width=0.9paperwidth]example-image-c
footnotesize
A long footnote
labelfig:fill
endsidewaysfigure
enddocument
The output of my "real example" with the code mentioned in the comments:
The caption should be aligned in the same height as the footnote.
graphics floats rotating
add a comment |Â
up vote
3
down vote
favorite
up vote
3
down vote
favorite
I am using sidewaysfigure
environment to rotate my figures. However, they are not centered in the middle of the page. I can't use centering
since I want that my footnote is "left aligned".
Here is a short example:
documentclass[a4paper,12pt]scrartcl
usepackage[ngerman]babel
usepackageamsthm
usepackagemathtools
usepackagerotating
usepackagefloat
begindocument
beginsidewaysfigure
captionFill
includegraphics[width=0.9paperwidth]example-image-c
footnotesize
A long footnote
labelfig:fill
endsidewaysfigure
enddocument
The output of my "real example" with the code mentioned in the comments:
The caption should be aligned in the same height as the footnote.
graphics floats rotating
I am using sidewaysfigure
environment to rotate my figures. However, they are not centered in the middle of the page. I can't use centering
since I want that my footnote is "left aligned".
Here is a short example:
documentclass[a4paper,12pt]scrartcl
usepackage[ngerman]babel
usepackageamsthm
usepackagemathtools
usepackagerotating
usepackagefloat
begindocument
beginsidewaysfigure
captionFill
includegraphics[width=0.9paperwidth]example-image-c
footnotesize
A long footnote
labelfig:fill
endsidewaysfigure
enddocument
The output of my "real example" with the code mentioned in the comments:
The caption should be aligned in the same height as the footnote.
graphics floats rotating
edited Aug 18 at 14:27
CarLaTeX
25.5k442110
25.5k442110
asked Aug 18 at 9:20
Vala
895
895
add a comment |Â
add a comment |Â
2 Answers
2
active
oldest
votes
up vote
5
down vote
accepted
There are a number of ways to achieve centering, or to overcome centering
. Centering is achieved by setting leftskip
and rightskip
to hfil
(more of less). You can also center an image by adding hfil
to the left (and par
to the right), or hfill
before and after. One can overcome centering
using parboxlinewidth...
or makebox[linewidth][l]...
.
BTW, inserting hfil
between subfigures has a nice effect too.
You also might consider using afterpage and pdflscape instead of sidewaysfigure (It displays the page so that the image is right-side-up.)
documentclass[a4paper,12pt]scrartcl
usepackage[ngerman]babel
usepackageamsthm
usepackagemathtools
usepackagerotating
usepackagefloat
usepackage[format=plain, justification=RaggedRight, singlelinecheck=false]caption
usepackageshowframe
begindocument
beginsidewaysfigure
captionFilllabelfig:fill
hfilincludegraphics[width=0.8linewidth]example-image-c% center inamge only
footnotesize A long footnote
endsidewaysfigure
beginsidewaysfigure
centering
captionFilllabelfig:fill
includegraphics[width=0.8linewidth]example-image-c
parboxlinewidthfootnotesize A long footnote% justify footnote
endsidewaysfigure
enddocument
add a comment |Â
up vote
4
down vote
Measure the image and use a suitably sized tabular
:
documentclass[a4paper,12pt]scrartcl
usepackage[ngerman]babel
usepackageamsthm
usepackagemathtools
usepackagerotating
newsaveboximagebox
begindocument
beginsidewaysfigure
centering
captionFilllabelfig:fill
sboximageboxincludegraphics[width=0.9paperwidth]example-image-c
begintabular@pwdimagebox@
useboximagebox \
footnotesize A long footnote, long footnote, long footnote,
long footnote, long footnote, long footnote, long footnote,
long footnote, long footnote, long footnote, long footnote,
long footnote, long footnote
endtabular
endsidewaysfigure
enddocument
Note that the label
refers to caption
, so it's best placed near it.
A different realization with the caption left aligned with respect to the image:
documentclass[a4paper,12pt]scrartcl
usepackage[ngerman]babel
usepackageamsthm
usepackagemathtools
usepackagerotating
usepackageragged2e
usepackage[
format=plain,
justification=RaggedRight,
singlelinecheck=false
]caption
newsaveboximagebox
begindocument
beginsidewaysfigure
centering
sboximageboxincludegraphics[width=0.9paperwidth]example-image-c
beginminipagewdimagebox
captionFilllabelfig:fill
useboximagebox
footnotesize A long footnote, long footnote, long footnote,
long footnote, long footnote, long footnote, long footnote,
long footnote, long footnote, long footnote, long footnote,
long footnote, long footnote
endminipage
endsidewaysfigure
enddocument
Thanks. This works partially. The caption is now too "left aligned". I'll add the output of my real example. My caption options are:usepackage[format=plain, justification=RaggedRight, singlelinecheck=false]caption
â Vala
Aug 18 at 11:41
@Vala Added code for your setup.
â egreg
Aug 18 at 17:19
add a comment |Â
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
5
down vote
accepted
There are a number of ways to achieve centering, or to overcome centering
. Centering is achieved by setting leftskip
and rightskip
to hfil
(more of less). You can also center an image by adding hfil
to the left (and par
to the right), or hfill
before and after. One can overcome centering
using parboxlinewidth...
or makebox[linewidth][l]...
.
BTW, inserting hfil
between subfigures has a nice effect too.
You also might consider using afterpage and pdflscape instead of sidewaysfigure (It displays the page so that the image is right-side-up.)
documentclass[a4paper,12pt]scrartcl
usepackage[ngerman]babel
usepackageamsthm
usepackagemathtools
usepackagerotating
usepackagefloat
usepackage[format=plain, justification=RaggedRight, singlelinecheck=false]caption
usepackageshowframe
begindocument
beginsidewaysfigure
captionFilllabelfig:fill
hfilincludegraphics[width=0.8linewidth]example-image-c% center inamge only
footnotesize A long footnote
endsidewaysfigure
beginsidewaysfigure
centering
captionFilllabelfig:fill
includegraphics[width=0.8linewidth]example-image-c
parboxlinewidthfootnotesize A long footnote% justify footnote
endsidewaysfigure
enddocument
add a comment |Â
up vote
5
down vote
accepted
There are a number of ways to achieve centering, or to overcome centering
. Centering is achieved by setting leftskip
and rightskip
to hfil
(more of less). You can also center an image by adding hfil
to the left (and par
to the right), or hfill
before and after. One can overcome centering
using parboxlinewidth...
or makebox[linewidth][l]...
.
BTW, inserting hfil
between subfigures has a nice effect too.
You also might consider using afterpage and pdflscape instead of sidewaysfigure (It displays the page so that the image is right-side-up.)
documentclass[a4paper,12pt]scrartcl
usepackage[ngerman]babel
usepackageamsthm
usepackagemathtools
usepackagerotating
usepackagefloat
usepackage[format=plain, justification=RaggedRight, singlelinecheck=false]caption
usepackageshowframe
begindocument
beginsidewaysfigure
captionFilllabelfig:fill
hfilincludegraphics[width=0.8linewidth]example-image-c% center inamge only
footnotesize A long footnote
endsidewaysfigure
beginsidewaysfigure
centering
captionFilllabelfig:fill
includegraphics[width=0.8linewidth]example-image-c
parboxlinewidthfootnotesize A long footnote% justify footnote
endsidewaysfigure
enddocument
add a comment |Â
up vote
5
down vote
accepted
up vote
5
down vote
accepted
There are a number of ways to achieve centering, or to overcome centering
. Centering is achieved by setting leftskip
and rightskip
to hfil
(more of less). You can also center an image by adding hfil
to the left (and par
to the right), or hfill
before and after. One can overcome centering
using parboxlinewidth...
or makebox[linewidth][l]...
.
BTW, inserting hfil
between subfigures has a nice effect too.
You also might consider using afterpage and pdflscape instead of sidewaysfigure (It displays the page so that the image is right-side-up.)
documentclass[a4paper,12pt]scrartcl
usepackage[ngerman]babel
usepackageamsthm
usepackagemathtools
usepackagerotating
usepackagefloat
usepackage[format=plain, justification=RaggedRight, singlelinecheck=false]caption
usepackageshowframe
begindocument
beginsidewaysfigure
captionFilllabelfig:fill
hfilincludegraphics[width=0.8linewidth]example-image-c% center inamge only
footnotesize A long footnote
endsidewaysfigure
beginsidewaysfigure
centering
captionFilllabelfig:fill
includegraphics[width=0.8linewidth]example-image-c
parboxlinewidthfootnotesize A long footnote% justify footnote
endsidewaysfigure
enddocument
There are a number of ways to achieve centering, or to overcome centering
. Centering is achieved by setting leftskip
and rightskip
to hfil
(more of less). You can also center an image by adding hfil
to the left (and par
to the right), or hfill
before and after. One can overcome centering
using parboxlinewidth...
or makebox[linewidth][l]...
.
BTW, inserting hfil
between subfigures has a nice effect too.
You also might consider using afterpage and pdflscape instead of sidewaysfigure (It displays the page so that the image is right-side-up.)
documentclass[a4paper,12pt]scrartcl
usepackage[ngerman]babel
usepackageamsthm
usepackagemathtools
usepackagerotating
usepackagefloat
usepackage[format=plain, justification=RaggedRight, singlelinecheck=false]caption
usepackageshowframe
begindocument
beginsidewaysfigure
captionFilllabelfig:fill
hfilincludegraphics[width=0.8linewidth]example-image-c% center inamge only
footnotesize A long footnote
endsidewaysfigure
beginsidewaysfigure
centering
captionFilllabelfig:fill
includegraphics[width=0.8linewidth]example-image-c
parboxlinewidthfootnotesize A long footnote% justify footnote
endsidewaysfigure
enddocument
edited Aug 18 at 15:06
answered Aug 18 at 14:53
John Kormylo
40.5k12363
40.5k12363
add a comment |Â
add a comment |Â
up vote
4
down vote
Measure the image and use a suitably sized tabular
:
documentclass[a4paper,12pt]scrartcl
usepackage[ngerman]babel
usepackageamsthm
usepackagemathtools
usepackagerotating
newsaveboximagebox
begindocument
beginsidewaysfigure
centering
captionFilllabelfig:fill
sboximageboxincludegraphics[width=0.9paperwidth]example-image-c
begintabular@pwdimagebox@
useboximagebox \
footnotesize A long footnote, long footnote, long footnote,
long footnote, long footnote, long footnote, long footnote,
long footnote, long footnote, long footnote, long footnote,
long footnote, long footnote
endtabular
endsidewaysfigure
enddocument
Note that the label
refers to caption
, so it's best placed near it.
A different realization with the caption left aligned with respect to the image:
documentclass[a4paper,12pt]scrartcl
usepackage[ngerman]babel
usepackageamsthm
usepackagemathtools
usepackagerotating
usepackageragged2e
usepackage[
format=plain,
justification=RaggedRight,
singlelinecheck=false
]caption
newsaveboximagebox
begindocument
beginsidewaysfigure
centering
sboximageboxincludegraphics[width=0.9paperwidth]example-image-c
beginminipagewdimagebox
captionFilllabelfig:fill
useboximagebox
footnotesize A long footnote, long footnote, long footnote,
long footnote, long footnote, long footnote, long footnote,
long footnote, long footnote, long footnote, long footnote,
long footnote, long footnote
endminipage
endsidewaysfigure
enddocument
Thanks. This works partially. The caption is now too "left aligned". I'll add the output of my real example. My caption options are:usepackage[format=plain, justification=RaggedRight, singlelinecheck=false]caption
â Vala
Aug 18 at 11:41
@Vala Added code for your setup.
â egreg
Aug 18 at 17:19
add a comment |Â
up vote
4
down vote
Measure the image and use a suitably sized tabular
:
documentclass[a4paper,12pt]scrartcl
usepackage[ngerman]babel
usepackageamsthm
usepackagemathtools
usepackagerotating
newsaveboximagebox
begindocument
beginsidewaysfigure
centering
captionFilllabelfig:fill
sboximageboxincludegraphics[width=0.9paperwidth]example-image-c
begintabular@pwdimagebox@
useboximagebox \
footnotesize A long footnote, long footnote, long footnote,
long footnote, long footnote, long footnote, long footnote,
long footnote, long footnote, long footnote, long footnote,
long footnote, long footnote
endtabular
endsidewaysfigure
enddocument
Note that the label
refers to caption
, so it's best placed near it.
A different realization with the caption left aligned with respect to the image:
documentclass[a4paper,12pt]scrartcl
usepackage[ngerman]babel
usepackageamsthm
usepackagemathtools
usepackagerotating
usepackageragged2e
usepackage[
format=plain,
justification=RaggedRight,
singlelinecheck=false
]caption
newsaveboximagebox
begindocument
beginsidewaysfigure
centering
sboximageboxincludegraphics[width=0.9paperwidth]example-image-c
beginminipagewdimagebox
captionFilllabelfig:fill
useboximagebox
footnotesize A long footnote, long footnote, long footnote,
long footnote, long footnote, long footnote, long footnote,
long footnote, long footnote, long footnote, long footnote,
long footnote, long footnote
endminipage
endsidewaysfigure
enddocument
Thanks. This works partially. The caption is now too "left aligned". I'll add the output of my real example. My caption options are:usepackage[format=plain, justification=RaggedRight, singlelinecheck=false]caption
â Vala
Aug 18 at 11:41
@Vala Added code for your setup.
â egreg
Aug 18 at 17:19
add a comment |Â
up vote
4
down vote
up vote
4
down vote
Measure the image and use a suitably sized tabular
:
documentclass[a4paper,12pt]scrartcl
usepackage[ngerman]babel
usepackageamsthm
usepackagemathtools
usepackagerotating
newsaveboximagebox
begindocument
beginsidewaysfigure
centering
captionFilllabelfig:fill
sboximageboxincludegraphics[width=0.9paperwidth]example-image-c
begintabular@pwdimagebox@
useboximagebox \
footnotesize A long footnote, long footnote, long footnote,
long footnote, long footnote, long footnote, long footnote,
long footnote, long footnote, long footnote, long footnote,
long footnote, long footnote
endtabular
endsidewaysfigure
enddocument
Note that the label
refers to caption
, so it's best placed near it.
A different realization with the caption left aligned with respect to the image:
documentclass[a4paper,12pt]scrartcl
usepackage[ngerman]babel
usepackageamsthm
usepackagemathtools
usepackagerotating
usepackageragged2e
usepackage[
format=plain,
justification=RaggedRight,
singlelinecheck=false
]caption
newsaveboximagebox
begindocument
beginsidewaysfigure
centering
sboximageboxincludegraphics[width=0.9paperwidth]example-image-c
beginminipagewdimagebox
captionFilllabelfig:fill
useboximagebox
footnotesize A long footnote, long footnote, long footnote,
long footnote, long footnote, long footnote, long footnote,
long footnote, long footnote, long footnote, long footnote,
long footnote, long footnote
endminipage
endsidewaysfigure
enddocument
Measure the image and use a suitably sized tabular
:
documentclass[a4paper,12pt]scrartcl
usepackage[ngerman]babel
usepackageamsthm
usepackagemathtools
usepackagerotating
newsaveboximagebox
begindocument
beginsidewaysfigure
centering
captionFilllabelfig:fill
sboximageboxincludegraphics[width=0.9paperwidth]example-image-c
begintabular@pwdimagebox@
useboximagebox \
footnotesize A long footnote, long footnote, long footnote,
long footnote, long footnote, long footnote, long footnote,
long footnote, long footnote, long footnote, long footnote,
long footnote, long footnote
endtabular
endsidewaysfigure
enddocument
Note that the label
refers to caption
, so it's best placed near it.
A different realization with the caption left aligned with respect to the image:
documentclass[a4paper,12pt]scrartcl
usepackage[ngerman]babel
usepackageamsthm
usepackagemathtools
usepackagerotating
usepackageragged2e
usepackage[
format=plain,
justification=RaggedRight,
singlelinecheck=false
]caption
newsaveboximagebox
begindocument
beginsidewaysfigure
centering
sboximageboxincludegraphics[width=0.9paperwidth]example-image-c
beginminipagewdimagebox
captionFilllabelfig:fill
useboximagebox
footnotesize A long footnote, long footnote, long footnote,
long footnote, long footnote, long footnote, long footnote,
long footnote, long footnote, long footnote, long footnote,
long footnote, long footnote
endminipage
endsidewaysfigure
enddocument
edited Aug 18 at 17:16
answered Aug 18 at 10:27
egreg
680k8318073051
680k8318073051
Thanks. This works partially. The caption is now too "left aligned". I'll add the output of my real example. My caption options are:usepackage[format=plain, justification=RaggedRight, singlelinecheck=false]caption
â Vala
Aug 18 at 11:41
@Vala Added code for your setup.
â egreg
Aug 18 at 17:19
add a comment |Â
Thanks. This works partially. The caption is now too "left aligned". I'll add the output of my real example. My caption options are:usepackage[format=plain, justification=RaggedRight, singlelinecheck=false]caption
â Vala
Aug 18 at 11:41
@Vala Added code for your setup.
â egreg
Aug 18 at 17:19
Thanks. This works partially. The caption is now too "left aligned". I'll add the output of my real example. My caption options are:usepackage[format=plain, justification=RaggedRight, singlelinecheck=false]caption
â Vala
Aug 18 at 11:41
Thanks. This works partially. The caption is now too "left aligned". I'll add the output of my real example. My caption options are:usepackage[format=plain, justification=RaggedRight, singlelinecheck=false]caption
â Vala
Aug 18 at 11:41
@Vala Added code for your setup.
â egreg
Aug 18 at 17:19
@Vala Added code for your setup.
â egreg
Aug 18 at 17:19
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f446534%2fcentering-inside-sidewaysfigure-with-footnote%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password