Subfloat Caption left aligned
I would like to create a figure with a left-aligned subfloat caption as the following:
documentclass{llncs}
usepackage{todonotes}
usepackage{floatflt}
usepackage{graphicx}
usepackage{subfig}
begin{document}
begin{figure}[t!]
centering
subfloat[Resource Owner Password hspace{textwidth}Credential Grant]{
missingfigure[figwidth=0.5textwidth]{Testing a long text string}
label{fig:pwd_grant}
}
subfloat[Client Credential Grant]{
missingfigure[figwidth=0.5textwidth]{Testing a long text string}
label{fig:client_grant}
}
caption{grants}
label{fig:auth_impl_grant}
end{figure}
end{document}
(if you compile now the example you will see the actual problem with the caption and why I would wish to have it left aligned)
using the subfig package with documenttype lncs
currently the caption is in block mode - means tex spreads it over the complete available distance. This looks pretty crappy to me...
Thank you very much in advance.
@Peiffap
Thanks to your suggestion I was able to create an example that worked for me with left aligned caption, but also in height aligned caption, it looks as follows:
documentclass{llncs}
usepackage{todonotes}
usepackage{floatflt}
usepackage{graphicx}
usepackage{subcaption}
captionsetup{compatibility=false}
begin{document}
begin{figure}[t!]
makebox[linewidth][c]{
subcaptionbox{Resource Owner Password\ Credential Grant}[.47linewidth]{
missingfigure[figwidth=textwidth]{Testing a text string}
label{fig:auth_grant}
}
hspace*{2cm}
subcaptionbox{Client Credential Grant}[.47linewidth]{
centering
missingfigure[figwidth=textwidth]{Testing a text string}
label{fig:impl_grant}
}
}
caption{Caption}
label{fig:auth_impl_grant}
end{figure}
end{document}
for some odd reason, when I put this into overleaf with the missing figure placeholder it looks odd, still locally it works totally fine.
floats lncs subfig
add a comment |
I would like to create a figure with a left-aligned subfloat caption as the following:
documentclass{llncs}
usepackage{todonotes}
usepackage{floatflt}
usepackage{graphicx}
usepackage{subfig}
begin{document}
begin{figure}[t!]
centering
subfloat[Resource Owner Password hspace{textwidth}Credential Grant]{
missingfigure[figwidth=0.5textwidth]{Testing a long text string}
label{fig:pwd_grant}
}
subfloat[Client Credential Grant]{
missingfigure[figwidth=0.5textwidth]{Testing a long text string}
label{fig:client_grant}
}
caption{grants}
label{fig:auth_impl_grant}
end{figure}
end{document}
(if you compile now the example you will see the actual problem with the caption and why I would wish to have it left aligned)
using the subfig package with documenttype lncs
currently the caption is in block mode - means tex spreads it over the complete available distance. This looks pretty crappy to me...
Thank you very much in advance.
@Peiffap
Thanks to your suggestion I was able to create an example that worked for me with left aligned caption, but also in height aligned caption, it looks as follows:
documentclass{llncs}
usepackage{todonotes}
usepackage{floatflt}
usepackage{graphicx}
usepackage{subcaption}
captionsetup{compatibility=false}
begin{document}
begin{figure}[t!]
makebox[linewidth][c]{
subcaptionbox{Resource Owner Password\ Credential Grant}[.47linewidth]{
missingfigure[figwidth=textwidth]{Testing a text string}
label{fig:auth_grant}
}
hspace*{2cm}
subcaptionbox{Client Credential Grant}[.47linewidth]{
centering
missingfigure[figwidth=textwidth]{Testing a text string}
label{fig:impl_grant}
}
}
caption{Caption}
label{fig:auth_impl_grant}
end{figure}
end{document}
for some odd reason, when I put this into overleaf with the missing figure placeholder it looks odd, still locally it works totally fine.
floats lncs subfig
I hope the code snippet is now completly functional
– Silence and I
Mar 18 at 12:44
Whyhspace{textwidth}
?
– JouleV
Mar 18 at 12:52
To create a linebreak in a caption, I would like to split the caption over two lines that it doesn't collide with the caption of figure (b)
– Silence and I
Mar 18 at 12:53
That will definitely cause a warning. You have a much simpler command: \
– JouleV
Mar 18 at 12:57
this doesn't compile on my machine, I mean of course I know \ but I already googled this workaround to be able to produce a linebreak in a caption
– Silence and I
Mar 18 at 13:03
add a comment |
I would like to create a figure with a left-aligned subfloat caption as the following:
documentclass{llncs}
usepackage{todonotes}
usepackage{floatflt}
usepackage{graphicx}
usepackage{subfig}
begin{document}
begin{figure}[t!]
centering
subfloat[Resource Owner Password hspace{textwidth}Credential Grant]{
missingfigure[figwidth=0.5textwidth]{Testing a long text string}
label{fig:pwd_grant}
}
subfloat[Client Credential Grant]{
missingfigure[figwidth=0.5textwidth]{Testing a long text string}
label{fig:client_grant}
}
caption{grants}
label{fig:auth_impl_grant}
end{figure}
end{document}
(if you compile now the example you will see the actual problem with the caption and why I would wish to have it left aligned)
using the subfig package with documenttype lncs
currently the caption is in block mode - means tex spreads it over the complete available distance. This looks pretty crappy to me...
Thank you very much in advance.
@Peiffap
Thanks to your suggestion I was able to create an example that worked for me with left aligned caption, but also in height aligned caption, it looks as follows:
documentclass{llncs}
usepackage{todonotes}
usepackage{floatflt}
usepackage{graphicx}
usepackage{subcaption}
captionsetup{compatibility=false}
begin{document}
begin{figure}[t!]
makebox[linewidth][c]{
subcaptionbox{Resource Owner Password\ Credential Grant}[.47linewidth]{
missingfigure[figwidth=textwidth]{Testing a text string}
label{fig:auth_grant}
}
hspace*{2cm}
subcaptionbox{Client Credential Grant}[.47linewidth]{
centering
missingfigure[figwidth=textwidth]{Testing a text string}
label{fig:impl_grant}
}
}
caption{Caption}
label{fig:auth_impl_grant}
end{figure}
end{document}
for some odd reason, when I put this into overleaf with the missing figure placeholder it looks odd, still locally it works totally fine.
floats lncs subfig
I would like to create a figure with a left-aligned subfloat caption as the following:
documentclass{llncs}
usepackage{todonotes}
usepackage{floatflt}
usepackage{graphicx}
usepackage{subfig}
begin{document}
begin{figure}[t!]
centering
subfloat[Resource Owner Password hspace{textwidth}Credential Grant]{
missingfigure[figwidth=0.5textwidth]{Testing a long text string}
label{fig:pwd_grant}
}
subfloat[Client Credential Grant]{
missingfigure[figwidth=0.5textwidth]{Testing a long text string}
label{fig:client_grant}
}
caption{grants}
label{fig:auth_impl_grant}
end{figure}
end{document}
(if you compile now the example you will see the actual problem with the caption and why I would wish to have it left aligned)
using the subfig package with documenttype lncs
currently the caption is in block mode - means tex spreads it over the complete available distance. This looks pretty crappy to me...
Thank you very much in advance.
@Peiffap
Thanks to your suggestion I was able to create an example that worked for me with left aligned caption, but also in height aligned caption, it looks as follows:
documentclass{llncs}
usepackage{todonotes}
usepackage{floatflt}
usepackage{graphicx}
usepackage{subcaption}
captionsetup{compatibility=false}
begin{document}
begin{figure}[t!]
makebox[linewidth][c]{
subcaptionbox{Resource Owner Password\ Credential Grant}[.47linewidth]{
missingfigure[figwidth=textwidth]{Testing a text string}
label{fig:auth_grant}
}
hspace*{2cm}
subcaptionbox{Client Credential Grant}[.47linewidth]{
centering
missingfigure[figwidth=textwidth]{Testing a text string}
label{fig:impl_grant}
}
}
caption{Caption}
label{fig:auth_impl_grant}
end{figure}
end{document}
for some odd reason, when I put this into overleaf with the missing figure placeholder it looks odd, still locally it works totally fine.
floats lncs subfig
floats lncs subfig
edited Mar 19 at 10:35
Silence and I
asked Mar 18 at 10:47
Silence and ISilence and I
84
84
I hope the code snippet is now completly functional
– Silence and I
Mar 18 at 12:44
Whyhspace{textwidth}
?
– JouleV
Mar 18 at 12:52
To create a linebreak in a caption, I would like to split the caption over two lines that it doesn't collide with the caption of figure (b)
– Silence and I
Mar 18 at 12:53
That will definitely cause a warning. You have a much simpler command: \
– JouleV
Mar 18 at 12:57
this doesn't compile on my machine, I mean of course I know \ but I already googled this workaround to be able to produce a linebreak in a caption
– Silence and I
Mar 18 at 13:03
add a comment |
I hope the code snippet is now completly functional
– Silence and I
Mar 18 at 12:44
Whyhspace{textwidth}
?
– JouleV
Mar 18 at 12:52
To create a linebreak in a caption, I would like to split the caption over two lines that it doesn't collide with the caption of figure (b)
– Silence and I
Mar 18 at 12:53
That will definitely cause a warning. You have a much simpler command: \
– JouleV
Mar 18 at 12:57
this doesn't compile on my machine, I mean of course I know \ but I already googled this workaround to be able to produce a linebreak in a caption
– Silence and I
Mar 18 at 13:03
I hope the code snippet is now completly functional
– Silence and I
Mar 18 at 12:44
I hope the code snippet is now completly functional
– Silence and I
Mar 18 at 12:44
Why
hspace{textwidth}
?– JouleV
Mar 18 at 12:52
Why
hspace{textwidth}
?– JouleV
Mar 18 at 12:52
To create a linebreak in a caption, I would like to split the caption over two lines that it doesn't collide with the caption of figure (b)
– Silence and I
Mar 18 at 12:53
To create a linebreak in a caption, I would like to split the caption over two lines that it doesn't collide with the caption of figure (b)
– Silence and I
Mar 18 at 12:53
That will definitely cause a warning. You have a much simpler command: \
– JouleV
Mar 18 at 12:57
That will definitely cause a warning. You have a much simpler command: \
– JouleV
Mar 18 at 12:57
this doesn't compile on my machine, I mean of course I know \ but I already googled this workaround to be able to produce a linebreak in a caption
– Silence and I
Mar 18 at 13:03
this doesn't compile on my machine, I mean of course I know \ but I already googled this workaround to be able to produce a linebreak in a caption
– Silence and I
Mar 18 at 13:03
add a comment |
1 Answer
1
active
oldest
votes
Using the subcaption
package, I could make the following.
This is the code I used to generate that (admittedly, I didn't have the llncs
package installed, so I changed that out for article
).
documentclass{article}
usepackage{todonotes}
usepackage{floatflt}
usepackage{graphicx}
usepackage{subcaption}
begin{document}
begin{figure}[t!]
centering
begin{subfigure}[t]{0.47textwidth}
centering
missingfigure[figwidth=textwidth]{Testing a long text string}
caption{Resource Owner Password \ Credential Grant}
label{fig:pwd_grant}
end{subfigure}hfill
begin{subfigure}[t]{0.47textwidth}
centering
missingfigure[figwidth=textwidth]{Testing a long text string}
caption{Client Credential Grant}
label{fig:client_grant}
end{subfigure}
caption{grants}
label{fig:auth_impl_grant}
end{figure}
end{document}
Do note however that subcaption
and subfig
are not compatible! For what it's worth though, subfig
was getting pretty obsolete last time I checked, while subcaption
fixes some of its flaws (compatibility with hyperref
being a big one).
Edit
After some more work, OP went with the following code.
documentclass{llncs}
usepackage{todonotes}
usepackage{floatflt}
usepackage{graphicx}
usepackage{subcaption}
captionsetup{compatibility=false}
begin{document}
begin{figure}[t!]
makebox[linewidth][c]{
subcaptionbox{Resource Owner Password\ Credential Grant}[.47linewidth]{
missingfigure[figwidth=textwidth]{Testing a text string}
label{fig:auth_grant}
}
hspace*{2cm}
subcaptionbox{Client Credential Grant}[.47linewidth]{
centering
missingfigure[figwidth=textwidth]{Testing a text string}
label{fig:impl_grant}
}
}
caption{Caption}
label{fig:auth_impl_grant}
end{figure}
end{document}
I am using subfig because springers llncs and subcaption are not compatible
– Silence and I
Mar 19 at 10:01
@SilenceandI. Have you tried usingcaptionsetup{compatibility=false}
?
– Peiffap
Mar 19 at 10:03
not yet, didn't know this exists
– Silence and I
Mar 19 at 10:03
@SilenceandI. Tell me if it works, I will update my answer in case it does.
– Peiffap
Mar 19 at 10:07
thank you very much - I added to my question the changes I made to your suggestion to get a properly formated version of it :) - feel free to update your answer
– Silence and I
Mar 19 at 10:36
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
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
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f480060%2fsubfloat-caption-left-aligned%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Using the subcaption
package, I could make the following.
This is the code I used to generate that (admittedly, I didn't have the llncs
package installed, so I changed that out for article
).
documentclass{article}
usepackage{todonotes}
usepackage{floatflt}
usepackage{graphicx}
usepackage{subcaption}
begin{document}
begin{figure}[t!]
centering
begin{subfigure}[t]{0.47textwidth}
centering
missingfigure[figwidth=textwidth]{Testing a long text string}
caption{Resource Owner Password \ Credential Grant}
label{fig:pwd_grant}
end{subfigure}hfill
begin{subfigure}[t]{0.47textwidth}
centering
missingfigure[figwidth=textwidth]{Testing a long text string}
caption{Client Credential Grant}
label{fig:client_grant}
end{subfigure}
caption{grants}
label{fig:auth_impl_grant}
end{figure}
end{document}
Do note however that subcaption
and subfig
are not compatible! For what it's worth though, subfig
was getting pretty obsolete last time I checked, while subcaption
fixes some of its flaws (compatibility with hyperref
being a big one).
Edit
After some more work, OP went with the following code.
documentclass{llncs}
usepackage{todonotes}
usepackage{floatflt}
usepackage{graphicx}
usepackage{subcaption}
captionsetup{compatibility=false}
begin{document}
begin{figure}[t!]
makebox[linewidth][c]{
subcaptionbox{Resource Owner Password\ Credential Grant}[.47linewidth]{
missingfigure[figwidth=textwidth]{Testing a text string}
label{fig:auth_grant}
}
hspace*{2cm}
subcaptionbox{Client Credential Grant}[.47linewidth]{
centering
missingfigure[figwidth=textwidth]{Testing a text string}
label{fig:impl_grant}
}
}
caption{Caption}
label{fig:auth_impl_grant}
end{figure}
end{document}
I am using subfig because springers llncs and subcaption are not compatible
– Silence and I
Mar 19 at 10:01
@SilenceandI. Have you tried usingcaptionsetup{compatibility=false}
?
– Peiffap
Mar 19 at 10:03
not yet, didn't know this exists
– Silence and I
Mar 19 at 10:03
@SilenceandI. Tell me if it works, I will update my answer in case it does.
– Peiffap
Mar 19 at 10:07
thank you very much - I added to my question the changes I made to your suggestion to get a properly formated version of it :) - feel free to update your answer
– Silence and I
Mar 19 at 10:36
add a comment |
Using the subcaption
package, I could make the following.
This is the code I used to generate that (admittedly, I didn't have the llncs
package installed, so I changed that out for article
).
documentclass{article}
usepackage{todonotes}
usepackage{floatflt}
usepackage{graphicx}
usepackage{subcaption}
begin{document}
begin{figure}[t!]
centering
begin{subfigure}[t]{0.47textwidth}
centering
missingfigure[figwidth=textwidth]{Testing a long text string}
caption{Resource Owner Password \ Credential Grant}
label{fig:pwd_grant}
end{subfigure}hfill
begin{subfigure}[t]{0.47textwidth}
centering
missingfigure[figwidth=textwidth]{Testing a long text string}
caption{Client Credential Grant}
label{fig:client_grant}
end{subfigure}
caption{grants}
label{fig:auth_impl_grant}
end{figure}
end{document}
Do note however that subcaption
and subfig
are not compatible! For what it's worth though, subfig
was getting pretty obsolete last time I checked, while subcaption
fixes some of its flaws (compatibility with hyperref
being a big one).
Edit
After some more work, OP went with the following code.
documentclass{llncs}
usepackage{todonotes}
usepackage{floatflt}
usepackage{graphicx}
usepackage{subcaption}
captionsetup{compatibility=false}
begin{document}
begin{figure}[t!]
makebox[linewidth][c]{
subcaptionbox{Resource Owner Password\ Credential Grant}[.47linewidth]{
missingfigure[figwidth=textwidth]{Testing a text string}
label{fig:auth_grant}
}
hspace*{2cm}
subcaptionbox{Client Credential Grant}[.47linewidth]{
centering
missingfigure[figwidth=textwidth]{Testing a text string}
label{fig:impl_grant}
}
}
caption{Caption}
label{fig:auth_impl_grant}
end{figure}
end{document}
I am using subfig because springers llncs and subcaption are not compatible
– Silence and I
Mar 19 at 10:01
@SilenceandI. Have you tried usingcaptionsetup{compatibility=false}
?
– Peiffap
Mar 19 at 10:03
not yet, didn't know this exists
– Silence and I
Mar 19 at 10:03
@SilenceandI. Tell me if it works, I will update my answer in case it does.
– Peiffap
Mar 19 at 10:07
thank you very much - I added to my question the changes I made to your suggestion to get a properly formated version of it :) - feel free to update your answer
– Silence and I
Mar 19 at 10:36
add a comment |
Using the subcaption
package, I could make the following.
This is the code I used to generate that (admittedly, I didn't have the llncs
package installed, so I changed that out for article
).
documentclass{article}
usepackage{todonotes}
usepackage{floatflt}
usepackage{graphicx}
usepackage{subcaption}
begin{document}
begin{figure}[t!]
centering
begin{subfigure}[t]{0.47textwidth}
centering
missingfigure[figwidth=textwidth]{Testing a long text string}
caption{Resource Owner Password \ Credential Grant}
label{fig:pwd_grant}
end{subfigure}hfill
begin{subfigure}[t]{0.47textwidth}
centering
missingfigure[figwidth=textwidth]{Testing a long text string}
caption{Client Credential Grant}
label{fig:client_grant}
end{subfigure}
caption{grants}
label{fig:auth_impl_grant}
end{figure}
end{document}
Do note however that subcaption
and subfig
are not compatible! For what it's worth though, subfig
was getting pretty obsolete last time I checked, while subcaption
fixes some of its flaws (compatibility with hyperref
being a big one).
Edit
After some more work, OP went with the following code.
documentclass{llncs}
usepackage{todonotes}
usepackage{floatflt}
usepackage{graphicx}
usepackage{subcaption}
captionsetup{compatibility=false}
begin{document}
begin{figure}[t!]
makebox[linewidth][c]{
subcaptionbox{Resource Owner Password\ Credential Grant}[.47linewidth]{
missingfigure[figwidth=textwidth]{Testing a text string}
label{fig:auth_grant}
}
hspace*{2cm}
subcaptionbox{Client Credential Grant}[.47linewidth]{
centering
missingfigure[figwidth=textwidth]{Testing a text string}
label{fig:impl_grant}
}
}
caption{Caption}
label{fig:auth_impl_grant}
end{figure}
end{document}
Using the subcaption
package, I could make the following.
This is the code I used to generate that (admittedly, I didn't have the llncs
package installed, so I changed that out for article
).
documentclass{article}
usepackage{todonotes}
usepackage{floatflt}
usepackage{graphicx}
usepackage{subcaption}
begin{document}
begin{figure}[t!]
centering
begin{subfigure}[t]{0.47textwidth}
centering
missingfigure[figwidth=textwidth]{Testing a long text string}
caption{Resource Owner Password \ Credential Grant}
label{fig:pwd_grant}
end{subfigure}hfill
begin{subfigure}[t]{0.47textwidth}
centering
missingfigure[figwidth=textwidth]{Testing a long text string}
caption{Client Credential Grant}
label{fig:client_grant}
end{subfigure}
caption{grants}
label{fig:auth_impl_grant}
end{figure}
end{document}
Do note however that subcaption
and subfig
are not compatible! For what it's worth though, subfig
was getting pretty obsolete last time I checked, while subcaption
fixes some of its flaws (compatibility with hyperref
being a big one).
Edit
After some more work, OP went with the following code.
documentclass{llncs}
usepackage{todonotes}
usepackage{floatflt}
usepackage{graphicx}
usepackage{subcaption}
captionsetup{compatibility=false}
begin{document}
begin{figure}[t!]
makebox[linewidth][c]{
subcaptionbox{Resource Owner Password\ Credential Grant}[.47linewidth]{
missingfigure[figwidth=textwidth]{Testing a text string}
label{fig:auth_grant}
}
hspace*{2cm}
subcaptionbox{Client Credential Grant}[.47linewidth]{
centering
missingfigure[figwidth=textwidth]{Testing a text string}
label{fig:impl_grant}
}
}
caption{Caption}
label{fig:auth_impl_grant}
end{figure}
end{document}
edited Mar 19 at 10:39
answered Mar 19 at 7:59
PeiffapPeiffap
1239
1239
I am using subfig because springers llncs and subcaption are not compatible
– Silence and I
Mar 19 at 10:01
@SilenceandI. Have you tried usingcaptionsetup{compatibility=false}
?
– Peiffap
Mar 19 at 10:03
not yet, didn't know this exists
– Silence and I
Mar 19 at 10:03
@SilenceandI. Tell me if it works, I will update my answer in case it does.
– Peiffap
Mar 19 at 10:07
thank you very much - I added to my question the changes I made to your suggestion to get a properly formated version of it :) - feel free to update your answer
– Silence and I
Mar 19 at 10:36
add a comment |
I am using subfig because springers llncs and subcaption are not compatible
– Silence and I
Mar 19 at 10:01
@SilenceandI. Have you tried usingcaptionsetup{compatibility=false}
?
– Peiffap
Mar 19 at 10:03
not yet, didn't know this exists
– Silence and I
Mar 19 at 10:03
@SilenceandI. Tell me if it works, I will update my answer in case it does.
– Peiffap
Mar 19 at 10:07
thank you very much - I added to my question the changes I made to your suggestion to get a properly formated version of it :) - feel free to update your answer
– Silence and I
Mar 19 at 10:36
I am using subfig because springers llncs and subcaption are not compatible
– Silence and I
Mar 19 at 10:01
I am using subfig because springers llncs and subcaption are not compatible
– Silence and I
Mar 19 at 10:01
@SilenceandI. Have you tried using
captionsetup{compatibility=false}
?– Peiffap
Mar 19 at 10:03
@SilenceandI. Have you tried using
captionsetup{compatibility=false}
?– Peiffap
Mar 19 at 10:03
not yet, didn't know this exists
– Silence and I
Mar 19 at 10:03
not yet, didn't know this exists
– Silence and I
Mar 19 at 10:03
@SilenceandI. Tell me if it works, I will update my answer in case it does.
– Peiffap
Mar 19 at 10:07
@SilenceandI. Tell me if it works, I will update my answer in case it does.
– Peiffap
Mar 19 at 10:07
thank you very much - I added to my question the changes I made to your suggestion to get a properly formated version of it :) - feel free to update your answer
– Silence and I
Mar 19 at 10:36
thank you very much - I added to my question the changes I made to your suggestion to get a properly formated version of it :) - feel free to update your answer
– Silence and I
Mar 19 at 10:36
add a comment |
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
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
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f480060%2fsubfloat-caption-left-aligned%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
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
Required, but never shown
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
Required, but never shown
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
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
I hope the code snippet is now completly functional
– Silence and I
Mar 18 at 12:44
Why
hspace{textwidth}
?– JouleV
Mar 18 at 12:52
To create a linebreak in a caption, I would like to split the caption over two lines that it doesn't collide with the caption of figure (b)
– Silence and I
Mar 18 at 12:53
That will definitely cause a warning. You have a much simpler command: \
– JouleV
Mar 18 at 12:57
this doesn't compile on my machine, I mean of course I know \ but I already googled this workaround to be able to produce a linebreak in a caption
– Silence and I
Mar 18 at 13:03