The Acrotex Education Bundle for Latex, Manual of Usage
Total Page:16
File Type:pdf, Size:1020Kb
AcroTEX Software Development Team The AcroTEX eDucation Bundle (AeB) D. P. Story Copyright © 1999-2013 [email protected] Prepared: December 12, 2013 http://www.acrotex.net Table of Contents Preface 9 1 Getting Started 10 1.1 Installing the Distribution ........................... 10 1.2 Installing aeb.js ................................ 11 1.3 Language Localizations ............................. 12 1.4 Sample Files and Articles ........................... 12 1.5 Package Requirements ............................. 12 1.6 LATEXing Your First File ............................. 13 • For pdftex and dvipdfm Users ...................... 13 • For Distiller Users .............................. 14 The Web Package 15 2 Introduction 15 2.1 Overview ..................................... 15 2.2 Package Requirements ............................. 15 3 Basic Package Options 16 3.1 Setting the Driver Option ........................... 16 3.2 The tight Option ................................ 17 3.3 The usesf Option ................................ 17 3.4 The draft Option ................................ 17 3.5 The nobullets Option ............................. 17 3.6 The unicode Option .............................. 17 3.7 The useui Option ................................ 17 3.8 The xhyperref Option ............................. 18 4 Setting Screen Size 18 4.1 Custom Design .................................. 18 4.2 Screen Design Options ............................. 19 4.3 \setScreensizeFromGraphic ........................ 19 4.4 Using \addtoWebHeight and \addtoWebWidth ............. 20 4.5 Using a panel option .............................. 20 5 Hyperref Options 20 6 Running Headers and Footers 21 Table of Contents (cont.) 3 7 The Title Page and TOC 22 7.1 Basic Information Commands ........................ 22 7.2 Title Page Structure ............................... 23 7.3 Redefining \maketitle ............................ 25 7.4 The Title Page Directory ............................ 26 7.5 TheTOCforWeb................................ 28 7.6 The usedirectory Option .......................... 28 7.7 The latextoc Option ............................. 29 7.8 The centertitlepage Option ........................ 29 7.9 The centertitlepagefull Option ..................... 29 7.10 The \makeinlinetitle Command ..................... 29 8 Template Options 30 8.1 The usetemplates Option .......................... 30 8.2 The leftpanel and rightpanel Options ................. 30 8.3 The leftpanelprt and rightpanelprt Options ............ 30 9 Navigation Aids 30 9.1 A Navigation Bar ................................. 30 9.2 \newNaviIcon .................................. 31 9.3 Direction Icons .................................. 31 9.4 \panelNaviGroup ................................ 32 10 The Language Options 32 11 Paper Related Options and Commands 33 11.1 The forpaper Option ............................. 33 11.2 The forcolorpaper Option .......................... 33 11.3 The latexlayout Option ........................... 33 11.4 The uselatexparts and uselatexchapters Options ......... 34 11.5 The \useFullWidthForPaper Command ................. 34 12 Formatting for screen and paper 34 13 Template Building and Management 35 13.1 Template options ................................ 35 13.2 Text Screen Template .............................. 36 13.3 Panel Screen Template ............................. 37 13.4 Template Management ............................. 38 14 The pro Option 39 14.1 \DeclareDocInfo ................................ 39 14.2 \DeclarePageLayout ............................. 43 14.3 The Title Page: \maketitle .......................... 44 • The Title Page Structure .......................... 44 • Greater Control of the Top Title Page .................. 46 • Greater Control over Title Page Trailer ................. 49 Table of Contents (cont.) 4 14.4 The Table of Contents ............................. 50 14.5 Selecting Colors ................................. 51 14.6 Section Headings ................................ 52 15 On Parts, Chapters, and Final Dots 55 15.1 The \part command .............................. 55 15.2 The \chapter command ............................ 56 15.3 The \noFinalDot Command ......................... 56 The Exerquiz Package 57 16 Exerquiz and Acrobat JavaScript 57 17 Package Requirements 57 18 Basic Package Options 58 18.1 The pdftex Option ............................... 58 18.2 The dvipdfm Option .............................. 59 18.3 The Language Option .............................. 59 18.4 The forpaper and forcolorpaper Options ............... 59 18.5 The preview Option .............................. 60 18.6 The nodljs Option ............................... 60 18.7 The exercisesonly Option .......................... 60 18.8 The debug Option ................................ 60 18.9 The allowrandomize Option ......................... 61 18.10 The unicode Option .............................. 61 18.11 The useui Option ................................ 61 18.12 The usesumrytbls Option .......................... 61 18.13 The contsolns Option ............................. 61 19 The exercise Environment 62 19.1 Basic Usage .................................... 62 • Exercises with Parts: The exercise* Environment .......... 64 19.2 Options of the exercise Environment ................... 65 • Leaving Vertical Space instead of a Solution .............. 65 • Hiding some Solutions ........................... 66 • The nohiddensolutions Option .................... 67 • The noHiddensolutions Option .................... 67 • The exercise environment Counter .................. 67 • The nosolutions Option ......................... 68 • The solutionsafter Option ....................... 68 • Moving the Solution Set .......................... 69 19.3 Redesigning the exercise Environment .................. 69 Table of Contents (cont.) 5 20 The shortquiz Environment 73 20.1 Basic Usage .................................... 73 • shortquiz with Radio Buttons ...................... 75 • shortquiz with Solutions ......................... 75 • The \bChoices/\eChoices Commands ................ 76 • The questions Environment ....................... 78 20.2 Options of the shortquiz Environment .................. 80 • The forpaper Option ........................... 80 • The solutionsafter Option ....................... 80 • The proofing Option ........................... 80 • The showgrayletters Option ...................... 81 • Moving the Solution Set .......................... 82 20.3 Redesigning the shortquiz Environment ................. 82 • Changing Titles ............................... 82 • Modifying Form Elements ......................... 83 20.4 \titleQuiz and \fancyQuizHeaders ................... 83 • \titleQuiz ................................. 83 • \titleQuiz* ................................. 85 • Cross-Referencing .............................. 85 • \fancyQuizHeaders ............................ 86 21 The quiz Environment 86 21.1 Options of the quiz Environment ...................... 88 • The option noquizsolutions ...................... 88 21.2 The answers Environment .......................... 88 21.3 Basic Usage .................................... 88 • Link-Style Quiz ................................ 89 • Form-Style Quiz ............................... 90 • Using Circular Radio Buttons with MC Questions ........... 91 • Overriding the ‘quiztype’ Parameter ................... 91 • The BeginQuiz and EndQuiz Form Buttons .............. 91 • The proofing Option ........................... 92 • The showgrayletters Option ...................... 92 • Setting the Threshold ............................ 92 21.4 The manswers Environment .......................... 93 21.5 Correcting the Quizzes with JavaScript ................... 93 • The nocorrections Option ........................ 95 • Showing Partial Credit Markup ...................... 95 21.6 Quizzes with Solutions ............................. 96 21.7 How to Modify the quiz Environment ................... 97 • The Quiz Titles ................................ 97 • The check appearance ........................... 98 • Change color of Correction Marks .................... 98 • The ‘Correction’ Button .......................... 99 • The Score Field ................................ 99 21.8 \titleQuiz and \fancyQuizHeaders ................... 100 Table of Contents (cont.) 6 • \titleQuiz ................................. 100 • Cross-Referencing .............................. 102 • \fancyQuizHeaders ............................ 102 21.9 Adding Points to a Quiz ............................ 104 • \negPointsAllowed ............................ 105 21.10 Floating a Quiz .................................. 105 22 Objective Style Questions 106 22.1 Math and Text Questions ........................... 106 • The Mathematical Question ........................ 107 • The Text Question .............................. 107 22.2 The oQuestion Environment ......................... 107 • \RespBoxMath: The Math Question ................... 107 • \RespBoxTxt: The Text Question .................... 110 • \RespBoxTxtPC: The Text Question with Partial Credit ....... 112 22.3 Some Enhancements .............................. 113 • Including an Answer Key with \CorrAnsButton ........... 113 • Including a Solution ............................. 114 • Including a Tally Box ............................ 115 • Clearing the Fields .............................. 115 22.4 More on Math Fill-in Questions .......................