Forgot password
 Register account
View 288|Reply 3

在tikz中,圆的默认线条样式要怎么设置

[Copy link]

414

Threads

1641

Posts

15

Reputation

Show all posts

abababa posted 2023-4-6 20:35 |Read mode
如题。我加了\tikzset{line style/.style={line width=1pt}}这一句,能把直线类的都设置一下,但是圆的都不行,怎么才能把圆的也设置成默认线宽1pt呢?

3211

Threads

7832

Posts

52

Reputation

Show all posts

hbghlyj posted 2023-4-6 21:16
every path 吗

673

Threads

110K

Posts

218

Reputation

Show all posts

kuing posted 2023-4-6 21:45
设置 \tikzset{line style/.style={line width=1pt}} 就能把直线类的线宽全变成 1pt?不会吧,按我的理解,这句话只是自定义了一个叫做“line style”的样式而已啊,你直线类的都怎么写的?

还是给出最小可用示例(minimal working example(MWE))吧

414

Threads

1641

Posts

15

Reputation

Show all posts

original poster abababa posted 2023-4-7 14:43
kuing 发表于 2023-4-6 21:45
设置 \tikzset{line style/.style={line width=1pt}} 就能把直线类的线宽全变成 1pt?不会吧,按我的理解, ...
哦我明白了,可能是tkz-euclide里这些就叫这个名,对tkz-euclide画的那些线就管用,对直接用\draw (0,0)--(0,5);这种就不管用。
为什么不能用在圆上我虽然不明白,但是找到方法了,在tkz-euclide里设置圆的话,得用单独的\tkzSetUpCircle[line width=5pt],用了这个就管用了。

Quick Reply

Advanced Mode
B Color Image Link Quote Code Smilies
You have to log in before you can reply Login | Register account

$\LaTeX$ formula tutorial

Mobile version

2025-7-20 05:57 GMT+8

Powered by Discuz!

Processed in 0.011078 seconds, 22 queries