# Cannot treat curly braces upright

Issue #8 resolved
Liam Huang
created an issue

Hi there,

From the documentation, I noticed that by using \AddEmph{\{}{\}} on could treat curly braces upright. However, after giving a try, the braces remain sloped.

Could you please check this and help me?

MWE:

\documentclass{article}
\usepackage{embrac}
\begin{document}

\textit{\{[(italic)]\}}

\textsl{\{[(slant)]\}}

\emph{\{[(emphasis)]\}}
\end{document}


Environment: OS X 10.11.6, MacTeX 2017 with all packages updated.

Screenshot:

1. repo owner

That's not what I get:

But actually I don't see that embrac has a chance to do anything when using the Computer Modern Font:

\documentclass{article}
\begin{document}

\{\} \textit{\{\}} \textup{\{\}}

\end{document}


2. reporter

Thanks Clemems, thank you for the reply.

However, both of my computer, OS X and Windows 7 yield the same problem.

I'll trace it again later, and do you have any suggestions for trouble shooting?

3. reporter

Oh, maybe I get the point.

\documentclass{article}
\begin{document}

\{\} \textit{\{\}} \textup{\{\}}

\end{document}


For this snippet of code, pdfLaTeX gives the result as you posted, while XeLaTeX makes curly braces inside \textit sloped. And my codes are compiled under XeLaTeX.

Would you like to reproduce this?

4. reporter

This patch does fix the problem I met. Thanks for the quick reaction.