How to print answers only in exam?How to add print link) becomes 9 in print-outHow can I use -max-print-line in pdftex (TexLive)?How to include (print) Latex source code in generated pdf?Optimize print area of the pdf file generated from LatexHow can I print twonotes from wasysym?Glossaries won't printHow to bold only a single character in a word?n-dash, m-dash missing on final printPrint date with polish month names

Why is so much work done on numerical verification of the Riemann Hypothesis?

What to do when eye contact makes your coworker uncomfortable?

Biological Blimps: Propulsion

Did the UK lift the requirement for registering SIM cards?

What is going on with gets(stdin) on the site coderbyte?

Does "he squandered his car on drink" sound natural?

Is there a nicer/politer/more positive alternative for "negates"?

What is the English pronunciation of "pain au chocolat"?

Pre-mixing cryogenic fuels and using only one fuel tank

C++ check if statement can be evaluated constexpr

What does Apple's new App Store requirement mean

Creating two special characters

Why can't the Brexit deadlock in the UK parliament be solved with a plurality vote?

How to convince somebody that he is fit for something else, but not this job?

How to get directions in deep space?

Why does the Sun have different day lengths, but not the gas giants?

How to explain what's wrong with this application of the chain rule?

Has any country ever had 2 former presidents in jail simultaneously?

Multiplicative persistence

What features enable the Su-25 Frogfoot to operate with such a wide variety of fuels?

Is it allowed to activate the ability of multiple planeswalkers in a single turn?

Does an advisor owe his/her student anything? Will an advisor keep a PhD student only out of pity?

Strong empirical falsification of quantum mechanics based on vacuum energy density?

Why Shazam when there is already Superman?



How to print answers only in exam?


How to add print link) becomes 9 in print-outHow can I use -max-print-line in pdftex (TexLive)?How to include (print) Latex source code in generated pdf?Optimize print area of the pdf file generated from LatexHow can I print twonotes from wasysym?Glossaries won't printHow to bold only a single character in a word?n-dash, m-dash missing on final printPrint date with polish month names













0















With printanswers I can print all the answers following each of the questions. Now I want to print the answers only without the questions. I need this because I want to upload answers only, not the questions on website.



documentclass[11pt,oneside,A4paper,final,leqno]exam
usepackagetikz
usepackageenumerate
usepackageamsfonts
usepackageamsmath
usepackagelongtable
usepackagexcolor
renewcommandsectionmark[1] markrightrm smallthesection. #1
usepackage[paper=a4paper,margin=1.086571in]geometry%
usepackageetex

usepackage[mathscr]eucal
usepackagegraphics, graphpap
usepackagemulticol,color
usepackageindentfirst

renewcommandthefootnote



usepackagepgf,tikz
usepackagemathrsfs
usetikzlibraryarrows

usepackage[absolute,overlay]textpos
usepackagepgf,tikz
usepackagemathrsfs
usetikzlibraryarrows
usepackageamsthm
defbitextbfi
defbjtextbfj
defbktextbfk


usepackage[all]xy SelectTipseu

renewcommandquestionlabelthequestion. %replace period with parenthesis
renewcommandthequestionbfseries arabicquestion
printanswers
begindocument


section*Maths Test # 1901 rule5.92cm.4pt





beginquestions



question What is the probability of picking an ace in two consecutive attempts in a 52 card deck?
beginmulticols4
beginchoices
choice $displaystylefrac13221$
choice $displaystylefrac23221$
choice $displaystylefrac33221$
choice $displaystylefrac43221$
endchoices
endmulticols
beginsolution $(C)$.
In the first attempt, the chance not to get an ace is $48/52$. In the second one, the chance is $47/51$. Therefore, the chance not to get an ace in two consecutive attempts is $48*47/51*52=188/221$. Hence, the result must be $1-188/221=33/221$.
endsolution




