How do align intertext with math instead of an awkward space?












0














When you use the intertext in the align* environment with the amsmath package, it has a small vertical space between the displayed text and equation even though it is still coded on the same line as the equation.



In a regular line of code, you can type intertext{text} (generic equation) on the same line. Yet, when it is compiled, it visual output shows a small vertical space between the text and the equation that I did not add manually.



I am using intertext because it is left-aligned and I don't want the equation itself to be left-aligned, just the text, but it should also be on the same displayed line as the intertext.










share|improve this question









New contributor




user14554 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
















  • 1




    Please, please, please show us a short compilable code resulting in your issue. Please learn from older comments, I asked you to do so in your last question too ... Simply help us to help you!
    – Kurt
    19 mins ago












  • Every time I try to add compatible code I get harassed, so no. This should be perfectly sufficient information, but if you need more explanation feel free to ask. I know you know what intertext does in an align environment so I don't understand why you'd complain.
    – user14554
    17 mins ago












  • @user14554 - It's extremely unfortunate that you interpret polite requests for highly relevant information as harassment. For sure, I can think of several ways to interpret your statement that "it has a small vertical space between the displayed text and equation even though it is still coded on the same line as the equation." A code example would be an excellent way to focus the gist of your claim. Given the attitude you display, don't be surprised if nobody bothers to provide an answer.
    – Mico
    11 mins ago










  • Blatantly refusing to work within the restrictions of my information and then downvoting published and to-be published work that lumps it in with racism is extraordinarily disrespectful. If you can't see that, then no wonder no one ever relies on this site in any professional capacity, I was warned about that. If there are alleged "experts" on this site then they would know exactly what the small vertical space is because it is automatically added by using the intertext command in an align* environment.
    – user14554
    8 mins ago








  • 1




    @user14554: Then you need to be more verbose in your description and drop the emotion. It's not clear what you mean by intertext being on the same line as the math display. Are you talking about your code, or the output? If you just want some textual display, use text, not intertext.
    – Werner
    4 mins ago
















0














When you use the intertext in the align* environment with the amsmath package, it has a small vertical space between the displayed text and equation even though it is still coded on the same line as the equation.



In a regular line of code, you can type intertext{text} (generic equation) on the same line. Yet, when it is compiled, it visual output shows a small vertical space between the text and the equation that I did not add manually.



I am using intertext because it is left-aligned and I don't want the equation itself to be left-aligned, just the text, but it should also be on the same displayed line as the intertext.










share|improve this question









New contributor




user14554 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
















  • 1




    Please, please, please show us a short compilable code resulting in your issue. Please learn from older comments, I asked you to do so in your last question too ... Simply help us to help you!
    – Kurt
    19 mins ago












  • Every time I try to add compatible code I get harassed, so no. This should be perfectly sufficient information, but if you need more explanation feel free to ask. I know you know what intertext does in an align environment so I don't understand why you'd complain.
    – user14554
    17 mins ago












  • @user14554 - It's extremely unfortunate that you interpret polite requests for highly relevant information as harassment. For sure, I can think of several ways to interpret your statement that "it has a small vertical space between the displayed text and equation even though it is still coded on the same line as the equation." A code example would be an excellent way to focus the gist of your claim. Given the attitude you display, don't be surprised if nobody bothers to provide an answer.
    – Mico
    11 mins ago










  • Blatantly refusing to work within the restrictions of my information and then downvoting published and to-be published work that lumps it in with racism is extraordinarily disrespectful. If you can't see that, then no wonder no one ever relies on this site in any professional capacity, I was warned about that. If there are alleged "experts" on this site then they would know exactly what the small vertical space is because it is automatically added by using the intertext command in an align* environment.
    – user14554
    8 mins ago








  • 1




    @user14554: Then you need to be more verbose in your description and drop the emotion. It's not clear what you mean by intertext being on the same line as the math display. Are you talking about your code, or the output? If you just want some textual display, use text, not intertext.
    – Werner
    4 mins ago














0












0








0







When you use the intertext in the align* environment with the amsmath package, it has a small vertical space between the displayed text and equation even though it is still coded on the same line as the equation.



In a regular line of code, you can type intertext{text} (generic equation) on the same line. Yet, when it is compiled, it visual output shows a small vertical space between the text and the equation that I did not add manually.



I am using intertext because it is left-aligned and I don't want the equation itself to be left-aligned, just the text, but it should also be on the same displayed line as the intertext.










share|improve this question









New contributor




user14554 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











When you use the intertext in the align* environment with the amsmath package, it has a small vertical space between the displayed text and equation even though it is still coded on the same line as the equation.



In a regular line of code, you can type intertext{text} (generic equation) on the same line. Yet, when it is compiled, it visual output shows a small vertical space between the text and the equation that I did not add manually.



I am using intertext because it is left-aligned and I don't want the equation itself to be left-aligned, just the text, but it should also be on the same displayed line as the intertext.







vertical-alignment align






share|improve this question









New contributor




user14554 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




user14554 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited 1 min ago





















New contributor




user14554 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 22 mins ago









user14554

164




164




New contributor




user14554 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





user14554 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






