How to make an empty box
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
add a comment |
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
add a comment |
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
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
boxes
edited Apr 13 '17 at 12:35
Community♦
1
1
asked Oct 20 '14 at 17:30
ThomasThomas
1,05531829
1,05531829
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
You can use framebox(200,300){}
where the size is given in multiples of unitlength
, defaulting to 1pt
.
add a comment |
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}
add a comment |
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%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
You can use framebox(200,300){}
where the size is given in multiples of unitlength
, defaulting to 1pt
.
add a comment |
You can use framebox(200,300){}
where the size is given in multiples of unitlength
, defaulting to 1pt
.
add a comment |
You can use framebox(200,300){}
where the size is given in multiples of unitlength
, defaulting to 1pt
.
You can use framebox(200,300){}
where the size is given in multiples of unitlength
, defaulting to 1pt
.
answered Oct 20 '14 at 18:07
David CarlisleDavid Carlisle
490k4111321881
490k4111321881
add a comment |
add a comment |
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}
add a comment |
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}
add a comment |
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}
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}
answered Feb 5 at 8:42
Samy BencherifSamy Bencherif
1111
1111
add a comment |
add a comment |
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%2f208128%2fhow-to-make-an-empty-box%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