On Monday, March 19, 2018, 1:08:26 PM CDT, François Patte
<francois.patte(a)mi.parisdescartes.fr> wrote:
Le 19/03/2018 à 17:01, Antonio Olivares a écrit :
On Monday, March 19, 2018, 10:04:26 AM CDT, François Patte
<francois.patte(a)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(a)lists.fedoraproject.org
<mailto:users@lists.fedoraproject.org>
To unsubscribe send an email to users-leave(a)lists.fedoraproject.org
<mailto:users-leave@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
_______________________________________________
users mailing list -- users(a)lists.fedoraproject.org
To unsubscribe send an email to users-leave(a)lists.fedoraproject.org
/**************/
Thanks for helping me. I am close but I get error:
Please type another input file name
! Emergency stop.
<*> ...=ljfour; mag:=1; nonstopmode; input Unifont
Transcript written on mfput.log.
grep: Unifont.log: No such file or directory
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input Unifont'
failed to make Unifont.tfm.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! fontspec error: "font-not-found"
!
! The font "Unifont" cannot be found.
!
! See the fontspec documentation for further information.
!
! For immediate help type H <return>.
!...............................................
l.4 \newfontfamily{\uni}{Unifont}
?kpathsea: Running mktextfm Unifont
/usr/local/texlive/2017/texmf-dist/web2c/mktexnam: Could not map source abbreviation U for
Unifont.
/usr/local/texlive/2017/texmf-dist/web2c/mktexnam: Need to update
/usr/local/texlive/2017/texmf-dist/fonts/map/fontname/special.map?
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input Unifont
This is METAFONT, Version 2.7182818 (TeX Live 2017) (preloaded base=mf)
kpathsea: Running mktexmf Unifont
! I can't find file `Unifont'.
<*> ...=ljfour; mag:=1; nonstopmode; input Unifont
Please type another input file name
! Emergency stop.
<*> ...=ljfour; mag:=1; nonstopmode; input Unifont
Transcript written on mfput.log.
grep: Unifont.log: No such file or directory
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input Unifont'
failed to make Unifont.tfm.
Best Regards,
Antonio