Texmate

Sort:
chrka

Hi!

I'm using LaTeX and TeXmate to typeset some games but I'm running into a couple of problems. First of all, TeXmate doesn't seem to recognize newlines as whitespace so everything has to be indented. Secondly, there is no whitespace between a move and a variation of that move, ie.:
   5.Bg5! [Nc3]
gets typeset as
   5.♗g5[♘c3].
This is especially bad at the end of a line since it makes the text overflow.

Any hints on how to get TeXmate to work properly? I'm thinking it might be some incompatibility with versions of Skak released after TeXmate, but I haven't looked at it properly. Currently I'm working around the problems by indenting the games carefully and exiting and entering chess mode before every variation, but this is a bit of a hazzle. 

NomadicKnight

LaTeX, TeXmate and Skak? Please tell me these names are completely made up... lol

diehardcubfan22

I'm not too familiar with TeXmate in particular, but I know in LaTeX \hspace lets you insert whitespace. You can also just define a command to do what you want.

I'm sure someone more familiar with TeXmate has a better answer for you, but I hope this is a functional workaround.

dzikus

I have not used this package but according to the documentation (ftp://sunsite.icm.edu.pl/pub/CTAN/macros/latex/contrib/texmate/texmate2manual.pdf) you could try to customize the opening of a variation by
\renewcommand\iopen{\leavevmode\unskip\ [}

 

chrka

I'll look into it. I do think it's more of a parsing problem than a layout problem though. I have these problems even with the examples in the manual, so perhaps something as changed in another package since it was written. (There is a comment in the xskak documentation about TeXmate requiring extra indentation, I think that might only be required if you use move numbers, but I'm not sure.)

chrka

What I do now, is to write eg., 
 5.Bg5!| |[Nc3] 
which works but is of course not ideal.