5

I'm using \Theta for some concept in my work, then I need a variation of such concept. I was thinking to use \Theta symbol with a square instead of a circle.

How can I obtain such symbol?

Thanks

  • 1
    Would \boxminus be ok? You need to load amssymb to use it. – Philipp Oct 2 '13 at 5:30
  • 4
    I don't think those symbols would be that distinguishable. Why not use an alternative symbol? Or perhaps \Theta'? – Werner Oct 2 '13 at 5:49
  • You can try to use a reverse search like detexify. No much luck there, the best was \boxminus from amssymb package. You can also try to include a previously made image, but it can be a pain to use. – masu Oct 2 '13 at 6:13
  • 2
    How about \Xi? – Werner Oct 2 '13 at 6:16
  • 1
    How about \varTheta? – Francis Oct 2 '13 at 6:39
10

A solution with TikZ:

\documentclass{article}

\usepackage{tikz}
\usetikzlibrary{calc}

\newlength\thetawidth
\newlength\thetaheight

\newcommand*{\SquareTheta}{%
  \begingroup
    \setlength{\mathsurround}{0pt}%
    \settowidth{\thetawidth}{$\Theta$}%
    \settoheight{\thetaheight}{$\Theta$}%
    \begin{tikzpicture}[
      x=\thetawidth,
      y=\thetaheight,
    ]
    \draw[line width=.1\thetawidth, line cap=round]
      (0.125,.05\thetawidth) -- +($(0,1)-(0,.1\thetawidth)$)
      (0.875,.05\thetawidth) -- +($(0,1)-(0,.1\thetawidth)$);
    \draw[line width=.05\thetaheight, line cap=butt]
      (0.125,.025\thetaheight) -- +(0.75,0)
      ($(0.125,1)-(0,.025\thetaheight)$) -- +(0.75,0);
    \draw[line width=.1\thetawidth, line cap=butt]
      (0.275,0.5) -- (0.725,0.5);
    \draw[line width=.0375\thetaheight, line cap=butt]
      ($(0.275,0.5)-(0,.1\thetawidth)$) -- +(0,.2\thetawidth)
      ($(0.725,0.5)-(0,.1\thetawidth)$) -- +(0,.2\thetawidth);
    \end{tikzpicture}%
  \endgroup
}

\begin{document}
\renewcommand*{\arraystretch}{0}
\begin{tabular}{c}
  $\Theta$ \\[1pt]
  $\SquareTheta$ \\[1pt]
  $\Theta\SquareTheta$
\end{tabular}
\end{document}

Result

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.