How can I add left aligned text to an equation? Announcing the arrival of Valued Associate...

lm and glm function in R

tabularx column has extra padding at right?

Is my guitar’s action too high?

Does using the Inspiration rules for character defects encourage My Guy Syndrome?

Does traveling In The United States require a passport or can I use my green card if not a US citizen?

Why do C and C++ allow the expression (int) + 4*5?

How to keep bees out of canned beverages?

How to break 信じようとしていただけかも知れない into separate parts?

What is the difference between 准时 and 按时?

Weaponising the Grasp-at-a-Distance spell

Like totally amazing interchangeable sister outfit accessory swapping or whatever

Providing direct feedback to a product salesperson

Knights and Knaves question

Married in secret, can marital status in passport be changed at a later date?

Short story about an alien named Ushtu(?) coming from a future Earth, when ours was destroyed by a nuclear explosion

What came first? Venom as the movie or as the song?

What's the difference between using dependency injection with a container and using a service locator?

How do I deal with an erroneously large refund?

Why did Israel vote against lifting the American embargo on Cuba?

How to leave only the following strings?

Is there a verb for listening stealthily?

Recursive calls to a function - why is the address of the parameter passed to it lowering with each call?

Has a Nobel Peace laureate ever been accused of war crimes?

Help Recreating a Table



How can I add left aligned text to an equation?



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)Alignment with mbox in one lineHow can I left-justify text in centered math mode?How do align intertext with math instead of an awkward space?flushing lines in gather environmentHow can I break an align environment for a paragraph?Left-aligned text inside an equationHow to reduce space between two math environments?AMS align: left aligned text/math plus multicolumn alignmentLeft align text in equation environment (no use of align environment)Vertical space command which is between intertext and shortintertextHorizontal Line Separating Steps in Aligned EquationHow to subtract two equations?Add equation name underneath equation numberHow can I make a single-aligned row under two double-aligned rows in an equation?How to left align the element when usig begin align, not the whole equation?Adding text line in Equation EnvironmentPseudo equation inside verse: how to align leftEquation environment with text at left and rightVertically center equation number in aligned equationEquation Style Text+Math Left Aligned












36















I have a document I am trying to copy to learn TeX. Here is what I have encountered:alt text How can I have the "or" in the equation. This is what I have right now:



[ f = ma; ] 
But $a$ is the change in velocity,

[ f = m frac{dv}{dt};]
[ f = m frac{d^2y}{dt^2};]


Edit: Trying out Stefan's answer
alt text










share|improve this question

























  • Related Questions: AMS align: Left aligned text/math plus multicolumn align, Left-aligned text inside an equation.

    – Peter Grill
    Jun 15 '12 at 17:30


















36















I have a document I am trying to copy to learn TeX. Here is what I have encountered:alt text How can I have the "or" in the equation. This is what I have right now:



[ f = ma; ] 
But $a$ is the change in velocity,

[ f = m frac{dv}{dt};]
[ f = m frac{d^2y}{dt^2};]


Edit: Trying out Stefan's answer
alt text










share|improve this question

























  • Related Questions: AMS align: Left aligned text/math plus multicolumn align, Left-aligned text inside an equation.

    – Peter Grill
    Jun 15 '12 at 17:30
















36












36








36


14






I have a document I am trying to copy to learn TeX. Here is what I have encountered:alt text How can I have the "or" in the equation. This is what I have right now:



[ f = ma; ] 
But $a$ is the change in velocity,

[ f = m frac{dv}{dt};]
[ f = m frac{d^2y}{dt^2};]


Edit: Trying out Stefan's answer
alt text










share|improve this question
















I have a document I am trying to copy to learn TeX. Here is what I have encountered:alt text How can I have the "or" in the equation. This is what I have right now:



[ f = ma; ] 
But $a$ is the change in velocity,

[ f = m frac{dv}{dt};]
[ f = m frac{d^2y}{dt^2};]


