Is there a \ding symbol for a house?

Is there a \ding symbol for a house? I need it for my CV, but can't find it. Thanks

• Welcome to TeX.SX! The first place to check is symbols-a4 or DeTeXify. I don't see one in the pifont package (\ding{<num>}), but other symbol fonts exist. – Paul Gessler Mar 24 '15 at 12:27
• \tikz \draw[thick,rounded corners=8pt] (0,0) -- (0,2) -- (1,3.25) -- (2,2) -- (2,0) -- (0,2) -- (2,2) -- (0,0) -- (2,0); - Till Tantau – LaRiFaRi Mar 24 '15 at 13:34

5 Answers

We can use direct \pdfliteral. For example:

\def\house{\hbox{\kern3pt \vbox to13pt{}%
\pdfliteral{q 0 0 m 0 5 l 5 10 l 10 5 l 10 0 l 7 0 l 7 5 l 3 5 l 3 0 l f
1 j 1 J -2 5 m 5 12 l 12 5 l S Q }%
\kern 13pt}}

House: \house.

\end


• Basic knowledge :) – Manuel Mar 24 '15 at 13:00
• @wipet Could you please provide a source to learn more about those pdf literals? – Henri Menke Mar 24 '15 at 13:28
• @HenriMenke The main reference is PDF reference manual from Adobe, of course. But we need to know only very small subset of this knowledge in order to draw simple graphics. This was summarized in my article "Simple graphics in PDF by PDF primitives" petr.olsak.net/ftp/olsak/bulletin/pdfgrafika.pdf (but it is only in Czech language, sorry). – wipet Mar 24 '15 at 13:36
• @wipet Unfortunately I don't speak Czech. But thank you very much for this resource. Maybe Google Translate can help me. – Henri Menke Mar 24 '15 at 13:39
• This looks hilariously good. – Kaligule Oct 19 '17 at 19:59
% arara: lualatex

\documentclass{article}
\usepackage{fontspec}
\newcommand*{\house}[2]{{\fontspec{#1}\symbol{"#2}}}

\begin{document}
Lamentable class:
\house{symbola.ttf}{26FA}
\house{quivira.otf}{26FA}

Lower class:
\house{code2000.ttf}{2302}
\house{symbola.ttf}{2302}
\house{Linux Libertine O}{2302}
\house{quivira.otf}{2302}
\house{freeserif.ttf}{2302}

Middle class:
\house{symbola.ttf}{1F3E0}
\house{quivira.otf}{1F3E0}

Upper class:
\house{symbola.ttf}{1F3E1}
\house{quivira.otf}{1F3E1}

Property owner:
\house{symbola.ttf}{1F3D8}

Business:
\house{symbola.ttf}{1F3E2}
\house{quivira.otf}{1F3E2}

Dandy:
\house{symbola.ttf}{1F3DB}
\house{symbola.ttf}{1F3EF}

King:
\house{symbola.ttf}{1F3F0}
\end{document}


• Hey, I'm trying to put those icons at LyX but it's give an error. Do you know why? how can I use those icons at LyX? Thank you! – heblyx Dec 18 '15 at 10:21
• @Yoar What error? I can't guess. Are you compiling with Lua- or XeLaTeX? Please consider asking a new question if this is not treated any where on this site. – LaRiFaRi Dec 18 '15 at 12:51

Well, I guess I'll join the bandwagon too. This solution uses the fontawesome package/symbol font. It requires compilation with XeLaTeX or LuaLaTeX.

% compile with XeLaTeX or LuaLaTeX
\documentclass{article}
\usepackage{fontawesome}

\begin{document}
Test home symbol: \faHome
\end{document}


This is the closest I can think of.

\documentclass{article}
\usepackage[alpine]{ifsym}
\begin{document}
\Hut
\end{document}


• \HalfFilledHut\FilledHut\Village\Tent – LaRiFaRi Mar 24 '15 at 12:49

The easiest thing to do is to google "house icon" images, which leads you to a page like http://fashionnow.website/house-icon-png/, download an image or two, and include them as graphics in your document.

\documentclass{article}
\usepackage{graphicx}
\begin{document}
Here are some icons:
\includegraphics[width=1cm]{Home_Icon}
\includegraphics[width=1cm]{house_Icon}
\end{document}