<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">% -*- coding: utf-8 -*-
% !TEX program = xelatex

\documentclass[12pt]{beamer}

\usepackage[UTF8,noindent]{ctex}
\usepackage{arev}
\usefonttheme{professionalfonts}

\makeatletter

\providecommand{\beamer@endinputifotherversion}[1]{}

\ifxetex
  \setCJKsansfont{SimHei} % fix for ctex 2.0
  \setCJKmonofont{SimHei}
  \renewcommand\CJKfamilydefault{\CJKsfdefault}%
\else
  \@ifpackagelater{ctex}{2014/03/01}{}{\AtBeginDocument{\heiti}} %æ—&nbsp;æ•ˆï¼Ÿ
\fi

\makeatother

\renewcommand{\baselinestretch}{1} % ctex 2.4.1 å¼€å§‹ä¸º 1ï¼Œä¹‹å‰ä¸º 1.3
\renewcommand{\arraystretch}{1.3}

\setlength{\parskip}{7pt plus 1pt minus 1pt}

\setbeamersize{text margin left=8mm,text margin right=8mm}

\setbeamercolor{normal text}{bg=gray!20}

\setbeamertemplate{frametitle}{\strut\insertframetitle\strut\par}
\setbeamertemplate{navigation symbols}{}

\newcommand{\cdotfill}{\leavevmode\xleaders\hbox to 0.5em{\hss$\cdot$\hss}\hfill\kern0pt\relax}

\usepackage{tabularx}

