Posts

Showing posts from March 20, 2019

How to properly align Tikz pictures in Latex fraction environment

Image
up vote 3 down vote favorite 1 How to properly align Tikz pictures in Latex environment to get the following picture? My trial code does not compile, documentclass[preview]{standalone} usepackage{tikz} usepackage{amsmath} begin{document} begin{equation*} A = frac{% begin{tikzpicture} draw (0,0) to[bend left] (1,0) to[bend left] (0,0); end{tikzpicture} }{% begin{tikzpicture} defL{1.0} matrix[column sep=.1cm, row sep=2mm] { draw (0,0) to[bend left] (L,0) to[bend left] (0,0); & node at (0,0) {$-$}; & draw[dashed] (0,0) -- (L,0); draw[xshift=L cm] (0,0) to[bend left] (L,0) to[bend left] (0,0); \ }; end{tikz