-
-
Notifications
You must be signed in to change notification settings - Fork 169
Convert LaTeX hardcopy to use the exam document class #1878
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
drgrice1
merged 7 commits into
openwebwork:develop
from
drdrew42:feature/latex-exam-class
Apr 20, 2023
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
709838a
initial conversion to exam class for hardcopy
drdrew42 44892f1
Update the XeLaTeX themes to use the exam document class.
drgrice1 1906ec6
Update the check_latex.tex file to more accurately test for these cha…
drgrice1 6dfd7c9
Fix an issue with the hardcopyThemeNames in localOverrides.conf.dist.
drgrice1 e0fbfcd
Use a Hebrew work for Problem in \qformat in the XeLaTeX-Hebrew hardc…
taniwallach 0c92894
Merge pull request #9 from taniwallach/latex-exam-class-continued-heb…
drgrice1 a9e1258
Merge pull request #5 from drgrice1/feature/latex-exam-class-continued
drdrew42 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
70 changes: 0 additions & 70 deletions
70
conf/snippets/hardcopyThemes/XeLaTeX-Hebrew-oneColumn/hardcopySetHeader.pg
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,71 +1 @@ | ||
| DOCUMENT(); | ||
|
|
||
| loadMacros( | ||
| "PG.pl", | ||
| "PGbasicmacros.pl", | ||
| ); | ||
|
|
||
| TEXT($BEGIN_ONE_COLUMN); | ||
|
|
||
| TEXT(MODES(TeX =>EV3(<<'EOT'),HTML=>"",Latex2HTML=>"")); | ||
| \noindent {\large \bf $studentName} | ||
| \hfill | ||
| \noindent {\large \bf MTH 161 $sectionNumber Fall 2003} | ||
| \par | ||
|
|
||
| EOT | ||
|
|
||
| BEGIN_TEXT | ||
|
|
||
| $BBOLD WeBWorK assignment number $setNumber is due : $formattedDueDate. $EBOLD | ||
|
|
||
| $PAR | ||
| The | ||
| (* home page *) | ||
| \{ | ||
| #htmlLink(qq!http://www.math.rochester.edu/courses/161/home/!,"home | ||
| page") | ||
| \} | ||
| for the course contains the syllabus, grading policy and other | ||
| information. | ||
| $PAR | ||
| END_TEXT | ||
|
|
||
| ################## | ||
| # EDIT BELOW HERE | ||
| ################## | ||
| BEGIN_TEXT | ||
| $HR | ||
| $PAR | ||
| This file is /conf/snippets/hardcopySetHeader.pg you can use it as | ||
| a model for creating files which introduce each problem set. | ||
| $PAR | ||
| $HR | ||
| END_TEXT | ||
| ################## | ||
| # EDIT ABOVE HERE | ||
| ################## | ||
| BEGIN_TEXT | ||
| The primary purpose of WeBWorK is to let you know that you are getting the correct answer or to alert | ||
| you if you are making some kind of mistake. Usually you can attempt a problem as many times as you want before | ||
| the due date. However, if you are having trouble figuring out your error, you should | ||
| consult the book, or ask a fellow student, one of the TA's or | ||
| your professor for help. Don't spend a lot of time guessing -- it's not very efficient or effective. | ||
| $PAR | ||
| Give 4 or 5 significant digits for (floating point) numerical answers. | ||
| For most problems when entering numerical answers, you can if you wish | ||
| enter elementary expressions such as \( 2\wedge3 \) instead of 8, \( sin(3*pi/2) \)instead | ||
| of -1, \( e\wedge (ln(2)) \) instead of 2, | ||
| \( (2+tan(3))*(4-sin(5))\wedge6-7/8 \) instead of 27620.3413, etc. | ||
| Here's the | ||
| \{ htmlLink(qq!http://webwork.math.rochester.edu/docs/docs/pglanguage/availableFunctions.html!,"list of the functions") \} | ||
| which WeBWorK understands. | ||
| $PAR | ||
| You can use the Feedback button on each problem | ||
| page to send e-mail to the professors. | ||
|
|
||
|
|
||
| $END_ONE_COLUMN | ||
| END_TEXT | ||
|
|
||
| ENDDOCUMENT(); # This should be the last executable line in the problem. |
1 change: 0 additions & 1 deletion
1
conf/snippets/hardcopyThemes/XeLaTeX-Hebrew-twoColumn/hardcopyPostamble.tex
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,3 @@ | ||
|
|
||
| \end{multicols} | ||
| \vfill | ||
| \end{document} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 1 addition & 5 deletions
6
conf/snippets/hardcopyThemes/XeLaTeX-Hebrew-twoColumn/hardcopySetDivider.tex
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,8 +1,4 @@ | ||
|
|
||
| \end{multicols} % close off the columns from the set above | ||
|
|
||
| \newpage% | ||
| \setcounter{page}{1}% | ||
| \begin{multicols}{2} | ||
| \columnwidth=\linewidth % reopen the columns for the following set | ||
| \setcounter{page}{1}% | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The addition of
\firstpageheadrulehere seems to cause the first page to have two head rules when using the single column theme.