2

Is there a way to control the thickness of the mark using \tkzMarkSegment in tkz-euclide? (Or are there other readily-available macros with such options?)

\documentclass[tikz, border=1cm]{standalone}
\usepackage{tkz-euclide}

\begin{document}
\begin{tikzpicture}
\coordinate (A) at (0,0);
\coordinate (B) at (4,0);

\draw (A)--(B);
\tkzMarkSegment[mark=|](A,B)

\end{tikzpicture}  
\end{document}
2

You can modify line width of marks within a scope environment

\documentclass[tikz, border=1cm]{standalone}
\usepackage{tkz-euclide}

\begin{document}

\begin{tikzpicture}
\coordinate (A) at (0,0);
\coordinate (B) at (4,0);

\draw (A)--(B);
\begin{scope}[line width=2pt]
\tkzMarkSegment[mark=|](A,B)
\end{scope}

\end{tikzpicture}  
\end{document}

Your Answer

By clicking "Post Your Answer", you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.