我希望能夠在框的大小上放置參數,並能夠選擇“複選框”功能的顏色。這是我的最低工作範例:
\documentclass{article}
\usepackage{hyperref}
\begin{document}
\begin{enumerate}
\item \textbf{Comments of the Departmental Rep:} \hfil Approved/Not Approved
Approved \CheckBox[name = check1]{ } \hfil Not Approved \CheckBox[name = check2]{ }
\item \textbf{Comments of the Faculty Rep:} \hfil Approved/Not Approved
Approved \CheckBox[name = check1]{ } \hfil Not Approved \CheckBox[name = check2]{ }
\end{enumerate}
\end{document}
我想要的是
我希望盒子更小,邊框顏色為黑色。
答案1
這是你所期待的嗎?
\documentclass{article}
\usepackage{hyperref}
\begin{document}
\newcommand{\custombox}[1][\relax]{\bgroup\setlength{\fboxsep}{4pt}\setlength{\fboxrule}{0.5pt}\fbox{}\egroup}
\begin{enumerate}
\item \textbf{Comments of the Departmental Rep:} \hfil Approved/Not Approved
Approved \custombox[name = check1]{ } \hfil Not Approved \custombox[name = check2]{ }
\item \textbf{Comments of the Faculty Rep:} \hfil Approved/Not Approved
Approved \custombox[name = check1]{ } \hfil Not Approved \custombox[name = check2]{ }
\end{enumerate}
\end{document}