0
X \Perp Y \mid Z

produces

enter image description here

But I don't know this command is in which package.

0

1 Answer 1

2

txfonts or pxfonts.

\documentclass{article}
\usepackage{txfonts}
% \usepackage{pxfonts}
\begin{document}
$X \Perp Y \mid Z$
\end{document}

enter image description here


Or you can declare symbol only for \Perp.

\documentclass{article}
\usepackage{bm}
\DeclareSymbolFont{symbolsC}{U}{txsyc}{m}{n}
\SetSymbolFont{symbolsC}{bold}{U}{txsyc}{bx}{n}
% \DeclareSymbolFont{symbolsC}{U}{pxsyc}{m}{n}
% \SetSymbolFont{symbolsC}{bold}{U}{pxsyc}{bx}{n}
\DeclareMathSymbol{\Perp}{\mathrel}{symbolsC}{121}
\begin{document}
$X \Perp Y \mid Z$

$\bm{X \Perp Y \mid Z}$
\end{document}

enter image description here

2
  • Thanks. But it also changes the font which is undesirable...Could you fix it?
    – Knt
    Mar 10, 2023 at 14:56
  • @Knt I have updated answer.
    – Clara
    Mar 10, 2023 at 15:48

Not the answer you're looking for? Browse other questions tagged .