An equation or different mathematical assemble is separated from a qualifying expression by a quad
. Examples:
When the qualifying expression is a prepositional phrase it’s given normal sentence spacing. Examples:
The primary instance was typed as (utilizing the equation*
surroundings supplied by the amsmath
bundle)
start{equation*} min_x c^Tx quad textual content{topic to $Ax=b$, $xge 0$}. finish{equation*}
Right here, the qualifying phrase is positioned inside a textual content
command, which jumps out of math mode and codecs its argument as common textual content, with the same old interword spacing in impact, and we re-enter math mode for the situations. That is higher than writing
min_x c^Tx quad textual content{topic to} ~Ax=b, ~xge 0.
with onerous areas. Observe that textual content
is a command from the amsmath
bundle, and it’s just like the LaTeX command mbox
and the TeX command hbox
, each of which work equally nicely right here.