How can I place points in the left margin while using qformat of exam class?











up vote
5
down vote

favorite
1












I'd like to change the formatting of questions with the points in the left margin. Using qformat I seem to lose the functionality of pointsinmargin. Ideas? An example:



documentclass{exam} 
qformat{textbf{Question thequestion}quad (thepoints)hfill}
pointsinmargin

begin{document}
begin{questions}

question[10] How do I put the points in the right margin given I have specified them in qformat?

noqformat
question[10] points correctly placed but now the formatting is lost...

end{questions}
end{document}









share|improve this question














bumped to the homepage by Community 13 hours ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.



















    up vote
    5
    down vote

    favorite
    1












    I'd like to change the formatting of questions with the points in the left margin. Using qformat I seem to lose the functionality of pointsinmargin. Ideas? An example:



    documentclass{exam} 
    qformat{textbf{Question thequestion}quad (thepoints)hfill}
    pointsinmargin

    begin{document}
    begin{questions}

    question[10] How do I put the points in the right margin given I have specified them in qformat?

    noqformat
    question[10] points correctly placed but now the formatting is lost...

    end{questions}
    end{document}









    share|improve this question














    bumped to the homepage by Community 13 hours ago


    This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.

















      up vote
      5
      down vote

      favorite
      1









      up vote
      5
      down vote

      favorite
      1






      1





      I'd like to change the formatting of questions with the points in the left margin. Using qformat I seem to lose the functionality of pointsinmargin. Ideas? An example:



      documentclass{exam} 
      qformat{textbf{Question thequestion}quad (thepoints)hfill}
      pointsinmargin

      begin{document}
      begin{questions}

      question[10] How do I put the points in the right margin given I have specified them in qformat?

      noqformat
      question[10] points correctly placed but now the formatting is lost...

      end{questions}
      end{document}









      share|improve this question













      I'd like to change the formatting of questions with the points in the left margin. Using qformat I seem to lose the functionality of pointsinmargin. Ideas? An example:



      documentclass{exam} 
      qformat{textbf{Question thequestion}quad (thepoints)hfill}
      pointsinmargin

      begin{document}
      begin{questions}

      question[10] How do I put the points in the right margin given I have specified them in qformat?

      noqformat
      question[10] points correctly placed but now the formatting is lost...

      end{questions}
      end{document}






      formatting margins exam






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Oct 30 '17 at 21:35









      DanJ

      261




      261





      bumped to the homepage by Community 13 hours ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







      bumped to the homepage by Community 13 hours ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
























          1 Answer
          1






          active

          oldest

          votes

















          up vote
          1
          down vote













          I think this answer should make the desired rendering.qformat if I have correctly understand, create a format for the label question but the question is in the other lign. So for modify the label and the question is in the same line, the answer I have found is to modify directly the questionlabel in the right form (l3 in the code)



          documentclass{exam} 
          qformat{textbf{Question thequestion}quad (thepoints)hfill}
          renewcommand{questionlabel}{hspace*{-2cm}textbf{Question thequestion}quad }

          begin{document}
          begin{questions}

          question[10] How do I put the points in the right margin given I have specified them in qformat?

          noqformat
          question[10] points correctly placed but now the formatting is lost...

          end{questions}
          end{document}





          share|improve this answer























          • Welcome to TeX.SE! Please do not only post some code, explain what it should do to solve the given question!
            – Kurt
            May 28 at 23:10










          • Ok, qformat if I have correctly understand, create a format for the label question but the question is in the other lign. So for modify the label and the question is in the same line, the answer I have found is to modify directly the questionlabel in the right form
            – Boris
            May 29 at 20:03










          • Please add that information to your answer! Perhaps add an screenshot and mark there the difference ...
            – Kurt
            May 30 at 0:39











          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',
          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%2f398858%2fhow-can-i-place-points-in-the-left-margin-while-using-qformat-of-exam-class%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          1
          down vote













          I think this answer should make the desired rendering.qformat if I have correctly understand, create a format for the label question but the question is in the other lign. So for modify the label and the question is in the same line, the answer I have found is to modify directly the questionlabel in the right form (l3 in the code)



          documentclass{exam} 
          qformat{textbf{Question thequestion}quad (thepoints)hfill}
          renewcommand{questionlabel}{hspace*{-2cm}textbf{Question thequestion}quad }

          begin{document}
          begin{questions}

          question[10] How do I put the points in the right margin given I have specified them in qformat?

          noqformat
          question[10] points correctly placed but now the formatting is lost...

          end{questions}
          end{document}





          share|improve this answer























          • Welcome to TeX.SE! Please do not only post some code, explain what it should do to solve the given question!
            – Kurt
            May 28 at 23:10










          • Ok, qformat if I have correctly understand, create a format for the label question but the question is in the other lign. So for modify the label and the question is in the same line, the answer I have found is to modify directly the questionlabel in the right form
            – Boris
            May 29 at 20:03










          • Please add that information to your answer! Perhaps add an screenshot and mark there the difference ...
            – Kurt
            May 30 at 0:39















          up vote
          1
          down vote













          I think this answer should make the desired rendering.qformat if I have correctly understand, create a format for the label question but the question is in the other lign. So for modify the label and the question is in the same line, the answer I have found is to modify directly the questionlabel in the right form (l3 in the code)



          documentclass{exam} 
          qformat{textbf{Question thequestion}quad (thepoints)hfill}
          renewcommand{questionlabel}{hspace*{-2cm}textbf{Question thequestion}quad }

          begin{document}
          begin{questions}

          question[10] How do I put the points in the right margin given I have specified them in qformat?

          noqformat
          question[10] points correctly placed but now the formatting is lost...

          end{questions}
          end{document}





          share|improve this answer























          • Welcome to TeX.SE! Please do not only post some code, explain what it should do to solve the given question!
            – Kurt
            May 28 at 23:10










          • Ok, qformat if I have correctly understand, create a format for the label question but the question is in the other lign. So for modify the label and the question is in the same line, the answer I have found is to modify directly the questionlabel in the right form
            – Boris
            May 29 at 20:03










          • Please add that information to your answer! Perhaps add an screenshot and mark there the difference ...
            – Kurt
            May 30 at 0:39













          up vote
          1
          down vote










          up vote
          1
          down vote









          I think this answer should make the desired rendering.qformat if I have correctly understand, create a format for the label question but the question is in the other lign. So for modify the label and the question is in the same line, the answer I have found is to modify directly the questionlabel in the right form (l3 in the code)



          documentclass{exam} 
          qformat{textbf{Question thequestion}quad (thepoints)hfill}
          renewcommand{questionlabel}{hspace*{-2cm}textbf{Question thequestion}quad }

          begin{document}
          begin{questions}

          question[10] How do I put the points in the right margin given I have specified them in qformat?

          noqformat
          question[10] points correctly placed but now the formatting is lost...

          end{questions}
          end{document}





          share|improve this answer














          I think this answer should make the desired rendering.qformat if I have correctly understand, create a format for the label question but the question is in the other lign. So for modify the label and the question is in the same line, the answer I have found is to modify directly the questionlabel in the right form (l3 in the code)



          documentclass{exam} 
          qformat{textbf{Question thequestion}quad (thepoints)hfill}
          renewcommand{questionlabel}{hspace*{-2cm}textbf{Question thequestion}quad }

          begin{document}
          begin{questions}

          question[10] How do I put the points in the right margin given I have specified them in qformat?

          noqformat
          question[10] points correctly placed but now the formatting is lost...

          end{questions}
          end{document}






          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited May 30 at 10:09

























          answered May 28 at 22:48









          Boris

          112




          112












          • Welcome to TeX.SE! Please do not only post some code, explain what it should do to solve the given question!
            – Kurt
            May 28 at 23:10










          • Ok, qformat if I have correctly understand, create a format for the label question but the question is in the other lign. So for modify the label and the question is in the same line, the answer I have found is to modify directly the questionlabel in the right form
            – Boris
            May 29 at 20:03










          • Please add that information to your answer! Perhaps add an screenshot and mark there the difference ...
            – Kurt
            May 30 at 0:39


















          • Welcome to TeX.SE! Please do not only post some code, explain what it should do to solve the given question!
            – Kurt
            May 28 at 23:10










          • Ok, qformat if I have correctly understand, create a format for the label question but the question is in the other lign. So for modify the label and the question is in the same line, the answer I have found is to modify directly the questionlabel in the right form
            – Boris
            May 29 at 20:03










          • Please add that information to your answer! Perhaps add an screenshot and mark there the difference ...
            – Kurt
            May 30 at 0:39
















          Welcome to TeX.SE! Please do not only post some code, explain what it should do to solve the given question!
          – Kurt
          May 28 at 23:10




          Welcome to TeX.SE! Please do not only post some code, explain what it should do to solve the given question!
          – Kurt
          May 28 at 23:10












          Ok, qformat if I have correctly understand, create a format for the label question but the question is in the other lign. So for modify the label and the question is in the same line, the answer I have found is to modify directly the questionlabel in the right form
          – Boris
          May 29 at 20:03




          Ok, qformat if I have correctly understand, create a format for the label question but the question is in the other lign. So for modify the label and the question is in the same line, the answer I have found is to modify directly the questionlabel in the right form
          – Boris
          May 29 at 20:03












          Please add that information to your answer! Perhaps add an screenshot and mark there the difference ...
          – Kurt
          May 30 at 0:39




          Please add that information to your answer! Perhaps add an screenshot and mark there the difference ...
          – Kurt
          May 30 at 0:39


















           

          draft saved


          draft discarded



















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f398858%2fhow-can-i-place-points-in-the-left-margin-while-using-qformat-of-exam-class%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

          サソリ

          広島県道265号伴広島線

          Accessing regular linux commands in Huawei's Dopra Linux