In the figure form, adjust the whole size of “text” and “math” format at once (II): from...












1














This follows from a previous post In the figure form, how to adjust the whole size of "text" and "math" format at once?,




In the figure form, how to adjust the whole size of "text" and "math" format "as a combined figure" at once, from the twocolumngrid to onecolumngrid? (say in the revtex)




My trouble is that in the "twocolumn" format of revtex4-1, if I use the following method @Herbert,



documentclass[aps,prl,twocolumn,superscriptaddress,floatfix,letterpaper,nofootinbib]{revtex4-1}
usepackage{mathtools,amssymb,varwidth}
usepackage{showframe}


begin{document}


onecolumngrid
begin{widetext}

begin{figure}[!h]
centering
begin{center}
resizebox{linewidth}{!}{%
begin{varwidth}{linewidth}
begin{gather*}
overbrace{underbrace{A times B}_Etimes
underbrace{Ctimes {D}}_{EFG}}^{text{ABCDEFG}}\[-normalbaselineskip]
underbrace{hphantom{Atimes Btimes Ctimes D}}_{text{family}}
end{gather*}
end{varwidth}}
end{center}
caption{}
end{figure}
end{widetext}
twocolumngrid

end{document}


I got:



enter image description here




This is not what I wanted. I want to have the figure stand in the middle, with adjustable size (likely 2/3 or 3/4 of the document width).



However, the "begin{gather*} end{gather*}" seems to make the trouble.




If I remove "begin{gather*} ... end{gather*}" to simply use "$...$", I got a compilation problem and a troublesome output, where the "braces" are making troubles in the wrong position:



enter image description here




PS. My last figure is what I am hoping to get (with tunable size, like 2/3 or 3/4 of the whole document width). But it shall also be scale-invariant as the same smaller one as the one in my first figure. The code should be also compilable.



Edit 1: This seems to cause the trouble \[-normalbaselineskip], which outputs "LaTeX Error: There's no line here to end."




My following attempt can not be compiled fully:



documentclass[aps,prl,twocolumn,superscriptaddress,floatfix,letterpaper,nofootinbib]{revtex4-1}
usepackage{mathtools,amssymb,varwidth}
usepackage{showframe}


begin{document}


onecolumngrid
begin{widetext}

begin{figure}[!h]
centering
begin{center}
resizebox{linewidth}{!}{%
begin{varwidth}{linewidth}
$
overbrace{underbrace{A times B}_Etimes
underbrace{Ctimes {D}}_{EFG}}^{text{ABCDEFG}}\[-normalbaselineskip]
underbrace{hphantom{Atimes Btimes Ctimes D}}_{text{family}}
$ end{varwidth}}
end{center}
caption{}
end{figure}
end{widetext}
twocolumngrid

end{document}









share|improve this question




















  • 1




    Can you make a mock-up of what you're after? All you talk about are problems without a clear instruction of the expected output. Also, there is no onecolumngrid or twocolumngrid.
    – Werner
    2 hours ago










  • Thank you Werner, what I am after is similar to the "last figure." (But I did not get a error-free compilation for that figure. Also the figure is not scale invariant from the original smaller one)
    – wonderich
    2 hours ago






  • 1




    There "are" onecolumngrid and twocolumngrid in my template
    – wonderich
    2 hours ago








  • 1




    I added a final comment in OP. Thank you.
    – wonderich
    2 hours ago










  • @Werner, I am still in trouble to make it work --- any enlightenment will count as an answer to me.
    – wonderich
    1 hour ago
















1














This follows from a previous post In the figure form, how to adjust the whole size of "text" and "math" format at once?,




In the figure form, how to adjust the whole size of "text" and "math" format "as a combined figure" at once, from the twocolumngrid to onecolumngrid? (say in the revtex)




My trouble is that in the "twocolumn" format of revtex4-1, if I use the following method @Herbert,



