Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

faq159 如何输入直立的求导和偏导符号? #27

Open
shaodongtang opened this issue Oct 13, 2018 · 1 comment
Open

faq159 如何输入直立的求导和偏导符号? #27

shaodongtang opened this issue Oct 13, 2018 · 1 comment

Comments

@shaodongtang
Copy link

http://www.latexstudio.net/archives/10115.html
\newcommand*{\dif}{\mathop{}!\mathrm{d}}

@shaodongtang
Copy link
Author

physics 宏包中定义了\differential 命令(简写为\dd),它涵盖了之前我们做
的事情,又通过可选参数引入了上标.对于圆括号,它还给出了自动处理的解决方案:
%\usepackage{physics}
\begin{equation*}
\dd x \quad
\dd{\theta} \quad
\dd[2]{x} \quad
\dd(\sin \theta) \quad
\dd[2](\frac{\ln x}{x})
\end{equation*}
另外,这个宏包提供的\verb||derivative 命令(简写为\verb||dv)可以类似的手法处理导数:
%\usepackage{physics}
\begin{equation*}
\dv{x} \quad
\dv{R}{\theta} \quad
\dv[n]{f}{x} \quad
\dv{r}(\frac{\ln r}{r})
\end{equation*}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants