Using printeranswers environment, how to print solutions in the box without the title “Solutions”












0















Dear Math LaTeX Community,



I'm creating some worksheets/problem sets for a high school pre-alg class and have included the option to print solutions.



Is it possible to print the answers in a box without the title "SOLUTION
S".



I searched for an answer in stackexchange and also reviewed section 8 of Hirschhorn's Using the exam document class.



Either I'm not understanding the "exam doc" class or there's an error in my code that forces the title "solution" to print in every answer box. In the hope that one of you generous souls will take pity on me and provide a solution for this issue, I have posted the relevant portion of my code below.



Many thanks to all of you who take time to read this post!



WyoWindStorm
LaTeX newbie



documentclass[12pt]{exam}



%printanswers % uncomment to print solutions.
printanswers
% MACROS
%Not sure all of these packages are necessary...but the 'taks package is certainly necessary
usepackage{amsmath}
usepackage{cancel}
usepackage{tikz}
usepackage{graphicx}
usepackage{pgfplots}
usepackage{caption} % allows captions in minipage envir (issue w/solutions envir)
usepackage{amssymb}
usepackage{mathrsfs}
usepackage{framed} %box para
usepackage{tkz-euclide}
usepackage{multicol}
usepackage{tasks}
pgfplotsset{compat=1.10}
%displaystyle for all $$ math environments use limlimits for other environments



usepackage[margin=0.5in]{geometry}



everymath{displaystyle}



%unframedsolutions % uncomment to remove boxes from solutions
setlength{parindent}{0pt} % removes paragraph indentation



