Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- \makeatletter
- \newcommand{\dashover}[2][\mathop]{#1{\mathpalette\df@over{{\dashfill}{#2}}}}
- \newcommand{\fillover}[2][\mathop]{#1{\mathpalette\df@over{{\solidfill}{#2}}}}
- \newcommand{\df@over}[2]{\df@@over#1#2}
- \newcommand\df@@over[3]{%
- \vbox{
- \offinterlineskip
- \ialign{##\cr
- #2{#1}\cr
- \noalign{\kern1.2pt}
- $\m@th#1#3$\cr
- }
- }%
- }
- \newcommand{\dashfill}[1]{%
- \kern-.5pt
- \xleaders\hbox{\kern.5pt\vrule height.4pt width \dash@width{#1}\kern.5pt}\hfill
- \kern-.5pt
- }
- \newcommand{\dash@width}[1]{%
- \ifx#1\displaystyle
- 2pt
- \else
- \ifx#1\textstyle
- 1.5pt
- \else
- \ifx#1\scriptstyle
- 1.25pt
- \else
- \ifx#1\scriptscriptstyle
- 1pt
- \fi
- \fi
- \fi
- \fi
- }
- \newcommand{\solidfill}[1]{\leaders\hrule\hfill}
- \makeatother
- Then use
- $\dashover{\mathcal{A}}$ for example.
- See https://tex.stackexchange.com/questions/218416/how-to-insert-a-dashed-line-over-a-bigwedge-symbol-so-that-the-dashed-line-behav
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement