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?

3
  • 2
    Here there is a starting point: tex.stackexchange.com/questions/201596/…. Just for curiosity, but where have you seen this double coloured symbol? – Sebastiano Jan 6 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 6 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 6 at 22:00
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}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.