\newcommand{\ulinefill}[1]{\xleaders\hbox{\underline{\vphantom{#1}\kern1pt}}\hfill\kern0pt}
\newcommand{\fillbox}[1]{\ulinefill{#1}\underline{#1}\ulinefill{#1}}

\setbeamertemplate{title page}{%
  \renewcommand{\arraystretch}{2}%
  \usebeamerfont{title}
  \begin{tabularx}{\linewidth}{|X|}
    \hline
    æ¨¡æ¿åç§°ï¼š\fillbox{\usebeamercolor[fg]{title}\inserttitle} \\
    æ¨¡æ¿ä½œè€…ï¼š\fillbox{\insertauthor} \\
    æ‰€åœ¨å•ä½ï¼š\fillbox{\insertinstitute} \\
    æ›´æ–°æ—¥æœŸï¼š\fillbox{\the\year}å¹´\fillbox{\the\month}æœˆ\fillbox{\the\day}æ—¥\\
    \hline
  \end{tabularx}%
}

\usepackage{ragged2e}

\justifying
\let\oldraggedright\raggedright
\let\raggedright\justifying

\usepackage{fancyvrb}

\newenvironment{framex}{\begin{frame}[fragile=singleslide,environment=framex]}{\end{frame}}

\DefineVerbatimEnvironment{code}{Verbatim}{%
  formatcom=\color{blue!50!red}%
}

\begin{document}

\title{æš¨å—å¤§å­¦è¯•å· LaTeX æ¨¡æ¿}
\author{å•\ è\ ç‘ž}
\institute{æš¨å—å¤§å­¦æ•°å­¦ç³»}

\begin{frame}[plain]
\titlepage
\end{frame}

\section{æ¨¡æ¿ä»‹ç»}

\begin{framex}
\frametitle{ç®€å•ä»‹ç»}
æœ¬æ–‡æ¡£ä»‹ç» \verb!jnuexam! æ–‡æ¡£ç±»ã€‚è¿™ä¸ªæ–‡æ¡£ç±»æä¾›æš¨å—å¤§å­¦è€ƒè¯•è¯•å·çš„ LaTeX æ¨¡æ¿ã€‚
\par
è¿™ä¸ªæ¨¡æ¿å°†æ&nbsp;¼å¼å’Œå†…å®¹åˆ†å¼€ï¼Œè€Œä¸”å¯ä»¥ä»Žä¸€ä»½ \verb!tex! æ–‡ä»¶ç¼–è¯‘å‡ºå››ä»½è¯•å·(Aå· / Bå· / Aå·ç­”æ¡ˆ / Bå·ç­”æ¡ˆ)ï¼Œä½¿ç”¨æ–¹ä¾¿ã€‚
\par
è¿™ä¸ªæ¨¡æ¿çš„æœ€æ–°ç‰ˆæœ¬å¯ä»¥åœ¨ä¸‹é¢åœ°å€ä¸‹è½½ï¼š\newline
 \color{blue}{\href{https://lvjr.bitbucket.io/jnuexam.html?\the\year}{\ttfamily https://lvjr.bitbucket.io/jnuexam.html}}
\end{framex}

\begin{framex}
\frametitle{ç¼–è¯‘æ–¹å¼}
è¿™ä¸ªæ–‡æ¡£ç±»è¦æ±‚æ‰€æœ‰ \verb!tex! æ–‡ä»¶éƒ½ä½¿ç”¨ \verb!UTF8! ç¼–ç&nbsp;ï¼Œ
è‹¥ä½¿ç”¨ \verb!GBK! ç¼–ç&nbsp;åˆ™æ—&nbsp;æ³•å¾—åˆ°æ­£ç¡®ç»“æžœã€‚
\par
å¦‚æžœå¯¹æ–‡ä»¶ç¼–ç&nbsp;ä¸ç†Ÿæ‚‰ï¼Œå¯ä»¥ç›´æŽ¥å¤åˆ¶ä¾‹å­æ–‡ä»¶ï¼Œç„¶åŽåœ¨å…¶ä¸­ä¿®æ”¹ï¼Œå³å¯æ­£å¸¸ç¼–è¯‘ã€‚
\par
è¿™ä¸ªæ–‡æ¡£ç±»åŒæ—¶æ”¯æŒ \verb!XeLaTeX! å’Œ \verb!PDFLaTeX! æ–¹å¼ç¼–è¯‘ã€‚ä¸ºå¾—åˆ°æœ€å¥½çš„ä¸­æ–‡æ˜¾ç¤ºæ•ˆæžœï¼Œ
æŽ¨èç”¨è¾ƒå…ˆè¿›çš„ \verb!XeLaTeX! ç¼–è¯‘ã€‚
\end{framex}

\section{è¯•å·ç»“æž„}

\begin{framex}
\frametitle{è¯•å·ç»“æž„}
ä¸‹é¢æ˜¯ \verb!jnuexam! è¯•å·æ–‡æ¡£çš„åŸºæœ¬ç»“æž„ï¼š
\begin{code}
\documentclass[chinese]{jnuexam}
% å¯¼è¨€åŒº
\begin{document}
% æ­£æ–‡åŒº
\end{document}
\end{code}
è¯•å·åŒ…å«ä¸­æ–‡å’Œè‹±æ–‡ä¸¤ç§æ¨¡æ¿ï¼Œå¿…é¡»åœ¨æ–‡æ¡£å¼€å¤´æŒ‡æ˜Žã€‚\par
å¯¼è¨€åŒºç”¨äºŽè®¾å®šè£…è®¢çº¿å’Œè‰ç¨¿çº¸ç­‰ç­‰é€‰é¡¹ã€‚\par
æ­£æ–‡åŒºç”¨äºŽå¡«å†™è¯•å·è¡¨å¤´å’Œè¾“å…¥è¯•å·å†…å®¹ã€‚
\end{framex}

\begin{framex}
\frametitle{è£…è®¢è‰ç¨¿}
åœ¨æ–‡æ¡£çš„å¯¼è¨€åŒºå¯ä»¥è®¾å®šè£…è®¢çº¿å’Œè‰ç¨¿çº¸ã€‚æ¯”å¦‚ï¼š
\begin{code}
\SetExamOption{
  binding = 2, % è£…è®¢çº¿
  scratch = 1, % è‰ç¨¿çº¸
}
\end{code}
å…¶ä¸­ \verb!binding! å– 0 è¡¨ç¤ºæ²¡æœ‰è£…è®¢çº¿ï¼Œ
å– 1 è¡¨ç¤ºä»…ç©ºç™½è¯•å·æœ‰ï¼Œå– 2 è¡¨ç¤ºç©ºç™½è¯•å·å’Œè¯•å·ç­”æ¡ˆéƒ½æœ‰ã€‚\par
è€Œ \verb!scratch! çš„å–å€¼è¡¨ç¤ºè‰ç¨¿çº¸æ•°é‡ï¼Œä»¥ A3 å¤§å°åŒé¢å°åˆ·è®¡ç®—ã€‚
è‰ç¨¿çº¸ä»…åœ¨ç©ºç™½è¯•å·ä¸­å‡ºçŽ°ï¼Œè¯•å·ç­”æ¡ˆé‡Œä¸ä¼šå¸¦è‰ç¨¿çº¸ã€‚
\end{framex}

\begin{framex}
\frametitle{è¯•å·æ­£æ–‡}
\begin{code}
\documentclass{jnuexam}
\begin{document}
......
\examtitle{...} %ç”Ÿæˆè¯•å·è¡¨å¤´ï¼Œè§ä¸‹é¡µ
......
\exampart{å¡«ç©ºé¢˜}[é¢˜æ•°åˆ†å€¼]
......
\exampart{å•é€‰é¢˜}[é¢˜æ•°åˆ†å€¼]
......
\exampart{è®¡ç®—é¢˜}[é¢˜æ•°åˆ†å€¼]
......
\exampart{è¯æ˜Žé¢˜}[é¢˜æ•°åˆ†å€¼]
......
\examdata{å¯èƒ½ç”¨åˆ°çš„æ•°æ®} %é™„å½•æ•°æ®
......
\end{document}
\end{code}
\end{framex}

\begin{framex}
\frametitle{è¯•å·è¡¨å¤´}
\begin{code}
\examtitle{
  niandu  = 2017--2018,
  xueqi   = 2,
  kecheng = å¤§å­¦æ•°å­¦,
  zhuanye = ç†å·¥å››å­¦åˆ†,     % å¯ä»¥ä¸ºç©ºç™½
  jiaoshi = {å¼&nbsp;ä¸‰ï¼ŒæŽå››},   % æ•™å¸ˆå§“å
  shijian = 2018å¹´6æœˆ28æ—¥,
  bixiu   = 1,            % 1 ä¸ºå¿…ä¿®ï¼Œ0 ä¸ºé€‰ä¿®
  bijuan  = 1,            % 1 ä¸ºé—­å·ï¼Œ0 ä¸ºå¼€å·
  shijuan = A,            % A æˆ– B æˆ– C å·
  neizhao = 1,            % 1 æ‰“å‹¾ï¼Œ0 ä¸å‹¾
  waizhao = 0,            % 1 æ‰“å‹¾ï¼Œ0 ä¸å‹¾
}
\end{code}
å…¶ä¸­ \verb!zhuanye! å’Œ \verb!shijian! é€‰é¡¹çš„å†…å®¹å¯ä»¥ä¸ºç©ºã€‚
\end{framex}

\begin{framex}
\frametitle{è¯„åˆ†è¡¨æ&nbsp;¼}
åœ¨ \verb!\examtitle! åŽé¢ï¼Œå¯ä»¥ç”¨ \verb!\gradetable! å‘½ä»¤ç”Ÿæˆç©ºç™½çš„è¯„åˆ†è¡¨æ&nbsp;¼ã€‚æ¯”å¦‚ï¼š
\begin{code}
\gradetable[total=6,strut=2em]
\end{code}
å…¶ä¸­ \verb!\gradetable! å‘½ä»¤çš„å„ä¸ªå‚æ•°å«ä¹‰å¦‚ä¸‹ï¼š
\begin{description}
  \item[total] è¡¨ç¤ºè¯•å·æ€»å…±æœ‰å¤šå°‘éƒ¨åˆ†ï¼Œé»˜è®¤æ˜¯ \verb!6!ã€‚
  \item[strut] è¡¨ç¤ºç©ºç™½å•å…ƒæ&nbsp;¼çš„æ”¯æž¶é«˜åº¦ï¼Œé»˜è®¤æ˜¯ \verb!2.5em!ã€‚
\end{description}
\end{framex}

\begin{framex}
\frametitle{åˆ¤æ–­é¢˜ç›®}
\begin{code}
\exampart{åˆ¤æ–­é¢˜}[é¢˜æ•°åˆ†å€¼]

\begin{question}
ç¬¬ä¸€é“åˆ¤æ–­é¢˜æè¿°ã€‚\tickout{t}
\end{question}

\begin{question}
ç¬¬äºŒé“åˆ¤æ–­é¢˜æè¿°ã€‚\tickout{f}
\end{question}
\end{code}
å…¶ä¸­ \verb!\tickout{t}! å’Œ \verb!\tickout{f}!
åˆ†åˆ«è¡¨ç¤ºæ‰“å‹¾ï¼ˆ\textcolor{blue}{$\checkmark$}ï¼‰å’Œæ‰“å‰ï¼ˆ\textcolor{blue}{\large$\times$}ï¼‰ã€‚
è¿˜å¯ç”¨å¤§å†™çš„ \verb!\tickout{T}! å’Œ \verb!\tickout{F}!ï¼Œ
åˆ†åˆ«è¡¨ç¤ºè¾“å‡º \textcolor{blue}{\textsf{T}} å’Œ \textcolor{blue}{\textsf{F}}ã€‚
\par
ç­”æ¡ˆå¿…é¡»æ”¾åœ¨ \verb!\tickout! å‘½ä»¤é‡Œï¼›è¿™æ&nbsp;·æ‰èƒ½åœ¨ç”Ÿæˆç©ºç™½è¯•å·æ—¶éšè—å®ƒã€‚
\end{framex}

\begin{framex}
\frametitle{å¡«ç©ºé¢˜ç›®}
\begin{code}
\exampart{å¡«ç©ºé¢˜}[é¢˜æ•°åˆ†å€¼]

\begin{question}
ç¬¬ä¸€é“å¡«ç©ºé¢˜æè¿°\fillout{ç­”æ¡ˆ}ã€‚
\end{question}

\begin{question}
ç¬¬äºŒé“å¡«ç©ºé¢˜æè¿°\fillout{ç­”æ¡ˆ}ã€‚
\end{question}
\end{code}
\verb!\fillout! å‘½ä»¤å°†ç”¨ä¸‹åˆ’çº¿å¡«æ»¡æ•´è¡Œã€‚å¦æœ‰ä¸ª \verb!\fillin! å‘½ä»¤ï¼Œåªç•™ä¸‹æœ€å°å®½åº¦çš„ä¸‹åˆ’çº¿ã€‚
\par
ç­”æ¡ˆå¿…é¡»æ”¾åœ¨ \verb!\fillout! æˆ– \verb!\fillin! å‘½ä»¤é‡Œé¢ï¼›è¿™æ&nbsp;·æ‰èƒ½åœ¨ç”Ÿæˆç©ºç™½è¯•å·æ—¶éšè—å®ƒã€‚
\end{framex}

\begin{framex}
\frametitle{é€‰æ‹©é¢˜ç›®}
\begin{code}
\exampart{å•é€‰é¢˜}[é¢˜æ•°åˆ†å€¼]

\begin{question}
ç¬¬ä¸€é“å•é€‰é¢˜æè¿°\pickout{ç­”æ¡ˆ}ã€‚
\end{question}

\begin{question}
ç¬¬äºŒé“å•é€‰é¢˜æè¿°\pickout{ç­”æ¡ˆ}ã€‚
\end{question}
\end{code}
\verb!\pickout! å‘½ä»¤å°†æŠŠé€‰æ‹©åœ†æ‹¬å·æ”¾åœ¨æœ¬è¡Œæœ€å³è¾¹ã€‚å¦å¤–æœ‰ä¸ª \verb!\pickin! å‘½ä»¤ï¼Œå°†é€‰æ‹©åœ†æ‹¬å·æ”¾åœ¨å½“å‰ä½ç½®ã€‚
\par
ç­”æ¡ˆå¿…é¡»æ”¾åœ¨ \verb!\pickout! æˆ– \verb!\pickin! å‘½ä»¤é‡Œé¢ï¼›è¿™æ&nbsp;·æ‰èƒ½åœ¨ç”Ÿæˆç©ºç™½è¯•å·æ—¶éšè—å®ƒã€‚
\end{framex}

\begin{framex}
\frametitle{é€‰é¡¹æŽ’ç‰ˆ}
é€‰æ‹©é¢˜çš„å››ä¸ªé€‰é¡¹å¯ä»¥ç”¨ \verb!abcd! çŽ¯å¢ƒæ¥æŽ’ç‰ˆã€‚æ¯”å¦‚ï¼š
\begin{code}
\begin{abcd}
  \item ç¬¬ä¸€ä¸ªé€‰é¡¹
  \item ç¬¬äºŒä¸ªé€‰é¡¹
  \item ç¬¬ä¸‰ä¸ªé€‰é¡¹
  \item ç¬¬å››ä¸ªé€‰é¡¹
\end{abcd}
\end{code}
æ­¤æ—¶ \verb!abcd! çŽ¯å¢ƒå°†æ&nbsp;¹æ®å„é€‰é¡¹é•¿åº¦è‡ªåŠ¨å°†å››ä¸ªé€‰é¡¹åˆ†ä¸ºä¸€è¡Œã€ä¸¤è¡Œæˆ–å››è¡ŒæŽ’ç‰ˆï¼Œéžå¸¸æ–¹ä¾¿ã€‚
\end{framex}


\begin{framex}
\frametitle{ç­”é¢˜è¡¨æ&nbsp;¼}
åœ¨å¡«ç©ºé¢˜å’Œé€‰æ‹©é¢˜å‰é¢ï¼Œè¿˜å¯ä»¥ç”¨ \verb!\answertable! å‘½ä»¤ç”Ÿæˆç©ºç™½ç­”é¢˜æ&nbsp;ã€‚æ¯”å¦‚ï¼š
\begin{code}
\answertable[total=6,column=3,strut=3em]
\end{code}
å…¶ä¸­ \verb!\answertable! å‘½ä»¤çš„å„ä¸ªå‚æ•°å«ä¹‰å¦‚ä¸‹ï¼š
\begin{description}
  \item[total] è¡¨ç¤ºæ€»å…±æœ‰å¤šå°‘ä¸ªé¢˜ç›®ã€‚
  \item[column] è¡¨ç¤ºæ¯è¡ŒæŽ’ç‰ˆå‡&nbsp;ä¸ªé¢˜ç›®ã€‚
  \item[strut] è¡¨ç¤ºç©ºç™½å•å…ƒæ&nbsp;¼çš„é«˜åº¦ï¼Œé»˜è®¤æ˜¯ \verb!1em!ã€‚
  \item[notice] è¡¨ç¤ºç­”é¢˜è¡¨æ&nbsp;¼å‰é¢æç¤ºæ–‡æœ¬çš„å†…å®¹ã€‚
\end{description}
\end{framex}

\begin{framex}
\frametitle{è®¡ç®—é¢˜ç›®}
\begin{code}
\exampart{è®¡ç®—é¢˜}[é¢˜æ•°åˆ†å€¼]

\begin{question}
ç¬¬ä¸€é“è®¡ç®—é¢˜æè¿°ã€‚
\end{question}
\begin{solution}
ç¬¬ä¸€é“è®¡ç®—é¢˜ç­”æ¡ˆã€‚
\end{solution}

\begin{question}
ç¬¬äºŒé“è®¡ç®—é¢˜æè¿°ã€‚
\end{question}
\begin{solution}
ç¬¬äºŒé“è®¡ç®—é¢˜ç­”æ¡ˆã€‚
\end{solution}
\end{code}
\end{framex}

\begin{framex}
\frametitle{è¯æ˜Žé¢˜ç›®}
\begin{code}
\exampart{è¯æ˜Žé¢˜}[é¢˜æ•°åˆ†å€¼]

\begin{question}
ç¬¬ä¸€é“è¯æ˜Žé¢˜æè¿°ã€‚
\end{question}
\begin{solution}
ç¬¬ä¸€é“è¯æ˜Žé¢˜ç­”æ¡ˆã€‚
\end{solution}

\begin{question}
ç¬¬äºŒé“è¯æ˜Žé¢˜æè¿°ã€‚
\end{question}
\begin{solution}
ç¬¬äºŒé“è¯æ˜Žé¢˜ç­”æ¡ˆã€‚
\end{solution}
\end{code}
\end{framex}

\begin{framex}
\frametitle{è§£ç­”åç§°}
é€šè¿‡é‡å®šä¹‰å…³é”®è¯çš„ç¿»è¯‘ï¼Œå¯ä»¥æ”¹å˜ \verb!solution! çŽ¯å¢ƒçš„æ˜¾ç¤ºåç§°ã€‚
æ¯”å¦‚ä¸‹é¢ä¾‹å­å°†â€œè§£â€æ”¹ä¸ºâ€œè¯â€ï¼š
\begin{code}
\SetExamTranslation{solution-Solution = è¯}
\end{code}
\end{framex}

\begin{framex}
\frametitle{è¯„åˆ†å‘½ä»¤}
è®¡ç®—é¢˜å’Œè¯æ˜Žé¢˜ç­‰ä¸»è§‚é¢˜çš„æŽ’ç‰ˆæ–¹æ³•æ˜¯å®Œå…¨ä¸€æ&nbsp;·çš„ã€‚åœ¨ç¼–å†™è¿™äº›ä¸»è§‚é¢˜çš„è§£ç­”æ—¶ï¼Œ
å¯ä»¥ç”¨ \verb!\points! å‘½ä»¤ç»™å‡ºå„æ­¥éª¤å¾—åˆ†ã€‚æ¯”å¦‚ï¼š
\begin{code}
\begin{solution}
$1+1=2$ \points{4}
$2+2=4$ \points{8}
\end{solution}
\end{code}
è¯„åˆ†å‘½ä»¤ \verb!\points! ä¹Ÿå¯åœ¨ \verb!align*! ç­‰æ•°å­¦çŽ¯å¢ƒä¸­ä½¿ç”¨ï¼Œæ­¤æ—¶è¯„åˆ†æ˜¾ç¤ºåœ¨å…¬å¼ç¼–å·ä½ç½®ã€‚
\end{framex}

\begin{framex}
\frametitle{å¯¹é½å‘½ä»¤}
æ­¤æ–‡æ¡£ç±»æä¾›å‡&nbsp;ä¸ªå¯¹é½å‘½ä»¤ï¼Œç”¨äºŽåœ¨ä¸åŒè¡Œä¹‹é—´å¯¹é½ã€‚æ¯”å¦‚
\vskip1em\hrule
æˆ‘ä»¬æœ‰$(a+b)^2 = (a+b)(a+b)$ \par
\leavevmode\phantom{æˆ‘ä»¬æœ‰$(a+b)^2$}${}= a^2 + 2ab + b^2$ \hfill$\cdots\cdots$ 2åˆ†
\vskip0.6em\hrule\vskip1em
\begin{code}
æˆ‘ä»¬æœ‰$(a+b)^2 \? = (a+b)(a+b)$ \\
               \+$= a^2+2ab+b^2$ \points{2}
\end{code}
ç¬¬ä¸€ä¸ªå…¬å¼å†…éƒ¨çš„ \verb!\?! ä¿å­˜å½“å‰æ°´å¹³ä½ç½®ï¼Œ
è€Œç¬¬äºŒä¸ªå…¬å¼å‰é¢çš„ \verb!\+! è¡¨ç¤ºè·³åˆ°ä¹‹å‰ä¿å­˜çš„ä½ç½®ã€‚
\par
è¿™ä¸¤ä¸ªå¯¹é½å‘½ä»¤ \verb!\?! å’Œ \verb!\+! éœ€è¦ç¼–è¯‘ä¸¤æ¬¡æ‰èƒ½ç”Ÿæ•ˆã€‚
\end{framex}

\begin{framex}
\frametitle{å¯¹é½å‘½ä»¤}
æ­¤æ–‡æ¡£ç±»æä¾›å‡&nbsp;ä¸ªå¯¹é½å‘½ä»¤ï¼Œç”¨äºŽåœ¨ä¸åŒè¡Œçš„å¯¹é½ã€‚æ¯”å¦‚
\vskip1em\hrule
æˆ‘ä»¬æœ‰$(a+b)^2 = (a+b)(a+b)$ \par
\leavevmode\phantom{æˆ‘ä»¬\,}${}= a^2 + 2ab + b^2$ \hfill$\cdots\cdots$ 2åˆ†
\vskip0.6em\hrule\vskip1em
\begin{code}
æˆ‘ä»¬æœ‰ \? $(a+b)^2 = (a+b)(a+b)$ \\
      \&lt; $= a^2+2ab+b^2$ \points{2}
\end{code}
ç¬¬ä¸€è¡Œå…¬å¼å‰é¢çš„ \verb!\?! ä¿å­˜å½“å‰æ°´å¹³ä½ç½®ï¼Œ
è€Œç¬¬äºŒè¡Œå…¬å¼å‰é¢çš„ \verb!\&lt;! è¡¨ç¤ºè·³åˆ°ä¹‹å‰ä¿å­˜ä½ç½®çš„å·¦ä¾§ï¼ˆå·¦ç§»ä¸€ä¸ªç­‰å·çš„å®½åº¦ï¼‰ã€‚
\par
è¿™ä¸¤ä¸ªå¯¹é½å‘½ä»¤ \verb!\?! å’Œ \verb!\&lt;! éœ€è¦ç¼–è¯‘ä¸¤æ¬¡æ‰èƒ½ç”Ÿæ•ˆã€‚
\end{framex}

\begin{framex}
\frametitle{å…¶å®ƒé¢˜åž‹}
é™¤äº†ä¸Šè¿°å››ç§é¢˜åž‹ä¹‹å¤–ï¼Œå…¶å®ƒé¢˜åž‹å¯ä»¥ç”¨ä¸‹é¢æ–¹å¼ç¼–å†™ï¼š
\begin{code}
\exampart{æŸé¢˜åž‹}[é¢˜æ•°åˆ†å€¼]

\begin{question}
ç¬¬ä¸€é¢˜æè¿°ã€‚\answer{ç¬¬ä¸€é¢˜ç­”æ¡ˆ}
\end{question}

\begin{question}
ç¬¬äºŒé¢˜æè¿°ã€‚\answer{ç¬¬äºŒé¢˜ç­”æ¡ˆ}
\end{question}
\end{code}
å…¶ä¸­é¢˜ç›®ç­”æ¡ˆå¿…é¡»æ”¾åœ¨ \verb!\answer! å‘½ä»¤é‡Œé¢ï¼›è¿™æ&nbsp;·æ‰èƒ½åœ¨ç”Ÿæˆç©ºç™½è¯•å·æ—¶éšè—å®ƒã€‚
\end{framex}

\begin{framex}
\frametitle{é™„å½•æ•°æ®}
åœ¨è¯•å·æœ€åŽï¼Œå¯ä»¥ç”¨ä¸‹é¢å‘½ä»¤å¢žåŠ&nbsp;é™„å½•æ•°æ®éƒ¨åˆ†ï¼š
\begin{code}
\examdata{å¯èƒ½ç”¨åˆ°çš„æ•°æ®} %é™„å½•æ•°æ®
......
\end{code}
é™„å½•æ•°æ®å¿…é¡»æ”¾åœ¨ \verb!\examdata! å‘½ä»¤åŽé¢ï¼›å¦åˆ™åœ¨ä»ŽAå·ç”ŸæˆBå·æ—¶ä¼šå‡ºé—®é¢˜ã€‚
\end{framex}

\section{æ¨¡æ¿é€‰é¡¹}

\begin{framex}
\frametitle{ç©ºç™½è¯•å·}
å‡è®¾ \verb!exam-a-answer.tex! æ˜¯å«ç­”æ¡ˆçš„è¯•å·ã€‚æ–°å»ºä¸€ä¸ªåŒ…å«ä»¥ä¸‹å†…å®¹çš„ \verb!exam-a-blank.tex! æ–‡æ¡£ï¼Œ
ç¼–è¯‘åŽå°†å¾—åˆ°ä¸å«ç­”æ¡ˆçš„ç©ºç™½è¯•å·ã€‚
\begin{code}
\PassOptionsToClass{noanswer}{jnuexam}
\input{exam-a-answer}
\end{code}
ä¹Ÿå°±æ˜¯è¯´ï¼Œç»™ \verb!jnuexam! æ–‡æ¡£ç±»åŠ&nbsp;ä¸Š \verb!noanswer! é€‰é¡¹åŽï¼Œç¼–è¯‘æ—¶å°†ä¼šè‡ªåŠ¨éšè—è¯•å·ç­”æ¡ˆã€‚
\end{framex}

\begin{framex}
\frametitle{ä¹±åºå‡ºé¢˜}
å‡è®¾ \verb!exam-a-answer.tex! æ˜¯å«ç­”æ¡ˆçš„Aå·ã€‚æ–°å»ºä¸€ä¸ªåŒ…å«ä»¥ä¸‹å†…å®¹çš„ \verb!exam-b-answer.tex! æ–‡æ¡£ï¼Œ
ç¼–è¯‘åŽå°†å¾—åˆ°ä¹±åºå‡ºé¢˜çš„Bå·ã€‚
\begin{code}
\PassOptionsToClass{random}{jnuexam}
\input{exam-a-answer}
\end{code}
ä¹Ÿå°±æ˜¯è¯´ï¼Œç»™ \verb!jnuexam! æ–‡æ¡£ç±»åŠ&nbsp;ä¸Š \verb!random! é€‰é¡¹åŽï¼Œç¼–è¯‘æ—¶å°†ä¼šä¹±åºæŽ’åˆ—å„é¢˜åž‹çš„å°é¢˜ã€‚
\end{framex}

\begin{framex}
\frametitle{ç«–ç›´ç©ºç™½}
åœ¨è¯•å·çš„å„ä¸ªå°é¢˜åŽé¢ï¼Œå¯ä»¥ç•™ä¸‹ä¸€äº›ç«–ç›´ç©ºç™½ã€‚æœ¬æ–‡æ¡£ç±»æ”¯æŒä¸‹åˆ—è¿™äº›ç«–ç›´ç©ºç™½å‘½ä»¤ï¼š\par
\renewcommand{\arraystretch}{1.3}%
\begin{tabularx}{\linewidth}{l&lt;{\qquad}X}
  \hline
  \texttt{\string\smallskip} &amp; ç«–ç›´å°ç©ºç™½ \\
  \hline
  \texttt{\string\medskip} &amp; ç«–ç›´ä¸­ç©ºç™½ \\
  \hline
  \texttt{\string\bigskip} &amp; ç«–ç›´å¤§ç©ºç™½ \\
  \hline
  \texttt{\string\vfill} &amp; ç«–ç›´å¡«å…… \\
  \hline
\end{tabularx}\par
å½“ç„¶ï¼Œç«–ç›´ç©ºç™½å‘½ä»¤å¯ä»¥è¿žç»­ä½¿ç”¨å¤šä¸ªï¼Œä»¥å¾—åˆ°æ‰€éœ€çš„ç©ºç™½ã€‚
\vfill
åœ¨è¯•å·ä¸­å¯ä»¥ä½¿ç”¨åˆ†é¡µå‘½ä»¤ \verb!\newpage!ï¼Œ
\alert{ä¸è¦}ä½¿ç”¨å…¶ä»–åˆ†é¡µå‘½ä»¤ï¼Œæ¯”å¦‚ \verb!\clearpage! ç­‰ï¼Œ
ä»¥å…å¯¼è‡´ B å·æ&nbsp;¼å¼é”™ä¹±ã€‚
\end{framex}

\begin{framex}
\frametitle{åŒæ&nbsp;è¯•å·}
å‡è®¾ \verb!exam-a-blank.tex! æ˜¯åŽŸæ¥è¯•å·çš„ TeX æ–‡ä»¶ã€‚æ–°å»ºä¸€ä¸ªåŒ…å«ä»¥ä¸‹å†…å®¹çš„æ–‡æ¡£ï¼Œ
ç¼–è¯‘åŽå°†å¾—åˆ°çš„ A3 çº¸å¼&nbsp;çš„è¯•å·ã€‚
\begin{code}
\PassOptionsToClass{a3paper}{jnuexam}
\input{exam-a-blank}
\end{code}
ä¹Ÿå°±æ˜¯è¯´ï¼Œç»™ \verb!jnuexam! æ–‡æ¡£ç±»åŠ&nbsp;ä¸Š \verb!a3paper! é€‰é¡¹åŽï¼Œç¼–è¯‘æ—¶å°†ä¼šæŒ‰ç…§ A3 çº¸å¼&nbsp;æŽ’ç‰ˆå‡ºåŒæ&nbsp;è¯•å·ã€‚
\end{framex}

\begin{framex}
\frametitle{åŒæ&nbsp;è¯•å·}
å‡è®¾ \verb!exam-a-blank.pdf! æ˜¯åŽŸæ¥è¯•å·çš„ PDF æ–‡ä»¶ã€‚æ–°å»ºä¸€ä¸ªåŒ…å«ä»¥ä¸‹å†…å®¹çš„æ–‡æ¡£ï¼Œ
ç¼–è¯‘åŽå°†å¾—åˆ°çš„ A3 çº¸å¼&nbsp;çš„è¯•å·ã€‚
\begin{code}
\documentclass[a3input]{jnuexam}
\begin{document}
\includepdf[pages=-,nup=2x1]{exam-a-blank}
\end{document}
\end{code}
%\includepdf[pages=-,nup=2x1,offset=0 0,delta=0 0]{exam-a-blank}
è¿™ç§ç”¨æ³•ç›´æŽ¥è¯»å…¥ A4 è¯•å·çš„ PDF æ–‡ä»¶ï¼Œç”ŸæˆåŒæ&nbsp;çš„ A3 è¯•å·ï¼Œé€‚åˆæ²¡æœ‰ TeX æ–‡ä»¶æ—¶ä½¿ç”¨ã€‚
\end{framex}

\end{document}
</pre></body></html>