question Given three points $A(1,5), B(4,1)$ and $C(5,8)$. What is the angle $widehatACB$?
beginmulticols4
beginchoices
choice $90$
choice $45$ %b
choice $60$
choice $120$
endchoices
endmulticols
beginsolution $(B)$
We have $overrightarrowAB=(3,-4)$ and $overrightarrowAC=(4,3)$. Therefore, $ABC$ is an isosceles triangle with $widehatBAC=90$. Thus, the answer is $widehatACB=45$.
endsolution

question Suppose the ball moves freely inside the square domain with constant speed and the reflection off the boundary elastic and subject to a familiar law: the angle of incidence equals the angle of reflection. Put the ball at the center of the domain. At which angle $alpha$ does the ball have to start so that it will hit one of the four corners of the domain?
begincenter

begintikzpicture
clip(-4.5,1.5) rectangle (2.5,8.5);
%fill[line width=.4pt,fill=white] (2.,2.) -- (2.,8.) -- (-4.,8.) -- (-4.,2.) -- cycle;
draw[line width=.4pt,color=black] (-0.6928530532823249,2.) -- (-0.6928530532823249,2.3071469467176757) -- (-1.,2.3071469467176757) -- (-1.,2.) -- cycle;
draw [shift=(-1.,5.),line width=.6pt,color=black] (0,0) -- (270.:1) arc (270.:303.6900675259798:1) -- cycle;
draw [line width=.6pt] (2.,2.)-- (2.,8.);
draw [line width=.66pt] (2.,8.)-- (-4.,8.);
draw [line width=.6pt] (-4.,8.)-- (-4.,2.);
draw [line width=.6pt] (-4.,2.)-- (2.,2.);
draw [line width=.6pt] (-1.,5.)-- (-1.,2.);
draw [line width=.6pt] (-1.,5.)-- (1.,2.);
beginscriptsize
draw[] (-0.1,4.6081570530868605) node $alpha$;
endscriptsize
endtikzpicture
endcenter


beginchoices
choice $displaystyletanalpha=frac12017$
choice $displaystyletanalpha=frac12018$ %b
choice $displaystyletanalpha=frac22019$
choice $displaystyletanalpha=2020$
endchoices


endquestions

enddocument









