Constrain chess moves to board width with xskak and chessboardxskak & chessboard & count of...

How to reduce LED flash rate (frequency)

Combinable filters

Controversial area of mathematics

What is the relationship between spectral sequences and obstruction theory?

Who is the Umpire in this picture?

Was there a Viking Exchange as well as a Columbian one?

What's the polite way to say "I need to urinate"?

Do I have to worry about players making “bad” choices on level up?

What is the most expensive material in the world that could be used to create Pun-Pun's lute?

How can the Zone of Truth spell be defeated without the caster knowing?

What do the phrase "Reeyan's seacrest" and the word "fraggle" mean in a sketch?

Does Gita support doctrine of eternal cycle of birth and death for evil people?

Which big number is bigger?

Is it possible to determine the symmetric encryption method used by output size?

What does KSP mean?

What is the strongest case that can be made in favour of the UK regaining some control over fishing policy after Brexit?

Realistic Necromancy?

Why do games have consumables?

How to creep the reader out with what seems like a normal person?

How to type a section sign (§) into the Minecraft client

Why was Germany not as successful as other Europeans in establishing overseas colonies?

Repelling Blast: Must targets always be pushed back?

A Strange Latex Symbol

Pulling the rope with one hand is as heavy as with two hands?



Constrain chess moves to board width with xskak and chessboard


xskak & chessboard & count of piecesChessboard board sizeUncheckered chess board using the chessboard packageDifferent chess board using skak packageProblem with writing chess moves in SKAKxskak and null movesxskak displaying certain movesxskak displaying board after a certain moveSpace between mdframed text and chessboard / chess line`xskak` executing invalid moves?













0















I'm using xskak and chessboard to typeset a game. How can I constrain the printing of the moves to the with of the board? I'm basically looking to constrain the width of the text box. In the image below you can see that the moves extend both left and right of the area over the board.



Here is the MWE for this game:



documentclass{article}
usepackage[pdftex,active,tightpage]{preview}
setlengthPreviewBorder{5mm}
usepackage{xskak}
usepackage{chessboard}
begin{document}
begin{preview}
newchessgame
mainline{1. e4 c5 2. Nf3 d6 3. d4 cxd4 4. Nxd4 Nf6 5. Nc3 a6 6. Be3 e6
7. g4 e5 8. Nf5 g6 9. g5}\
chessboard[label=False]
end{preview}
end{document}


Thanks!










share|improve this question



























    0















    I'm using xskak and chessboard to typeset a game. How can I constrain the printing of the moves to the with of the board? I'm basically looking to constrain the width of the text box. In the image below you can see that the moves extend both left and right of the area over the board.



    Here is the MWE for this game:



    documentclass{article}
    usepackage[pdftex,active,tightpage]{preview}
    setlengthPreviewBorder{5mm}
    usepackage{xskak}
    usepackage{chessboard}
    begin{document}
    begin{preview}
    newchessgame
    mainline{1. e4 c5 2. Nf3 d6 3. d4 cxd4 4. Nxd4 Nf6 5. Nc3 a6 6. Be3 e6
    7. g4 e5 8. Nf5 g6 9. g5}\
    chessboard[label=False]
    end{preview}
    end{document}


    Thanks!










    share|improve this question

























      0












      0








      0








      I'm using xskak and chessboard to typeset a game. How can I constrain the printing of the moves to the with of the board? I'm basically looking to constrain the width of the text box. In the image below you can see that the moves extend both left and right of the area over the board.



      Here is the MWE for this game:



      documentclass{article}
      usepackage[pdftex,active,tightpage]{preview}
      setlengthPreviewBorder{5mm}
      usepackage{xskak}
      usepackage{chessboard}
      begin{document}
      begin{preview}
      newchessgame
      mainline{1. e4 c5 2. Nf3 d6 3. d4 cxd4 4. Nxd4 Nf6 5. Nc3 a6 6. Be3 e6
      7. g4 e5 8. Nf5 g6 9. g5}\
      chessboard[label=False]
      end{preview}
      end{document}


      Thanks!










      share|improve this question














      I'm using xskak and chessboard to typeset a game. How can I constrain the printing of the moves to the with of the board? I'm basically looking to constrain the width of the text box. In the image below you can see that the moves extend both left and right of the area over the board.



      Here is the MWE for this game:



      documentclass{article}
      usepackage[pdftex,active,tightpage]{preview}
      setlengthPreviewBorder{5mm}
      usepackage{xskak}
      usepackage{chessboard}
      begin{document}
      begin{preview}
      newchessgame
      mainline{1. e4 c5 2. Nf3 d6 3. d4 cxd4 4. Nxd4 Nf6 5. Nc3 a6 6. Be3 e6
      7. g4 e5 8. Nf5 g6 9. g5}\
      chessboard[label=False]
      end{preview}
      end{document}


      Thanks!







      chessboard xskak






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 14 mins ago









      CanaryyellowCanaryyellow

      274




      274






















          0






          active

          oldest

          votes












          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "85"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f487997%2fconstrain-chess-moves-to-board-width-with-xskak-and-chessboard%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f487997%2fconstrain-chess-moves-to-board-width-with-xskak-and-chessboard%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Why does my Macbook overheat and use so much CPU and energy when on YouTube?Why do so many insist on using...

          Puerta de Hutt Referencias Enlaces externos Menú de navegación15°58′00″S 5°42′00″O /...

          How to prevent page numbers from appearing on glossaries?How to remove a dot and a page number in the...