#line seems short

1 messages · Page 1 of 1 (latest)

coarse granite
#

i was typing a code in mathjax, which was rendered as the given image. I want it in a single line. help.

#

code:

[a_y(b_x c_y - b_y c_x) - a_z(b_z c_x - b_x c_z)]\hat{i} + [a_z(b_y c_z - b_z c_y) - a_x(b_x c_y - b_y c_x)]\hat{j} + [a_x(b_z c_x - b_x c_z) - a_y(b_y c_z - b_z c_y)]\hat{k}

#

$[a_y(b_x c_y - b_y c_x) - a_z(b_z c_x - b_x c_z)]\hat{i} + [a_z(b_y c_z - b_z c_y) - a_x(b_x c_y - b_y c_x)]\hat{j} + [a_x(b_z c_x - b_x c_z) - a_y(b_y c_z - b_z c_y)]\hat{k}$

gray flowerBOT
#

Dhairya

tacit vessel
#

in a document i would recommend using multiple lines. but you can use \scalebox from the graphicx package like so:

\scalebox{0.5}{$\big(a_y(b_x c_y - b_y c_x) - a_z(b_z c_x - b_x c_z)\big)\hat\imath + \big(a_z(b_y c_z - b_z c_y) - a_x(b_x c_y - b_y c_x)\big)\hat\jmath + \big(a_x(b_z c_x - b_x c_z) - a_y(b_y c_z - b_z c_y)\big)\hat{k}$}
gray flowerBOT
coarse granite
#

👍