|
没错的话坛子里都是用word来重排的,
用LaTex的很少。
现在latex上已经有的是igo.sty,
说实在效果不太满意。
我的做法是用goWrite生成矢量图(eps)后直接\includegraphics.
为了美观goWrite生成矢量图时会选用跟正文相同的字体。
正文中的手数则是用另外一组自己写的macro,
基本上就是用tikz画圆把手数圈起来,
为了达到每个圆一样大小,
我用了\phatom{},
然后再在原地显示真正的手数,
以下是我为黑子写的macro,
\newcommand*\bs[1]{\ \tikz[baseline=(char.base)]{
\node (char) {\phantom{A}};
\ifthenelse{#1<10}
{%
\node at (char.center) {\phantom{A}};
\node (char) {\phantom{A}};
\node [shape=circle,draw,fill=black, inner sep=1.5pt] at (char.center) {\phantom{\scalebox{0.75}{A}}};
\node [inner xsep=0pt] at (char.center) {\color{white}\scalebox{.9}[1]{{\myfont\small {#1}}}};
}
{\ifthenelse{#1<100}
{%
\node at (char.center) {\phantom{A}};
\node (char) {\phantom{A}};
\node [shape=circle,draw,fill=black, inner sep=1.5pt] at (char.center) {\phantom{\scalebox{0.75}{A}}};
\node [inner xsep=0pt] at (char.center) {\color{white}\scalebox{.8}[1]{{\myfont\small {#1}}}};%
}
{%
\node at (char.center) {\phantom{A}};
\node (char) {\phantom{A}};
\node [shape=circle,draw,fill=black, inner sep=1.5pt] at (char.center) {\phantom{\scalebox{0.75}{A}}};
\node [inner xsep=0pt] at (char.center) {\color{white}\scalebox{0.6}[1]{{\myfont\small {#1}}}};}
}
}
}
写得很乱,
哈哈哈哈,
话说我重排的东西似乎太监了
|
|