• 国庆去学校的国际象棋(Latex)


    国庆节去学棋与朋友。 看国外的网站更有趣的事情。 很快打下来。

    首先效应:






    嘿嘿  代码来了哟:

    usepackage[utf8]{inputenc}
    usepackage[T1]{fontenc}
    usepackage[left=1cm,right=1cm,top=2cm,bottom=2cm]{geometry}
    usepackage{chessboard,xskak}
    usepackage{graphicx,booktabs}
    pagestyle{empty}
    setlength{parindent}{0pt}
    egin{document}centering
     
    scalebox{2}{chessboard[setpieces={Ne4,Ka1,ka2}]}
     
    scalebox{2}{%
    setchessboard{showmover=false}
    
    ewchessgame
    chessboard}
     
    scalebox{2}{%
    setchessboard{showmover=true}
    chessboard[setpieces={Ka1,ka2,Rb1,rb2,Nc1,nc2,Qd1,qd2,Be1,be2,Pf1,pf2,Qd3},
        pgfstyle=straightmove,
        arrow=stealth,
        linewidth=.25ex,
        padding=1ex,
        color=red!75!white,
        pgfstyle=straightmove,
        shortenstart=1ex,
        showmover=true,
        markmoves={d3-h7,d3-a6,d3-b1,d3-f1,d3-d8,d3-d1,d3-a3,d3-h3}]
    }
     
    Capital letters for white, small letters for black.
     
    egin{tabular}{cll} 	oprule
    Letter & English & German \ midrule
    K & King & König \
    Q & Queen & Dame \
    R & Rook & Turm \
    N & Knight & Pferd \
    B & Bishop & Läufer \
    P & Pawn & Bauer \ ottomrule
    end{tabular}


    版权声明:本文博主原创文章。博客,未经同意不得转载。

  • 相关阅读:
    jq-demo-阻止冒泡,阻止默认行为
    jq-demo-轮播图
    jq-demo-点击选择(英雄联盟)
    jq-demo-tab切换
    jq-demo-拖拽
    hdu 4031 Attack 线段树
    codeforces 633C. Spy Syndrome 2 hash
    sublime模式下开启vim并修改esc
    codevs 1256 打鼹鼠 LIS
    codevs 1455 路径 计算m^n%p
  • 原文地址:https://www.cnblogs.com/blfshiye/p/4869642.html
Copyright © 2020-2023  润新知