测试一下

LaTeX\LaTeX显示:

{050100a:100+b:17+c:0+d:0+e:0+f:117\def{\cGreen}{#52C41A} \def{\cOrange}{#F39C11} \def{\cYellow}{#FADB14} \def{\cRed}{#E74C3C} \def{\colorOfLine}{#A9A9A9} \def{\colorOfDivide}{#000000} \def{\colorOfName}{#000000} \def{\colorOfBox}{#000000} \def{\colorOfContent}{#000000} \newcommand{\item}[2]{\color{\colorOfName}\textbf{#1:}\text{#2} & } \newcommand{\add}[2]{ \fcolorbox{\colorOfBox}{#2}{\normalsize\vphantom{+}\kern{#1 mm}} } \newcommand{\main}[6]{ \boxed{ \color{white}\begin{cases} &\color{\colorOfLine}\kern{4pt}\begin{vmatrix}\raisebox{90pt}{}\kern{48.56mm}\end{vmatrix}\kern{-5.5pt}\begin{vmatrix}\raisebox{90pt}{}\kern{48.56mm}\end{vmatrix} \\[-108pt] &\color{\colorOfDivide}\scriptsize\kern{4 pt}\text{0}\kern{48.2 mm}\text{50}\kern{47 mm}\text{100} \\[3pt] \item{a}{#1} \add{#1}{\cGreen} \\[3pt] \item{b}{#2} \add{#2}{\cYellow} \\[3pt] \item{c}{#3} \add{#3}{\cGreen} \\[3pt] \item{d}{#4} \add{#4}{\cGreen} \\[3pt] \item{e}{#5} \add{#5}{\cYellow} \\[3pt] \color{\colorOfName}\textbf{f:\kern{10pt}#6} \end{cases} } \\ } \main{100}{17}{0}{0}{0}{117}

1005000题26题9题1题1题2题2题1题绿\def{\cR}{FE4C61} \def{\cO}{F39C11} \def{\cY}{FFC116} \def{\cG}{52C41A} \def{\cB}{3498DB} \def{\cP}{9D3DCF} \def{\cD}{0E1D69} \def{\cE}{BFBFBF} \def{\s}{35pt} \def{\w}{\kern{5pt}} \newcommand{\a}[1]{&\textcolor{A9A9A9}{\kern{-5pt}\underline{#1\kern{242pt}}\kern{8pt}}\\[\s]} \newcommand{\b}[2]{\fcolorbox{black}{#2}{\raisebox{#1pt}{\kern{10pt}}}\raisebox{#1pt}{\scriptsize\kern{-17pt}\raisebox{4.5pt}{#1题}}} \newcommand{\c}[0]{\kern{-10pt}\large\textbf{}} \newcommand{\t}[2]{\fcolorbox{black}{#2}{\color{white}\textbf{#1}}} \newcommand{\main}[9]{ \boxed{\kern{8pt}\begin{gathered}\\[-6pt]\c\\[10pt] \begin{aligned}\a{100}\a{\w50}\a{\w\w 0}\end{aligned} \\[-64pt] \\[-#1pt] \begin{matrix} & \b{#2}{\cE}& \b{#3}{\cR} & \b{#4}{\cO} & \b{#5}{\cY} & \b{#6}{\cG} & \b{#7}{\cB} & \b{#8}{\cP} & \b{#9}{\cD} & \\[5pt] \kern{-6pt}\text{} & \t{灰}{\cE} & \t{红}{\cR} & \t{橙}{\cO} & \t{黄}{\cY}&\t{绿}{\cG}&\t{蓝}{\cB}&\t{紫}{\cP} & \t{黑}{\cD} & \kern{8pt} \\ \end{matrix} \end{gathered}}} \main{26}{0}{26}{9}{1}{1}{2}{2}{1}