Test writing with LaTeX
-
- Staff Emeritus
- Posts: 1382
- Joined: Sun Apr 19, 2015 6:37 pm
- Division: Grad
- State: FL
- Has thanked: 2 times
- Been thanked: 37 times
Test writing with LaTeX
Hey all,
So I've recently discovered LaTeX (I know Im late to the game) and am curious to hear from those who have written exams using it and their thoughts on it. My initial concern was images are more difficult to include than in a word doc, but I realized I could just have a separate image packet, which is becoming a standard at many tournaments.
So I've recently discovered LaTeX (I know Im late to the game) and am curious to hear from those who have written exams using it and their thoughts on it. My initial concern was images are more difficult to include than in a word doc, but I realized I could just have a separate image packet, which is becoming a standard at many tournaments.
Boca Raton Community High School Alumni
University of Florida Science Olympiad Co-Founder
Florida Science Olympiad Board of Directors
kevin@floridascienceolympiad.org || windu34's Userpage
University of Florida Science Olympiad Co-Founder
Florida Science Olympiad Board of Directors
kevin@floridascienceolympiad.org || windu34's Userpage
-
- Admin Emeritus
- Posts: 961
- Joined: Fri Jan 12, 2007 7:36 pm
- Division: Grad
- Has thanked: 0
- Been thanked: 17 times
Re: Test writing with LaTeX
Images are easier in LaTeX. Way less fighting to put them where you want them. For example:
The "!h" forces the figure to appear exactly where you want it to.
The exam class makes the formatting pretty easy.
I use LaTeX almost exclusively.
Code: Select all
\begin{figure}[!h]
\centering
\includegraphics[width=6 cm]{Figure1.jpg}
\end{figure}
The exam class makes the formatting pretty easy.
I use LaTeX almost exclusively.
-
- Exalted Member
- Posts: 619
- Joined: Sat Dec 03, 2011 9:45 pm
- Division: Grad
- State: NY
- Has thanked: 3 times
- Been thanked: 20 times
Re: Test writing with LaTeX
First, not late at all! I didn't really get into LaTeX until my senior year of undergrad, so by no means is it essential earlier on. The main thing LaTeX teaches you is that templates vastly speed up writing regardless of the program you use or style you're writing in (exams, papers, etc).
One recommendation: If you use LaTeX, try to find a friend who already has a filled in template/test written. I think the biggest lesson you can learn with LaTeX is that usually someone else will have done what you're trying to do (like, image sheets and beyond). Formatting always sounds easy, but being new at anything means things will take time means wasting time. Disclaimer: I use word for my tests just because it's easy to copy and paste from my past tests...I'm sure exam class would make some things easier, but I find word works for making something quick [Though, as I hinted at, I do use LaTeX now for some things].
One recommendation: If you use LaTeX, try to find a friend who already has a filled in template/test written. I think the biggest lesson you can learn with LaTeX is that usually someone else will have done what you're trying to do (like, image sheets and beyond). Formatting always sounds easy, but being new at anything means things will take time means wasting time. Disclaimer: I use word for my tests just because it's easy to copy and paste from my past tests...I'm sure exam class would make some things easier, but I find word works for making something quick [Though, as I hinted at, I do use LaTeX now for some things].
B: Crave the Wave, Environmental Chemistry, Robo-Cross, Meteo, Phys Sci Lab, Solar System, DyPlan (E and V), Shock Value
C: Microbe Mission, DyPlan (Fresh Waters), Fermi Questions, GeoMaps, Grav Vehicle, Scrambler, Rocks, Astro
Grad: Writing Tests/Supervising (NY/MI)
C: Microbe Mission, DyPlan (Fresh Waters), Fermi Questions, GeoMaps, Grav Vehicle, Scrambler, Rocks, Astro
Grad: Writing Tests/Supervising (NY/MI)
-
- Member
- Posts: 581
- Joined: Thu Apr 26, 2018 6:40 pm
- Has thanked: 4 times
- Been thanked: 101 times
Re: Test writing with LaTeX
The "exam" documentclass is your friend. It also makes it easy to produce an answer sheet. I don't know how to do bubble/scantron style sheets for multiple choice, though. Anyone?
Re: Test writing with LaTeX
If you want a legit scannable scantron, than you have to purchase some brand of them.knightmoves wrote:The "exam" documentclass is your friend. It also makes it easy to produce an answer sheet. I don't know how to do bubble/scantron style sheets for multiple choice, though. Anyone?
If you just want a no-frills answer sheet (just Q #s and answer letters), then I would suggest that you don't need to make it bubble. A simple list in Word with some tabs (or a comparable setup in
-
- Staff Emeritus
- Posts: 1382
- Joined: Sun Apr 19, 2015 6:37 pm
- Division: Grad
- State: FL
- Has thanked: 2 times
- Been thanked: 37 times
Re: Test writing with LaTeX
Thanks for the suggestions! I found a template test as you recommended and it looks like it will be fairly straightforward to edit.syo_astro wrote:First, not late at all! I didn't really get into LaTeX until my senior year of undergrad, so by no means is it essential earlier on. The main thing LaTeX teaches you is that templates vastly speed up writing regardless of the program you use or style you're writing in (exams, papers, etc).
One recommendation: If you use LaTeX, try to find a friend who already has a filled in template/test written. I think the biggest lesson you can learn with LaTeX is that usually someone else will have done what you're trying to do (like, image sheets and beyond). Formatting always sounds easy, but being new at anything means things will take time means wasting time. Disclaimer: I use word for my tests just because it's easy to copy and paste from my past tests...I'm sure exam class would make some things easier, but I find word works for making something quick [Though, as I hinted at, I do use LaTeX now for some things].
Boca Raton Community High School Alumni
University of Florida Science Olympiad Co-Founder
Florida Science Olympiad Board of Directors
kevin@floridascienceolympiad.org || windu34's Userpage
University of Florida Science Olympiad Co-Founder
Florida Science Olympiad Board of Directors
kevin@floridascienceolympiad.org || windu34's Userpage
-
- Member
- Posts: 14
- Joined: Fri Jul 12, 2019 7:58 am
- Division: Grad
- State: OH
- Has thanked: 0
- Been thanked: 0
Re: Test writing with LaTeX
I know I'm not an alum but I stumbled onto this thread so I guess I'm gonna ask a troubleshooting question real quick.
I'm writing LMMM for the Solon invitational and I decided to use LaTex's exam class to create the answer sheet and key for it just because I wanted to learn Latex whatnot at some point.
So I tried doing something like this in the document:
\begin{questions}
\question
\begin[solutionorlines]
random solution text
\end[solution]
\end[questions]
I don't need to include any question text because LMMM is supposed to be stations, but then the "1." that should be generated for the question disappears when I'm not trying to print the answers, and everything is working correctly when I do use \printanswers at the top.
This might be a really random and really specific problem but maybe someone will know what's going on.
Thanks!
I'm writing LMMM for the Solon invitational and I decided to use LaTex's exam class to create the answer sheet and key for it just because I wanted to learn Latex whatnot at some point.
So I tried doing something like this in the document:
\begin{questions}
\question
\begin[solutionorlines]
random solution text
\end[solution]
\end[questions]
I don't need to include any question text because LMMM is supposed to be stations, but then the "1." that should be generated for the question disappears when I'm not trying to print the answers, and everything is working correctly when I do use \printanswers at the top.
This might be a really random and really specific problem but maybe someone will know what's going on.
Thanks!
Solon High School Captain '20
UChicago '24
UChicago '24
-
- Exalted Member
- Posts: 387
- Joined: Tue May 24, 2016 5:37 pm
- Division: Grad
- State: MA
- Has thanked: 0
- Been thanked: 0
Re: Test writing with LaTeX
There are a couple of things wrong here. First, you should be using curly braces around all environment names, such as questions. The reason the number doesn't show up is because the questions environment, as defined in the exam class, basically has an "if nonempty" condition to it. A workaround is to just add a blank space to avoid this with a $\qquad$. Working code follows:itsDerk wrote: \begin{questions}
\question
\begin[solutionorlines]
random solution text
\end[solution]
\end[questions]
\documentclass{exam}
\begin{document}
\begin{questions}
\question $\qquad$
\begin{solutionorlines}
random solution text
\end{solutionorlines}
\end{questions}
\end{document}
Rest in Peace Len Joeris
Acton-Boxborough Regional High School Captain 17-19
[b]2016 Air Trajectory Nationals - 3rd 2018 Hovercraft Nationals - 6th 2018 Mousetrap Nationals - 6th 2018 Nationals - Team 9th Place! 2019 Astronomy Nationals - 3rd! 2019 Nationals - Team 9th Place! [/b]
-
- Member
- Posts: 14
- Joined: Fri Jul 12, 2019 7:58 am
- Division: Grad
- State: OH
- Has thanked: 0
- Been thanked: 0
Re: Test writing with LaTeX
Shoot I copied over what I typed wrong, I did in fact have the curly brackets. My bad.antoine_ego wrote: ↑Mon Jan 20, 2020 5:51 amThere are a couple of things wrong here. First, you should be using curly braces around all environment names, such as questions. The reason the number doesn't show up is because the questions environment, as defined in the exam class, basically has an "if nonempty" condition to it. A workaround is to just add a blank space to avoid this with a $\qquad$. Working code follows:itsDerk wrote: \begin{questions}
\question
\begin[solutionorlines]
random solution text
\end[solution]
\end[questions]
\documentclass{exam}
\begin{document}
\begin{questions}
\question $\qquad$
\begin{solutionorlines}
random solution text
\end{solutionorlines}
\end{questions}
\end{document}
Thanks for the workaround though, I’ll try it out soon. Sounds like it should work.
Thanks for the help!
Solon High School Captain '20
UChicago '24
UChicago '24