Don't export stupid latex output
This commit is contained in:
parent
6efc508ccd
commit
cf6f10a04b
@ -5,19 +5,10 @@ function ExportAsLaTeX() {
|
|||||||
this._scale = 0.1; // to convert pixels to document space (TikZ breaks if the numbers get too big, above 500?)
|
this._scale = 0.1; // to convert pixels to document space (TikZ breaks if the numbers get too big, above 500?)
|
||||||
|
|
||||||
this.toLaTeX = function() {
|
this.toLaTeX = function() {
|
||||||
return '\\documentclass[12pt]{article}\n' +
|
return '\\begin{tikzpicture}[scale=0.2]\n' +
|
||||||
'\\usepackage{tikz}\n' +
|
|
||||||
'\n' +
|
|
||||||
'\\begin{document}\n' +
|
|
||||||
'\n' +
|
|
||||||
'\\begin{center}\n' +
|
|
||||||
'\\begin{tikzpicture}[scale=0.2]\n' +
|
|
||||||
'\\tikzstyle{every node}+=[inner sep=0pt]\n' +
|
'\\tikzstyle{every node}+=[inner sep=0pt]\n' +
|
||||||
this._texData +
|
this._texData +
|
||||||
'\\end{tikzpicture}\n' +
|
'\\end{tikzpicture}';
|
||||||
'\\end{center}\n' +
|
|
||||||
'\n' +
|
|
||||||
'\\end{document}\n';
|
|
||||||
};
|
};
|
||||||
|
|
||||||
this.beginPath = function() {
|
this.beginPath = function() {
|
||||||
|
Loading…
Reference in New Issue
Block a user