user14554 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








  • 1




    Please, please, please show us a short compilable code resulting in your issue. Please learn from older comments, I asked you to do so in your last question too ... Simply help us to help you!
    – Kurt
    19 mins ago












  • Every time I try to add compatible code I get harassed, so no. This should be perfectly sufficient information, but if you need more explanation feel free to ask. I know you know what intertext does in an align environment so I don't understand why you'd complain.
    – user14554
    17 mins ago












  • @user14554 - It's extremely unfortunate that you interpret polite requests for highly relevant information as harassment. For sure, I can think of several ways to interpret your statement that "it has a small vertical space between the displayed text and equation even though it is still coded on the same line as the equation." A code example would be an excellent way to focus the gist of your claim. Given the attitude you display, don't be surprised if nobody bothers to provide an answer.
    – Mico
    11 mins ago










  • Blatantly refusing to work within the restrictions of my information and then downvoting published and to-be published work that lumps it in with racism is extraordinarily disrespectful. If you can't see that, then no wonder no one ever relies on this site in any professional capacity, I was warned about that. If there are alleged "experts" on this site then they would know exactly what the small vertical space is because it is automatically added by using the intertext command in an align* environment.
    – user14554
    8 mins ago








  • 1




    @user14554: Then you need to be more verbose in your description and drop the emotion. It's not clear what you mean by intertext being on the same line as the math display. Are you talking about your code, or the output? If you just want some textual display, use text, not intertext.
    – Werner
    4 mins ago














  • 1




    Please, please, please show us a short compilable code resulting in your issue. Please learn from older comments, I asked you to do so in your last question too ... Simply help us to help you!
    – Kurt
    19 mins ago












  • Every time I try to add compatible code I get harassed, so no. This should be perfectly sufficient information, but if you need more explanation feel free to ask. I know you know what intertext does in an align environment so I don't understand why you'd complain.
    – user14554
    17 mins ago












  • @user14554 - It's extremely unfortunate that you interpret polite requests for highly relevant information as harassment. For sure, I can think of several ways to interpret your statement that "it has a small vertical space between the displayed text and equation even though it is still coded on the same line as the equation." A code example would be an excellent way to focus the gist of your claim. Given the attitude you display, don't be surprised if nobody bothers to provide an answer.
    – Mico
    11 mins ago










  • Blatantly refusing to work within the restrictions of my information and then downvoting published and to-be published work that lumps it in with racism is extraordinarily disrespectful. If you can't see that, then no wonder no one ever relies on this site in any professional capacity, I was warned about that. If there are alleged "experts" on this site then they would know exactly what the small vertical space is because it is automatically added by using the intertext command in an align* environment.
    – user14554
    8 mins ago








  • 1




    @user14554: Then you need to be more verbose in your description and drop the emotion. It's not clear what you mean by intertext being on the same line as the math display. Are you talking about your code, or the output? If you just want some textual display, use text, not intertext.
    – Werner
    4 mins ago








1




1




Please, please, please show us a short compilable code resulting in your issue. Please learn from older comments, I asked you to do so in your last question too ... Simply help us to help you!
– Kurt
19 mins ago






Please, please, please show us a short compilable code resulting in your issue. Please learn from older comments, I asked you to do so in your last question too ... Simply help us to help you!
– Kurt
19 mins ago














Every time I try to add compatible code I get harassed, so no. This should be perfectly sufficient information, but if you need more explanation feel free to ask. I know you know what intertext does in an align environment so I don't understand why you'd complain.
– user14554
17 mins ago






Every time I try to add compatible code I get harassed, so no. This should be perfectly sufficient information, but if you need more explanation feel free to ask. I know you know what intertext does in an align environment so I don't understand why you'd complain.
– user14554
17 mins ago














@user14554 - It's extremely unfortunate that you interpret polite requests for highly relevant information as harassment. For sure, I can think of several ways to interpret your statement that "it has a small vertical space between the displayed text and equation even though it is still coded on the same line as the equation." A code example would be an excellent way to focus the gist of your claim. Given the attitude you display, don't be surprised if nobody bothers to provide an answer.
– Mico
11 mins ago




@user14554 - It's extremely unfortunate that you interpret polite requests for highly relevant information as harassment. For sure, I can think of several ways to interpret your statement that "it has a small vertical space between the displayed text and equation even though it is still coded on the same line as the equation." A code example would be an excellent way to focus the gist of your claim. Given the attitude you display, don't be surprised if nobody bothers to provide an answer.
– Mico
11 mins ago












Blatantly refusing to work within the restrictions of my information and then downvoting published and to-be published work that lumps it in with racism is extraordinarily disrespectful. If you can't see that, then no wonder no one ever relies on this site in any professional capacity, I was warned about that. If there are alleged "experts" on this site then they would know exactly what the small vertical space is because it is automatically added by using the intertext command in an align* environment.
– user14554
8 mins ago






Blatantly refusing to work within the restrictions of my information and then downvoting published and to-be published work that lumps it in with racism is extraordinarily disrespectful. If you can't see that, then no wonder no one ever relies on this site in any professional capacity, I was warned about that. If there are alleged "experts" on this site then they would know exactly what the small vertical space is because it is automatically added by using the intertext command in an align* environment.
– user14554
8 mins ago






1




1




@user14554: Then you need to be more verbose in your description and drop the emotion. It's not clear what you mean by intertext being on the same line as the math display. Are you talking about your code, or the output? If you just want some textual display, use text, not intertext.
– Werner
4 mins ago




@user14554: Then you need to be more verbose in your description and drop the emotion. It's not clear what you mean by intertext being on the same line as the math display. Are you talking about your code, or the output? If you just want some textual display, use text, not intertext.
– Werner
4 mins ago










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


}
});






user14554 is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f468785%2fhow-do-align-intertext-with-math-instead-of-an-awkward-space%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








user14554 is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















user14554 is a new contributor. Be nice, and check out our Code of Conduct.













user14554 is a new contributor. Be nice, and check out our Code of Conduct.












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





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%2f468785%2fhow-do-align-intertext-with-math-instead-of-an-awkward-space%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