TeX - LaTeX Asked by evomoreira on April 6, 2021
Im trying to display something like this in my article:
But, even i tried a lot, i couldn’t achieve anything like that. Could any of you help me?
Heres one way to do it using the tikzmark
library and then adjusting node positions with the calc
library:
documentclass{article}
usepackage{tikz}
usetikzlibrary{tikzmark}
usetikzlibrary{calc}
begin{document}
[
(tikzmark{a}ax + tikzmark{b}ay) = tikzmark{c}a(x + y)
tikz[remember picture, overlay, baseline=0pt] {
draw[red, thick] ($(pic cs:a) + (0.1, 0.2)$) to[out=90, in=90] ($(pic cs:c) + (0.1, 0.2)$);
draw[red, thick] ($(pic cs:b) + (0.1, 0.2)$) to[out=90, in=90] ($(pic cs:c) + (0.1, 0.2)$);
}
]
end{document}
Answered by Willoughby on April 6, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP