12

Does anyone have any ideas how to make this:

enter image description here

look like this:

enter image description here

The only difference is the differentials are "pushed over" making it appear more compact and readable. I achieved the first picture by using

\left. \frac{\partial U}{\partial S} \right|_{V,N} \mathrm{d} S

(first term only) but I don't know how to push the dS over the subscript more. Can this even be done?

I've tried \overset and using a custom fraction but neither look quite right.

2

1 Answer 1

15
\documentclass{article}
\usepackage{mathtools}
\begin{document}

\[
\left. \frac{\partial U}{\partial S} \right|_{\mathrlap{V,N}} \mathrm{d} S
\]

\end{document}
5
  • 1
    is it good practice to use mathtools instead of ams bunch ? Apr 18, 2013 at 20:33
  • That's exactly what I wanted! Thank-you!
    – Kyle Mills
    Apr 18, 2013 at 20:33
  • 8
    @texenthusiast: it loads amsmath by default and fixes some bugs
    – user2478
    Apr 18, 2013 at 20:35
  • 2
    @Herbert, what kind of bugs?
    – Sigur
    Apr 18, 2013 at 22:55
  • 2
    @Sigur: read the documentation
    – user2478
    Apr 19, 2013 at 5:21

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .