Filter löschen
Filter löschen

How to type a spacing in Matlab latex

66 Ansichten (letzte 30 Tage)
Sijie Huang
Sijie Huang am 21 Feb. 2018
Beantwortet: Sujit Muduli am 19 Mär. 2018
I am writing comments for "publish" as the following:
% $Apply~Lax-Friedrichs\ to\ nonlinear\ Lighthill-Whitham-Richardson\ traffic\ flow\ problem$
%
% $\frac{\partial u}{\partial t} + \frac{\partial}{\partial x}[uv(u,x)] = 0$
%
% $where\ the\ v(u,x) = v_0(x)(1-\frac{u}{c})$
it's really annoying typing space between words by using "\" as shown in the text. Is there anyway I can do this?

Akzeptierte Antwort

Sujit Muduli
Sujit Muduli am 19 Mär. 2018
Hi Sijie, You may try putting the formula only in between the $ symbols. You may put the texts outside of the $ .. $. However if you are looking for the LaTeX like formatting for texts also, I am not sure if there is some other ways to do that.
Thanks
Sujit

Weitere Antworten (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by