documentclass[aps,prl,twocolumn,superscriptaddress,floatfix,letterpaper,nofootinbib]{revtex4-1}
usepackage{mathtools,amssymb,varwidth}
usepackage{showframe}


begin{document}


onecolumngrid
begin{widetext}

begin{figure}[!h]
centering
begin{center}
resizebox{linewidth}{!}{%
begin{varwidth}{linewidth}
begin{gather*}
overbrace{underbrace{A times B}_Etimes
underbrace{Ctimes {D}}_{EFG}}^{text{ABCDEFG}}\[-normalbaselineskip]
underbrace{hphantom{Atimes Btimes Ctimes D}}_{text{family}}
end{gather*}
end{varwidth}}
end{center}
caption{}
end{figure}
end{widetext}
twocolumngrid

end{document}


I got:



enter image description here




This is not what I wanted. I want to have the figure stand in the middle, with adjustable size (likely 2/3 or 3/4 of the document width).



However, the "begin{gather*} end{gather*}" seems to make the trouble.




If I remove "begin{gather*} ... end{gather*}" to simply use "$...$", I got a compilation problem and a troublesome output, where the "braces" are making troubles in the wrong position:



enter image description here




PS. My last figure is what I am hoping to get (with tunable size, like 2/3 or 3/4 of the whole document width). But it shall also be scale-invariant as the same smaller one as the one in my first figure. The code should be also compilable.



Edit 1: This seems to cause the trouble \[-normalbaselineskip], which outputs "LaTeX Error: There's no line here to end."




My following attempt can not be compiled fully:



documentclass[aps,prl,twocolumn,superscriptaddress,floatfix,letterpaper,nofootinbib]{revtex4-1}
usepackage{mathtools,amssymb,varwidth}
usepackage{showframe}


begin{document}


onecolumngrid
begin{widetext}

begin{figure}[!h]
centering
begin{center}
resizebox{linewidth}{!}{%
begin{varwidth}{linewidth}
$
overbrace{underbrace{A times B}_Etimes
underbrace{Ctimes {D}}_{EFG}}^{text{ABCDEFG}}\[-normalbaselineskip]
underbrace{hphantom{Atimes Btimes Ctimes D}}_{text{family}}
$ end{varwidth}}
end{center}
caption{}
end{figure}
end{widetext}
twocolumngrid

end{document}









share|improve this question




















  • 1




    Can you make a mock-up of what you're after? All you talk about are problems without a clear instruction of the expected output. Also, there is no onecolumngrid or twocolumngrid.
    – Werner
    2 hours ago










  • Thank you Werner, what I am after is similar to the "last figure." (But I did not get a error-free compilation for that figure. Also the figure is not scale invariant from the original smaller one)
    – wonderich
    2 hours ago






  • 1




    There "are" onecolumngrid and twocolumngrid in my template
    – wonderich
    2 hours ago








  • 1




    I added a final comment in OP. Thank you.
    – wonderich
    2 hours ago










  • @Werner, I am still in trouble to make it work --- any enlightenment will count as an answer to me.
    – wonderich
    1 hour ago














1












1








1


2





This follows from a previous post In the figure form, how to adjust the whole size of "text" and "math" format at once?,




In the figure form, how to adjust the whole size of "text" and "math" format "as a combined figure" at once, from the twocolumngrid to onecolumngrid? (say in the revtex)




My trouble is that in the "twocolumn" format of revtex4-1, if I use the following method @Herbert,



documentclass[aps,prl,twocolumn,superscriptaddress,floatfix,letterpaper,nofootinbib]{revtex4-1}
usepackage{mathtools,amssymb,varwidth}
usepackage{showframe}


begin{document}


onecolumngrid
begin{widetext}

begin{figure}[!h]
centering
begin{center}
resizebox{linewidth}{!}{%
begin{varwidth}{linewidth}
begin{gather*}
overbrace{underbrace{A times B}_Etimes
underbrace{Ctimes {D}}_{EFG}}^{text{ABCDEFG}}\[-normalbaselineskip]
underbrace{hphantom{Atimes Btimes Ctimes D}}_{text{family}}
end{gather*}
end{varwidth}}
end{center}
caption{}
end{figure}
end{widetext}
twocolumngrid

