Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I would like to make a shorter version of $\sqcup$ to use as a symbol for a Turing machine if possible. The first picture is the height I would like it to be and the second is the default height. enter image description here enter image description here

share|improve this question
add comment

2 Answers

up vote 3 down vote accepted

One option, scaling down vertically the symbol:

\documentclass{article}
\usepackage{graphicx}

\newcommand\ssqcup{\scalebox{1}[.75]{$\sqcup$}}

\begin{document}

$\sqcup q_{2}\quad \ssqcup q_{2}$

\end{document}

enter image description here

share|improve this answer
add comment

One can reduce the vertical size; the scaling of the horizontal line will not be noticeable.

\documentclass{article}
\usepackage{amsmath,graphicx,bm}

\newcommand{\tsq}{%
  \text{\resizebox{!}{.8ex}{$\bm{\sqcup}$}}%
}

\begin{document}
$\tsq q_2\mathtt{0}$
\end{document}

With \bm the symbol will be blacker.

If you don't need the symbol in subscripts or superscripts, omit the \text around the main body.

enter image description here

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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