黑色方框
-
在
tex
文件头部导入amssymb
\usepackage{amssymb}
-
使用以下命令打出黑色方框:
$\blacksquare$
\(\blacksquare\) -
如果需要让黑色方框右对齐,则再加上
\hfill
命令:
$\hfill\blacksquare$
\(\blacksquare\)
白色方框
- 在
tex
文件头部导入amsthm
\usepackage{amsthm}
- 使用以下命令打出白色方框:
$\qedsymbol$
黑色方框
在tex
文件头部导入amssymb
\usepackage{amssymb}
使用以下命令打出黑色方框:
$\blacksquare$
\(\blacksquare\)
如果需要让黑色方框右对齐,则再加上\hfill
命令:
$\hfill\blacksquare$
\(\blacksquare\)
白色方框
tex
文件头部导入amsthm
\usepackage{amsthm}
$\qedsymbol$