5

I wish to partly change the color of the $\ge$ symbol. In particular, I want to change the horizontal bar into a red color, similar to this:

enter image description here

How can this be typset?

Skydiver
  • 977
  • 2
    Here there is a starting point: https://tex.stackexchange.com/questions/201596/character-with-two-colors. Just for curiosity, but where have you seen this double coloured symbol? – Sebastiano Jan 06 '21 at 21:55
  • @Sebastiano Thanks, I'll look into it and try to make it work for my case. I actually haven't seen the symbol anywhere and just die a quick mockup in paint, I'm planning to use it in a formula sheet I'm working on and this marking would allow me to save space. – Skydiver Jan 06 '21 at 21:58
  • Ah, ok it seemed very strange to me because it's the first time I've seen a half-coloured symbol and I voted for you :-) I hope you get a response you like. My regards. – Sebastiano Jan 06 '21 at 22:00

1 Answers1

4

Adapting @egreg's (non-tikz) solution given in the link provided by @Sebastiano in the comments:

ge symbol

Fortunately, the bar portion of the glyph seems to be in the depth area, making the trimming for the clipbox viewport simpler.

MWE

\documentclass{article}
\usepackage{trimclip,xcolor}

\newcommand{\skyge}{% \mbox{% $\ge$ \textcolor{red}{$\ge$}% \llap{\textcolor{blue}{\clipbox*{0 0 {\width} {\height}}{$\ge$}}}% }% }

\begin{document} \skyge \end{document}

Cicada
  • 10,129