Formatting subfigures with images and text
I was wondering if there was a way for format a subfigure like so:
Thanks!
I originally tried this:
documentclass[acmsmall]{acmart}
begin{figure*}[!ht]
begin{subfigure}[b]{0.25textwidth}
centering
includegraphics[width=textwidth]{hidden.jpg}
caption[Network2]%
{{small 75% or more of the face is hidden.}}
label{fig:mean and std of net14}
end{subfigure}
begin{subfigure}[t]{.5linewidth}
centering
begin{tabular}{c}
% Don't indent the lstlisting environment!
begin{lstlisting}
[
'foo',
'bar',
'baz',
]
end{lstlisting}
end{tabular}
caption{Simply words}
end{subfigure}%
begin{subfigure}[t]{.5linewidth}
centering
begin{tabular}{c}
begin{lstlisting}
[
3,
2,
1,
]
end{lstlisting}
end{tabular}
caption{And numbers here}
end{subfigure}
caption[Examples of images that would be eliminated from our dataset.]{Examples of images that would be eliminated from our dataset.footnotemark[3]
}
label{fig:unacceptable image criteria}
vspace{-3mm}
end{figure*}
FloatBarrier
subfloats
New contributor
add a comment |
I was wondering if there was a way for format a subfigure like so:
Thanks!
I originally tried this:
documentclass[acmsmall]{acmart}
begin{figure*}[!ht]
begin{subfigure}[b]{0.25textwidth}
centering
includegraphics[width=textwidth]{hidden.jpg}
caption[Network2]%
{{small 75% or more of the face is hidden.}}
label{fig:mean and std of net14}
end{subfigure}
begin{subfigure}[t]{.5linewidth}
centering
begin{tabular}{c}
% Don't indent the lstlisting environment!
begin{lstlisting}
[
'foo',
'bar',
'baz',
]
end{lstlisting}
end{tabular}
caption{Simply words}
end{subfigure}%
begin{subfigure}[t]{.5linewidth}
centering
begin{tabular}{c}
begin{lstlisting}
[
3,
2,
1,
]
end{lstlisting}
end{tabular}
caption{And numbers here}
end{subfigure}
caption[Examples of images that would be eliminated from our dataset.]{Examples of images that would be eliminated from our dataset.footnotemark[3]
}
label{fig:unacceptable image criteria}
vspace{-3mm}
end{figure*}
FloatBarrier
subfloats
New contributor
Welcome to TeX.SE! Can you add a short compilable tex code showing what you have tried so far?
– Kurt
2 hours ago
Yes, I uploaded my failed attempt!
– cranbarrier
2 hours ago
Sorry, but the packages you are using are missing in your code. And the closingend{document}
is missing.
– Kurt
1 hour ago
add a comment |
I was wondering if there was a way for format a subfigure like so:
Thanks!
I originally tried this:
documentclass[acmsmall]{acmart}
begin{figure*}[!ht]
begin{subfigure}[b]{0.25textwidth}
centering
includegraphics[width=textwidth]{hidden.jpg}
caption[Network2]%
{{small 75% or more of the face is hidden.}}
label{fig:mean and std of net14}
end{subfigure}
begin{subfigure}[t]{.5linewidth}
centering
begin{tabular}{c}
% Don't indent the lstlisting environment!
begin{lstlisting}
[
'foo',
'bar',
'baz',
]
end{lstlisting}
end{tabular}
caption{Simply words}
end{subfigure}%
begin{subfigure}[t]{.5linewidth}
centering
begin{tabular}{c}
begin{lstlisting}
[
3,
2,
1,
]
end{lstlisting}
end{tabular}
caption{And numbers here}
end{subfigure}
caption[Examples of images that would be eliminated from our dataset.]{Examples of images that would be eliminated from our dataset.footnotemark[3]
}
label{fig:unacceptable image criteria}
vspace{-3mm}
end{figure*}
FloatBarrier
subfloats
New contributor
I was wondering if there was a way for format a subfigure like so:
Thanks!
I originally tried this:
documentclass[acmsmall]{acmart}
begin{figure*}[!ht]
begin{subfigure}[b]{0.25textwidth}
centering
includegraphics[width=textwidth]{hidden.jpg}
caption[Network2]%
{{small 75% or more of the face is hidden.}}
label{fig:mean and std of net14}
end{subfigure}
begin{subfigure}[t]{.5linewidth}
centering
begin{tabular}{c}
% Don't indent the lstlisting environment!
begin{lstlisting}
[
'foo',
'bar',
'baz',
]
end{lstlisting}
end{tabular}
caption{Simply words}
end{subfigure}%
begin{subfigure}[t]{.5linewidth}
centering
begin{tabular}{c}
begin{lstlisting}
[
3,
2,
1,
]
end{lstlisting}
end{tabular}
caption{And numbers here}
end{subfigure}
caption[Examples of images that would be eliminated from our dataset.]{Examples of images that would be eliminated from our dataset.footnotemark[3]
}
label{fig:unacceptable image criteria}
vspace{-3mm}
end{figure*}
FloatBarrier
subfloats
subfloats
New contributor
New contributor
edited 2 hours ago
cranbarrier
New contributor
asked 2 hours ago
cranbarriercranbarrier
62
62
New contributor
New contributor
Welcome to TeX.SE! Can you add a short compilable tex code showing what you have tried so far?
– Kurt
2 hours ago
Yes, I uploaded my failed attempt!
– cranbarrier
2 hours ago
Sorry, but the packages you are using are missing in your code. And the closingend{document}
is missing.
– Kurt
1 hour ago
add a comment |
Welcome to TeX.SE! Can you add a short compilable tex code showing what you have tried so far?
– Kurt
2 hours ago
Yes, I uploaded my failed attempt!
– cranbarrier
2 hours ago
Sorry, but the packages you are using are missing in your code. And the closingend{document}
is missing.
– Kurt
1 hour ago
Welcome to TeX.SE! Can you add a short compilable tex code showing what you have tried so far?
– Kurt
2 hours ago
Welcome to TeX.SE! Can you add a short compilable tex code showing what you have tried so far?
– Kurt
2 hours ago
Yes, I uploaded my failed attempt!
– cranbarrier
2 hours ago
Yes, I uploaded my failed attempt!
– cranbarrier
2 hours ago
Sorry, but the packages you are using are missing in your code. And the closing
end{document}
is missing.– Kurt
1 hour ago
Sorry, but the packages you are using are missing in your code. And the closing
end{document}
is missing.– Kurt
1 hour ago
add a comment |
0
active
oldest
votes
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
});
}
});
cranbarrier is a new contributor. Be nice, and check out our Code of Conduct.
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%2f480386%2fformatting-subfigures-with-images-and-text%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
cranbarrier is a new contributor. Be nice, and check out our Code of Conduct.
cranbarrier is a new contributor. Be nice, and check out our Code of Conduct.
cranbarrier is a new contributor. Be nice, and check out our Code of Conduct.
cranbarrier is a new contributor. Be nice, and check out our Code of Conduct.
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%2f480386%2fformatting-subfigures-with-images-and-text%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
Welcome to TeX.SE! Can you add a short compilable tex code showing what you have tried so far?
– Kurt
2 hours ago
Yes, I uploaded my failed attempt!
– cranbarrier
2 hours ago
Sorry, but the packages you are using are missing in your code. And the closing
end{document}
is missing.– Kurt
1 hour ago