How to write mathematics with boxes?
I want to write the mathematics inside the box as written below.
See my code given below:
documentclass{article}
begin{document}
\fbox{text}
framebox[width][pos]{text}
makebox[textwidth]{X_1 X_2} par
makebox[textwidth]{X_3 X_4} par
cdots
makebox[textwidth]{X_4 X_6} par
end{document}
Question: I want to write the above maths, How to write it properly?
boxes
add a comment |
I want to write the mathematics inside the box as written below.
See my code given below:
documentclass{article}
begin{document}
\fbox{text}
framebox[width][pos]{text}
makebox[textwidth]{X_1 X_2} par
makebox[textwidth]{X_3 X_4} par
cdots
makebox[textwidth]{X_4 X_6} par
end{document}
Question: I want to write the above maths, How to write it properly?
boxes
add a comment |
I want to write the mathematics inside the box as written below.
See my code given below:
documentclass{article}
begin{document}
\fbox{text}
framebox[width][pos]{text}
makebox[textwidth]{X_1 X_2} par
makebox[textwidth]{X_3 X_4} par
cdots
makebox[textwidth]{X_4 X_6} par
end{document}
Question: I want to write the above maths, How to write it properly?
boxes
I want to write the mathematics inside the box as written below.
See my code given below:
documentclass{article}
begin{document}
\fbox{text}
framebox[width][pos]{text}
makebox[textwidth]{X_1 X_2} par
makebox[textwidth]{X_3 X_4} par
cdots
makebox[textwidth]{X_4 X_6} par
end{document}
Question: I want to write the above maths, How to write it properly?
boxes
boxes
edited 35 mins ago
marmot
95.7k4110210
95.7k4110210
asked 35 mins ago
Isla_BonitaIsla_Bonita
1975
1975
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
You can use boxed
command from amsmath
package
documentclass{article}
usepackage{amsmath}
begin{document}
begin{equation*}
X=boxed{X_1 X_2}quad boxed{X_3 X_4}cdotsboxed{X_5 X_6}
end{equation*}
end{document}
add a comment |
Depends on how fancy you want to go. In principle you do not need any packages for that.
documentclass{article}
begin{document}
[
X=
raisebox{-1.5ex}{$begin{array}{c}
hline
multicolumn{1}{|c|}{X_1 X_2}\
hline
leftarrowellrightarrow\
end{array}$}~
raisebox{-1.5ex}{$begin{array}{c}
hline
multicolumn{1}{|c|}{X_3 X_4}\
hline
leftarrowellrightarrow\
end{array}$}cdots
raisebox{-1.5ex}{$begin{array}{c}
hline
multicolumn{1}{|c|}{X_5 X_6}\
hline
leftarrowellrightarrow\
end{array}$}
]
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%2f472679%2fhow-to-write-mathematics-with-boxes%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 boxed
command from amsmath
package
documentclass{article}
usepackage{amsmath}
begin{document}
begin{equation*}
X=boxed{X_1 X_2}quad boxed{X_3 X_4}cdotsboxed{X_5 X_6}
end{equation*}
end{document}
add a comment |
You can use boxed
command from amsmath
package
documentclass{article}
usepackage{amsmath}
begin{document}
begin{equation*}
X=boxed{X_1 X_2}quad boxed{X_3 X_4}cdotsboxed{X_5 X_6}
end{equation*}
end{document}
add a comment |
You can use boxed
command from amsmath
package
documentclass{article}
usepackage{amsmath}
begin{document}
begin{equation*}
X=boxed{X_1 X_2}quad boxed{X_3 X_4}cdotsboxed{X_5 X_6}
end{equation*}
end{document}
You can use boxed
command from amsmath
package
documentclass{article}
usepackage{amsmath}
begin{document}
begin{equation*}
X=boxed{X_1 X_2}quad boxed{X_3 X_4}cdotsboxed{X_5 X_6}
end{equation*}
end{document}
answered 26 mins ago
Hafid BoukhouldaHafid Boukhoulda
2,6971519
2,6971519
add a comment |
add a comment |
Depends on how fancy you want to go. In principle you do not need any packages for that.
documentclass{article}
begin{document}
[
X=
raisebox{-1.5ex}{$begin{array}{c}
hline
multicolumn{1}{|c|}{X_1 X_2}\
hline
leftarrowellrightarrow\
end{array}$}~
raisebox{-1.5ex}{$begin{array}{c}
hline
multicolumn{1}{|c|}{X_3 X_4}\
hline
leftarrowellrightarrow\
end{array}$}cdots
raisebox{-1.5ex}{$begin{array}{c}
hline
multicolumn{1}{|c|}{X_5 X_6}\
hline
leftarrowellrightarrow\
end{array}$}
]
end{document}
add a comment |
Depends on how fancy you want to go. In principle you do not need any packages for that.
documentclass{article}
begin{document}
[
X=
raisebox{-1.5ex}{$begin{array}{c}
hline
multicolumn{1}{|c|}{X_1 X_2}\
hline
leftarrowellrightarrow\
end{array}$}~
raisebox{-1.5ex}{$begin{array}{c}
hline
multicolumn{1}{|c|}{X_3 X_4}\
hline
leftarrowellrightarrow\
end{array}$}cdots
raisebox{-1.5ex}{$begin{array}{c}
hline
multicolumn{1}{|c|}{X_5 X_6}\
hline
leftarrowellrightarrow\
end{array}$}
]
end{document}
add a comment |
Depends on how fancy you want to go. In principle you do not need any packages for that.
documentclass{article}
begin{document}
[
X=
raisebox{-1.5ex}{$begin{array}{c}
hline
multicolumn{1}{|c|}{X_1 X_2}\
hline
leftarrowellrightarrow\
end{array}$}~
raisebox{-1.5ex}{$begin{array}{c}
hline
multicolumn{1}{|c|}{X_3 X_4}\
hline
leftarrowellrightarrow\
end{array}$}cdots
raisebox{-1.5ex}{$begin{array}{c}
hline
multicolumn{1}{|c|}{X_5 X_6}\
hline
leftarrowellrightarrow\
end{array}$}
]
end{document}
Depends on how fancy you want to go. In principle you do not need any packages for that.
documentclass{article}
begin{document}
[
X=
raisebox{-1.5ex}{$begin{array}{c}
hline
multicolumn{1}{|c|}{X_1 X_2}\
hline
leftarrowellrightarrow\
end{array}$}~
raisebox{-1.5ex}{$begin{array}{c}
hline
multicolumn{1}{|c|}{X_3 X_4}\
hline
leftarrowellrightarrow\
end{array}$}cdots
raisebox{-1.5ex}{$begin{array}{c}
hline
multicolumn{1}{|c|}{X_5 X_6}\
hline
leftarrowellrightarrow\
end{array}$}
]
end{document}
answered 20 mins ago
marmotmarmot
95.7k4110210
95.7k4110210
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%2f472679%2fhow-to-write-mathematics-with-boxes%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