Marca de verificación en XeLatex

Marca de verificación en XeLatex

Estoy trabajando con Tex Studio y usando el compilador XeLatex. Cuando se usa \checkmark en la tabla, se muestra un cuadro hueco en lugar de un símbolo. Según la búsqueda en Internet, he utilizado paquetes como \pifont y \amssymb, pero no tuve éxito. Si cambio el compilador a pdfLatex, las marcas de verificación son visibles.

Gracias por la ayuda de antemano.

\documentclass{article}
\begin{document}
$\begin{table}[h!]
\begin{center}
    \begin{tabular}{|p{4cm} p{1cm} p{1cm} p{1cm} p{1cm} p{1cm} p{1cm}|}  \hline 
        Location    & $u_x$     & $u_y$     & $u_z$ & $\phi_x$ & $\phi_y$ & $\phi_z$ \\ \hline\hline
        Main Wall Bottom    &   \checkmark  & \checkmark    & \checkmark    & \checkmark & NDoF & \checkmark\\ \hline
        Pier Bottom     &   \checkmark  & \checkmark    & \checkmark    & NDoF &\checkmark  & \checkmark\\ \hline
        Main Wall Top   &   \checkmark  & \checkmark    & - & \checkmark & NDoF & \checkmark\\ \hline
        Pier Top    &   \checkmark  & \checkmark    & - & NDoF &\checkmark &  \checkmark\\ \hline
        Pier Vertical   &   \checkmark  & \checkmark    & - &  NDoF & \checkmark &\checkmark\\ \hline
    \end{tabular}
    \caption{Boundary conditions "-"= Not restricted; "NDof"= Element do not have respective degree of freedom } 
    \label{tab:element-bc}
\end{center}
\end{table}$
\end{document}

ingrese la descripción de la imagen aquí

Respuesta1

Si elimino el defectuoso y agrego \usepackage{amssymb}, las marcas de verificación están ahí. Compilado con

This is XeTeX, Version 3.14159265-2.6-0.999991 (TeX Live `2019/W32TeX) 

Código corregido:

\documentclass{article}
\usepackage{amssymb}%
\begin{document}
\begin{table}[h!]
\begin{center}
    \begin{tabular}{|p{4cm} p{1cm} p{1cm} p{1cm} p{1cm} p{1cm} p{1cm}|}  \hline
        Location    & $u_x$     & $u_y$     & $u_z$ & $\phi_x$ & $\phi_y$ & $\phi_z$ \\ \hline\hline
        Main Wall Bottom    &   \checkmark  & \checkmark    & \checkmark    & \checkmark & NDoF & \checkmark\\ \hline
        Pier Bottom     &   \checkmark  & \checkmark    & \checkmark    & NDoF &\checkmark  & \checkmark\\ \hline
        Main Wall Top   &   \checkmark  & \checkmark    & - & \checkmark & NDoF & \checkmark\\ \hline
        Pier Top    &   \checkmark  & \checkmark    & - & NDoF &\checkmark &  \checkmark\\ \hline
        Pier Vertical   &   \checkmark  & \checkmark    & - &  NDoF & \checkmark &\checkmark\\ \hline
    \end{tabular}
    \caption{Boundary conditions "-"= Not restricted; "NDof"= Element do not have respective degree of freedom }
    \label{tab:element-bc}
\end{center}
\end{table}
\end{document}

ingrese la descripción de la imagen aquí

información relacionada