I've a .tex
file with \question
\part
and \subpart
(sample .tex
file pasted in this question).
I need all points in the right margin; currently for \question
it's not coming in the margin.
Also I want to replace default Question number with something like : "Q.1" (currently it's showing only "1")
Can you please help to solve both issues mentioned above?
\documentclass[addpoints,answers,10pt]{exam}
\usepackage[T1]{fontenc}
\usepackage{graphicx}
\usepackage{tabularx}
\usepackage{nonfloat}
\usepackage{caption}
\usepackage{amsmath,amssymb}
\usepackage{lmodern}
\usepackage{textcomp}
\usepackage{ifpdf}
\usepackage[export]{adjustbox}
\marksnotpoints
\bracketedpoints
\pointsdroppedatright
\pointsinrightmargin
\pagestyle{headandfoot}
\headrule
\footrule
\renewcommand{\thepartno}{\Alph{partno}}
\newcolumntype{b}{X}
\newcolumntype{s}{>{\hsize=.1\hsize}X}
\begin{document}
\begin{questions}
\question{\textbf{ Solve ANY ONE}}[4] \begin{parts}
\part[2]
Prepare a speech, to be belivered at your school, on the topic "Health is Wealth", on the occasion of world Health Day .
\part[2]
Solve Any TWO
\begin{subparts}
\subpart[1] \rule{1cm}{0.4pt} was known as peace-loving and cultured city-state. (Marathon, Athens, Sparta)
\subpart[1] The first tool made by man was \rule{1cm}{0.4pt} . (Hand axe, a Spear, an Adaze)
\subpart[1] Lord Buddha preached in \rule{1cm}{0.4pt} language. (Hindi, Pali, Sanskrit)
\end{subparts}
\end{parts}
\end{questions}
\end{document}
\question[4]{\textbf{ Solve ANY ONE}}
and not\question{\textbf{ Solve ANY ONE}}[4]
.