Le 19/03/2018 à 17:01, Antonio Olivares a écrit :
> On Monday, March 19, 2018, 10:04:26 AM CDT, François Patte
> <francois.pa...@mi.parisdescartes.fr> wrote:
> 
> 
> Le 19/03/2018 à 15:12, Antonio Olivares a écrit :
> 
>> Dear fellow fedora users,
>>
>> In including a soccer ball character in Unicode, I have found
>>
>> https://www.fileformat.info/info/unicode/char/26bd/index.htm
>>
>> And it works.  I try to include in latex document and the character does
>> not show up.  I have tried different variations
>> after \documentclass{article}
>> \usepackage[utf8]{inputenc}
>>
>> And none seem to work.  Is there an easy way to include Unicode chars in
>> latex.
> 
> 
> use xelatex
> 
> 
> -- 
> François Patte
> UFR de mathématiques et informatique
> Laboratoire CNRS MAP5, UMR 8145
> Université Paris Descartes
> 45, rue des Saints Pères
> F-75270 Paris Cedex 06
> Tél. +33 (0)6 7892 5822
> http://www.math-info.univ-paris5.fr/~patte
> 
> _______________________________________________
> users mailing list -- users@lists.fedoraproject.org
> <mailto:users@lists.fedoraproject.org>
> To unsubscribe send an email to users-le...@lists.fedoraproject.org
> <mailto:users-le...@lists.fedoraproject.org>
> /***********************************************************************************/
> 
> How do I invoke it? 
> I have texlive 2017 full scheme installed.  I just use old
> latex+dvips+ps2pdf to create documents. 
> 

Here is MWE:

\documentclass[11pt,a4paper]{article}

\usepackage{fontspec}
\newfontfamily{\uni}{Unifont}

\begin{document}

{\uni%
\symbol{"26BD}
}

\end{document}

This suppose that you have the unifont.ttf installed on your machine.

-- 
François Patte
UFR de mathématiques et informatique
Laboratoire CNRS MAP5, UMR 8145
Université Paris Descartes
45, rue des Saints Pères
F-75270 Paris Cedex 06
Tél. +33 (0)6 7892 5822
http://www.math-info.univ-paris5.fr/~patte

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org

Reply via email to