Matrix in a table
up vote
0
down vote
favorite
I am trying to insert a matrix inside a table, and I am looking for a good way to do this. I attach my tex following. my problem is how can I insert caption ?
begin{tabular}{|*3{>{centeringarraybackslash}p{.3textwidth}|}}
hline
textbf{$chi_1=1.167$} & textbf{$chi_2=1.305$}&textbf{$chi_3=1.279$}\
hline
[L_{0} = left[ begin{array}{ccc} -0.228& -0.273& 0.934\ -0.335& 0.923 & 0.188\0.914 & 0.270 & 0.302 end{array}right]] & [L_{0} = left[ begin{array}{ccc} -0.236& -0.284 & 0.929\-0.391 & 0.903& 0.176\0.889 &0.321& 0.324 end{array}right]]& [L_{0} = left[ begin{array}{ccc} -0.236& 0.284& 0.929\-0.376& -0.908& 0.182\0.896& -0.306& 0.322 end{array}right]]\
noalign{hrule height 1pt}
end{tabular}
tables matrices
add a comment |
up vote
0
down vote
favorite
I am trying to insert a matrix inside a table, and I am looking for a good way to do this. I attach my tex following. my problem is how can I insert caption ?
begin{tabular}{|*3{>{centeringarraybackslash}p{.3textwidth}|}}
hline
textbf{$chi_1=1.167$} & textbf{$chi_2=1.305$}&textbf{$chi_3=1.279$}\
hline
[L_{0} = left[ begin{array}{ccc} -0.228& -0.273& 0.934\ -0.335& 0.923 & 0.188\0.914 & 0.270 & 0.302 end{array}right]] & [L_{0} = left[ begin{array}{ccc} -0.236& -0.284 & 0.929\-0.391 & 0.903& 0.176\0.889 &0.321& 0.324 end{array}right]]& [L_{0} = left[ begin{array}{ccc} -0.236& 0.284& 0.929\-0.376& -0.908& 0.182\0.896& -0.306& 0.322 end{array}right]]\
noalign{hrule height 1pt}
end{tabular}
tables matrices
(1) welcome, (2) on this site you are much much more likely to get help if you provide a full minimal example, instead of just a sniplet like this. Then others does not have to guess the rest of the document. (3) A caption belongs to floating objects, so you'll need to wrap your tabular in a table environment.
– daleif
Oct 15 at 14:01
note thattextbf
does not affect mathematics sotextbf{$chi_1=1.167$}
is the same as$chi_1=1.167$
perhaps you wantboldmath $chi_1=1.167$
– David Carlisle
Oct 15 at 14:10
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I am trying to insert a matrix inside a table, and I am looking for a good way to do this. I attach my tex following. my problem is how can I insert caption ?
begin{tabular}{|*3{>{centeringarraybackslash}p{.3textwidth}|}}
hline
textbf{$chi_1=1.167$} & textbf{$chi_2=1.305$}&textbf{$chi_3=1.279$}\
hline
[L_{0} = left[ begin{array}{ccc} -0.228& -0.273& 0.934\ -0.335& 0.923 & 0.188\0.914 & 0.270 & 0.302 end{array}right]] & [L_{0} = left[ begin{array}{ccc} -0.236& -0.284 & 0.929\-0.391 & 0.903& 0.176\0.889 &0.321& 0.324 end{array}right]]& [L_{0} = left[ begin{array}{ccc} -0.236& 0.284& 0.929\-0.376& -0.908& 0.182\0.896& -0.306& 0.322 end{array}right]]\
noalign{hrule height 1pt}
end{tabular}
tables matrices
I am trying to insert a matrix inside a table, and I am looking for a good way to do this. I attach my tex following. my problem is how can I insert caption ?
begin{tabular}{|*3{>{centeringarraybackslash}p{.3textwidth}|}}
hline
textbf{$chi_1=1.167$} & textbf{$chi_2=1.305$}&textbf{$chi_3=1.279$}\
hline
[L_{0} = left[ begin{array}{ccc} -0.228& -0.273& 0.934\ -0.335& 0.923 & 0.188\0.914 & 0.270 & 0.302 end{array}right]] & [L_{0} = left[ begin{array}{ccc} -0.236& -0.284 & 0.929\-0.391 & 0.903& 0.176\0.889 &0.321& 0.324 end{array}right]]& [L_{0} = left[ begin{array}{ccc} -0.236& 0.284& 0.929\-0.376& -0.908& 0.182\0.896& -0.306& 0.322 end{array}right]]\
noalign{hrule height 1pt}
end{tabular}
tables matrices
tables matrices
edited Oct 15 at 13:57
Phelype Oleinik
20.4k54277
20.4k54277
asked Oct 15 at 13:57
elahe
1
1
(1) welcome, (2) on this site you are much much more likely to get help if you provide a full minimal example, instead of just a sniplet like this. Then others does not have to guess the rest of the document. (3) A caption belongs to floating objects, so you'll need to wrap your tabular in a table environment.
– daleif
Oct 15 at 14:01
note thattextbf
does not affect mathematics sotextbf{$chi_1=1.167$}
is the same as$chi_1=1.167$
perhaps you wantboldmath $chi_1=1.167$
– David Carlisle
Oct 15 at 14:10
add a comment |
(1) welcome, (2) on this site you are much much more likely to get help if you provide a full minimal example, instead of just a sniplet like this. Then others does not have to guess the rest of the document. (3) A caption belongs to floating objects, so you'll need to wrap your tabular in a table environment.
– daleif
Oct 15 at 14:01
note thattextbf
does not affect mathematics sotextbf{$chi_1=1.167$}
is the same as$chi_1=1.167$
perhaps you wantboldmath $chi_1=1.167$
– David Carlisle
Oct 15 at 14:10
(1) welcome, (2) on this site you are much much more likely to get help if you provide a full minimal example, instead of just a sniplet like this. Then others does not have to guess the rest of the document. (3) A caption belongs to floating objects, so you'll need to wrap your tabular in a table environment.
– daleif
Oct 15 at 14:01
(1) welcome, (2) on this site you are much much more likely to get help if you provide a full minimal example, instead of just a sniplet like this. Then others does not have to guess the rest of the document. (3) A caption belongs to floating objects, so you'll need to wrap your tabular in a table environment.
– daleif
Oct 15 at 14:01
note that
textbf
does not affect mathematics so textbf{$chi_1=1.167$}
is the same as $chi_1=1.167$
perhaps you want boldmath $chi_1=1.167$
– David Carlisle
Oct 15 at 14:10
note that
textbf
does not affect mathematics so textbf{$chi_1=1.167$}
is the same as $chi_1=1.167$
perhaps you want boldmath $chi_1=1.167$
– David Carlisle
Oct 15 at 14:10
add a comment |
1 Answer
1
active
oldest
votes
up vote
1
down vote
your problem is solved by comments below questions, so this answer is more off-topic:
- your table is quit wide, so i use the
geometry
package to enlarge text area
for matrix i sug˙gest to use
bmatrix
from the packageamsmath
documentclass{article}
usepackage[margin=25mm]{geometry} % <--- added
usepackage{amsmath} % <--- added
usepackage{array} % <--- added
begin{document}
begin{tabular}{|*3{>{centeringarraybackslash}p{.3textwidth}|}}
hline
$chi_1=1.167$ & $chi_2=1.305$ & $chi_3=1.279$ \
hline
[
L_{0} = begin{bmatrix} % <--- changed
-0.228 & -0.273 & 0.934\
-0.335 & 0.923 & 0.188\
0.914 & 0.270 & 0.302
end{bmatrix}
] &
[
L_{0} = begin{bmatrix} % <--- changed
-0.236 & -0.284 & 0.929\
-0.391 & 0.903 & 0.176\
0.889 & 0.321 & 0.324
end{bmatrix}
] &
[
L_{0} = begin{bmatrix} % <--- changed
-0.236 & 0.284 & 0.929\
-0.376 & -0.908 & 0.182\
0.896 & -0.306 & 0.322
end{bmatrix}
]
\
hline
end{tabular}
end{document}
- your table is quit wide, so i use the
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
your problem is solved by comments below questions, so this answer is more off-topic:
- your table is quit wide, so i use the
geometry
package to enlarge text area
for matrix i sug˙gest to use
bmatrix
from the packageamsmath
documentclass{article}
usepackage[margin=25mm]{geometry} % <--- added
usepackage{amsmath} % <--- added
usepackage{array} % <--- added
begin{document}
begin{tabular}{|*3{>{centeringarraybackslash}p{.3textwidth}|}}
hline
$chi_1=1.167$ & $chi_2=1.305$ & $chi_3=1.279$ \
hline
[
L_{0} = begin{bmatrix} % <--- changed
-0.228 & -0.273 & 0.934\
-0.335 & 0.923 & 0.188\
0.914 & 0.270 & 0.302
end{bmatrix}
] &
[
L_{0} = begin{bmatrix} % <--- changed
-0.236 & -0.284 & 0.929\
-0.391 & 0.903 & 0.176\
0.889 & 0.321 & 0.324
end{bmatrix}
] &
[
L_{0} = begin{bmatrix} % <--- changed
-0.236 & 0.284 & 0.929\
-0.376 & -0.908 & 0.182\
0.896 & -0.306 & 0.322
end{bmatrix}
]
\
hline
end{tabular}
end{document}
- your table is quit wide, so i use the
add a comment |
up vote
1
down vote
your problem is solved by comments below questions, so this answer is more off-topic:
- your table is quit wide, so i use the
geometry
package to enlarge text area
for matrix i sug˙gest to use
bmatrix
from the packageamsmath
documentclass{article}
usepackage[margin=25mm]{geometry} % <--- added
usepackage{amsmath} % <--- added
usepackage{array} % <--- added
begin{document}
begin{tabular}{|*3{>{centeringarraybackslash}p{.3textwidth}|}}
hline
$chi_1=1.167$ & $chi_2=1.305$ & $chi_3=1.279$ \
hline
[
L_{0} = begin{bmatrix} % <--- changed
-0.228 & -0.273 & 0.934\
-0.335 & 0.923 & 0.188\
0.914 & 0.270 & 0.302
end{bmatrix}
] &
[
L_{0} = begin{bmatrix} % <--- changed
-0.236 & -0.284 & 0.929\
-0.391 & 0.903 & 0.176\
0.889 & 0.321 & 0.324
end{bmatrix}
] &
[
L_{0} = begin{bmatrix} % <--- changed
-0.236 & 0.284 & 0.929\
-0.376 & -0.908 & 0.182\
0.896 & -0.306 & 0.322
end{bmatrix}
]
\
hline
end{tabular}
end{document}
- your table is quit wide, so i use the
add a comment |
up vote
1
down vote
up vote
1
down vote
your problem is solved by comments below questions, so this answer is more off-topic:
- your table is quit wide, so i use the
geometry
package to enlarge text area
for matrix i sug˙gest to use
bmatrix
from the packageamsmath
documentclass{article}
usepackage[margin=25mm]{geometry} % <--- added
usepackage{amsmath} % <--- added
usepackage{array} % <--- added
begin{document}
begin{tabular}{|*3{>{centeringarraybackslash}p{.3textwidth}|}}
hline
$chi_1=1.167$ & $chi_2=1.305$ & $chi_3=1.279$ \
hline
[
L_{0} = begin{bmatrix} % <--- changed
-0.228 & -0.273 & 0.934\
-0.335 & 0.923 & 0.188\
0.914 & 0.270 & 0.302
end{bmatrix}
] &
[
L_{0} = begin{bmatrix} % <--- changed
-0.236 & -0.284 & 0.929\
-0.391 & 0.903 & 0.176\
0.889 & 0.321 & 0.324
end{bmatrix}
] &
[
L_{0} = begin{bmatrix} % <--- changed
-0.236 & 0.284 & 0.929\
-0.376 & -0.908 & 0.182\
0.896 & -0.306 & 0.322
end{bmatrix}
]
\
hline
end{tabular}
end{document}
- your table is quit wide, so i use the
your problem is solved by comments below questions, so this answer is more off-topic:
- your table is quit wide, so i use the
geometry
package to enlarge text area
for matrix i sug˙gest to use
bmatrix
from the packageamsmath
documentclass{article}
usepackage[margin=25mm]{geometry} % <--- added
usepackage{amsmath} % <--- added
usepackage{array} % <--- added
begin{document}
begin{tabular}{|*3{>{centeringarraybackslash}p{.3textwidth}|}}
hline
$chi_1=1.167$ & $chi_2=1.305$ & $chi_3=1.279$ \
hline
[
L_{0} = begin{bmatrix} % <--- changed
-0.228 & -0.273 & 0.934\
-0.335 & 0.923 & 0.188\
0.914 & 0.270 & 0.302
end{bmatrix}
] &
[
L_{0} = begin{bmatrix} % <--- changed
-0.236 & -0.284 & 0.929\
-0.391 & 0.903 & 0.176\
0.889 & 0.321 & 0.324
end{bmatrix}
] &
[
L_{0} = begin{bmatrix} % <--- changed
-0.236 & 0.284 & 0.929\
-0.376 & -0.908 & 0.182\
0.896 & -0.306 & 0.322
end{bmatrix}
]
\
hline
end{tabular}
end{document}
- your table is quit wide, so i use the
answered Oct 15 at 14:19
Zarko
116k865154
116k865154
add a comment |
add a comment |
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%2f455275%2fmatrix-in-a-table%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
(1) welcome, (2) on this site you are much much more likely to get help if you provide a full minimal example, instead of just a sniplet like this. Then others does not have to guess the rest of the document. (3) A caption belongs to floating objects, so you'll need to wrap your tabular in a table environment.
– daleif
Oct 15 at 14:01
note that
textbf
does not affect mathematics sotextbf{$chi_1=1.167$}
is the same as$chi_1=1.167$
perhaps you wantboldmath $chi_1=1.167$
– David Carlisle
Oct 15 at 14:10