File: othelloboard.cwl

package info (click to toggle)
texstudio 4.3.1%2Bds-2
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 74,980 kB
  • sloc: cpp: 102,721; xml: 17,126; ansic: 8,143; sh: 194; javascript: 177; makefile: 28
file content (81 lines) | stat: -rw-r--r-- 2,371 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
# othelloboard package
# Matthew Bertucci 2/2/2022 for v0.6

#include:color
#include:graphicx
#include:ifthen
#include:pict2e
#include:stringstrings
#include:xstring

\begin{othelloboard}{scale}
\end{othelloboard}

\dotmarkings

\othelloarrayfirstrow{num1}{num2}{num3}{num4}{num5}{num6}{num7}{num8}
\othelloarraysecondrow{num1}{num2}{num3}{num4}{num5}{num6}{num7}{num8}
\othelloarraythirdrow{num1}{num2}{num3}{num4}{num5}{num6}{num7}{num8}
\othelloarrayfourthrow{num1}{num2}{num3}{num4}{num5}{num6}{num7}{num8}
\othelloarrayfifthrow{num1}{num2}{num3}{num4}{num5}{num6}{num7}{num8}
\othelloarraysixthrow{num1}{num2}{num3}{num4}{num5}{num6}{num7}{num8}
\othelloarrayseventhrow{num1}{num2}{num3}{num4}{num5}{num6}{num7}{num8}
\othelloarrayeighthrow{num1}{num2}{num3}{num4}{num5}{num6}{num7}{num8}

\begin{othelloboardnorefs}{scale}
\end{othelloboardnorefs}

\annotationsfirstrow{txt1}{txt2}{txt3}{txt4}{txt5}{txt6}{txt7}{txt8}
\annotationssecondrow{txt1}{txt2}{txt3}{txt4}{txt5}{txt6}{txt7}{txt8}
\annotationsthirdrow{txt1}{txt2}{txt3}{txt4}{txt5}{txt6}{txt7}{txt8}
\annotationsfourthrow{txt1}{txt2}{txt3}{txt4}{txt5}{txt6}{txt7}{txt8}
\annotationsfifthrow{txt1}{txt2}{txt3}{txt4}{txt5}{txt6}{txt7}{txt8}
\annotationssixthrow{txt1}{txt2}{txt3}{txt4}{txt5}{txt6}{txt7}{txt8}
\annotationsseventhrow{txt1}{txt2}{txt3}{txt4}{txt5}{txt6}{txt7}{txt8}
\annotationseighthrow{txt1}{txt2}{txt3}{txt4}{txt5}{txt6}{txt7}{txt8}

\posannotation{square name}{annotation string}

\drawtranscript{longstring}
\drawboardfromstring{longstring}

# not documented
\blackdiamond#*
\blackdisc#*
\countblackdiscs#*
\countwhitediscs#*
\gridrefs#*
\othelloannotation{num}{text}#*
\othellodiscfromstring{arg}#*
\othellodisc{arg}#*
\othellogrid#*
\othellonormaltext{text}#*
\othellowhitetext{text}#*
\resetalldisccolours#*
\scalefactor#*
\thedisccolouraa#S
\thedisccolourad#S
\thedisccolourag#S
\thedisccolourbb#S
\thedisccolourbe#S
\thedisccolourbh#S
\thedisccolourcc#S
\thedisccolourcf#S
\thedisccolourda#S
\thedisccolourdd#S
\thedisccolourdg#S
\thedisccoloureb#S
\thedisccolouree#S
\thedisccoloureh#S
\thedisccolourfc#S
\thedisccolourff#S
\thedisccolourga#S
\thedisccolourgd#S
\thedisccolourgg#S
\thedisccolourhb#S
\thedisccolourhe#S
\thedisccolourhh#S
\thenumberbdiscs#S
\thenumberwdiscs#S
\whitediamond#*
\whitedisc#*