How to make an empty box












21















I am making a sheet where people can fill in answers of various types. For this I would like to make some boxes of certain width and height. How can this best be done? I use fbox when I want to box a box around some text, but now I need to make a box with given dimensions.



I did noticed the question What are the different kinds of boxes in (La)TeX? but don't quite see the answer there.










share|improve this question





























    21















    I am making a sheet where people can fill in answers of various types. For this I would like to make some boxes of certain width and height. How can this best be done? I use fbox when I want to box a box around some text, but now I need to make a box with given dimensions.



    I did noticed the question What are the different kinds of boxes in (La)TeX? but don't quite see the answer there.










    share|improve this question



























      21












      21








      21


      5






      I am making a sheet where people can fill in answers of various types. For this I would like to make some boxes of certain width and height. How can this best be done? I use fbox when I want to box a box around some text, but now I need to make a box with given dimensions.



      I did noticed the question What are the different kinds of boxes in (La)TeX? but don't quite see the answer there.










      share|improve this question
















      I am making a sheet where people can fill in answers of various types. For this I would like to make some boxes of certain width and height. How can this best be done? I use fbox when I want to box a box around some text, but now I need to make a box with given dimensions.



      I did noticed the question What are the different kinds of boxes in (La)TeX? but don't quite see the answer there.







      boxes






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Apr 13 '17 at 12:35









      Community

      1




      1










      asked Oct 20 '14 at 17:30









      ThomasThomas

      1,05531829




      1,05531829






















          2 Answers
          2






          active

          oldest

          votes


















          26














          You can use framebox(200,300){} where the size is given in multiples of unitlength, defaulting to 1pt.






          share|improve this answer































            1














            Surprised no one has mentioned this. Latex has feature specifically for questions and answers:



            % allow for answer boxes:
            documentclass[12pt]{exam}
            printanswers

            usepackage{amsmath}

            begin{document}
            begin{enumerate}

            % questions can be list items
            item (Problem 7 S 2.1)\
            Evaluate the following expression using Euclid's algorithm (2.1.3). (textbf{Write each step down for credit})

            [gcd(98, 35)]

            % make an answer box
            begin{solutionorbox}[2in] \
            $98mod 35 = 28$ \
            $35mod 28 = 7$ \
            $28mod 7 = 0$ \
            $gcd(98, 35) = 7$
            end{solutionorbox}

            end{enumerate}
            end{document}





            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%2f208128%2fhow-to-make-an-empty-box%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              26














              You can use framebox(200,300){} where the size is given in multiples of unitlength, defaulting to 1pt.






              share|improve this answer




























                26














                You can use framebox(200,300){} where the size is given in multiples of unitlength, defaulting to 1pt.






                share|improve this answer


























                  26












                  26








                  26







                  You can use framebox(200,300){} where the size is given in multiples of unitlength, defaulting to 1pt.






                  share|improve this answer













                  You can use framebox(200,300){} where the size is given in multiples of unitlength, defaulting to 1pt.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Oct 20 '14 at 18:07









                  David CarlisleDavid Carlisle

                  490k4111321881




                  490k4111321881























                      1














                      Surprised no one has mentioned this. Latex has feature specifically for questions and answers:



                      % allow for answer boxes:
                      documentclass[12pt]{exam}
                      printanswers

                      usepackage{amsmath}

                      begin{document}
                      begin{enumerate}

                      % questions can be list items
                      item (Problem 7 S 2.1)\
                      Evaluate the following expression using Euclid's algorithm (2.1.3). (textbf{Write each step down for credit})

                      [gcd(98, 35)]

                      % make an answer box
                      begin{solutionorbox}[2in] \
                      $98mod 35 = 28$ \
                      $35mod 28 = 7$ \
                      $28mod 7 = 0$ \
                      $gcd(98, 35) = 7$
                      end{solutionorbox}

                      end{enumerate}
                      end{document}





                      share|improve this answer




























                        1














                        Surprised no one has mentioned this. Latex has feature specifically for questions and answers:



                        % allow for answer boxes:
                        documentclass[12pt]{exam}
                        printanswers

                        usepackage{amsmath}

                        begin{document}
                        begin{enumerate}

                        % questions can be list items
                        item (Problem 7 S 2.1)\
                        Evaluate the following expression using Euclid's algorithm (2.1.3). (textbf{Write each step down for credit})

                        [gcd(98, 35)]

                        % make an answer box
                        begin{solutionorbox}[2in] \
                        $98mod 35 = 28$ \
                        $35mod 28 = 7$ \
                        $28mod 7 = 0$ \
                        $gcd(98, 35) = 7$
                        end{solutionorbox}

                        end{enumerate}
                        end{document}





                        share|improve this answer


























                          1












                          1








                          1







                          Surprised no one has mentioned this. Latex has feature specifically for questions and answers:



                          % allow for answer boxes:
                          documentclass[12pt]{exam}
                          printanswers

                          usepackage{amsmath}

                          begin{document}
                          begin{enumerate}

                          % questions can be list items
                          item (Problem 7 S 2.1)\
                          Evaluate the following expression using Euclid's algorithm (2.1.3). (textbf{Write each step down for credit})

                          [gcd(98, 35)]

                          % make an answer box
                          begin{solutionorbox}[2in] \
                          $98mod 35 = 28$ \
                          $35mod 28 = 7$ \
                          $28mod 7 = 0$ \
                          $gcd(98, 35) = 7$
                          end{solutionorbox}

                          end{enumerate}
                          end{document}





                          share|improve this answer













                          Surprised no one has mentioned this. Latex has feature specifically for questions and answers:



                          % allow for answer boxes:
                          documentclass[12pt]{exam}
                          printanswers

                          usepackage{amsmath}

                          begin{document}
                          begin{enumerate}

                          % questions can be list items
                          item (Problem 7 S 2.1)\
                          Evaluate the following expression using Euclid's algorithm (2.1.3). (textbf{Write each step down for credit})

                          [gcd(98, 35)]

                          % make an answer box
                          begin{solutionorbox}[2in] \
                          $98mod 35 = 28$ \
                          $35mod 28 = 7$ \
                          $28mod 7 = 0$ \
                          $gcd(98, 35) = 7$
                          end{solutionorbox}

                          end{enumerate}
                          end{document}






                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered Feb 5 at 8:42









                          Samy BencherifSamy Bencherif

                          1111




                          1111






























                              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%2f208128%2fhow-to-make-an-empty-box%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 to change which sound is reproduced for terminal bell?

                              Can I use Tabulator js library in my java Spring + Thymeleaf project?

                              Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents