如何自定义排列我的成绩表?帮我对齐

如何自定义排列我的成绩表?帮我对齐

我的试卷中有 28 个问题,我将其分成了 3 个部分,我该如何制作成绩表以便我的成绩表包含这些部分,并且我需要该部分必须居中对齐。帮我对齐。

第一部分指出,

桌子

第二部分指出,

桌子

第三部分指出,

桌子

可能是这样,

这

 \documentclass[12pt,a4paper,addpoints]{exam}
\title{FULL BOOSTER TEST}
\author{}
\date{\today}
\begin{document}
\begin{questions}

\section{Part-A}
\question[3] this is first,

\question [3] this is second,

\question[3] theis is third,

\vdots\vdots

\section*{Part-B}

\question[4] this is not fourth question but may 15 th question.

\question [4] \ldots

\question[4] \vdots

\section*{Part-C}

\question[6] this is not 7th question rather  22 nd question.


\question[6] \ldots
\newpage
\gradetable[h][questions]
\end{questions}


\end{document}

切片

答案1

使用\begingradingrange\endgradingrange指定每个部分的问题。然后使用\partialgradetable创建您的成绩表:

\documentclass[12pt,a4paper,addpoints]{exam}
\usepackage{titling}
\usepackage{float}
\usepackage{tikz}

\setlength{\droptitle}{-1in}
\posttitle{\par\end{center}}

\title{FULL BOOSTER TEST\vspace*{-1.5cm}}
\author{}
\date{\today\vspace*{-.5cm}}

\begin{document}

    \maketitle

    \begin{questions}

        \section*{Part-A}

            \begingradingrange{a1}
                \question[3] this is first,
                \question[3] this is second,
                \question[3] this is third,
                \question[6] \ldots
                \question[6] \ldots
                \question[6] \ldots
                \question[6] \ldots
                \question[6] \ldots
            \endgradingrange{a1}

            \begingradingrange{a2}
                \question[6] \ldots
                \question[6] \ldots
                \question[6] \ldots
                \question[6] \ldots
                \question[6] \ldots
                \question[6] \ldots
                \question[6] \ldots
            \endgradingrange{a2}

        \section*{Part-B}

            \begingradingrange{b}
                \question[6] \ldots
                \question[6] \ldots
                \question[6] \ldots
                \question[6] \ldots
                \question[6] \ldots
                \question[6] \ldots
            \endgradingrange{b}

        \section*{Part-C}

            \begingradingrange{c}
                \question[6] \ldots
                \question[6] \ldots
                \question[6] \ldots
                \question[6] \ldots
                \question[6] \ldots
                \question[6] \ldots
                \question[6] \ldots
            \endgradingrange{c}

    \end{questions}

    \maketitle

    \hfill
    \begin{tabular}{p{2.6cm}p{1.5cm}}
        \vspace{5pt}
        Marks secured
        &
        \vspace{0pt}
        \begin{tikzpicture}
            \draw (0,0) -- (0,1.5) -- (1.5,1.5) -- (1.5,0) -- cycle;
        \end{tikzpicture}
    \end{tabular}
    \vspace{-1cm}

    \section*{\centering Section-A}
        \partialgradetable{a1}[h][questions]

        \vspace*{.5cm}

        \noindent\partialgradetable{a2}[h][questions]

    \section*{\centering Section-B}
        \partialgradetable{b}[h][questions]

    \section*{\centering Section-C}
        \partialgradetable{c}[h][questions]

    \vfill

    \noindent\underline{Remarks:}

    \vspace*{2cm}

\end{document}

在此处输入图片描述

相关内容