pgf-tikz / pgf

A Portable Graphic Format for TeX
https://pgf-tikz.github.io/
1.14k stars 108 forks source link

Update documentation to use new syntax for circle, ellipse, etc. #1373

Closed fsaad closed 4 hours ago

fsaad commented 4 hours ago

Version

3.1.10

Details

The PGF/TikZ Manual states that the newer syntax is circle[radius=1pt] instead of circle (1pt): https://github.com/pgf-tikz/pgf/blob/6e970a1a5b9d8f89194f3e6d80290afeb96cc8fe/doc/generic/pgf/pgfmanual-en-tikz-paths.tex#L512-L516

Many parts of the documentation still use the old syntax, for example: https://github.com/pgf-tikz/pgf/blob/6e970a1a5b9d8f89194f3e6d80290afeb96cc8fe/doc/generic/pgf/pgfmanual-en-tikz-actions.tex#L35-L39

Should the documentation be updated to reflect the new syntax? It will improve readability greatly.

fsaad commented 4 hours ago

Duplicate: https://github.com/pgf-tikz/pgf/issues/999