我 对问题发布了答案
查《source2d》, 参考 \label 与 \ref 的做法。命令 \label 将一个全局定义命令\global\@namedef写入 .aux 文件,之后 \ref 会引用这个定义,需要编译
我 对问题发布了答案
在《source2e》(2021-06-01)中查到,\parbox 的外部位置参数 c 对应 \vcenter, 猜测,盒子内容放到 $\vcenter{...}$ 中,这是个垂直盒子。关于 \vc
我 对问题发布了答案
\begin{tikzpicture} \tikzset{inner color=red,outer color=black} \pgftext{\pgfuseshading{radial}} \dr
我 发表了评论
@u16962 你可以在\addplot [⟨options⟩] ... 的⟨options⟩ 中用选项自己设置绘图样式,pgfplots 会执行 ⟨options⟩ 并忽略 cycle list 中
我 对问题发布了答案
\addplot+[color = red, mark options={draw=blue,fill=orange}] (0,0) -- (1,1);关于 mark 的这几个选项都是 TikZ 选
我 发表了评论
@u44130 如果树的规模较小,就像上面的例子,建议手工写代码。如果树较大,可以参考手册中关于/tikz/graph/parse的例子。
我 对问题发布了答案
\begin{tikzpicture} \graph [ tree layout, grow'=right, level distance=2.5cm, sibling distance=1mm, s
我 对问题发布了答案
这里的 step 应该是相邻两个 mark 的间距,在between positions 0 and 1 step <x> with ...中,参数 <x> 会被 \pgfma
我 对问题发布了答案
命令 \pgfmathsetmacro, \pgfmathtruncatemacro, \tikzset 的作用可以参考 PGF 的手册。命令\pgfmathsetmacro{\nA}{TDunit(
我 对问题发布了答案
我把你的代码改动了两个定义%%属性 \newcommand{\shuxing}[1]{% \ifnum\value{shuxingcount}=0 % \protected\de
我 发表了评论
用Latex画马鞍面,要求取点多但网格线少,如何实现?