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'd tried Detexify but no success. Since we have \square for quadrilateral and \triangle for triangles, I'd like to use a symbol for parallelogram. A kind of slanted square.

Of course, I can do this using tikz but I guess that it is too much. I'd need to load a huge package only to draw a single symbol.

Any ideas?

share|improve this question
there's a parallelogram at U+25B1 in unicode, so this would be in the stix or xits fonts. (those aren't in either detexify or the comprehensive symbols list yet.) –  barbara beeton Oct 8 '13 at 12:19
@barbarabeeton, thanks for your comment but I have no idea how to use this glyph. Is it possible to define a newcommand? –  Sigur Oct 8 '13 at 12:22
i'm certain it's possible to define a \newcommand{\parallelogram}, but i haven't ever actually used the stix or xits fonts with (la)tex (even though i helped develop the stix fonts), so this is better answered by someone with real experience. hence a comment rather than an answer. –  barbara beeton Oct 8 '13 at 12:27
@barbarabeeton, thanks. I found here stixfonts.org/allGlyphs.html the list of symbols available. As you said, ▰ or ▱ is what I want. –  Sigur Oct 8 '13 at 12:33
add comment

5 Answers

up vote 11 down vote accepted

using xelatex (or lualatex):

enter image description here




\[ a ^^^^25b1  b \]

\[ a ^^^^25b1  b \]

share|improve this answer
David, as far as I know it is possible to use only some glyphs from that font, isn't? So the math font would be still the cmr. Thanks. –  Sigur Oct 8 '13 at 16:30
The stix font have recently been repackaged as a set of fonts for classic (pdf) tex. Using xelatex it's simpler (although not strictly required) to go with the flow and use a matching font for everything. –  David Carlisle Oct 8 '13 at 16:35
\usepackage{stix} and use \parallelogram is the simplest way to use STIX math fonts, especially for classic pdfTeX. –  Leo Liu May 19 at 4:00
add comment

You don’t need TikZ, you can use PGF (just a little lighter), or if you don’t need rounded line caps/joins (or if you know how to activate them for \rules), a few rules suffice.


$\square \triangle$%


enter image description here

share|improve this answer
Does pgf come with basic installation? –  Sigur Oct 8 '13 at 13:03
@Sigur I don’t know. PGF is the basic layer of TikZ (or to be precise: TikZ is the front-end layer of PGF). Both together (And more) are bundled under pgf in TeXLive and MikTeX. –  Qrrbrbirlbel Oct 8 '13 at 13:06
add comment

With PSTricks just for fun as usual!




This is a parallelogram \parallelogram. Is it cool? Yes! How about the bigger one \parallelogram[10]? Is it cooler? Yes!

enter image description here

share|improve this answer
add comment

It is not perfect, but the stmaryrd package offers \fatslash and \fatbslash (as binary operators).

share|improve this answer
Thanks, but it is not too fat... lol –  Sigur Oct 8 '13 at 12:21
add comment

This answer uses stackengine and scalerel to construct the glyph. It scales to different math sizes, though the line stroke thickness will be diminished in the process.

$\square \triangle \parallelogram \scriptscriptstyle \square \triangle \parallelogram$

enter image description here

share|improve this answer
add comment

Your Answer


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.