Skip to content

TikZ: baseline attribute in tikzpicture #2462

@c-minz

Description

@c-minz

In LaTeX, it is possible to shift an inline tikpicture with the keyword baseline either by an absolute value or by specifying a coordinate point (as in the example below). It seems that this feature is not supported in LaTeXML.

Here is a minimal example:

\documentclass{article}
\usepackage{tikz}

\begin{document}
Text before
\begin{tikzpicture}[baseline=(baseline point)]
	\coordinate (baseline point) at (0, -1em);
	\draw (0, 0) circle[radius=2em];
\end{tikzpicture}
text after
\end{document}

Crop from the PDF file, pdflatex output:
image

Crop from the HTML file, latexmlc output:
image

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions