An introduction to setup the TikZ environment in Emacs Org File. So that in Org file, you can generate either vector graph of =pdf= format or raster graph of =png= format. Furthermore, you can export the vector graph when latex is called and otherwise raster graph.