1. 在latex文件头导入amssymb包
\usepackage{amssymb}
 
2. 使用\mathbb{set}命令输出。其中set为你想输出的set:
latex之如何打出实数集、整数集等_latex