TransWikia.com

Iguanatex and tikz in powerpoint, problem computing bounding box

TeX - LaTeX Asked by user187609 on May 2, 2021

I am trying to use iguanatex in powerpoint to draw a tikz picture with the following code

documentclass{article}
usepackage{amsmath}
usepackage{amssymb}
usepackage{cmbright}
usepackage{color}
usepackage{tikz}

definecolor{MOOCblue}{RGB}{8,138,224}
definecolor{MOOCgreen}{RGB}{40,159,56}
definecolor{MOOCdarkblue}{RGB}{32,39,79}
definecolor{MOOCorange}{RGB}{240,98,23}

newcommand{prob}[1]{ensuremath{{rm P}left( #1 right)}}

pagestyle{empty}
begin{document}
begin{tikzpicture}[scale=0.65]
draw (-2,0) -- (2,0) ;
draw (0,-2) -- (0,2) ;

draw[MOOCblue, thick] (0,0) -- (0,1) -- (1,2) -- (2,1) -- (2,0) -- cycle ;
draw[MOOCblue, thick] (1,0) -- (1,1) -- (1.5,1) -- (1.5,0) ;



end{tikzpicture}


end{document}

In fact I am trying to edit this code and I have got a powerpoint slide with the executed code on it already. However even when I change nothing and try to regenerate the code I get the error:

Error while using Ghostscript to compute the bounding box. Is your path correct?

Does anyone have an idea what is going wrong here?

Thanks in advance

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP