# How to make the corners?

I know how to do a 4 \times 5 chessboard:

\documentclass{article}
\usepackage{chessboard}
\let\boardfont\undefinedcommand
\usepackage{diagram}

\begin{document}
\setboolean{showcomputer}{false}
\setboolean{piececounter}{false}
\specialdiagnum{}
\begin{diagram}[5x4]
\pieces{}
\end{diagram}

\end{document}


But I don't know to maker the corner.

• What makes you into believing that skak can do it? – egreg Jul 22 '14 at 11:41
• The skak is there because I took a previous situation. As it stands, it does not affect – benedito Jul 22 '14 at 12:43
• Do you actually want to play chess on this boards or do you try to misuse the chess packages to draw black and white diagrams? – Ulrike Fischer Jul 22 '14 at 13:30
• Use tikz to create such drawings if you don't want to play chess. tex.stackexchange.com/questions/168222/… – Ulrike Fischer Jul 23 '14 at 8:05
• @benedito In that case, perhaps you could post your solution as an answer to your question? This will enable other users to learn from what you discovered, too. – cfr Sep 30 '14 at 2:01

My solution:

\documentclass[a4]{article}
\usepackage{tikz}
\begin{document}
\begin{center}
\begin{tikzpicture}
\draw
(0,0) -- (2,0)
(5,0)--(7,0)
(0,1)--(7,1)
(0,2)--(7,2)
(1,3)--(6,3)
(0,5)--(7,5)
(0,4)--(7,4)
(0,6)--(2,6)
(5,6) -- (7,6)
;
\draw
(0,0) -- (0,2)
(0,4)--(0,6)
(1,0)--(1,6)
(2,0)--(2,6)
(3,1)--(3,5)
(4,1)--(4,5)
(5,0)--(5,6)
(6,0)--(6,6)
(7,0)--(7,2)
(7,4)--(7,6)
;
\fill
(1,0) rectangle (2,1)
(0,1) rectangle (1,2)
(1,4) rectangle (2,5)
(0,5) rectangle (1,6)
(2,1) rectangle (3,2)
(1,2) rectangle (2,3)
(2,3) rectangle (3,4)
(3,2) rectangle (4,3)
(3,4) rectangle (4,5)
(4,3) rectangle (5,4)
(4,1) rectangle (5,2)
(5,0) rectangle (6,1)
(6,1) rectangle (7,2)
(5,2) rectangle (6,3)
(5,4) rectangle (6,5)
(6,5) rectangle (7,6)
;
\end{tikzpicture}
\end{center}

\end{document}