pagestyle{head}
header{Pre-Alg Pd #5: Exponent Concepts Covered in Class on 04-04-19 (D11)}
{}
{04/05/19}



newcommand{pagetop}{%
makebox[textwidth]{Name:enspacehrulefill}par
vspace{4mm}
fbox{fbox{parbox{dimexprtextwidth-4fboxsep-4fboxrule}{
textbf {Simplify by expansion and steps shown in class. Your answer should have only POSITIVE EXPONENTS.
bigskip
Show all work/steps on this page.}



}}}par
bigskip
vspace{0.5mm}
}



settasks{after-item-skip=15em,
after-skip=2cm,
label-width=2em,
item-indent=3em,
%change '1' to 'a' if you want letters instead of numbers
counter-format=(tsk[1]),
column-sep=2em
}



%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% -------------------------- DOCUMENT STARTS HERE -------------------------
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%



begin{document}
https://www.overleaf.com/project/5ca66096f91606440362a785
pagetop



begin{tasks}(2)



% Prob #1
task $4ycdot 2y^3cdot3x^{-2}$
begin{solution}
$4^1$
end{solution}



% Prob #2
task $4xy^0cdot x^{-2}y^{-3}cdot
y^0$
begin{solution}
solution
end{solution}



% Prob #3
task $frac{3ycdot2xy^2}{3x^{-2}y^4}$
begin{solution}
solution
end{solution}



% Prob #4
task $frac{xy^{-3}}{3x^3y^{-2}cdot2x^{-3}y}$
begin{solution}
solution
end{solution}



% Prob #5
task $frac{m^{-4}n^4cdot(mn^2)strut^{-3}}{(m^2n^4)strut^0}$
begin{solution}
solution
end{solution}



end{tasks}



clearpage










share|improve this question



























    0















    Dear Math LaTeX Community,



    I'm creating some worksheets/problem sets for a high school pre-alg class and have included the option to print solutions.



    Is it possible to print the answers in a box without the title "SOLUTION
    S".



    I searched for an answer in stackexchange and also reviewed section 8 of Hirschhorn's Using the exam document class.



    Either I'm not understanding the "exam doc" class or there's an error in my code that forces the title "solution" to print in every answer box. In the hope that one of you generous souls will take pity on me and provide a solution for this issue, I have posted the relevant portion of my code below.



    Many thanks to all of you who take time to read this post!



    WyoWindStorm
    LaTeX newbie



    documentclass[12pt]{exam}



    %printanswers % uncomment to print solutions.
    printanswers
    % MACROS
    %Not sure all of these packages are necessary...but the 'taks package is certainly necessary
    usepackage{amsmath}
    usepackage{cancel}
    usepackage{tikz}
    usepackage{graphicx}
    usepackage{pgfplots}
    usepackage{caption} % allows captions in minipage envir (issue w/solutions envir)
    usepackage{amssymb}
    usepackage{mathrsfs}
    usepackage{framed} %box para
    usepackage{tkz-euclide}
    usepackage{multicol}
    usepackage{tasks}
    pgfplotsset{compat=1.10}
    %displaystyle for all $$ math environments use limlimits for other environments



    usepackage[margin=0.5in]{geometry}



    everymath{displaystyle}



    %unframedsolutions % uncomment to remove boxes from solutions
    setlength{parindent}{0pt} % removes paragraph indentation



    pagestyle{head}
    header{Pre-Alg Pd #5: Exponent Concepts Covered in Class on 04-04-19 (D11)}
    {}
    {04/05/19}



    newcommand{pagetop}{%
    makebox[textwidth]{Name:enspacehrulefill}par
    vspace{4mm}
    fbox{fbox{parbox{dimexprtextwidth-4fboxsep-4fboxrule}{
    textbf {Simplify by expansion and steps shown in class. Your answer should have only POSITIVE EXPONENTS.
    bigskip
    Show all work/steps on this page.}



    }}}par
    bigskip
    vspace{0.5mm}
    }



    settasks{after-item-skip=15em,
    after-skip=2cm,
    label-width=2em,
    item-indent=3em,
    %change '1' to 'a' if you want letters instead of numbers
    counter-format=(tsk[1]),
    column-sep=2em
    }



    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    % -------------------------- DOCUMENT STARTS HERE -------------------------
    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%



    begin{document}
    https://www.overleaf.com/project/5ca66096f91606440362a785
    pagetop



    begin{tasks}(2)



    % Prob #1
    task $4ycdot 2y^3cdot3x^{-2}$
    begin{solution}
    $4^1$
    end{solution}



    % Prob #2
    task $4xy^0cdot x^{-2}y^{-3}cdot
    y^0$
    begin{solution}
    solution
    end{solution}



    % Prob #3
    task $frac{3ycdot2xy^2}{3x^{-2}y^4}$
    begin{solution}
    solution
    end{solution}



    % Prob #4
    task $frac{xy^{-3}}{3x^3y^{-2}cdot2x^{-3}y}$
    begin{solution}
    solution
    end{solution}



    % Prob #5
    task $frac{m^{-4}n^4cdot(mn^2)strut^{-3}}{(m^2n^4)strut^0}$
    begin{solution}
    solution
    end{solution}



    end{tasks}



    clearpage










    share|improve this question

























      0












      0








      0








      Dear Math LaTeX Community,



      I'm creating some worksheets/problem sets for a high school pre-alg class and have included the option to print solutions.



      Is it possible to print the answers in a box without the title "SOLUTION
      S".



      I searched for an answer in stackexchange and also reviewed section 8 of Hirschhorn's Using the exam document class.



      Either I'm not understanding the "exam doc" class or there's an error in my code that forces the title "solution" to print in every answer box. In the hope that one of you generous souls will take pity on me and provide a solution for this issue, I have posted the relevant portion of my code below.



      Many thanks to all of you who take time to read this post!



      WyoWindStorm
      LaTeX newbie



      documentclass[12pt]{exam}



      %printanswers % uncomment to print solutions.
      printanswers
      % MACROS
      %Not sure all of these packages are necessary...but the 'taks package is certainly necessary
      usepackage{amsmath}
      usepackage{cancel}
      usepackage{tikz}
      usepackage{graphicx}
      usepackage{pgfplots}
      usepackage{caption} % allows captions in minipage envir (issue w/solutions envir)
      usepackage{amssymb}
      usepackage{mathrsfs}
      usepackage{framed} %box para
      usepackage{tkz-euclide}
      usepackage{multicol}
      usepackage{tasks}
      pgfplotsset{compat=1.10}
      %displaystyle for all $$ math environments use limlimits for other environments



      usepackage[margin=0.5in]{geometry}



      everymath{displaystyle}



      %unframedsolutions % uncomment to remove boxes from solutions
      setlength{parindent}{0pt} % removes paragraph indentation



      pagestyle{head}
      header{Pre-Alg Pd #5: Exponent Concepts Covered in Class on 04-04-19 (D11)}
      {}
      {04/05/19}



      newcommand{pagetop}{%
      makebox[textwidth]{Name:enspacehrulefill}par
      vspace{4mm}
      fbox{fbox{parbox{dimexprtextwidth-4fboxsep-4fboxrule}{
      textbf {Simplify by expansion and steps shown in class. Your answer should have only POSITIVE EXPONENTS.
      bigskip
      Show all work/steps on this page.}



      }}}par
      bigskip
      vspace{0.5mm}
      }



      settasks{after-item-skip=15em,
      after-skip=2cm,
      label-width=2em,
      item-indent=3em,
      %change '1' to 'a' if you want letters instead of numbers
      counter-format=(tsk[1]),
      column-sep=2em
      }



      %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
      % -------------------------- DOCUMENT STARTS HERE -------------------------
      %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%



      begin{document}
      https://www.overleaf.com/project/5ca66096f91606440362a785
      pagetop



      begin{tasks}(2)



      % Prob #1
      task $4ycdot 2y^3cdot3x^{-2}$
      begin{solution}
      $4^1$
      end{solution}



      % Prob #2
      task $4xy^0cdot x^{-2}y^{-3}cdot
      y^0$
      begin{solution}
      solution
      end{solution}



      % Prob #3
      task $frac{3ycdot2xy^2}{3x^{-2}y^4}$
      begin{solution}
      solution
      end{solution}



      % Prob #4
      task $frac{xy^{-3}}{3x^3y^{-2}cdot2x^{-3}y}$
      begin{solution}
      solution
      end{solution}



      % Prob #5
      task $frac{m^{-4}n^4cdot(mn^2)strut^{-3}}{(m^2n^4)strut^0}$
      begin{solution}
      solution
      end{solution}



      end{tasks}



      clearpage










      share|improve this question














      Dear Math LaTeX Community,



      I'm creating some worksheets/problem sets for a high school pre-alg class and have included the option to print solutions.



      Is it possible to print the answers in a box without the title "SOLUTION
      S".



      I searched for an answer in stackexchange and also reviewed section 8 of Hirschhorn's Using the exam document class.



      Either I'm not understanding the "exam doc" class or there's an error in my code that forces the title "solution" to print in every answer box. In the hope that one of you generous souls will take pity on me and provide a solution for this issue, I have posted the relevant portion of my code below.



      Many thanks to all of you who take time to read this post!



      WyoWindStorm
      LaTeX newbie



      documentclass[12pt]{exam}



      %printanswers % uncomment to print solutions.
      printanswers
      % MACROS
      %Not sure all of these packages are necessary...but the 'taks package is certainly necessary
      usepackage{amsmath}
      usepackage{cancel}
      usepackage{tikz}
      usepackage{graphicx}
      usepackage{pgfplots}
      usepackage{caption} % allows captions in minipage envir (issue w/solutions envir)
      usepackage{amssymb}
      usepackage{mathrsfs}
      usepackage{framed} %box para
      usepackage{tkz-euclide}
      usepackage{multicol}
      usepackage{tasks}
      pgfplotsset{compat=1.10}
      %displaystyle for all $$ math environments use limlimits for other environments



      usepackage[margin=0.5in]{geometry}



      everymath{displaystyle}



      %unframedsolutions % uncomment to remove boxes from solutions
      setlength{parindent}{0pt} % removes paragraph indentation



      pagestyle{head}
      header{Pre-Alg Pd #5: Exponent Concepts Covered in Class on 04-04-19 (D11)}
      {}
      {04/05/19}



      newcommand{pagetop}{%
      makebox[textwidth]{Name:enspacehrulefill}par
      vspace{4mm}
      fbox{fbox{parbox{dimexprtextwidth-4fboxsep-4fboxrule}{
      textbf {Simplify by expansion and steps shown in class. Your answer should have only POSITIVE EXPONENTS.
      bigskip
      Show all work/steps on this page.}



      }}}par
      bigskip
      vspace{0.5mm}
      }



      settasks{after-item-skip=15em,
      after-skip=2cm,
      label-width=2em,
      item-indent=3em,
      %change '1' to 'a' if you want letters instead of numbers
      counter-format=(tsk[1]),
      column-sep=2em
      }



      %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
      % -------------------------- DOCUMENT STARTS HERE -------------------------
      %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%



      begin{document}
      https://www.overleaf.com/project/5ca66096f91606440362a785
      pagetop



      begin{tasks}(2)



      % Prob #1
      task $4ycdot 2y^3cdot3x^{-2}$
      begin{solution}
      $4^1$
      end{solution}



      % Prob #2
      task $4xy^0cdot x^{-2}y^{-3}cdot
      y^0$
      begin{solution}
      solution
      end{solution}



      % Prob #3
      task $frac{3ycdot2xy^2}{3x^{-2}y^4}$
      begin{solution}
      solution
      end{solution}



      % Prob #4
      task $frac{xy^{-3}}{3x^3y^{-2}cdot2x^{-3}y}$
      begin{solution}
      solution
      end{solution}



      % Prob #5
      task $frac{m^{-4}n^4cdot(mn^2)strut^{-3}}{(m^2n^4)strut^0}$
      begin{solution}
      solution
      end{solution}



      end{tasks}



      clearpage







      math-mode






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 6 hours ago









      WyoWindStormWyoWindStorm

      211




      211






















          1 Answer
          1






          active

          oldest

          votes


















          1














          You can ad the rule



          renewcommand{solutiontitle}{THIS_IS_THE_WORD_YOU_WANT_TO_DELETE}



          full code:



              documentclass[12pt,addpoints]{exam}
          printanswers
          renewcommand{solutiontitle}{}
          begin{document}
          begin{questions}
          question question1
          begin{solutionorbox}[5cm]
          Your answer
          end{solutionorbox}
          end{questions}
          end{document}


          Resulting in:



          enter image description here






          share|improve this answer


























            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%2f483818%2fusing-printeranswers-environment-how-to-print-solutions-in-the-box-without-the%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









            1














            You can ad the rule



            renewcommand{solutiontitle}{THIS_IS_THE_WORD_YOU_WANT_TO_DELETE}



            full code:



                documentclass[12pt,addpoints]{exam}
            printanswers
            renewcommand{solutiontitle}{}
            begin{document}
            begin{questions}
            question question1
            begin{solutionorbox}[5cm]
            Your answer
            end{solutionorbox}
            end{questions}
            end{document}


            Resulting in:



            enter image description here






            share|improve this answer






























              1














              You can ad the rule



              renewcommand{solutiontitle}{THIS_IS_THE_WORD_YOU_WANT_TO_DELETE}



              full code:



                  documentclass[12pt,addpoints]{exam}
              printanswers
              renewcommand{solutiontitle}{}
              begin{document}
              begin{questions}
              question question1
              begin{solutionorbox}[5cm]
              Your answer
              end{solutionorbox}
              end{questions}
              end{document}


              Resulting in:



              enter image description here






              share|improve this answer




























                1












                1








                1







                You can ad the rule



                renewcommand{solutiontitle}{THIS_IS_THE_WORD_YOU_WANT_TO_DELETE}



                full code:



                    documentclass[12pt,addpoints]{exam}
                printanswers
                renewcommand{solutiontitle}{}
                begin{document}
                begin{questions}
                question question1
                begin{solutionorbox}[5cm]
                Your answer
                end{solutionorbox}
                end{questions}
                end{document}


                Resulting in:



                enter image description here






                share|improve this answer















                You can ad the rule



                renewcommand{solutiontitle}{THIS_IS_THE_WORD_YOU_WANT_TO_DELETE}



                full code:



                    documentclass[12pt,addpoints]{exam}
                printanswers
                renewcommand{solutiontitle}{}
                begin{document}
                begin{questions}
                question question1
                begin{solutionorbox}[5cm]
                Your answer
                end{solutionorbox}
                end{questions}
                end{document}


                Resulting in:



                enter image description here







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited 6 hours ago

























                answered 6 hours ago









                Arne TimpermanArne Timperman

                2,4931638




                2,4931638






























                    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%2f483818%2fusing-printeranswers-environment-how-to-print-solutions-in-the-box-without-the%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

                    Lallio

                    Futebolista

                    Jornalista