Edit: Trying out Stefan's answer
alt text







equations align






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Aug 13 '11 at 18:11









Stefan Kottwitz

179k65575763




179k65575763










asked Aug 13 '10 at 16:04









masfenixmasfenix

6773921




6773921













  • Related Questions: AMS align: Left aligned text/math plus multicolumn align, Left-aligned text inside an equation.

    – Peter Grill
    Jun 15 '12 at 17:30





















  • Related Questions: AMS align: Left aligned text/math plus multicolumn align, Left-aligned text inside an equation.

    – Peter Grill
    Jun 15 '12 at 17:30



















Related Questions: AMS align: Left aligned text/math plus multicolumn align, Left-aligned text inside an equation.

– Peter Grill
Jun 15 '12 at 17:30







Related Questions: AMS align: Left aligned text/math plus multicolumn align, Left-aligned text inside an equation.

– Peter Grill
Jun 15 '12 at 17:30












1 Answer
1






active

oldest

votes


















51














Use the amsmath package and the commands text{...} for text in the formula or intertext{...} for text between the lines of multi-line formulas. For example:



documentclass{article}
usepackage{amsmath}
begin{document}
begin{align*}
f &= ma;\ intertext{But $a$ is the change in velocity}
f &= m frac{dv}{dt};\ intertext{or}
f &= m frac{d^2y}{dt^2};
end{align*}
end{document}


One advantage of align* to [ ... ] is that you can align the equations on relation symbols.



If you wish to put or in the same line, you could use text and flalign* :



documentclass{article}
usepackage{amsmath}
begin{document}
begin{flalign*}
&& f &= ma;&\ text{or} && f &= m frac{dv}{dt};&\ text{or} &&f &= m frac{d^2y}{dt^2};
end{flalign*}
end{document}


flalign example






share|improve this answer





















  • 5





    & is used both for specifying the alignment position and as column separator, alternating. In columns of formulas, &= means that at = would be aligned, a following & would end the column, like in a table. && has been used to skip a column, i.e. to create an empty column.

    – Stefan Kottwitz
    Aug 13 '10 at 16:53














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%2f1665%2fhow-can-i-add-left-aligned-text-to-an-equation%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









51














Use the amsmath package and the commands text{...} for text in the formula or intertext{...} for text between the lines of multi-line formulas. For example:



documentclass{article}
usepackage{amsmath}
begin{document}
begin{align*}
f &= ma;\ intertext{But $a$ is the change in velocity}
f &= m frac{dv}{dt};\ intertext{or}
f &= m frac{d^2y}{dt^2};
end{align*}
end{document}


One advantage of align* to [ ... ] is that you can align the equations on relation symbols.



If you wish to put or in the same line, you could use text and flalign* :



documentclass{article}
usepackage{amsmath}
begin{document}
begin{flalign*}
&& f &= ma;&\ text{or} && f &= m frac{dv}{dt};&\ text{or} &&f &= m frac{d^2y}{dt^2};
end{flalign*}
end{document}


flalign example






share|improve this answer





















  • 5





    & is used both for specifying the alignment position and as column separator, alternating. In columns of formulas, &= means that at = would be aligned, a following & would end the column, like in a table. && has been used to skip a column, i.e. to create an empty column.

    – Stefan Kottwitz
    Aug 13 '10 at 16:53


















51














Use the amsmath package and the commands text{...} for text in the formula or intertext{...} for text between the lines of multi-line formulas. For example:



documentclass{article}
usepackage{amsmath}
begin{document}
begin{align*}
f &= ma;\ intertext{But $a$ is the change in velocity}
f &= m frac{dv}{dt};\ intertext{or}
f &= m frac{d^2y}{dt^2};
end{align*}
end{document}


One advantage of align* to [ ... ] is that you can align the equations on relation symbols.



If you wish to put or in the same line, you could use text and flalign* :



