帮助制作答案页面

帮助制作答案页面

我想这样做:

在此处输入图片描述

到目前为止,这是我得到的:

在此处输入图片描述

我不知道下一步该做什么,有什么建议吗?我正在使用 Linux。

\documentclass{article}
\usepackage{tikz}

\begin{document}
  \begin{figure}[h]
     \begin{tikzpicture}
          \foreach [count=\i] \x in {a,b,c,d}
          \foreach \y in {32,...,1}
          { \pgfmathsetmacro\result{int(33 - \y)}
            \node at (0,0.5*\y) {\result};
            \draw (0.5*\i,0.5*\y) circle (0.2cm);
            \node[circle] at (0.5*\i,0.5*\y) {\x};
          }
     \end{tikzpicture}
  \end{figure}
\end{document}

答案1

迈向最终结果的第一步:

\documentclass{article}
\usepackage{tikz}

\begin{document}
  \begin{figure}
     \begin{tikzpicture}[every node/.style={anchor=base}]
        \foreach \row in {1,2,...,32}{
            \foreach \col [evaluate=\col as \n using {int((\col-1)*32+\row)}] in {1,2,...,4}
            {
                \node (\n) at (3.5*\col,-0.6*\row) {\n};
          \foreach [count=\nx] \x in {A,B,C,D,E}
          {
            \node[circle, draw, minimum size=5mm, inner sep=2pt] at (3.5*\col+0.55*\nx,-0.6*\row) (\n-\x) {\x};
          }
        }}
        \foreach \i in {16,28,40,52,64,80,92,104,116}
        \draw (\i.west|-\i-E.south)--(\i-E.south-|\i-E.east);
     \end{tikzpicture}
  \end{figure}
\end{document}

在此处输入图片描述

第二步:

\documentclass[a4paper]{article}
\usepackage[vmargin={2cm,2cm},hmargin={2cm,2cm}]{geometry}
\usepackage{tikz}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}

\begin{document}\sffamily
\thispagestyle{empty}
\begin{center}
ADMINISTRACIÓN FEDERAL DE SERVICIOS EDUCATIVOS EN EL D.F.\\
SUBDIRECCIÓN DE ESCUELAS SECUNDARIAS TÉCNICAS EN EL D.F.\\
ESCUELA SECUNDARIA TÉCNICA No. \rule[-1pt]{2cm}{1pt}\\
Examen de simulación para la toma de decisions\\[3mm]

Nombre:\rule[-1pt]{8.5cm}{1pt}Grupo:\rule[-1pt]{1cm}{1pt}Turno:\rule[-1pt]{2cm}{1pt}\\[2mm]

\begin{tabular}{rll}
Instrucciones & Llena completamente los círculos. & Usa sólo lápiz del 2 1/2.\\
              & Si te equivocas borra completamente. & No uses pluma ni marcador \\
              & No hagas ninguna marca fuera de los círculos & Revisa tu examen antes de entregarlo
\end{tabular}\\[2mm]

\framebox[\textwidth]{HOJA ÚNICA DE RESPUESTAS PARA EL TERCER EXAMEN DE SIMULACIÓN}\\[3mm]
\begin{tikzpicture}[every node/.style={anchor=base, minimum height=5mm, font=\sffamily},
        number/.style={text width=width("128"), align=right},
        letter/.style={circle, inner sep=0pt, draw}]
      \foreach \i [count=\ni,
            evaluate=\i as \col using {int((\i-1)/32)},
            evaluate=\i as \row using {int(mod((\i-1),32))}] in {1,2,...,128}
            {
             \node[number] (\ni) at (4*\col,-0.6*\row) {\ni};
                \foreach [count=\nx from 0] \x in {A,B,C,D,E}
                    \node[letter] at (4*\col+0.7+0.55*\nx,-0.6*\row) (\ni-\x) {\x};
            }
        \foreach \i in {16,28,40,52,64,80,92,104,116}
            \draw (\i.south west)--(\i.south-|\i-E.east);
\end{tikzpicture}
\end{center}

\end{document}

在此处输入图片描述

相关内容