How to insert vertical cut in delta symbol to denote divided difference?
-
2Could you show what result you want to achieve ?– Christoph FringsCommented Jun 24, 2016 at 12:17
-
See this answer: tex.stackexchange.com/a/159384/80509– MatsmathCommented Jun 24, 2016 at 12:19
-
Welcome to TeX.SX! You can have a look at our starter guide to familiarize yourself further with our format.– Martin SchröderCommented Jun 24, 2016 at 13:16
-
I have not found my answer as I wished. The shape I look for is like an "equilateral triangle together with a vertical median".– Khirod BoruahCommented Jun 25, 2016 at 16:26
2 Answers
This might be what you want. It can be adjusted if needs arise.
\documentclass{article}
\makeatletter
\DeclareRobustCommand{\divdiff}{\mathrel{\mathpalette\div@diff\relax}}
\newcommand{\div@diff}[2]{%
\mathstrut\ooalign{\hidewidth$\m@th#1|$\hidewidth\cr$\m@th#1\bigtriangleup$\cr}%
}
\makeatother
\begin{document}
$A\divdiff B_{x\divdiff y}$
\end{document}
An equilateral triangle with the bisector:
\documentclass{article}
\usepackage{amsmath}
\usepackage{pict2e}
\usepackage{color}
\makeatletter
\DeclareRobustCommand{\divdiff}{\mathrel{\text{\div@diff}}}
\newcommand{\div@diff}{%
\sbox\z@{$\m@th\bigtriangleup$}%
\setlength{\unitlength}{\wd\z@}%
\begin{picture}(1,0.69282)
\linethickness{.09ex}
\roundjoin
\polyline(0.1,0)(0.9,0)(0.5,0.69282)(0.1,0)(0.5,0)
\polyline(0.5,0.69282)(0.5,0)
\end{picture}%
}
\makeatother
\begin{document}
$A\divdiff B_{x\divdiff y}$
\end{document}
-
Yes, it is almost ok, but the median should not cross the base. Commented Jul 1, 2016 at 4:40
-
Are you looking by chance for something like this one:
234B ⍋ Apl Functional Symbol Delta Stile
Since it is an APL character, you can try the package APL from CTAN (it looks like a plain TeX package, but once you have the character, you can adapt it to use with LaTeX as well).
Alternatively, you can try to insert it directly from UNicode (given a UNicode font that supports this symbol).