发布网友 发布时间:2022-04-30 20:52
共2个回答
热心网友 时间:2022-07-01 20:22
(1)可以使用宏包\usepackage[partialup]{kpfonts},但是会改变其他公式的字体
\documentclass{article}
\usepackage[partialup]{kpfonts}
\begin{document}
\[\frac{\partial z}{\partial x},\quad \frac{\partial z}{\partial y},\quad \frac{\partial^2z}{\partial x^2},\quad \frac{\partial^2z}{\partial y^2},\quad \frac{\partial^2z}{\partial x\partial y},\quad \frac{\partial^2z}{\partial y\partial x}\]
\end{document}
效果图
(2)不改变其他公式的字体实现直立偏微分,可以定义一个新的命令\uppartial
\documentclass{article}
\makeatletter
\newif\ifkp@upRm% is used in the .fd-file of jkp
\DeclareSymbolFont{Letters}{OML}{jkp}{m}{n}
\DeclareMathSymbol{\uppartial}{\mathord}{Letters}{128}
\makeatother
\begin{document}
\[\frac{\partial z}{\partial x},\quad \frac{\partial z}{\partial y},\quad \frac{\partial^2z}{\partial x^2},\quad \frac{\partial^2z}{\partial y^2},\quad \frac{\partial^2z}{\partial x\partial y},\quad \frac{\partial^2z}{\partial y\partial x}\]
\[\frac{\uppartial z}{\uppartial x},\quad \frac{\uppartial z}{\uppartial y},\quad \frac{\uppartial^2z}{\uppartial x^2},\quad \frac{\uppartial^2z}{\uppartial y^2},\quad \frac{\uppartial^2z}{\uppartial x\uppartial y},\quad \frac{\uppartial^2z}{\uppartial y\uppartial x}\]
\end{document}
效果如图
热心网友 时间:2022-07-01 20:23
工具栏style的下拉菜单,选择text或者直接快捷键shift+ctrl+e