# How to put a vertical line with derivative [duplicate]

Dear All in attached image how I can put a vertical line with derivative .Any command for this please?

• To the downvoter: Please don't downvote a question without leaving a comment explaining where the question needs improvement. Especially if it's the first question of a new community member. – Jake Mar 6 '16 at 12:37
• Welcome to TeX.SX! Please help us help you and add a minimal working example (MWE) that illustrates your problem. Reproducing the problem and finding out what the issue is will be much easier when we see compilable code, starting with \documentclass{...} and ending with \end{document}. – Holene Mar 6 '16 at 12:37
• – GuM Mar 6 '16 at 23:32

## 1 Answer

Like this.

\documentclass{article}
\newcommand\rd{\mathrm d}
\begin{document}
$\left.\frac{\rd y}{\rd x}\right|_{x=0}$
\end{document}