mirror of
https://github.com/MartinThoma/LaTeX-examples.git
synced 2025-04-19 11:38:05 +02:00
used standalone instead of preview
This commit is contained in:
parent
40806db435
commit
dd8dd8921e
1 changed files with 2 additions and 6 deletions
|
@ -1,14 +1,10 @@
|
|||
\documentclass{article}
|
||||
\usepackage[pdftex,active,tightpage]{preview}
|
||||
\setlength\PreviewBorder{2mm}
|
||||
\documentclass[varwidth=true, border=0pt]{standalone}
|
||||
% Source: http://tex.stackexchange.com/a/15278/5645
|
||||
|
||||
\usepackage{chessboard}
|
||||
\storechessboardstyle{4x4}{maxfield=d4}
|
||||
|
||||
\begin{document}
|
||||
\begin{preview}
|
||||
% showmover shows which player is to move
|
||||
\chessboard[style=4x4,setwhite={Qa1,Qd2},showmover=false]
|
||||
\end{preview}
|
||||
\chessboard[style=4x4, setwhite={Qa1,Qd2}, showmover=false]
|
||||
\end{document}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue