I am looking for the syntax of the $d$ with the apostrophe, as in the picture.

I tried at wiki's help page but wouldn't find.
Any suggestions?
I am looking for the syntax of the $d$ with the apostrophe, as in the picture.

I tried at wiki's help page but wouldn't find.
Any suggestions?
I don't know whether there is a symbol already like that, but I stole the definition of \hbar and changed it al little bit.
\documentclass{article}
\newcommand{\dbar}{{\mathchar '26\mkern -11.5mud}}
\begin{document}
$d U = \dbar Q + \dbar W$
\end{document}
\dj). TIPA also has the character. But Detexify couldn't find me a math mode version
– Au101
Dec 08 '15 at 21:10
The definition proposed in the Comprehensive list is completely wrong, I'm afraid.
The proposed definition is
\def\dbar{{\mathchar’26\mkern-12mu d}}
but this applies too wide a backspace, considering that 9mu is the width of the bar.
Here's a possibly better one that doesn't suffer from the backspacing problem.
\documentclass{article}
\newcommand{\dbar}{{d\mkern-7mu\mathchar'26\mkern-2mu}}
\begin{document}
$d\dbar d$
$h\hbar h$
\end{document}
For your particular application you need a couple of tricks more:
\documentclass{article}
\usepackage{amsmath}
\newcommand{\dbar}{{d\mkern-7mu\mathchar'26\mkern-2mu}}
\begin{document}
\[
dU = \underbrace{\dbar Q}_{\scriptscriptstyle\text{Heat}} +
\underbrace{\dbar W\vphantom{Q}}_{\scriptscriptstyle\text{\hspace{-1.5em}Mech.\,Work\hspace{-1.5em}}}
\]
\end{document}
I found at page 210 of The Comprehensive LATEX Symbol List that barred d can be achieved as:
\def\dbar{{\mathchar '26\mkern-12mu d}}
Indeed one way to sketch the equation above is:
\documentclass{article}
\usepackage{amsmath}
\def\dbar{{\mathchar '26\mkern-12mu d}}
\begin{document}
\[
d U = \underbrace{\dbar Q}_{\text{Heat}} + \underbrace{\dbar W}_{\text{Mech. Work}}
\]
\end{document}
\text{Heat} (and the same for Work, obviously) - or, if italics is desired, \mathit{Heat}, in order to achieve the correct spacing. Generally words should be set as text and upright, but italics may be desired for whatever reason (\textit{} may be preferable for italics, actually). This will also give a proper space in Mech. Work, although if in text mode, you'll need Mech.\ Work otherwise you'll get a sentence-ending space
– Au101
Dec 08 '15 at 21:31
amsmath? \text{} is only defined in amsmath, otherwise it's good old \mathrm{}, \textrm{} or - the old standby that was generally preferred - \mbox{}. Probably could've done with mentioning that in my comment, to be fair :)
– Au101
Dec 09 '15 at 18:00
It is described in The LaTeX Comprehensive Symbol List. Here is the full example:
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{mathtools}
\def\dbar{{\mkern3mu\mathchar'26\mkern-12mu d}}
\begin{document}
\[ dU = \underbrace{\dbar Q}_\text{Heat} \mskip6mu + \mskip6mu\underbrace{\dbar W\vphantom{Q}}_\text{\clap{Mech.\,Works}}\]%
\end{document}
\dbar contributes 3mu of negative space.
– egreg
Dec 08 '15 at 22:55
\hbar one uses mkern -9muinstead of -12mu?
– Bernard
Dec 08 '15 at 23:08
\deltaas Wikipedia and every textbook I know of does. – Henri Menke Dec 08 '15 at 21:08