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.
Best Regards,
Antonio
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
On Monday, March 19, 2018, 10:04:26 AM CDT, François Patte francois.patte@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
2018-03-19 17:01 GMT+01:00, Antonio Olivares olivares14031@yahoo.com:
On Monday, March 19, 2018, 10:04:26 AM CDT, François Patte francois.patte@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
[...]
How do I invoke it? I have texlive 2017 full scheme installed. I just use old latex+dvips+ps2pdf to create documents.
Invoking it is not the problem (just say 'xelatex yourtexfile.tex'). But I'd be surprised if this solved your problem. First, xelatex is not exactly tex, so you'll probably have to change a few things at least in the preamble of your document. Second, you need a font with the soccerball character in it. If I had this problem, I'd use google.
Andras
On Monday, March 19, 2018, 12:05:06 PM CDT, Andras Simon szajmi@gmail.com wrote:
2018-03-19 17:01 GMT+01:00, Antonio Olivares olivares14031@yahoo.com:
On Monday, March 19, 2018, 10:04:26 AM CDT, François Patte francois.patte@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
[...]
How do I invoke it? I have texlive 2017 full scheme installed. I just use old latex+dvips+ps2pdf to create documents.
Invoking it is not the problem (just say 'xelatex yourtexfile.tex'). But I'd be surprised if this solved your problem. First, xelatex is not exactly tex, so you'll probably have to change a few things at least in the preamble of your document. Second, you need a font with the soccerball character in it. If I had this problem, I'd use google.
Andras _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org I have an input file $ cat test-sb.tex \documentclass{article} %\usepackage[utf8]{inputenc} %\usepackage[T1]{fontenc} \usepackage[utf8x]{inputenc} \pagestyle{empty}
\begin{document}
\textSoccerBall â½
%\char"\u26bd" %U+26BD % ð %â½ \end{document}
and I process it with $ xelatex test-sb,tex This is XeTeX, Version 3.14159265-2.6-0.99998 (TeX Live 2017) (preloaded format=xelatex) restricted \write18 enabled. entering extended mode (./test-sb.tex LaTeX2e <2017-04-15> Babel <3.16> and hyphenation patterns for 84 language(s) loaded. (/usr/local/texlive/2017/texmf-dist/tex/latex/base/article.cls Document Class: article 2014/09/29 v1.4h Standard LaTeX document class (/usr/local/texlive/2017/texmf-dist/tex/latex/base/size10.clo)) (/usr/local/texlive/2017/texmf-dist/tex/latex/base/inputenc.sty
Package inputenc Warning: inputenc package ignored with utf8 based engines.
) (./test-sb.aux) ! Undefined control sequence.l.9 \textSoccerBall â½ ? ^[[?64;1;2;6;9;15;18;21;22c Type <return> to proceed, S to scroll future error messages, R to run without stopping, Q to run quietly, I to insert something, E to edit your file, 1 or ... or 9 to ignore the next 1 to 9 tokens of input, H for help, X to quit. ? [1] (./test-sb.aux) ) Output written on test-sb.pdf (1 page). Transcript written on test-sb.log. $ xpdf test-sb.pdf &
On Monday, March 19, 2018, 12:18:11 PM CDT, Antonio Olivares olivares14031@yahoo.com wrote:
On Monday, March 19, 2018, 12:05:06 PM CDT, Andras Simon szajmi@gmail.com wrote:
2018-03-19 17:01 GMT+01:00, Antonio Olivares olivares14031@yahoo.com:
On Monday, March 19, 2018, 10:04:26 AM CDT, François Patte francois.patte@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
[...]
How do I invoke it? I have texlive 2017 full scheme installed. I just use old latex+dvips+ps2pdf to create documents.
Invoking it is not the problem (just say 'xelatex yourtexfile.tex'). But I'd be surprised if this solved your problem. First, xelatex is not exactly tex, so you'll probably have to change a few things at least in the preamble of your document. Second, you need a font with the soccerball character in it. If I had this problem, I'd use google.
Andras _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org I have an input file $ cat test-sb.tex \documentclass{article} %\usepackage[utf8]{inputenc} %\usepackage[T1]{fontenc} \usepackage[utf8x]{inputenc} \pagestyle{empty}
\begin{document}
\textSoccerBall â½
%\char"\u26bd" %U+26BD % ð %â½ \end{document}
and I process it with $ xelatex test-sb,tex This is XeTeX, Version 3.14159265-2.6-0.99998 (TeX Live 2017) (preloaded format=xelatex) restricted \write18 enabled. entering extended mode (./test-sb.tex LaTeX2e <2017-04-15> Babel <3.16> and hyphenation patterns for 84 language(s) loaded. (/usr/local/texlive/2017/texmf-dist/tex/latex/base/article.cls Document Class: article 2014/09/29 v1.4h Standard LaTeX document class (/usr/local/texlive/2017/texmf-dist/tex/latex/base/size10.clo)) (/usr/local/texlive/2017/texmf-dist/tex/latex/base/inputenc.sty
Package inputenc Warning: inputenc package ignored with utf8 based engines.
) (./test-sb.aux) ! Undefined control sequence.l.9 \textSoccerBall â½ ? ^[[?64;1;2;6;9;15;18;21;22c Type <return> to proceed, S to scroll future error messages, R to run without stopping, Q to run quietly, I to insert something, E to edit your file, 1 or ... or 9 to ignore the next 1 to 9 tokens of input, H for help, X to quit. ? [1] (./test-sb.aux) ) Output written on test-sb.pdf (1 page). Transcript written on test-sb.log. $ xpdf test-sb.pdf &
/**************/ above command did not show anything in pdf. I saw the macro at http://mirrors.ibiblio.org/CTAN/macros/xetex/latex/xecjk/xunicode-symbols.pd... in page 42 of above document. Thank you for helping. Best Regards,
Antonio
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@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-leave@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.
On Monday, March 19, 2018, 1:08:26 PM CDT, François Patte francois.patte@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@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-leave@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.
2018-03-19 19:07 GMT+01:00, François Patte francois.patte@mi.parisdescartes.fr:
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.
Thanks! To the OP: you should
dnf install unifont-font
and then you can xelatex François' example.
2018-03-19 20:08 GMT+01:00, Antonio Olivares olivares14031@yahoo.com:
Thanks for helping me. I am close but I get error:
[...]
dnf install unifont-font
(as root) will solve this problem.
On Monday, March 19, 2018, 3:41:50 PM CDT, Andras Simon szajmi@gmail.com wrote:
2018-03-19 19:07 GMT+01:00, François Patte francois.patte@mi.parisdescartes.fr:
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.
Thanks! To the OP: you should
dnf install unifont-font
and then you can xelatex François' example. _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org /***********************************/ Thank you very much for your help! That did the job. Now my pdf a soccerball appears :)This way I can put which players have how many goals by putting soccerballs next to their names ! $ cat sb2.tex \documentclass[11pt,a4paper]{article}
\usepackage{fontspec} \newfontfamily{\uni}{Unifont}
\begin{document}
{\uni% \symbol{"26BD} }
\end{document}$ xelatex sb2.tex This is XeTeX, Version 3.14159265-2.6-0.99998 (TeX Live 2017) (preloaded format=xelatex) restricted \write18 enabled. entering extended mode (./sb2.tex LaTeX2e <2017-04-15> Babel <3.16> and hyphenation patterns for 84 language(s) loaded. (/usr/local/texlive/2017/texmf-dist/tex/latex/base/article.cls Document Class: article 2014/09/29 v1.4h Standard LaTeX document class (/usr/local/texlive/2017/texmf-dist/tex/latex/base/size11.clo)) (/usr/local/texlive/2017/texmf-dist/tex/latex/fontspec/fontspec.sty (/usr/local/texlive/2017/texmf-dist/tex/latex/l3packages/xparse/xparse.sty (/usr/local/texlive/2017/texmf-dist/tex/latex/l3kernel/expl3.sty (/usr/local/texlive/2017/texmf-dist/tex/latex/l3kernel/expl3-code.tex) (/usr/local/texlive/2017/texmf-dist/tex/latex/l3kernel/l3xdvipdfmx.def))) (/usr/local/texlive/2017/texmf-dist/tex/latex/fontspec/fontspec-xetex.sty (/usr/local/texlive/2017/texmf-dist/tex/latex/base/fontenc.sty (/usr/local/texlive/2017/texmf-dist/tex/latex/base/tuenc.def)) (/usr/local/texlive/2017/texmf-dist/tex/latex/fontspec/fontspec.cfg)))No file sb2.aux. [1] (./sb2.aux) ) Output written on sb2.pdf (1 page). Transcript written on sb2.log. $ Best Regards,
Antonio