Tables to present equations and their elements
up vote
1
down vote
favorite
I'm trying to present a equation in this way
I don't know if it's the best way to present this information, but i got that example from a reference guide.
tables
add a comment |
up vote
1
down vote
favorite
I'm trying to present a equation in this way
I don't know if it's the best way to present this information, but i got that example from a reference guide.
tables
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I'm trying to present a equation in this way
I don't know if it's the best way to present this information, but i got that example from a reference guide.
tables
I'm trying to present a equation in this way
I don't know if it's the best way to present this information, but i got that example from a reference guide.
tables
tables
asked 5 hours ago
kraDracsO
206
206
add a comment |
add a comment |
3 Answers
3
active
oldest
votes
up vote
2
down vote
accepted
i suspect that you looking for the following:
documentclass[10pt,letterpaper]{report}
usepackage{amsmath,amssymb}
usepackage{array,multirow}
usepackage{lipsum}
begin{document}
lipsum[66]
[setlengthextrarowheight{1pt}
begin{tabular}{r c >{$}r<{$:} l}
multirow[t]{3}{*}{$
Q_r=dfrac{W}{gammatimes t}
$} & where & W & Weight \
& & gamma & Specific weight\
& & t & Average time
end{tabular}
]
lipsum[66]
end{document}
Yes, this is what i was looking for. Can you elaborate on what does[setlengthextrarowheight{1pt}
?
– kraDracsO
5 hours ago
3
[
and]
are delimiters for math environment (equivalent forbegin{equation*}
andend{equation}
. withsetlengthextrarowheight{1pt}
is added vertical space of 1pt above cells' contents. you can omit this space, if you like to have more dense text intabular
.
– Zarko
4 hours ago
add a comment |
up vote
2
down vote
Here's a solution that uses a single array
environment.
documentclass{article}
usepackage{amsmath,array}
newcolumntype{L}{>{$}l<{$}}
begin{document}
[
Q_r=frac{W}{gammatimes t} qquadtext{where}qquad
begin{array}[t]{@{} r<{colon} L @{}}
W & Weight \
gamma & Specific weight\
t & Average time
end{array}
]
end{document}
add a comment |
up vote
0
down vote
I read this post and got this
documentclass[10pt,letterpaper]{report}
usepackage[utf8]{inputenc}
usepackage{amsmath,amsfonts,amssymb}
begin{document}
begin{tabular}{rcl}
$Q_r=dfrac{W}{gamma times t}$& where & begin{tabular}{rl}
&\
&\
$W$:&Weight\
$gamma$:&Specific weight\
$t$:&Average time
end{tabular}
end{tabular}
end{document}
But this creates a space above the table. I could add a vspace{-0.5cm}
before the table.
The reason for the whitespace above thetabular
environment is that thetabular
environment comprises 5 rather than just 3 rows, with the first two rows being left empty. Assuming you wanted to keep using nestedtabular
environments, the best way to get rid of the unwanted whitespace is to replace both instances ofbegin{tabular}
withbegin{tabular}[t]
, i.e., to require top-alignment, and to get rid of the two blank rows. Do note that you don't actually need the "outer"tabular
environment. Just encase formula and its legend in a display-math environment.
– Mico
13 mins ago
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',
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%2f464618%2ftables-to-present-equations-and-their-elements%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
accepted
i suspect that you looking for the following:
documentclass[10pt,letterpaper]{report}
usepackage{amsmath,amssymb}
usepackage{array,multirow}
usepackage{lipsum}
begin{document}
lipsum[66]
[setlengthextrarowheight{1pt}
begin{tabular}{r c >{$}r<{$:} l}
multirow[t]{3}{*}{$
Q_r=dfrac{W}{gammatimes t}
$} & where & W & Weight \
& & gamma & Specific weight\
& & t & Average time
end{tabular}
]
lipsum[66]
end{document}
Yes, this is what i was looking for. Can you elaborate on what does[setlengthextrarowheight{1pt}
?
– kraDracsO
5 hours ago
3
[
and]
are delimiters for math environment (equivalent forbegin{equation*}
andend{equation}
. withsetlengthextrarowheight{1pt}
is added vertical space of 1pt above cells' contents. you can omit this space, if you like to have more dense text intabular
.
– Zarko
4 hours ago
add a comment |
up vote
2
down vote
accepted
i suspect that you looking for the following:
documentclass[10pt,letterpaper]{report}
usepackage{amsmath,amssymb}
usepackage{array,multirow}
usepackage{lipsum}
begin{document}
lipsum[66]
[setlengthextrarowheight{1pt}
begin{tabular}{r c >{$}r<{$:} l}
multirow[t]{3}{*}{$
Q_r=dfrac{W}{gammatimes t}
$} & where & W & Weight \
& & gamma & Specific weight\
& & t & Average time
end{tabular}
]
lipsum[66]
end{document}
Yes, this is what i was looking for. Can you elaborate on what does[setlengthextrarowheight{1pt}
?
– kraDracsO
5 hours ago
3
[
and]
are delimiters for math environment (equivalent forbegin{equation*}
andend{equation}
. withsetlengthextrarowheight{1pt}
is added vertical space of 1pt above cells' contents. you can omit this space, if you like to have more dense text intabular
.
– Zarko
4 hours ago
add a comment |
up vote
2
down vote
accepted
up vote
2
down vote
accepted
i suspect that you looking for the following:
documentclass[10pt,letterpaper]{report}
usepackage{amsmath,amssymb}
usepackage{array,multirow}
usepackage{lipsum}
begin{document}
lipsum[66]
[setlengthextrarowheight{1pt}
begin{tabular}{r c >{$}r<{$:} l}
multirow[t]{3}{*}{$
Q_r=dfrac{W}{gammatimes t}
$} & where & W & Weight \
& & gamma & Specific weight\
& & t & Average time
end{tabular}
]
lipsum[66]
end{document}
i suspect that you looking for the following:
documentclass[10pt,letterpaper]{report}
usepackage{amsmath,amssymb}
usepackage{array,multirow}
usepackage{lipsum}
begin{document}
lipsum[66]
[setlengthextrarowheight{1pt}
begin{tabular}{r c >{$}r<{$:} l}
multirow[t]{3}{*}{$
Q_r=dfrac{W}{gammatimes t}
$} & where & W & Weight \
& & gamma & Specific weight\
& & t & Average time
end{tabular}
]
lipsum[66]
end{document}
answered 5 hours ago
Zarko
119k865155
119k865155
Yes, this is what i was looking for. Can you elaborate on what does[setlengthextrarowheight{1pt}
?
– kraDracsO
5 hours ago
3
[
and]
are delimiters for math environment (equivalent forbegin{equation*}
andend{equation}
. withsetlengthextrarowheight{1pt}
is added vertical space of 1pt above cells' contents. you can omit this space, if you like to have more dense text intabular
.
– Zarko
4 hours ago
add a comment |
Yes, this is what i was looking for. Can you elaborate on what does[setlengthextrarowheight{1pt}
?
– kraDracsO
5 hours ago
3
[
and]
are delimiters for math environment (equivalent forbegin{equation*}
andend{equation}
. withsetlengthextrarowheight{1pt}
is added vertical space of 1pt above cells' contents. you can omit this space, if you like to have more dense text intabular
.
– Zarko
4 hours ago
Yes, this is what i was looking for. Can you elaborate on what does
[setlengthextrarowheight{1pt}
?– kraDracsO
5 hours ago
Yes, this is what i was looking for. Can you elaborate on what does
[setlengthextrarowheight{1pt}
?– kraDracsO
5 hours ago
3
3
[
and ]
are delimiters for math environment (equivalent for begin{equation*}
and end{equation}
. with setlengthextrarowheight{1pt}
is added vertical space of 1pt above cells' contents. you can omit this space, if you like to have more dense text in tabular
.– Zarko
4 hours ago
[
and ]
are delimiters for math environment (equivalent for begin{equation*}
and end{equation}
. with setlengthextrarowheight{1pt}
is added vertical space of 1pt above cells' contents. you can omit this space, if you like to have more dense text in tabular
.– Zarko
4 hours ago
add a comment |
up vote
2
down vote
Here's a solution that uses a single array
environment.
documentclass{article}
usepackage{amsmath,array}
newcolumntype{L}{>{$}l<{$}}
begin{document}
[
Q_r=frac{W}{gammatimes t} qquadtext{where}qquad
begin{array}[t]{@{} r<{colon} L @{}}
W & Weight \
gamma & Specific weight\
t & Average time
end{array}
]
end{document}
add a comment |
up vote
2
down vote
Here's a solution that uses a single array
environment.
documentclass{article}
usepackage{amsmath,array}
newcolumntype{L}{>{$}l<{$}}
begin{document}
[
Q_r=frac{W}{gammatimes t} qquadtext{where}qquad
begin{array}[t]{@{} r<{colon} L @{}}
W & Weight \
gamma & Specific weight\
t & Average time
end{array}
]
end{document}
add a comment |
up vote
2
down vote
up vote
2
down vote
Here's a solution that uses a single array
environment.
documentclass{article}
usepackage{amsmath,array}
newcolumntype{L}{>{$}l<{$}}
begin{document}
[
Q_r=frac{W}{gammatimes t} qquadtext{where}qquad
begin{array}[t]{@{} r<{colon} L @{}}
W & Weight \
gamma & Specific weight\
t & Average time
end{array}
]
end{document}
Here's a solution that uses a single array
environment.
documentclass{article}
usepackage{amsmath,array}
newcolumntype{L}{>{$}l<{$}}
begin{document}
[
Q_r=frac{W}{gammatimes t} qquadtext{where}qquad
begin{array}[t]{@{} r<{colon} L @{}}
W & Weight \
gamma & Specific weight\
t & Average time
end{array}
]
end{document}
answered 1 hour ago
Mico
272k30369756
272k30369756
add a comment |
add a comment |
up vote
0
down vote
I read this post and got this
documentclass[10pt,letterpaper]{report}
usepackage[utf8]{inputenc}
usepackage{amsmath,amsfonts,amssymb}
begin{document}
begin{tabular}{rcl}
$Q_r=dfrac{W}{gamma times t}$& where & begin{tabular}{rl}
&\
&\
$W$:&Weight\
$gamma$:&Specific weight\
$t$:&Average time
end{tabular}
end{tabular}
end{document}
But this creates a space above the table. I could add a vspace{-0.5cm}
before the table.
The reason for the whitespace above thetabular
environment is that thetabular
environment comprises 5 rather than just 3 rows, with the first two rows being left empty. Assuming you wanted to keep using nestedtabular
environments, the best way to get rid of the unwanted whitespace is to replace both instances ofbegin{tabular}
withbegin{tabular}[t]
, i.e., to require top-alignment, and to get rid of the two blank rows. Do note that you don't actually need the "outer"tabular
environment. Just encase formula and its legend in a display-math environment.
– Mico
13 mins ago
add a comment |
up vote
0
down vote
I read this post and got this
documentclass[10pt,letterpaper]{report}
usepackage[utf8]{inputenc}
usepackage{amsmath,amsfonts,amssymb}
begin{document}
begin{tabular}{rcl}
$Q_r=dfrac{W}{gamma times t}$& where & begin{tabular}{rl}
&\
&\
$W$:&Weight\
$gamma$:&Specific weight\
$t$:&Average time
end{tabular}
end{tabular}
end{document}
But this creates a space above the table. I could add a vspace{-0.5cm}
before the table.
The reason for the whitespace above thetabular
environment is that thetabular
environment comprises 5 rather than just 3 rows, with the first two rows being left empty. Assuming you wanted to keep using nestedtabular
environments, the best way to get rid of the unwanted whitespace is to replace both instances ofbegin{tabular}
withbegin{tabular}[t]
, i.e., to require top-alignment, and to get rid of the two blank rows. Do note that you don't actually need the "outer"tabular
environment. Just encase formula and its legend in a display-math environment.
– Mico
13 mins ago
add a comment |
up vote
0
down vote
up vote
0
down vote
I read this post and got this
documentclass[10pt,letterpaper]{report}
usepackage[utf8]{inputenc}
usepackage{amsmath,amsfonts,amssymb}
begin{document}
begin{tabular}{rcl}
$Q_r=dfrac{W}{gamma times t}$& where & begin{tabular}{rl}
&\
&\
$W$:&Weight\
$gamma$:&Specific weight\
$t$:&Average time
end{tabular}
end{tabular}
end{document}
But this creates a space above the table. I could add a vspace{-0.5cm}
before the table.
I read this post and got this
documentclass[10pt,letterpaper]{report}
usepackage[utf8]{inputenc}
usepackage{amsmath,amsfonts,amssymb}
begin{document}
begin{tabular}{rcl}
$Q_r=dfrac{W}{gamma times t}$& where & begin{tabular}{rl}
&\
&\
$W$:&Weight\
$gamma$:&Specific weight\
$t$:&Average time
end{tabular}
end{tabular}
end{document}
But this creates a space above the table. I could add a vspace{-0.5cm}
before the table.
answered 5 hours ago
kraDracsO
206
206
The reason for the whitespace above thetabular
environment is that thetabular
environment comprises 5 rather than just 3 rows, with the first two rows being left empty. Assuming you wanted to keep using nestedtabular
environments, the best way to get rid of the unwanted whitespace is to replace both instances ofbegin{tabular}
withbegin{tabular}[t]
, i.e., to require top-alignment, and to get rid of the two blank rows. Do note that you don't actually need the "outer"tabular
environment. Just encase formula and its legend in a display-math environment.
– Mico
13 mins ago
add a comment |
The reason for the whitespace above thetabular
environment is that thetabular
environment comprises 5 rather than just 3 rows, with the first two rows being left empty. Assuming you wanted to keep using nestedtabular
environments, the best way to get rid of the unwanted whitespace is to replace both instances ofbegin{tabular}
withbegin{tabular}[t]
, i.e., to require top-alignment, and to get rid of the two blank rows. Do note that you don't actually need the "outer"tabular
environment. Just encase formula and its legend in a display-math environment.
– Mico
13 mins ago
The reason for the whitespace above the
tabular
environment is that the tabular
environment comprises 5 rather than just 3 rows, with the first two rows being left empty. Assuming you wanted to keep using nested tabular
environments, the best way to get rid of the unwanted whitespace is to replace both instances of begin{tabular}
with begin{tabular}[t]
, i.e., to require top-alignment, and to get rid of the two blank rows. Do note that you don't actually need the "outer" tabular
environment. Just encase formula and its legend in a display-math environment.– Mico
13 mins ago
The reason for the whitespace above the
tabular
environment is that the tabular
environment comprises 5 rather than just 3 rows, with the first two rows being left empty. Assuming you wanted to keep using nested tabular
environments, the best way to get rid of the unwanted whitespace is to replace both instances of begin{tabular}
with begin{tabular}[t]
, i.e., to require top-alignment, and to get rid of the two blank rows. Do note that you don't actually need the "outer" tabular
environment. Just encase formula and its legend in a display-math environment.– Mico
13 mins ago
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.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- 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%2f464618%2ftables-to-present-equations-and-their-elements%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