share|improve this question


























    0















    With printanswers I can print all the answers following each of the questions. Now I want to print the answers only without the questions. I need this because I want to upload answers only, not the questions on website.



    documentclass[11pt,oneside,A4paper,final,leqno]exam
    usepackagetikz
    usepackageenumerate
    usepackageamsfonts
    usepackageamsmath
    usepackagelongtable
    usepackagexcolor
    renewcommandsectionmark[1] markrightrm smallthesection. #1
    usepackage[paper=a4paper,margin=1.086571in]geometry%
    usepackageetex

    usepackage[mathscr]eucal
    usepackagegraphics, graphpap
    usepackagemulticol,color
    usepackageindentfirst

    renewcommandthefootnote



    usepackagepgf,tikz
    usepackagemathrsfs
    usetikzlibraryarrows

    usepackage[absolute,overlay]textpos
    usepackagepgf,tikz
    usepackagemathrsfs
    usetikzlibraryarrows
    usepackageamsthm
    defbitextbfi
    defbjtextbfj
    defbktextbfk


    usepackage[all]xy SelectTipseu

    renewcommandquestionlabelthequestion. %replace period with parenthesis
    renewcommandthequestionbfseries arabicquestion
    printanswers
    begindocument


    section*Maths Test # 1901 rule5.92cm.4pt





    beginquestions



    question What is the probability of picking an ace in two consecutive attempts in a 52 card deck?
    beginmulticols4
    beginchoices
    choice $displaystylefrac13221$
    choice $displaystylefrac23221$
    choice $displaystylefrac33221$
    choice $displaystylefrac43221$
    endchoices
    endmulticols
    beginsolution $(C)$.
    In the first attempt, the chance not to get an ace is $48/52$. In the second one, the chance is $47/51$. Therefore, the chance not to get an ace in two consecutive attempts is $48*47/51*52=188/221$. Hence, the result must be $1-188/221=33/221$.
    endsolution




    question Given three points $A(1,5), B(4,1)$ and $C(5,8)$. What is the angle $widehatACB$?
    beginmulticols4
    beginchoices
    choice $90$
    choice $45$ %b
    choice $60$
    choice $120$
    endchoices
    endmulticols
    beginsolution $(B)$
    We have $overrightarrowAB=(3,-4)$ and $overrightarrowAC=(4,3)$. Therefore, $ABC$ is an isosceles triangle with $widehatBAC=90$. Thus, the answer is $widehatACB=45$.
    endsolution

    question Suppose the ball moves freely inside the square domain with constant speed and the reflection off the boundary elastic and subject to a familiar law: the angle of incidence equals the angle of reflection. Put the ball at the center of the domain. At which angle $alpha$ does the ball have to start so that it will hit one of the four corners of the domain?
    begincenter

    begintikzpicture
    clip(-4.5,1.5) rectangle (2.5,8.5);
    %fill[line width=.4pt,fill=white] (2.,2.) -- (2.,8.) -- (-4.,8.) -- (-4.,2.) -- cycle;
    draw[line width=.4pt,color=black] (-0.6928530532823249,2.) -- (-0.6928530532823249,2.3071469467176757) -- (-1.,2.3071469467176757) -- (-1.,2.) -- cycle;
    draw [shift=(-1.,5.),line width=.6pt,color=black] (0,0) -- (270.:1) arc (270.:303.6900675259798:1) -- cycle;
    draw [line width=.6pt] (2.,2.)-- (2.,8.);
    draw [line width=.66pt] (2.,8.)-- (-4.,8.);
    draw [line width=.6pt] (-4.,8.)-- (-4.,2.);
    draw [line width=.6pt] (-4.,2.)-- (2.,2.);
    draw [line width=.6pt] (-1.,5.)-- (-1.,2.);
    draw [line width=.6pt] (-1.,5.)-- (1.,2.);
    beginscriptsize
    draw[] (-0.1,4.6081570530868605) node $alpha$;
    endscriptsize
    endtikzpicture
    endcenter


    beginchoices
    choice $displaystyletanalpha=frac12017$
    choice $displaystyletanalpha=frac12018$ %b
    choice $displaystyletanalpha=frac22019$
    choice $displaystyletanalpha=2020$
    endchoices


    endquestions

    enddocument









    share|improve this question
























      0












      0








      0








      With printanswers I can print all the answers following each of the questions. Now I want to print the answers only without the questions. I need this because I want to upload answers only, not the questions on website.



      documentclass[11pt,oneside,A4paper,final,leqno]exam
      usepackagetikz
      usepackageenumerate
      usepackageamsfonts
      usepackageamsmath
      usepackagelongtable
      usepackagexcolor
      renewcommandsectionmark[1] markrightrm smallthesection. #1
      usepackage[paper=a4paper,margin=1.086571in]geometry%
      usepackageetex

      usepackage[mathscr]eucal
      usepackagegraphics, graphpap
      usepackagemulticol,color
      usepackageindentfirst

      renewcommandthefootnote



      usepackagepgf,tikz
      usepackagemathrsfs
      usetikzlibraryarrows

      usepackage[absolute,overlay]textpos
      usepackagepgf,tikz
      usepackagemathrsfs
      usetikzlibraryarrows
      usepackageamsthm
      defbitextbfi
      defbjtextbfj
      defbktextbfk


      usepackage[all]xy SelectTipseu

      renewcommandquestionlabelthequestion. %replace period with parenthesis
      renewcommandthequestionbfseries arabicquestion
      printanswers
      begindocument


      section*Maths Test # 1901 rule5.92cm.4pt





      beginquestions



      question What is the probability of picking an ace in two consecutive attempts in a 52 card deck?
      beginmulticols4
      beginchoices
      choice $displaystylefrac13221$
      choice $displaystylefrac23221$
      choice $displaystylefrac33221$
      choice $displaystylefrac43221$
      endchoices
      endmulticols
      beginsolution $(C)$.
      In the first attempt, the chance not to get an ace is $48/52$. In the second one, the chance is $47/51$. Therefore, the chance not to get an ace in two consecutive attempts is $48*47/51*52=188/221$. Hence, the result must be $1-188/221=33/221$.
      endsolution




      question Given three points $A(1,5), B(4,1)$ and $C(5,8)$. What is the angle $widehatACB$?
      beginmulticols4
      beginchoices
      choice $90$
      choice $45$ %b
      choice $60$
      choice $120$
      endchoices
      endmulticols
      beginsolution $(B)$
      We have $overrightarrowAB=(3,-4)$ and $overrightarrowAC=(4,3)$. Therefore, $ABC$ is an isosceles triangle with $widehatBAC=90$. Thus, the answer is $widehatACB=45$.
      endsolution

      question Suppose the ball moves freely inside the square domain with constant speed and the reflection off the boundary elastic and subject to a familiar law: the angle of incidence equals the angle of reflection. Put the ball at the center of the domain. At which angle $alpha$ does the ball have to start so that it will hit one of the four corners of the domain?
      begincenter

      begintikzpicture
      clip(-4.5,1.5) rectangle (2.5,8.5);
      %fill[line width=.4pt,fill=white] (2.,2.) -- (2.,8.) -- (-4.,8.) -- (-4.,2.) -- cycle;
      draw[line width=.4pt,color=black] (-0.6928530532823249,2.) -- (-0.6928530532823249,2.3071469467176757) -- (-1.,2.3071469467176757) -- (-1.,2.) -- cycle;
      draw [shift=(-1.,5.),line width=.6pt,color=black] (0,0) -- (270.:1) arc (270.:303.6900675259798:1) -- cycle;
      draw [line width=.6pt] (2.,2.)-- (2.,8.);
      draw [line width=.66pt] (2.,8.)-- (-4.,8.);
      draw [line width=.6pt] (-4.,8.)-- (-4.,2.);
      draw [line width=.6pt] (-4.,2.)-- (2.,2.);
      draw [line width=.6pt] (-1.,5.)-- (-1.,2.);
      draw [line width=.6pt] (-1.,5.)-- (1.,2.);
      beginscriptsize
      draw[] (-0.1,4.6081570530868605) node $alpha$;
      endscriptsize
      endtikzpicture
      endcenter


      beginchoices
      choice $displaystyletanalpha=frac12017$
      choice $displaystyletanalpha=frac12018$ %b
      choice $displaystyletanalpha=frac22019$
      choice $displaystyletanalpha=2020$
      endchoices


      endquestions

      enddocument









      share|improve this question














      With printanswers I can print all the answers following each of the questions. Now I want to print the answers only without the questions. I need this because I want to upload answers only, not the questions on website.



      documentclass[11pt,oneside,A4paper,final,leqno]exam
      usepackagetikz
      usepackageenumerate
      usepackageamsfonts
      usepackageamsmath
      usepackagelongtable
      usepackagexcolor
      renewcommandsectionmark[1] markrightrm smallthesection. #1
      usepackage[paper=a4paper,margin=1.086571in]geometry%
      usepackageetex

      usepackage[mathscr]eucal
      usepackagegraphics, graphpap
      usepackagemulticol,color
      usepackageindentfirst

      renewcommandthefootnote



      usepackagepgf,tikz
      usepackagemathrsfs
      usetikzlibraryarrows

      usepackage[absolute,overlay]textpos
      usepackagepgf,tikz
      usepackagemathrsfs
      usetikzlibraryarrows
      usepackageamsthm
      defbitextbfi
      defbjtextbfj
      defbktextbfk


      usepackage[all]xy SelectTipseu

      renewcommandquestionlabelthequestion. %replace period with parenthesis
      renewcommandthequestionbfseries arabicquestion
      printanswers
      begindocument


      section*Maths Test # 1901 rule5.92cm.4pt





      beginquestions



      question What is the probability of picking an ace in two consecutive attempts in a 52 card deck?
      beginmulticols4
      beginchoices
      choice $displaystylefrac13221$
      choice $displaystylefrac23221$
      choice $displaystylefrac33221$
      choice $displaystylefrac43221$
      endchoices
      endmulticols
      beginsolution $(C)$.
      In the first attempt, the chance not to get an ace is $48/52$. In the second one, the chance is $47/51$. Therefore, the chance not to get an ace in two consecutive attempts is $48*47/51*52=188/221$. Hence, the result must be $1-188/221=33/221$.
      endsolution




      question Given three points $A(1,5), B(4,1)$ and $C(5,8)$. What is the angle $widehatACB$?
      beginmulticols4
      beginchoices
      choice $90$
      choice $45$ %b
      choice $60$
      choice $120$
      endchoices
      endmulticols
      beginsolution $(B)$
      We have $overrightarrowAB=(3,-4)$ and $overrightarrowAC=(4,3)$. Therefore, $ABC$ is an isosceles triangle with $widehatBAC=90$. Thus, the answer is $widehatACB=45$.
      endsolution

      question Suppose the ball moves freely inside the square domain with constant speed and the reflection off the boundary elastic and subject to a familiar law: the angle of incidence equals the angle of reflection. Put the ball at the center of the domain. At which angle $alpha$ does the ball have to start so that it will hit one of the four corners of the domain?
      begincenter

      begintikzpicture
      clip(-4.5,1.5) rectangle (2.5,8.5);
      %fill[line width=.4pt,fill=white] (2.,2.) -- (2.,8.) -- (-4.,8.) -- (-4.,2.) -- cycle;
      draw[line width=.4pt,color=black] (-0.6928530532823249,2.) -- (-0.6928530532823249,2.3071469467176757) -- (-1.,2.3071469467176757) -- (-1.,2.) -- cycle;
      draw [shift=(-1.,5.),line width=.6pt,color=black] (0,0) -- (270.:1) arc (270.:303.6900675259798:1) -- cycle;
      draw [line width=.6pt] (2.,2.)-- (2.,8.);
      draw [line width=.66pt] (2.,8.)-- (-4.,8.);
      draw [line width=.6pt] (-4.,8.)-- (-4.,2.);
      draw [line width=.6pt] (-4.,2.)-- (2.,2.);
      draw [line width=.6pt] (-1.,5.)-- (-1.,2.);
      draw [line width=.6pt] (-1.,5.)-- (1.,2.);
      beginscriptsize
      draw[] (-0.1,4.6081570530868605) node $alpha$;
      endscriptsize
      endtikzpicture
      endcenter


      beginchoices
      choice $displaystyletanalpha=frac12017$
      choice $displaystyletanalpha=frac12018$ %b
      choice $displaystyletanalpha=frac22019$
      choice $displaystyletanalpha=2020$
      endchoices


      endquestions

      enddocument






      pdftex






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 10 mins ago









      ThumboltThumbolt

      1,494821




      1,494821




















          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
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f480826%2fhow-to-print-answers-only-in-exam%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















          draft saved

          draft discarded
















































          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.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f480826%2fhow-to-print-answers-only-in-exam%23new-answer', 'question_page');

          );

          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







          Popular posts from this blog

          How should I use the fbox command correctly to avoid producing a Bad Box message?How to put a long piece of text in a box?How to specify height and width of fboxIs there an arrayrulecolor-like command to change the rule color of fbox?What is the command to highlight bad boxes in pdf?Why does fbox sometimes place the box *over* the graphic image?how to put the text in the boxHow to create command for a box where text inside the box can automatically adjust?how can I make an fbox like command with certain color, shape and width of border?how to use fbox in align modeFbox increase the spacing between the box and it content (inner margin)how to change the box height of an equationWhat is the use of the hbox in a newcommand command?

          152 Atala Notae | Nexus externi | Tabula navigationis"Discovery Circumstances: Numbered Minor Planets"2000152Small-Body Database

          Doxepinum Nexus interni Notae | Tabula navigationis3158DB01142WHOa682390"Structural Analysis of the Histamine H1 Receptor""Transdermal and Topical Drug Administration in the Treatment of Pain""Antidepressants as antipruritic agents: A review"