我正在寻找一种可以很好地生成单页PDF的工具.我的需求是:
本质上我正在寻找OODraw/CorelDraw/...的工具X,因为LaTeX是OOWrite/MS Word.
我看过webkit2pdf和无头的OODraw,但两者看起来都有点矫枉过正.XML-FO有一些限制,例如无法预测文档跨越多少页面.Reportlab价格昂贵.
有任何想法吗?
谢谢!
Kon*_*lph 12
绝对PGF/Ti的ķ ž.卖点:
http://media.texample.net/tikz/examples/PNG/rooty-helix.png
由此代码创建:
% Rooty helix
% Author: Felix Lindemann
\documentclass{minimal}
\usepackage{tikz}
\usetikzlibrary{calc}
\begin{document}
\pagestyle{empty}
\pgfdeclarelayer{background}
\pgfdeclarelayer{foreground}
\pgfsetlayers{background,main,foreground}
\xdefinecolor{darkgreen}{RGB}{175, 193, 36}
\newcounter{cntShader}
\newcounter{cntRoot}
\setcounter{cntShader}{20}
\def\couleur{darkgreen}
\begin{tikzpicture}
\foreach \y in {86,38,15}{
\setcounter{cntShader}{1}
\coordinate (a) at (0,0);
\coordinate (b) at (0:1);
\foreach \x in {1,...,\y}{%
\coordinate (c) at ($ (b)!1cm!270:(a) $);
\begin{pgfonlayer}{background}
\draw[fill=\couleur!\thecntShader] (a)--(b)--(c)--cycle;
\end{pgfonlayer}
\setcounter{cntRoot}{\x}
\addtocounter{cntRoot}{1}
\node[fill=white,draw,circle,inner sep=1pt] at (c)
{$\sqrt{\thecntRoot}$};
\coordinate (b) at (c);
\pgfmathsetcounter{cntShader}{\thecntShader+4}
\setcounter{cntShader}{\thecntShader}
}
}
\node[fill=white,draw,circle,inner sep=1pt] at (0:1) {$\sqrt{1}$};
\end{tikzpicture}
\end{document}
Run Code Online (Sandbox Code Playgroud)
从示例中大肆窃取.