2

enter image description here

I know exactly how to generate it, but I want a more efficient way. Anybody can help?

\begin{equation}
\nonumber
n=\frac{\mathrm{maximum \ fraction \  of \  the  \ river \  that  \ a \  boat \  can \  traverse  \ in  \ a  \ single \  day}}{\mathrm{distance  \ between \  campsites \  as a \  fraction \  of \  total  \ river \  length}},
\end{equation}
1
  • @yo' Indeed I had an account before and have already asked several questions here :-) But I forgot my account...
    – Vinnton
    Jan 26, 2016 at 11:45

1 Answer 1

3

If this is really needed, then use \text{foo foo} instead of \mathrm{foo\ foo}. The \text command is designed to display, well, text in a math environment, however it should be restricted to short text, in my point of view.

\documentclass{article}

\usepackage{mathtools}
\begin{document}
\begin{equation}
\nonumber
n=\frac{\text{maximum fraction  of  the  river  that   a   boat   can  traverse  in   a   single   day}}{\text{distance   between   campsites   as a   fraction   of   total   river   length}},
\end{equation}
\end{document}

enter image description here

2
  • @Vinnton Note that you can use \begin{equation*} ... \end{equation*} or \[ ... \] instead of the hack with \nonumber.
    – yo'
    Jan 26, 2016 at 11:38
  • 1
    @yo': I wouldn't consider \nonumber a hack.
    – user31729
    Jan 26, 2016 at 11:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.