Package mcexam radon question from file The Next CEO of Stack OverflowWrite answers in the same line using package mcexamMultiple test versions in the same output pdf using mcexam packageObtaining the total number of questions from mcexammcexam a custom type questionUsing conditionals inside mcexam
Why does standard notation not preserve intervals (visually)
Domestic-to-international connection at Orlando (MCO)
Can you be charged for obstruction for refusing to answer questions?
Why do airplanes bank sharply to the right after air-to-air refueling?
If Nick Fury and Coulson already knew about aliens (Kree and Skrull) why did they wait until Thor's appearance to start making weapons?
Why do remote US companies require working in the US?
Bartok - Syncopation (1): Meaning of notes in between Grand Staff
Why isn't acceleration always zero whenever velocity is zero, such as the moment a ball bounces off a wall?
Would this house-rule that treats advantage as a +1 to the roll instead (and disadvantage as -1) and allows them to stack be balanced?
Would a grinding machine be a simple and workable propulsion system for an interplanetary spacecraft?
Can MTA send mail via a relay without being told so?
How did people program for Consoles with multiple CPUs?
Why is information "lost" when it got into a black hole?
Math-accent symbol over parentheses enclosing accented symbol (amsmath)
Can a Bladesinger Wizard use Bladesong with a Hand Crossbow?
Is it possible to replace duplicates of a character with one character using tr
What steps are necessary to read a Modern SSD in Medieval Europe?
Why is quantifier elimination desirable for a given theory?
Why isn't the Mueller report being released completely and unredacted?
Rotate a column
How to install OpenCV on Raspbian Stretch?
Method for adding error messages to a dictionary given a key
Are police here, aren't itthey?
Why don't programming languages automatically manage the synchronous/asynchronous problem?
Package mcexam radon question from file
The Next CEO of Stack OverflowWrite answers in the same line using package mcexamMultiple test versions in the same output pdf using mcexam packageObtaining the total number of questions from mcexammcexam a custom type questionUsing conditionals inside mcexam
It has a file of multiple choice questions with 50 questions that wanted to generate evaluations with different questions, for each evaluation limit the number by 10 questions, generating 5 files with different questions.
documentclass[a4paper]article
usepackage[output=exam
,numberofversions=4
,version=1
,seed=1
,randomizequestions=true
,randomizeanswers=true
,writeRfile=false
]mcexam
% Packages used for special things
usepackagetikz,framed
usepackagefancyhdr,lastpage,totcount,xpatch
usepackagecalc
% Set headers and footers
pagestylefancy
fancyhf
renewcommandheadrulewidth0pt
renewcommandfootrulewidth1pt
lfootmctheversion
rfootPage thepage of pagerefLastPage
% Ensure each question+answers is printed entirely on the same page.
renewenvironmentsetmcquestion
beginminipage[t]linewidth-labelwidth
endminipagepar
newtogglequestionscounted
globaltogglefalsequestionscounted
makeatletter
newcommandpatch@mcquestions%
iftogglequestionscounted
%
setcounternumquestionsvaluemc@counter%
globaltoggletruequestionscounted
%
newcounternumquestions
regtotcounternumquestions
xpatchcmdenv@mcquestions@process
mc@setQuestionAndAnswerNumbers
mc@setQuestionAndAnswerNumberspatch@mcquestions
makeatother
begindocument
begincenter
bfseriesLARGE Midterm Exam
endcenter
beginframed
centeringbfseriesLargeMakeUppercasemctheversion
endframed
mcifoutputconcept,exam
bigskip
noindent Name: dotfill\[.5baselineskip]
noindent Student Number: dotfill\[.5baselineskip]
noindent Program: dotfill
vspace2baselineskip
noindenttextbfInstructions:
beginitemize[nosep]
item This exam has totalnumquestions questions. %THIS THROWS AN UNDEFINED CONTROL SEQUENCE ERROR
enditemize
beginmcquestions
question What is the color of the sky?
beginmcanswerslist[fixlast]
answer[correct] blue
answer green
answer red
answer yellow
answer none of the above
endmcanswerslist
beginmcexplanation
If you look up to the sky and there are no clouds, you'll see it is blue.
endmcexplanation
beginmcnotes
This question had a large proportion of good answers last year.
endmcnotes
question Which figure is a square?
beginmcanswers
begintabular@cccc
answer1tikzdraw (-0.66,0)--(0.66,0)--(0,1)--cycle;&
answer2tikzdraw (0,0)--(2,0)--(2,1)--(0,1)--cycle;&
answer[correct]3tikzdraw (0,0)--(1,0)--(1,1)--(0,1)--cycle;&
answer4tikzdraw (0,0) circle[radius=0.5];\
answernum1&answernum2&answernum3&answernum4\
endtabular
endmcanswers
endmcquestions
enddocument
mcexam
add a comment |
It has a file of multiple choice questions with 50 questions that wanted to generate evaluations with different questions, for each evaluation limit the number by 10 questions, generating 5 files with different questions.
documentclass[a4paper]article
usepackage[output=exam
,numberofversions=4
,version=1
,seed=1
,randomizequestions=true
,randomizeanswers=true
,writeRfile=false
]mcexam
% Packages used for special things
usepackagetikz,framed
usepackagefancyhdr,lastpage,totcount,xpatch
usepackagecalc
% Set headers and footers
pagestylefancy
fancyhf
renewcommandheadrulewidth0pt
renewcommandfootrulewidth1pt
lfootmctheversion
rfootPage thepage of pagerefLastPage
% Ensure each question+answers is printed entirely on the same page.
renewenvironmentsetmcquestion
beginminipage[t]linewidth-labelwidth
endminipagepar
newtogglequestionscounted
globaltogglefalsequestionscounted
makeatletter
newcommandpatch@mcquestions%
iftogglequestionscounted
%
setcounternumquestionsvaluemc@counter%
globaltoggletruequestionscounted
%
newcounternumquestions
regtotcounternumquestions
xpatchcmdenv@mcquestions@process
mc@setQuestionAndAnswerNumbers
mc@setQuestionAndAnswerNumberspatch@mcquestions
makeatother
begindocument
begincenter
bfseriesLARGE Midterm Exam
endcenter
beginframed
centeringbfseriesLargeMakeUppercasemctheversion
endframed
mcifoutputconcept,exam
bigskip
noindent Name: dotfill\[.5baselineskip]
noindent Student Number: dotfill\[.5baselineskip]
noindent Program: dotfill
vspace2baselineskip
noindenttextbfInstructions:
beginitemize[nosep]
item This exam has totalnumquestions questions. %THIS THROWS AN UNDEFINED CONTROL SEQUENCE ERROR
enditemize
beginmcquestions
question What is the color of the sky?
beginmcanswerslist[fixlast]
answer[correct] blue
answer green
answer red
answer yellow
answer none of the above
endmcanswerslist
beginmcexplanation
If you look up to the sky and there are no clouds, you'll see it is blue.
endmcexplanation
beginmcnotes
This question had a large proportion of good answers last year.
endmcnotes
question Which figure is a square?
beginmcanswers
begintabular@cccc
answer1tikzdraw (-0.66,0)--(0.66,0)--(0,1)--cycle;&
answer2tikzdraw (0,0)--(2,0)--(2,1)--(0,1)--cycle;&
answer[correct]3tikzdraw (0,0)--(1,0)--(1,1)--(0,1)--cycle;&
answer4tikzdraw (0,0) circle[radius=0.5];\
answernum1&answernum2&answernum3&answernum4\
endtabular
endmcanswers
endmcquestions
enddocument
mcexam
It looks like you've got two separate accounts, which means you cannot edit your original post or leave comments. The Stack Exchange staff can merge them together for you.
– Kurt
1 hour ago
@Kurt i am guess merge all accounts now. Thanks for observation
– Fabio Lima
1 hour ago
By my fileforeach i in 1,...,10 newpage setkeysmcexam.styversion=i,seed=123 beginmcquestions input../path1/file1 input../path2/file2 endmcquestions
Have error compilation used this mode.
– Fabio Lima
1 hour ago
Your given code in your question compiles without problems with current MiKTeX 2.9 ... Can you please add the complete error message you get and make sure the given code in your questions results in your error please.
– Kurt
36 mins ago
add a comment |
It has a file of multiple choice questions with 50 questions that wanted to generate evaluations with different questions, for each evaluation limit the number by 10 questions, generating 5 files with different questions.
documentclass[a4paper]article
usepackage[output=exam
,numberofversions=4
,version=1
,seed=1
,randomizequestions=true
,randomizeanswers=true
,writeRfile=false
]mcexam
% Packages used for special things
usepackagetikz,framed
usepackagefancyhdr,lastpage,totcount,xpatch
usepackagecalc
% Set headers and footers
pagestylefancy
fancyhf
renewcommandheadrulewidth0pt
renewcommandfootrulewidth1pt
lfootmctheversion
rfootPage thepage of pagerefLastPage
% Ensure each question+answers is printed entirely on the same page.
renewenvironmentsetmcquestion
beginminipage[t]linewidth-labelwidth
endminipagepar
newtogglequestionscounted
globaltogglefalsequestionscounted
makeatletter
newcommandpatch@mcquestions%
iftogglequestionscounted
%
setcounternumquestionsvaluemc@counter%
globaltoggletruequestionscounted
%
newcounternumquestions
regtotcounternumquestions
xpatchcmdenv@mcquestions@process
mc@setQuestionAndAnswerNumbers
mc@setQuestionAndAnswerNumberspatch@mcquestions
makeatother
begindocument
begincenter
bfseriesLARGE Midterm Exam
endcenter
beginframed
centeringbfseriesLargeMakeUppercasemctheversion
endframed
mcifoutputconcept,exam
bigskip
noindent Name: dotfill\[.5baselineskip]
noindent Student Number: dotfill\[.5baselineskip]
noindent Program: dotfill
vspace2baselineskip
noindenttextbfInstructions:
beginitemize[nosep]
item This exam has totalnumquestions questions. %THIS THROWS AN UNDEFINED CONTROL SEQUENCE ERROR
enditemize
beginmcquestions
question What is the color of the sky?
beginmcanswerslist[fixlast]
answer[correct] blue
answer green
answer red
answer yellow
answer none of the above
endmcanswerslist
beginmcexplanation
If you look up to the sky and there are no clouds, you'll see it is blue.
endmcexplanation
beginmcnotes
This question had a large proportion of good answers last year.
endmcnotes
question Which figure is a square?
beginmcanswers
begintabular@cccc
answer1tikzdraw (-0.66,0)--(0.66,0)--(0,1)--cycle;&
answer2tikzdraw (0,0)--(2,0)--(2,1)--(0,1)--cycle;&
answer[correct]3tikzdraw (0,0)--(1,0)--(1,1)--(0,1)--cycle;&
answer4tikzdraw (0,0) circle[radius=0.5];\
answernum1&answernum2&answernum3&answernum4\
endtabular
endmcanswers
endmcquestions
enddocument
mcexam
It has a file of multiple choice questions with 50 questions that wanted to generate evaluations with different questions, for each evaluation limit the number by 10 questions, generating 5 files with different questions.
documentclass[a4paper]article
usepackage[output=exam
,numberofversions=4
,version=1
,seed=1
,randomizequestions=true
,randomizeanswers=true
,writeRfile=false
]mcexam
% Packages used for special things
usepackagetikz,framed
usepackagefancyhdr,lastpage,totcount,xpatch
usepackagecalc
% Set headers and footers
pagestylefancy
fancyhf
renewcommandheadrulewidth0pt
renewcommandfootrulewidth1pt
lfootmctheversion
rfootPage thepage of pagerefLastPage
% Ensure each question+answers is printed entirely on the same page.
renewenvironmentsetmcquestion
beginminipage[t]linewidth-labelwidth
endminipagepar
newtogglequestionscounted
globaltogglefalsequestionscounted
makeatletter
newcommandpatch@mcquestions%
iftogglequestionscounted
%
setcounternumquestionsvaluemc@counter%
globaltoggletruequestionscounted
%
newcounternumquestions
regtotcounternumquestions
xpatchcmdenv@mcquestions@process
mc@setQuestionAndAnswerNumbers
mc@setQuestionAndAnswerNumberspatch@mcquestions
makeatother
begindocument
begincenter
bfseriesLARGE Midterm Exam
endcenter
beginframed
centeringbfseriesLargeMakeUppercasemctheversion
endframed
mcifoutputconcept,exam
bigskip
noindent Name: dotfill\[.5baselineskip]
noindent Student Number: dotfill\[.5baselineskip]
noindent Program: dotfill
vspace2baselineskip
noindenttextbfInstructions:
beginitemize[nosep]
item This exam has totalnumquestions questions. %THIS THROWS AN UNDEFINED CONTROL SEQUENCE ERROR
enditemize
beginmcquestions
question What is the color of the sky?
beginmcanswerslist[fixlast]
answer[correct] blue
answer green
answer red
answer yellow
answer none of the above
endmcanswerslist
beginmcexplanation
If you look up to the sky and there are no clouds, you'll see it is blue.
endmcexplanation
beginmcnotes
This question had a large proportion of good answers last year.
endmcnotes
question Which figure is a square?
beginmcanswers
begintabular@cccc
answer1tikzdraw (-0.66,0)--(0.66,0)--(0,1)--cycle;&
answer2tikzdraw (0,0)--(2,0)--(2,1)--(0,1)--cycle;&
answer[correct]3tikzdraw (0,0)--(1,0)--(1,1)--(0,1)--cycle;&
answer4tikzdraw (0,0) circle[radius=0.5];\
answernum1&answernum2&answernum3&answernum4\
endtabular
endmcanswers
endmcquestions
enddocument
mcexam
mcexam
asked 7 hours ago
Fabio LimaFabio Lima
485
485
It looks like you've got two separate accounts, which means you cannot edit your original post or leave comments. The Stack Exchange staff can merge them together for you.
– Kurt
1 hour ago
@Kurt i am guess merge all accounts now. Thanks for observation
– Fabio Lima
1 hour ago
By my fileforeach i in 1,...,10 newpage setkeysmcexam.styversion=i,seed=123 beginmcquestions input../path1/file1 input../path2/file2 endmcquestions
Have error compilation used this mode.
– Fabio Lima
1 hour ago
Your given code in your question compiles without problems with current MiKTeX 2.9 ... Can you please add the complete error message you get and make sure the given code in your questions results in your error please.
– Kurt
36 mins ago
add a comment |
It looks like you've got two separate accounts, which means you cannot edit your original post or leave comments. The Stack Exchange staff can merge them together for you.
– Kurt
1 hour ago
@Kurt i am guess merge all accounts now. Thanks for observation
– Fabio Lima
1 hour ago
By my fileforeach i in 1,...,10 newpage setkeysmcexam.styversion=i,seed=123 beginmcquestions input../path1/file1 input../path2/file2 endmcquestions
Have error compilation used this mode.
– Fabio Lima
1 hour ago
Your given code in your question compiles without problems with current MiKTeX 2.9 ... Can you please add the complete error message you get and make sure the given code in your questions results in your error please.
– Kurt
36 mins ago
It looks like you've got two separate accounts, which means you cannot edit your original post or leave comments. The Stack Exchange staff can merge them together for you.
– Kurt
1 hour ago
It looks like you've got two separate accounts, which means you cannot edit your original post or leave comments. The Stack Exchange staff can merge them together for you.
– Kurt
1 hour ago
@Kurt i am guess merge all accounts now. Thanks for observation
– Fabio Lima
1 hour ago
@Kurt i am guess merge all accounts now. Thanks for observation
– Fabio Lima
1 hour ago
By my file
foreach i in 1,...,10 newpage setkeysmcexam.styversion=i,seed=123 beginmcquestions input../path1/file1 input../path2/file2 endmcquestions
Have error compilation used this mode.– Fabio Lima
1 hour ago
By my file
foreach i in 1,...,10 newpage setkeysmcexam.styversion=i,seed=123 beginmcquestions input../path1/file1 input../path2/file2 endmcquestions
Have error compilation used this mode.– Fabio Lima
1 hour ago
Your given code in your question compiles without problems with current MiKTeX 2.9 ... Can you please add the complete error message you get and make sure the given code in your questions results in your error please.
– Kurt
36 mins ago
Your given code in your question compiles without problems with current MiKTeX 2.9 ... Can you please add the complete error message you get and make sure the given code in your questions results in your error please.
– Kurt
36 mins ago
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "85"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f482307%2fpackage-mcexam-radon-question-from-file%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f482307%2fpackage-mcexam-radon-question-from-file%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
It looks like you've got two separate accounts, which means you cannot edit your original post or leave comments. The Stack Exchange staff can merge them together for you.
– Kurt
1 hour ago
@Kurt i am guess merge all accounts now. Thanks for observation
– Fabio Lima
1 hour ago
By my file
foreach i in 1,...,10 newpage setkeysmcexam.styversion=i,seed=123 beginmcquestions input../path1/file1 input../path2/file2 endmcquestions
Have error compilation used this mode.– Fabio Lima
1 hour ago
Your given code in your question compiles without problems with current MiKTeX 2.9 ... Can you please add the complete error message you get and make sure the given code in your questions results in your error please.
– Kurt
36 mins ago