LaTeX forum ⇒ Math & Sciencemathptmx, ulem | Wave not showing up

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
CoolnessItself
Posts: 47
Joined: Wed Nov 11, 2009 9:30 pm

mathptmx, ulem | Wave not showing up

Postby CoolnessItself » Fri Apr 06, 2012 7:02 am

Hi all,

I'm writing for springer, and they ask for equation/eqnarray instead of the more modern packages, so please forgive my use of equation. Also, they ask for mathptmx, which is the source of my troubles here

  1. \documentclass{article}
  2. %\usepackage{mathptmx} % selects Times Roman as basic font
  3. \usepackage[normalem]{ulem}
  4. \begin{document}
  5. \begin{equation}
  6. f(x) = \uwave{v}
  7. \end{equation}
  8. \end{document}

yields:
Untitled2.png
Untitled2.png (1.68 KiB) Viewed 3468 times

while the same thing without the comment on mathptmx gives
Untitled1.png
Untitled1.png (1.75 KiB) Viewed 3468 times

The font change is obviously intentional, but the uwave is missing!

I can't modify mathptmx nor uwave, since I must submit a tex file for press. Is it possible to change the behavior of uwave{v} in mathptmx mode without modifying either file?
Last edited by localghost on Fri Apr 06, 2012 1:35 pm, edited 2 times in total.
Reason: inline code changed to code block

User avatar
Stefan Kottwitz
Site Admin
Posts: 9501
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Fri Apr 06, 2012 11:30 am

Hi,

CoolnessItself wrote:I'm writing for springer, and they ask for equation/eqnarray instead of the more modern packages, so please forgive my use of equation.


can you please tell us what Springer exactly said? I cannot believe that they would recommend to use eqnarray. The equation environment on the other hand is ok. Don's confuse one with the other.

Furthermore, which more modern packages does Springer reject?

For example, the first solution which comes to my mind is using \underset from the amsmath package with a tilde, this could be sufficient if you just need a wave below single characters.

Stefan
Site admin

CoolnessItself
Posts: 47
Joined: Wed Nov 11, 2009 9:30 pm

Postby CoolnessItself » Fri Apr 06, 2012 7:36 pm

Directly from their author.tex template:
  1. Use the standard \verb|equation| environment to typeset your equations, e.g.
  2. %
  3. \begin{equation}
  4. a \times b = c\;,
  5. \end{equation}
  6. %
  7. however, for multiline equations we recommend to use the \verb|eqnarray| environment\footnote{In physics texts please activate the class option \texttt{vecphys} to depict your vectors in \textbf{\itshape boldface-italic} type - as is customary for a wide range of physical subjects}.
  8. \begin{eqnarray}
  9. a \times b = c \nonumber\\
  10. \vec{a} \cdot \vec{b}=\vec{c}
  11. \label{eq:01}
  12. \end{eqnarray}


Rereding it, I guess it's not mandated.

Thanks for the underset tip
Last edited by Stefan Kottwitz on Fri Apr 06, 2012 7:44 pm, edited 1 time in total.
Reason: inline code changed to code block

User avatar
Stefan Kottwitz
Site Admin
Posts: 9501
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Fri Apr 06, 2012 7:46 pm

Where can I find this author.tex file on the Springer page?
Edit: just found one here : Book Manuscript Guidelines, it comes with the svmult class.

Stefan
Site admin


Return to “Math & Science”

Who is online

Users browsing this forum: No registered users and 2 guests