end{document}


I got:



enter image description here




This is not what I wanted. I want to have the figure stand in the middle, with adjustable size (likely 2/3 or 3/4 of the document width).



However, the "begin{gather*} end{gather*}" seems to make the trouble.




If I remove "begin{gather*} ... end{gather*}" to simply use "$...$", I got a compilation problem and a troublesome output, where the "braces" are making troubles in the wrong position:



enter image description here




PS. My last figure is what I am hoping to get (with tunable size, like 2/3 or 3/4 of the whole document width). But it shall also be scale-invariant as the same smaller one as the one in my first figure. The code should be also compilable.



Edit 1: This seems to cause the trouble \[-normalbaselineskip], which outputs "LaTeX Error: There's no line here to end."




My following attempt can not be compiled fully:



documentclass[aps,prl,twocolumn,superscriptaddress,floatfix,letterpaper,nofootinbib]{revtex4-1}
usepackage{mathtools,amssymb,varwidth}
usepackage{showframe}


begin{document}


onecolumngrid
begin{widetext}

begin{figure}[!h]
centering
begin{center}
resizebox{linewidth}{!}{%
begin{varwidth}{linewidth}
$
overbrace{underbrace{A times B}_Etimes
underbrace{Ctimes {D}}_{EFG}}^{text{ABCDEFG}}\[-normalbaselineskip]
underbrace{hphantom{Atimes Btimes Ctimes D}}_{text{family}}
$ end{varwidth}}
end{center}
caption{}
end{figure}
end{widetext}
twocolumngrid

end{document}









share|improve this question















This follows from a previous post In the figure form, how to adjust the whole size of "text" and "math" format at once?,




In the figure form, how to adjust the whole size of "text" and "math" format "as a combined figure" at once, from the twocolumngrid to onecolumngrid? (say in the revtex)




My trouble is that in the "twocolumn" format of revtex4-1, if I use the following method @Herbert,



documentclass[aps,prl,twocolumn,superscriptaddress,floatfix,letterpaper,nofootinbib]{revtex4-1}
usepackage{mathtools,amssymb,varwidth}
usepackage{showframe}


begin{document}


onecolumngrid
begin{widetext}

begin{figure}[!h]
centering
begin{center}
resizebox{linewidth}{!}{%
begin{varwidth}{linewidth}
begin{gather*}
overbrace{underbrace{A times B}_Etimes
underbrace{Ctimes {D}}_{EFG}}^{text{ABCDEFG}}\[-normalbaselineskip]
underbrace{hphantom{Atimes Btimes Ctimes D}}_{text{family}}
end{gather*}
end{varwidth}}
end{center}
caption{}
end{figure}
end{widetext}
twocolumngrid

end{document}


I got:



enter image description here




This is not what I wanted. I want to have the figure stand in the middle, with adjustable size (likely 2/3 or 3/4 of the document width).



However, the "begin{gather*} end{gather*}" seems to make the trouble.




If I remove "begin{gather*} ... end{gather*}" to simply use "$...$", I got a compilation problem and a troublesome output, where the "braces" are making troubles in the wrong position:



enter image description here




PS. My last figure is what I am hoping to get (with tunable size, like 2/3 or 3/4 of the whole document width). But it shall also be scale-invariant as the same smaller one as the one in my first figure. The code should be also compilable.



Edit 1: This seems to cause the trouble \[-normalbaselineskip], which outputs "LaTeX Error: There's no line here to end."




My following attempt can not be compiled fully:



documentclass[aps,prl,twocolumn,superscriptaddress,floatfix,letterpaper,nofootinbib]{revtex4-1}
usepackage{mathtools,amssymb,varwidth}
usepackage{showframe}


begin{document}


