8

I need the \female and \male symbols in my document. However, by using the code below I only get pixel symbols in the pdf. Looking at the font in Acrobat Reader it says font F30 type 3 not embedded. I'm using MiKTeX 4.0.1.

Is there any other font (preferably lmodern) which includes these symbols as vector symbols?

\documentclass [] {article}

\usepackage{wasysym}
\begin{document}
    \mars%
    \female%
\end{document}
2
  • 2
    Quite likely you don't have installed the Type1 version of wasysym, see miktex.org/packages/wasy-type1 or have not updated the font maps.
    – egreg
    Sep 16, 2020 at 19:22
  • @egreg Thank you, this solved the problem, the package wasn't installed. Sep 16, 2020 at 19:30

3 Answers 3

6

The “complete” wasy fonts consist of three different CTAN packages:

https://ctan.org/pkg/wasy
https://ctan.org/pkg/wasysym
https://ctan.org/pkg/wasy-type1

The first one provides the Metafont sources for the fonts and basic support for plain TeX (with wasyfont.tex).

The second one provides LaTeX support for the fonts (with wasysym.sty and related .fd files).

The third one provides the Type1 (scalable) version of the fonts.

Unless you install the last one, the fonts will be bitmaps. The reason for the separation is that the three packages are by different people.

7

Try a different package, in this case, marvosym.

\documentclass{article}
\usepackage{marvosym}
\begin{document}
    A\Male%
    \Female%
\end{document}

enter image description here

2
  • Ok that worked, although they are quite bold. I wonder how the author of this document link has managed it to get the biological symbols (see page 131) out of the wasysym package as vector font. Sep 16, 2020 at 19:20
  • OK egreg solved my initial problem with wasysym font. Also thank you for your answer that package is also nice. Sep 16, 2020 at 19:31
1

With fontspec, you can load them from any Unicode font that contains them, such as

\usepackage{fontspec}
\newfontfamily\symbolfont{DejaVu Sans}[
  Scale=MatchUppercase]

\newcommand\Male{{\symbolfont\symbol{"2642}}}
\newcommand\Female{{\symbolfont\symbol{"2640}}}

You could set the ♀ and ♂ Unicode characters active with newunicodechar.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .