# Font Styles (Segoe UI Symbol)

I have a .docx file with the "Segoe UI Symbol" font style.

Now I have to make a .pdf file with latex and should use this font style again. How do I do that?

Thanks!

• Search for "Segoe UI Symbol" on this site. – Ulrike Fischer Jan 30 '18 at 11:15
• I already tried but couldn find anything. I tried this: \usepackage{fontspec} \setmainfont{Segoe UI Symbol} but it didnt work – Christoph Jan 30 '18 at 12:42
• "It didn't work" is not a sensible problem description. – Ulrike Fischer Jan 30 '18 at 12:49
• And "Search for "Segoe UI Symbol" on this site." not a real answer ^^ – Christoph Jan 30 '18 at 12:58
• Sure, that's why I added my remark as a comment and not as an answer. – Ulrike Fischer Jan 30 '18 at 13:01

Here you go, keep learning :)

This compiles with XeLaTeX, it is much better when you are dealing with different fonts and encodings.

MWE:

% !TeX program = xelatex
\documentclass{article}
\usepackage{fontspec}

\usepackage{lipsum}%to generate dummy data
\setmainfont{Segoe UI Symbol}

\title{A Lovely Segoe UI Symbol Title}
\author{Jon Doe}
\date{11-11-2011}

\begin{document}
\maketitle
\lipsum[1-10] %generate dummy text
\end{document}


• It compiles with lualatex also. – Thérèse Jan 30 '18 at 18:30
• Thanks, I switched to lualatex and tried it but I get the following error: ! LaTeX error: "kernel/command-already-defined"!! Control sequence \latinencoding already defined.!! See the LaTeX3 documentation for further information.!! For immediate help type H <return>.!............................................... \tl_new:N \latinencoding – Christoph Jan 31 '18 at 8:30
• I just reinstalled the fontspec package and the error is now gone. But it still is not using the font i want... – Christoph Jan 31 '18 at 9:10
• Please asd your minimum working example to check it – Sari Jan 31 '18 at 9:11
• I added two pictures to the main question – Christoph Jan 31 '18 at 9:39