sphinx-contrib / tikz

A Sphinx extension to draw pictures with the TikZ/PGF LaTeX package
Other
18 stars 15 forks source link

Add options "align" and "alt" #4

Closed yang-fighter closed 3 years ago

yang-fighter commented 4 years ago

The :align: option expects "left", "center", or "right" to specify the horizontal alignment of the image, equivalent to the HTML "text-align" CSS property. The default value is "center".

The :alt: option specifies the alternative text, which is a short description of the image, displayed by applications that cannot display images, or spoken by applications for visually impaired users. The default value is "This is a figure."

darikg commented 3 years ago

@yang-fighter Was just looking for this exact feature and stumbled on your PR. Thanks!

ganeshgore commented 3 years ago

+1 Please merge this

christian-krieg commented 3 years ago

Cool feature! Thanks a lot! @Maintainers, please merge!

philexander commented 3 years ago

Sorry for the long silence and thank you for the pull request.