onecolumngrid
begin{widetext}

begin{figure}[!h]
centering
begin{center}
resizebox{linewidth}{!}{%
begin{varwidth}{linewidth}
$
overbrace{underbrace{A times B}_Etimes
underbrace{Ctimes {D}}_{EFG}}^{text{ABCDEFG}}\[-normalbaselineskip]
underbrace{hphantom{Atimes Btimes Ctimes D}}_{text{family}}
$ end{varwidth}}
end{center}
caption{}
end{figure}
end{widetext}
twocolumngrid

end{document}






math-mode graphics floats horizontal-alignment mathtools






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 1 min ago

























asked 2 hours ago









wonderich

713618




713618








  • 1




    Can you make a mock-up of what you're after? All you talk about are problems without a clear instruction of the expected output. Also, there is no onecolumngrid or twocolumngrid.
    – Werner
    2 hours ago










  • Thank you Werner, what I am after is similar to the "last figure." (But I did not get a error-free compilation for that figure. Also the figure is not scale invariant from the original smaller one)
    – wonderich
    2 hours ago






  • 1




    There "are" onecolumngrid and twocolumngrid in my template
    – wonderich
    2 hours ago








  • 1




    I added a final comment in OP. Thank you.
    – wonderich
    2 hours ago










  • @Werner, I am still in trouble to make it work --- any enlightenment will count as an answer to me.
    – wonderich
    1 hour ago














  • 1




    Can you make a mock-up of what you're after? All you talk about are problems without a clear instruction of the expected output. Also, there is no onecolumngrid or twocolumngrid.
    – Werner
    2 hours ago










  • Thank you Werner, what I am after is similar to the "last figure." (But I did not get a error-free compilation for that figure. Also the figure is not scale invariant from the original smaller one)
    – wonderich
    2 hours ago






  • 1




    There "are" onecolumngrid and twocolumngrid in my template
    – wonderich
    2 hours ago








  • 1




    I added a final comment in OP. Thank you.
    – wonderich
    2 hours ago










  • @Werner, I am still in trouble to make it work --- any enlightenment will count as an answer to me.
    – wonderich
    1 hour ago








1




1




Can you make a mock-up of what you're after? All you talk about are problems without a clear instruction of the expected output. Also, there is no onecolumngrid or twocolumngrid.
– Werner
2 hours ago




Can you make a mock-up of what you're after? All you talk about are problems without a clear instruction of the expected output. Also, there is no onecolumngrid or twocolumngrid.
– Werner
2 hours ago












Thank you Werner, what I am after is similar to the "last figure." (But I did not get a error-free compilation for that figure. Also the figure is not scale invariant from the original smaller one)
– wonderich
2 hours ago




Thank you Werner, what I am after is similar to the "last figure." (But I did not get a error-free compilation for that figure. Also the figure is not scale invariant from the original smaller one)
– wonderich
2 hours ago




1




1




There "are" onecolumngrid and twocolumngrid in my template
– wonderich
2 hours ago






There "are" onecolumngrid and twocolumngrid in my template
– wonderich
2 hours ago






1




1




I added a final comment in OP. Thank you.
– wonderich
2 hours ago




I added a final comment in OP. Thank you.
– wonderich
2 hours ago












@Werner, I am still in trouble to make it work --- any enlightenment will count as an answer to me.
– wonderich
1 hour ago




@Werner, I am still in trouble to make it work --- any enlightenment will count as an answer to me.
– wonderich
1 hour ago















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
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f467729%2fin-the-figure-form-adjust-the-whole-size-of-text-and-math-format-at-once-i%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































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.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • 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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f467729%2fin-the-figure-form-adjust-the-whole-size-of-text-and-math-format-at-once-i%23new-answer', 'question_page');
}
);

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







Popular posts from this blog

Accessing regular linux commands in Huawei's Dopra Linux

Can't connect RFCOMM socket: Host is down

Kernel panic - not syncing: Fatal Exception in Interrupt