以下代码里的 red 为什么没有显示?

2020-10-12 12:38发布

## 编译环境 操作系统 * [x] Windows 10 * [ ] macOS * [ ] Linux `若需勾选,请把[ ]改成[x]` Tex发行版 * [x] TexLive `2020`...

## 编译环境 操作系统 * [x] Windows 10 * [ ] macOS * [ ] Linux `若需勾选,请把[ ]改成[x]` Tex发行版 * [x] TexLive `2020` * [ ] MikTeX `版本号` * [ ] CTeX `若需勾选,请把[ ]改成[x]` ## 我的问题 \documentclass[10pt,a4paper]{article} \usepackage{xcolor} \usepackage{tikz} \begin{document} \begin{tikzpicture} \shadedraw [ball color=red] (13,-5) circle (1cm); \end{tikzpicture} \end{document} --------------------------------------- 这个代码里的 red 没有显示
3条回答
羽箭
2020-10-12 19:47
表示你的代码能整齐吗??由于你用的是xelatex,所以编辑不出来,要用pdflatex ``` \documentclass[10pt,a4paper]{article} \usepackage{xcolor} \usepackage{tikz} \begin{document} \begin{tikzpicture} \shadedraw [ball color=red] (13,-5) circle (1cm); \end{tikzpicture} \end{document} ```

作者追问:2020-10-12 19:47

\documentclass{ctexart}

\usepackage{xcolor,tikz}

\begin{document}

\begin{tikzpicture}

\shadedraw [ball color=red] (0,0) circle (2); 

\end{tikzpicture}

\end{document}


------------


要是使用中文呢?


一周热门 更多>