Skip to content

psygo/latex-go-diagrams-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go Diagrams with Only LaTeX

There are 3 main alternatives to doing this:

  • psgo
    • On my M2 Mac 2023, things don't seem to compile consistently with the 20+ years old documentation. The stones overlap a bit, and they seem to have somewhat pixelated borders.
  • igo
  • Goban Package: Creating a new Package with TikZ
    • TikZ also offers a way of making this interactive, so we could achieve the same level of interactivity as GoBooks' EPUBs.
    • Desired Features:
      • Different board sizes (grid and size itself)
      • Drawing Stones
      • Drawing Moves (with numbers)
      • Drawing labels
      • Partial Boards
      • Parse SGF
      • Interactive Graphs
      • How to Export Diagrams as Images
      • Symbols and Labels that could be used in text as well

An honorable mention is GoWrite2, which is what I've used in the past to create the diagrams in this book translation.

Development Setup

  • I'm not sure, but apparently psgo comes with TeX Live (not true, so I don't know how I'm able to use \usepackage{psgo} directly).
  • I'm using the LaTeX Workshop VS Code Extension.
    • The files inside the scripts folder are tailored for working with it.
  • VS Code's PDF viewer is kind of weird. TikZ does create scalar vector graphics, but the images are shown as pixelated, which is something that doesn't happen with the same file when viewed with other PDF viewers.

References