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
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
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}
\boxminusbe ok? You need to loadamssymbto use it. – Philipp Oct 02 '13 at 05:30\Theta'? – Werner Oct 02 '13 at 05:49\Xi? – Werner Oct 02 '13 at 06:16http://tex.stackexchange.com/questions/13594/how-to-add-a-custom-symbol-to-latex
http://stackoverflow.com/questions/3257923/how-to-make-your-own-latex-math-symbol
– Louis Oct 02 '13 at 06:21\varTheta? – Francis Oct 02 '13 at 06:39\boxminusfromamssymbpackage. You can also try to include a previously made image, but it can be a pain to use. – masu Oct 02 '13 at 06:13\Thetais not geometric, while a square is; I don't think a visual connection would be obvious. – egreg Oct 02 '13 at 13:38\Theta',\Xi,\Theta_1,\tilde\Theta, ... do you really need a new symbol? – yo' Oct 29 '13 at 22:33