documentclass{article}
usepackage{amsmath}
begin{document}
begin{flalign*}
&& f &= ma;&\ text{or} && f &= m frac{dv}{dt};&\ text{or} &&f &= m frac{d^2y}{dt^2};
end{flalign*}
end{document}


flalign example






share|improve this answer





















  • 5





    & is used both for specifying the alignment position and as column separator, alternating. In columns of formulas, &= means that at = would be aligned, a following & would end the column, like in a table. && has been used to skip a column, i.e. to create an empty column.

    – Stefan Kottwitz
    Aug 13 '10 at 16:53
















51












51








51







Use the amsmath package and the commands text{...} for text in the formula or intertext{...} for text between the lines of multi-line formulas. For example:



documentclass{article}
usepackage{amsmath}
begin{document}
begin{align*}
f &= ma;\ intertext{But $a$ is the change in velocity}
f &= m frac{dv}{dt};\ intertext{or}
f &= m frac{d^2y}{dt^2};
end{align*}
end{document}


One advantage of align* to [ ... ] is that you can align the equations on relation symbols.



If you wish to put or in the same line, you could use text and flalign* :



documentclass{article}
usepackage{amsmath}
begin{document}
begin{flalign*}
&& f &= ma;&\ text{or} && f &= m frac{dv}{dt};&\ text{or} &&f &= m frac{d^2y}{dt^2};
end{flalign*}
end{document}


flalign example






share|improve this answer















Use the amsmath package and the commands text{...} for text in the formula or intertext{...} for text between the lines of multi-line formulas. For example:



documentclass{article}
usepackage{amsmath}
begin{document}
begin{align*}
f &= ma;\ intertext{But $a$ is the change in velocity}
f &= m frac{dv}{dt};\ intertext{or}
f &= m frac{d^2y}{dt^2};
end{align*}
end{document}


One advantage of align* to [ ... ] is that you can align the equations on relation symbols.



If you wish to put or in the same line, you could use text and flalign* :



documentclass{article}
usepackage{amsmath}
begin{document}
begin{flalign*}
&& f &= ma;&\ text{or} && f &= m frac{dv}{dt};&\ text{or} &&f &= m frac{d^2y}{dt^2};
end{flalign*}
end{document}


flalign example







share|improve this answer














share|improve this answer



share|improve this answer








edited Mar 26 '17 at 9:18









CarLaTeX

35.4k554153




35.4k554153










answered Aug 13 '10 at 16:11









Stefan KottwitzStefan Kottwitz

179k65575763




179k65575763








  • 5





    & is used both for specifying the alignment position and as column separator, alternating. In columns of formulas, &= means that at = would be aligned, a following & would end the column, like in a table. && has been used to skip a column, i.e. to create an empty column.

    – Stefan Kottwitz
    Aug 13 '10 at 16:53
















  • 5





    & is used both for specifying the alignment position and as column separator, alternating. In columns of formulas, &= means that at = would be aligned, a following & would end the column, like in a table. && has been used to skip a column, i.e. to create an empty column.

    – Stefan Kottwitz
    Aug 13 '10 at 16:53










5




5





& is used both for specifying the alignment position and as column separator, alternating. In columns of formulas, &= means that at = would be aligned, a following & would end the column, like in a table. && has been used to skip a column, i.e. to create an empty column.

– Stefan Kottwitz
Aug 13 '10 at 16:53







& is used both for specifying the alignment position and as column separator, alternating. In columns of formulas, &= means that at = would be aligned, a following & would end the column, like in a table. && has been used to skip a column, i.e. to create an empty column.

– Stefan Kottwitz
Aug 13 '10 at 16:53




















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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f1665%2fhow-can-i-add-left-aligned-text-to-an-equation%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

El tren de la libertad Índice Antecedentes "Porque yo decido" Desarrollo de la...

Puerta de Hutt Referencias Enlaces externos Menú de navegación15°58′00″S 5°42′00″O /...

Castillo d'Acher Características Menú de navegación