Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Is it possible to change the size of a \chessboard size. I know it has fixed sizes like tinyboard and so on. But if I just want to scale it down or up by 5%, is that possible?

share|improve this question
    
What package(s) are you using? –  Gonzalo Medina Aug 14 '12 at 19:13
    
Yes. You can set boardfontsize to whatever value you want. –  Ulrike Fischer Aug 14 '12 at 19:16
    
Can I change the size of the labels (a..h and 1..8) as well? I tried to use fontsize, but I can't see any change in label size. –  chessaddict Aug 14 '12 at 19:42
    
Yes you can. And how to do is described in the documention in the section about labels. –  Ulrike Fischer Aug 14 '12 at 21:07
    
@chessaddict please see my updated answer. –  Gonzalo Medina Aug 15 '12 at 12:20

2 Answers 2

Using chessboard, you can set boardfontsize; labelfontsize will allow changes to the font size for the labels:

\documentclass{article}
\usepackage{xskak,chessboard}
\begin{document}

{\normallineskip=0pt
\setchessboard{boardfontsize=15pt}
\newchessgame
\chessboard}

{\normallineskip=0pt
\setchessboard{boardfontsize=10pt,labelfontsize=6pt}
\newchessgame
\chessboard}

\end{document}

enter image description here

share|improve this answer

If you're using skak, you can scale the output (\showboard) using \scalebox{1.05} from graphicx:

enter image description here

\documentclass{article}
\usepackage{graphicx}% http://ctan.org/pkg/graphicx
\usepackage{skak}% http://ctan.org/pkg/skak
\begin{document}
\fenboard{r5k1/1b1p1ppp/p7/1p1Q4/2p1r3/PP4Pq/BBP2b1P/R4R1K w - - 0 20}
\noindent\begin{tabular}{c@{\quad}c}
  100\% & 105\% \\[\bigskipamount]
  \showboard & \scalebox{1.05}{\showboard}
\end{tabular}
\end{document}​

Note that this scales the entire chess board, including the indices (rows/columns).

This approach should also work with texmate since it uses skak to produce the boards.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.