\mathbb{Z} yields undefined control sequence error in latex article class

Load the amsfonts package,

\documentclass{article}
\usepackage{amsfonts}
% or you can use amssymb
%\usepackage{amssymb}
\begin{document}
$\mathbb{Z}$
\end{document}
posted @ 2022-01-23 06:15  逍遥叹wan  阅读(368)  评论(0编辑  收藏  举报