I have a long line of math expression, which is as follows:
$verylongword verylongword verylongword verylongword verylongword verylongword verylongword verylongword verylongword verylongword verylongword verylongword$
The problem is that the expressions denoted "verylongword" cannot be hyphenated to "very-long-word".
This results that in math mode the i can split text putting additional $ and \ (new lines). This means that some of the line ends are left as empty spaces, and text is not aligned properly, i.e. spacing between math is fixed and text is seen as $verylongword verylongword verylongword $(10 empty spaces).
Is there a way how to align such line in a nice automatic way, so as words within math expression would be automatically aligned adding extra spaces between math text?
\text
macro), so can you be a bit more precise about what you are doing and want to achieve?