Is it possible to make a 9x9 table fit within the default margins?Squeezing scientific paper to fit within page limitsCenter table or tikzpicture horizontally ignoring marginsTable margins and paddingstable too wide and doesn't fit within textwidthIs it possible to automatically stretch a table to fit the remaining space on a page?Adjust table to fit within the pageindentation within the textMake Table of Contents fit in one pageChapter Title not centering within marginsHow do I `center' the text within 1 in margins?
GFCI outlets - can they be repaired? Are they really needed at the end of a circuit?
Forming a German sentence with/without the verb at the end
Is this a hacking script in function.php?
Personal Teleportation: From Rags to Riches
Is it inappropriate for a student to attend their mentor's dissertation defense?
Can I run a new neutral wire to repair a broken circuit?
Which is the best way to check return result?
Detention in 1997
In 'Revenger,' what does 'cove' come from?
What do you call someone who asks many questions?
How much of data wrangling is a data scientist's job?
Plagiarism or not?
Can the Meissner effect explain very large floating structures?
Does the Idaho Potato Commission associate potato skins with healthy eating?
What is the idiomatic way to say "clothing fits"?
What are some good books on Machine Learning and AI like Krugman, Wells and Graddy's "Essentials of Economics"
What killed these X2 caps?
Valid term from quadratic sequence?
Apex Framework / library for consuming REST services
Madden-Julian Oscillation (MJO) - How to interpret the index?
Assassin's bullet with mercury
Why is consensus so controversial in Britain?
How could indestructible materials be used in power generation?
Bullying boss launched a smear campaign and made me unemployable
Is it possible to make a 9x9 table fit within the default margins?
Squeezing scientific paper to fit within page limitsCenter table or tikzpicture horizontally ignoring marginsTable margins and paddingstable too wide and doesn't fit within textwidthIs it possible to automatically stretch a table to fit the remaining space on a page?Adjust table to fit within the pageindentation within the textMake Table of Contents fit in one pageChapter Title not centering within marginsHow do I `center' the text within 1 in margins?
so I have the following code:
beginalign*
setlengthextrarowheight3pt
noindentbegintabularc
+ & $(0,0,0)$ & $(0,0,1)$ & $(0,1,0)$ & $(0,1,1)$ & $(1,0,0)$ & $(1,0,1)$ & $(1,1,0)$ & $(1,1,1)$\
cline1-9
$(0,0,0)$ & $(0,0,0)$ & $(0,0,1)$ & $(0,1,0)$ & $(0,1,1)$ & $(1,0,0)$ & $(1,0,1)$ & $(1,1,0)$ & $(1,1,1)$\
$(0,0,1)$ & $(0,0,1)$ & $(0,0,0)$ & $(0,1,1)$ & $(0,1,0)$ & $(1,0,1)$ & $(1,0,0)$ & $(1,1,1)$ & $(1,1,0)$\
$(0,1,0)$ & $(0,1,0)$ & $(0,1,1)$ & $(0,0,0)$ & $(0,0,1)$ & $(1,1,0)$ & $(1,1,1)$ & $(1,0,0)$ & $(1,0,1)$\
$(0,1,1)$ & $(0,1,1)$ & $(0,1,0)$ & $(0,0,1)$ & $(0,0,0)$ & $(1,1,1)$ & $(1,1,0)$ & $(1,0,1)$ & $(1,0,0)$\
$(1,0,0)$ & $(1,0,0)$ & $(1,0,1)$ & $(1,1,0)$ & $(1,1,1)$ & $(0,0,0)$ & $(0,0,1)$ & $(0,1,0)$ & $(0,1,1)$\
$(1,0,1)$ & $(1,0,1)$ & $(1,0,0)$ & $(1,1,1)$ & $(1,1,0)$ & $(0,0,1)$ & $(0,0,0)$ & $(0,1,1)$ & $(0,1,0)$\
$(1,1,0)$ & $(1,1,0)$ & $(1,1,1)$ & $(1,0,0)$ & $(1,0,1)$ & $(0,1,0)$ & $(0,1,1)$ & $(0,0,0)$ & $(0,0,1)$\
$(1,1,1)$ & $(1,1,1)$ & $(1,1,0)$ & $(1,0,1)$ & $(1,0,0)$ & $(0,1,1)$ & $(0,1,0)$ & $(0,0,1)$ & $(0,0,0)$\
endtabular
endalign*
The character table:
documentclass[11pt, a4paper]report
usepackagebm
usepackageamsfonts, graphicx, verbatim, amsmath,amssymb, amsthm
usepackagecolor
usepackagearray
usepackagesetspace% if you must (for double spacing thesis)
usepackagefancyhdr
usepackageenumitem
usepackagetikz
usepackageparskip
usepackagelipsum
usepackagefloatrow
begindocument
beginalign*
setlengthextrarowheight3pt
noindentbegintabularc
+ & $(0,0,0)$ & $(0,0,1)$ & $(0,1,0)$ & $(0,1,1)$ & $(1,0,0)$ & $(1,0,1)$ & $(1,1,0)$ & $(1,1,1)$\
cline1-9
$chi_(0,0,0)$ & $1$ & $1$ & $1$ & $1$ & $1$ & $1$ & $1$ & $1$\
$chi_(0,0,1)$ & $1$ & $1$ & $1$ & $1$ & $-1$ & $-1$ & $-1$ & $-1$\
$chi_(0,1,0)$ & $1$ & $1$ & $-1$ & $-1$ & $1$ & $1$ & $-1$ & $-1$\
$chi_(0,1,1)$ & $1$ & $1$ & $-1$ & $-1$ & $-1$ & $-1$ & $1$ & $1$\
$chi_(1,0,0)$ & $1$ & $-1$ & $1$ & $-1$ & $1$ & $-1$ & $1$ & $-1$\
$chi_(1,0,1)$ & $1$ & $-1$ & $1$ & $-1$ & $-1$ & $1$ & $-1$ & $1$\
$chi_(1,1,0)$ & $1$ & $-1$ & $-1$ & $1$ & $1$ & $-1$ & $-1$ & $1$\
$chi_(1,1,1)$ & $1$ & $-1$ & $-1$ & $1$ & $-1$ & $1$ & $1$ & $-1$\
endtabular
endalign*
enddocument
Using the default margins, it goes beyond the dimensions of the default margins which doesn't make it consistent with the rest of the document, any fixes?
spacing horizontal-alignment
add a comment |
so I have the following code:
beginalign*
setlengthextrarowheight3pt
noindentbegintabularc
+ & $(0,0,0)$ & $(0,0,1)$ & $(0,1,0)$ & $(0,1,1)$ & $(1,0,0)$ & $(1,0,1)$ & $(1,1,0)$ & $(1,1,1)$\
cline1-9
$(0,0,0)$ & $(0,0,0)$ & $(0,0,1)$ & $(0,1,0)$ & $(0,1,1)$ & $(1,0,0)$ & $(1,0,1)$ & $(1,1,0)$ & $(1,1,1)$\
$(0,0,1)$ & $(0,0,1)$ & $(0,0,0)$ & $(0,1,1)$ & $(0,1,0)$ & $(1,0,1)$ & $(1,0,0)$ & $(1,1,1)$ & $(1,1,0)$\
$(0,1,0)$ & $(0,1,0)$ & $(0,1,1)$ & $(0,0,0)$ & $(0,0,1)$ & $(1,1,0)$ & $(1,1,1)$ & $(1,0,0)$ & $(1,0,1)$\
$(0,1,1)$ & $(0,1,1)$ & $(0,1,0)$ & $(0,0,1)$ & $(0,0,0)$ & $(1,1,1)$ & $(1,1,0)$ & $(1,0,1)$ & $(1,0,0)$\
$(1,0,0)$ & $(1,0,0)$ & $(1,0,1)$ & $(1,1,0)$ & $(1,1,1)$ & $(0,0,0)$ & $(0,0,1)$ & $(0,1,0)$ & $(0,1,1)$\
$(1,0,1)$ & $(1,0,1)$ & $(1,0,0)$ & $(1,1,1)$ & $(1,1,0)$ & $(0,0,1)$ & $(0,0,0)$ & $(0,1,1)$ & $(0,1,0)$\
$(1,1,0)$ & $(1,1,0)$ & $(1,1,1)$ & $(1,0,0)$ & $(1,0,1)$ & $(0,1,0)$ & $(0,1,1)$ & $(0,0,0)$ & $(0,0,1)$\
$(1,1,1)$ & $(1,1,1)$ & $(1,1,0)$ & $(1,0,1)$ & $(1,0,0)$ & $(0,1,1)$ & $(0,1,0)$ & $(0,0,1)$ & $(0,0,0)$\
endtabular
endalign*
The character table:
documentclass[11pt, a4paper]report
usepackagebm
usepackageamsfonts, graphicx, verbatim, amsmath,amssymb, amsthm
usepackagecolor
usepackagearray
usepackagesetspace% if you must (for double spacing thesis)
usepackagefancyhdr
usepackageenumitem
usepackagetikz
usepackageparskip
usepackagelipsum
usepackagefloatrow
begindocument
beginalign*
setlengthextrarowheight3pt
noindentbegintabularc
+ & $(0,0,0)$ & $(0,0,1)$ & $(0,1,0)$ & $(0,1,1)$ & $(1,0,0)$ & $(1,0,1)$ & $(1,1,0)$ & $(1,1,1)$\
cline1-9
$chi_(0,0,0)$ & $1$ & $1$ & $1$ & $1$ & $1$ & $1$ & $1$ & $1$\
$chi_(0,0,1)$ & $1$ & $1$ & $1$ & $1$ & $-1$ & $-1$ & $-1$ & $-1$\
$chi_(0,1,0)$ & $1$ & $1$ & $-1$ & $-1$ & $1$ & $1$ & $-1$ & $-1$\
$chi_(0,1,1)$ & $1$ & $1$ & $-1$ & $-1$ & $-1$ & $-1$ & $1$ & $1$\
$chi_(1,0,0)$ & $1$ & $-1$ & $1$ & $-1$ & $1$ & $-1$ & $1$ & $-1$\
$chi_(1,0,1)$ & $1$ & $-1$ & $1$ & $-1$ & $-1$ & $1$ & $-1$ & $1$\
$chi_(1,1,0)$ & $1$ & $-1$ & $-1$ & $1$ & $1$ & $-1$ & $-1$ & $1$\
$chi_(1,1,1)$ & $1$ & $-1$ & $-1$ & $1$ & $-1$ & $1$ & $1$ & $-1$\
endtabular
endalign*
enddocument
Using the default margins, it goes beyond the dimensions of the default margins which doesn't make it consistent with the rest of the document, any fixes?
spacing horizontal-alignment
add a comment |
so I have the following code:
beginalign*
setlengthextrarowheight3pt
noindentbegintabularc
+ & $(0,0,0)$ & $(0,0,1)$ & $(0,1,0)$ & $(0,1,1)$ & $(1,0,0)$ & $(1,0,1)$ & $(1,1,0)$ & $(1,1,1)$\
cline1-9
$(0,0,0)$ & $(0,0,0)$ & $(0,0,1)$ & $(0,1,0)$ & $(0,1,1)$ & $(1,0,0)$ & $(1,0,1)$ & $(1,1,0)$ & $(1,1,1)$\
$(0,0,1)$ & $(0,0,1)$ & $(0,0,0)$ & $(0,1,1)$ & $(0,1,0)$ & $(1,0,1)$ & $(1,0,0)$ & $(1,1,1)$ & $(1,1,0)$\
$(0,1,0)$ & $(0,1,0)$ & $(0,1,1)$ & $(0,0,0)$ & $(0,0,1)$ & $(1,1,0)$ & $(1,1,1)$ & $(1,0,0)$ & $(1,0,1)$\
$(0,1,1)$ & $(0,1,1)$ & $(0,1,0)$ & $(0,0,1)$ & $(0,0,0)$ & $(1,1,1)$ & $(1,1,0)$ & $(1,0,1)$ & $(1,0,0)$\
$(1,0,0)$ & $(1,0,0)$ & $(1,0,1)$ & $(1,1,0)$ & $(1,1,1)$ & $(0,0,0)$ & $(0,0,1)$ & $(0,1,0)$ & $(0,1,1)$\
$(1,0,1)$ & $(1,0,1)$ & $(1,0,0)$ & $(1,1,1)$ & $(1,1,0)$ & $(0,0,1)$ & $(0,0,0)$ & $(0,1,1)$ & $(0,1,0)$\
$(1,1,0)$ & $(1,1,0)$ & $(1,1,1)$ & $(1,0,0)$ & $(1,0,1)$ & $(0,1,0)$ & $(0,1,1)$ & $(0,0,0)$ & $(0,0,1)$\
$(1,1,1)$ & $(1,1,1)$ & $(1,1,0)$ & $(1,0,1)$ & $(1,0,0)$ & $(0,1,1)$ & $(0,1,0)$ & $(0,0,1)$ & $(0,0,0)$\
endtabular
endalign*
The character table:
documentclass[11pt, a4paper]report
usepackagebm
usepackageamsfonts, graphicx, verbatim, amsmath,amssymb, amsthm
usepackagecolor
usepackagearray
usepackagesetspace% if you must (for double spacing thesis)
usepackagefancyhdr
usepackageenumitem
usepackagetikz
usepackageparskip
usepackagelipsum
usepackagefloatrow
begindocument
beginalign*
setlengthextrarowheight3pt
noindentbegintabularc
+ & $(0,0,0)$ & $(0,0,1)$ & $(0,1,0)$ & $(0,1,1)$ & $(1,0,0)$ & $(1,0,1)$ & $(1,1,0)$ & $(1,1,1)$\
cline1-9
$chi_(0,0,0)$ & $1$ & $1$ & $1$ & $1$ & $1$ & $1$ & $1$ & $1$\
$chi_(0,0,1)$ & $1$ & $1$ & $1$ & $1$ & $-1$ & $-1$ & $-1$ & $-1$\
$chi_(0,1,0)$ & $1$ & $1$ & $-1$ & $-1$ & $1$ & $1$ & $-1$ & $-1$\
$chi_(0,1,1)$ & $1$ & $1$ & $-1$ & $-1$ & $-1$ & $-1$ & $1$ & $1$\
$chi_(1,0,0)$ & $1$ & $-1$ & $1$ & $-1$ & $1$ & $-1$ & $1$ & $-1$\
$chi_(1,0,1)$ & $1$ & $-1$ & $1$ & $-1$ & $-1$ & $1$ & $-1$ & $1$\
$chi_(1,1,0)$ & $1$ & $-1$ & $-1$ & $1$ & $1$ & $-1$ & $-1$ & $1$\
$chi_(1,1,1)$ & $1$ & $-1$ & $-1$ & $1$ & $-1$ & $1$ & $1$ & $-1$\
endtabular
endalign*
enddocument
Using the default margins, it goes beyond the dimensions of the default margins which doesn't make it consistent with the rest of the document, any fixes?
spacing horizontal-alignment
so I have the following code:
beginalign*
setlengthextrarowheight3pt
noindentbegintabularc
+ & $(0,0,0)$ & $(0,0,1)$ & $(0,1,0)$ & $(0,1,1)$ & $(1,0,0)$ & $(1,0,1)$ & $(1,1,0)$ & $(1,1,1)$\
cline1-9
$(0,0,0)$ & $(0,0,0)$ & $(0,0,1)$ & $(0,1,0)$ & $(0,1,1)$ & $(1,0,0)$ & $(1,0,1)$ & $(1,1,0)$ & $(1,1,1)$\
$(0,0,1)$ & $(0,0,1)$ & $(0,0,0)$ & $(0,1,1)$ & $(0,1,0)$ & $(1,0,1)$ & $(1,0,0)$ & $(1,1,1)$ & $(1,1,0)$\
$(0,1,0)$ & $(0,1,0)$ & $(0,1,1)$ & $(0,0,0)$ & $(0,0,1)$ & $(1,1,0)$ & $(1,1,1)$ & $(1,0,0)$ & $(1,0,1)$\
$(0,1,1)$ & $(0,1,1)$ & $(0,1,0)$ & $(0,0,1)$ & $(0,0,0)$ & $(1,1,1)$ & $(1,1,0)$ & $(1,0,1)$ & $(1,0,0)$\
$(1,0,0)$ & $(1,0,0)$ & $(1,0,1)$ & $(1,1,0)$ & $(1,1,1)$ & $(0,0,0)$ & $(0,0,1)$ & $(0,1,0)$ & $(0,1,1)$\
$(1,0,1)$ & $(1,0,1)$ & $(1,0,0)$ & $(1,1,1)$ & $(1,1,0)$ & $(0,0,1)$ & $(0,0,0)$ & $(0,1,1)$ & $(0,1,0)$\
$(1,1,0)$ & $(1,1,0)$ & $(1,1,1)$ & $(1,0,0)$ & $(1,0,1)$ & $(0,1,0)$ & $(0,1,1)$ & $(0,0,0)$ & $(0,0,1)$\
$(1,1,1)$ & $(1,1,1)$ & $(1,1,0)$ & $(1,0,1)$ & $(1,0,0)$ & $(0,1,1)$ & $(0,1,0)$ & $(0,0,1)$ & $(0,0,0)$\
endtabular
endalign*
The character table:
documentclass[11pt, a4paper]report
usepackagebm
usepackageamsfonts, graphicx, verbatim, amsmath,amssymb, amsthm
usepackagecolor
usepackagearray
usepackagesetspace% if you must (for double spacing thesis)
usepackagefancyhdr
usepackageenumitem
usepackagetikz
usepackageparskip
usepackagelipsum
usepackagefloatrow
begindocument
beginalign*
setlengthextrarowheight3pt
noindentbegintabularc
+ & $(0,0,0)$ & $(0,0,1)$ & $(0,1,0)$ & $(0,1,1)$ & $(1,0,0)$ & $(1,0,1)$ & $(1,1,0)$ & $(1,1,1)$\
cline1-9
$chi_(0,0,0)$ & $1$ & $1$ & $1$ & $1$ & $1$ & $1$ & $1$ & $1$\
$chi_(0,0,1)$ & $1$ & $1$ & $1$ & $1$ & $-1$ & $-1$ & $-1$ & $-1$\
$chi_(0,1,0)$ & $1$ & $1$ & $-1$ & $-1$ & $1$ & $1$ & $-1$ & $-1$\
$chi_(0,1,1)$ & $1$ & $1$ & $-1$ & $-1$ & $-1$ & $-1$ & $1$ & $1$\
$chi_(1,0,0)$ & $1$ & $-1$ & $1$ & $-1$ & $1$ & $-1$ & $1$ & $-1$\
$chi_(1,0,1)$ & $1$ & $-1$ & $1$ & $-1$ & $-1$ & $1$ & $-1$ & $1$\
$chi_(1,1,0)$ & $1$ & $-1$ & $-1$ & $1$ & $1$ & $-1$ & $-1$ & $1$\
$chi_(1,1,1)$ & $1$ & $-1$ & $-1$ & $1$ & $-1$ & $1$ & $1$ & $-1$\
endtabular
endalign*
enddocument
Using the default margins, it goes beyond the dimensions of the default margins which doesn't make it consistent with the rest of the document, any fixes?
spacing horizontal-alignment
spacing horizontal-alignment
edited 2 days ago
Mico
285k31388778
285k31388778
asked 2 days ago
MathsMaths
36911
36911
add a comment |
add a comment |
4 Answers
4
active
oldest
votes
I suggest you switch from a tabular to an array environment (letting you get rid of 160 [!] $ math-mode markers, center the columns, and reduce the value of arraycolsep from its default value of 5pt to 3pt.
I would also use phantom- directives to align the positive and negative numbers. Note that since the first data column contains only (positive) numbers, no phantom directives are used in that column.
As the following screenshot shows, the resulting array will be contained within the bounds of the textblock; its edges are marked by the thick black lines.

documentclass[11pt, a4paper]report
usepackagearray,showframe % don't load 'showframe' in real document
begindocument
[ % no need for an 'align*' env.
setlengtharraycolsep3pt % default:5pt
renewcommandarraystretch1.2
beginarray *8c @
+ & (0,0,0) & (0,0,1) & (0,1,0) & (0,1,1) & (1,0,0) & (1,0,1) & (1,1,0) & (1,1,1)\
hline
chi_(0,0,0) &1 & phantom-1 & phantom-1 & phantom-1 & phantom-1 & phantom-1 & phantom-1 & phantom-1 \
chi_(0,0,1) &1 & phantom-1 & phantom-1 & phantom-1 & -1 & -1 & -1 & -1\
chi_(0,1,0) &1 & phantom-1 & -1 & -1 & phantom-1 & phantom-1 & -1 & -1\
chi_(0,1,1) &1 & phantom-1 & -1 & -1 & -1 & -1 & phantom-1 & phantom-1 \
chi_(1,0,0) &1 &-1 & phantom-1 &-1 & phantom-1 &-1 & phantom-1 &-1\
chi_(1,0,1) &1 &-1 & phantom-1 &-1 & -1 & phantom-1 &-1 & phantom-1 \
chi_(1,1,0) &1 &-1 & -1 & phantom-1 & phantom-1 & -1 & -1 & phantom-1 \
chi_(1,1,1) &1 &-1 & -1 & phantom-1 &-1 & phantom-1 & phantom-1 & -1\
endarray
]
enddocument
Addendum to address the OP's follow-up request: The exact same adjustments described above also work for the "first table".

documentclass[11pt, a4paper]report
usepackagearray,showframe % don't load 'showframe' in real document
begindocument
[
setlengtharraycolsep3pt % default:5pt
renewcommandarraystretch1.2
beginarray@c
+ & (0,0,0) & (0,0,1) & (0,1,0) & (0,1,1) & (1,0,0) & (1,0,1) & (1,1,0) & (1,1,1)\
hline
(0,0,0) & (0,0,0) & (0,0,1) & (0,1,0) & (0,1,1) & (1,0,0) & (1,0,1) & (1,1,0) & (1,1,1)\
(0,0,1) & (0,0,1) & (0,0,0) & (0,1,1) & (0,1,0) & (1,0,1) & (1,0,0) & (1,1,1) & (1,1,0)\
(0,1,0) & (0,1,0) & (0,1,1) & (0,0,0) & (0,0,1) & (1,1,0) & (1,1,1) & (1,0,0) & (1,0,1)\
(0,1,1) & (0,1,1) & (0,1,0) & (0,0,1) & (0,0,0) & (1,1,1) & (1,1,0) & (1,0,1) & (1,0,0)\
(1,0,0) & (1,0,0) & (1,0,1) & (1,1,0) & (1,1,1) & (0,0,0) & (0,0,1) & (0,1,0) & (0,1,1)\
(1,0,1) & (1,0,1) & (1,0,0) & (1,1,1) & (1,1,0) & (0,0,1) & (0,0,0) & (0,1,1) & (0,1,0)\
(1,1,0) & (1,1,0) & (1,1,1) & (1,0,0) & (1,0,1) & (0,1,0) & (0,1,1) & (0,0,0) & (0,0,1)\
(1,1,1) & (1,1,1) & (1,1,0) & (1,0,1) & (1,0,0) & (0,1,1) & (0,1,0) & (0,0,1) & (0,0,0)\
endarray
]
enddocument
could you do this with the first table? I like the neatness of this :)
– Maths
2 days ago
@Maths - Please see the addendum I just posted.
– Mico
2 days ago
add a comment |
Let TeX compute the intercolumn spaces.
documentclass[11pt,a4paper]article
usepackagearray
usepackageshowframe % just to see the page margins
begindocument
This is the character table:
[
setlengthextrarowheight1.5pt
setlengthtabcolsep0pt
begintabular*displaywidth
@hspace3pt
>$c<$
@hspace3ptextracolsepfill
+ & (0,0,0) & (0,0,1) & (0,1,0) & (0,1,1) & (1,0,0) & (1,0,1) & (1,1,0) & (1,1,1)\
hline
chi_(0,0,0) & 1 & 1 & 1 & 1 & 1 & 1 & 1 & 1\
chi_(0,0,1) & 1 & 1 & 1 & 1 & -1 & -1 & -1 & -1\
chi_(0,1,0) & 1 & 1 & -1 & -1 & 1 & 1 & -1 & -1\
chi_(0,1,1) & 1 & 1 & -1 & -1 & -1 & -1 & 1 & 1\
chi_(1,0,0) & 1 & -1 & 1 & -1 & 1 & -1 & 1 & -1\
chi_(1,0,1) & 1 & -1 & 1 & -1 & -1 & 1 & -1 & 1\
chi_(1,1,0) & 1 & -1 & -1 & 1 & 1 & -1 & -1 & 1\
chi_(1,1,1) & 1 & -1 & -1 & 1 & -1 & 1 & 1 & -1\
endtabular*
]
enddocument

add a comment |
Reduce the tabcolsep.
documentclass[11pt, a4paper]report
usepackagebm
usepackageamsfonts, graphicx, verbatim, amsmath,amssymb, amsthm
usepackagecolor
usepackagearray
usepackagesetspace% if you must (for double spacing thesis)
usepackagefancyhdr
usepackageenumitem
usepackagetikz
usepackageparskip
usepackagelipsum
usepackagefloatrow
usepackage[pass,showframe]geometry
begindocument
beginalign*
setlengthextrarowheight3pt
tabcolsep=2.5ptrelax
noindentbegintabularc
+ & $(0,0,0)$ & $(0,0,1)$ & $(0,1,0)$ & $(0,1,1)$ & $(1,0,0)$ & $(1,0,1)$ & $(1,1,0)$ & $(1,1,1)$\
cline1-9
$chi_(0,0,0)$ & $1$ & $1$ & $1$ & $1$ & $1$ & $1$ & $1$ & $1$\
$chi_(0,0,1)$ & $1$ & $1$ & $1$ & $1$ & $-1$ & $-1$ & $-1$ & $-1$\
$chi_(0,1,0)$ & $1$ & $1$ & $-1$ & $-1$ & $1$ & $1$ & $-1$ & $-1$\
$chi_(0,1,1)$ & $1$ & $1$ & $-1$ & $-1$ & $-1$ & $-1$ & $1$ & $1$\
$chi_(1,0,0)$ & $1$ & $-1$ & $1$ & $-1$ & $1$ & $-1$ & $1$ & $-1$\
$chi_(1,0,1)$ & $1$ & $-1$ & $1$ & $-1$ & $-1$ & $1$ & $-1$ & $1$\
$chi_(1,1,0)$ & $1$ & $-1$ & $-1$ & $1$ & $1$ & $-1$ & $-1$ & $1$\
$chi_(1,1,1)$ & $1$ & $-1$ & $-1$ & $1$ & $-1$ & $1$ & $1$ & $-1$\
endtabular
endalign*
beginalign*
tabcolsep=2.5ptrelax
setlengthextrarowheight3pt
noindentbegintabularc
+ & $(0,0,0)$ & $(0,0,1)$ & $(0,1,0)$ & $(0,1,1)$ & $(1,0,0)$ & $(1,0,1)$ & $(1,1,0)$ & $(1,1,1)$\
cline1-9
$(0,0,0)$ & $(0,0,0)$ & $(0,0,1)$ & $(0,1,0)$ & $(0,1,1)$ & $(1,0,0)$ & $(1,0,1)$ & $(1,1,0)$ & $(1,1,1)$\
$(0,0,1)$ & $(0,0,1)$ & $(0,0,0)$ & $(0,1,1)$ & $(0,1,0)$ & $(1,0,1)$ & $(1,0,0)$ & $(1,1,1)$ & $(1,1,0)$\
$(0,1,0)$ & $(0,1,0)$ & $(0,1,1)$ & $(0,0,0)$ & $(0,0,1)$ & $(1,1,0)$ & $(1,1,1)$ & $(1,0,0)$ & $(1,0,1)$\
$(0,1,1)$ & $(0,1,1)$ & $(0,1,0)$ & $(0,0,1)$ & $(0,0,0)$ & $(1,1,1)$ & $(1,1,0)$ & $(1,0,1)$ & $(1,0,0)$\
$(1,0,0)$ & $(1,0,0)$ & $(1,0,1)$ & $(1,1,0)$ & $(1,1,1)$ & $(0,0,0)$ & $(0,0,1)$ & $(0,1,0)$ & $(0,1,1)$\
$(1,0,1)$ & $(1,0,1)$ & $(1,0,0)$ & $(1,1,1)$ & $(1,1,0)$ & $(0,0,1)$ & $(0,0,0)$ & $(0,1,1)$ & $(0,1,0)$\
$(1,1,0)$ & $(1,1,0)$ & $(1,1,1)$ & $(1,0,0)$ & $(1,0,1)$ & $(0,1,0)$ & $(0,1,1)$ & $(0,0,0)$ & $(0,0,1)$\
$(1,1,1)$ & $(1,1,1)$ & $(1,1,0)$ & $(1,0,1)$ & $(1,0,0)$ & $(0,1,1)$ & $(0,1,0)$ & $(0,0,1)$ & $(0,0,0)$\
endtabular
endalign*
enddocument

Additionally, one can set the 2nd table in small:
documentclass[11pt, a4paper]report
usepackagebm
usepackageamsfonts, graphicx, verbatim, amsmath,amssymb, amsthm
usepackagecolor
usepackagearray
usepackagesetspace% if you must (for double spacing thesis)
usepackagefancyhdr
usepackageenumitem
usepackagetikz
usepackageparskip
usepackagelipsum
usepackagefloatrow
usepackage[pass,showframe]geometry
begindocument
beginalign*
setlengthextrarowheight3pt
tabcolsep=2.5ptrelax
noindentbegintabularc
+ & $(0,0,0)$ & $(0,0,1)$ & $(0,1,0)$ & $(0,1,1)$ & $(1,0,0)$ & $(1,0,1)$ & $(1,1,0)$ & $(1,1,1)$\
cline1-9
$chi_(0,0,0)$ & $1$ & $1$ & $1$ & $1$ & $1$ & $1$ & $1$ & $1$\
$chi_(0,0,1)$ & $1$ & $1$ & $1$ & $1$ & $-1$ & $-1$ & $-1$ & $-1$\
$chi_(0,1,0)$ & $1$ & $1$ & $-1$ & $-1$ & $1$ & $1$ & $-1$ & $-1$\
$chi_(0,1,1)$ & $1$ & $1$ & $-1$ & $-1$ & $-1$ & $-1$ & $1$ & $1$\
$chi_(1,0,0)$ & $1$ & $-1$ & $1$ & $-1$ & $1$ & $-1$ & $1$ & $-1$\
$chi_(1,0,1)$ & $1$ & $-1$ & $1$ & $-1$ & $-1$ & $1$ & $-1$ & $1$\
$chi_(1,1,0)$ & $1$ & $-1$ & $-1$ & $1$ & $1$ & $-1$ & $-1$ & $1$\
$chi_(1,1,1)$ & $1$ & $-1$ & $-1$ & $1$ & $-1$ & $1$ & $1$ & $-1$\
endtabular
endalign*
small
beginalign*
tabcolsep=3.75ptrelax
setlengthextrarowheight3pt
noindentbegintabularc
+ & $(0,0,0)$ & $(0,0,1)$ & $(0,1,0)$ & $(0,1,1)$ & $(1,0,0)$ & $(1,0,1)$ & $(1,1,0)$ & $(1,1,1)$\
cline1-9
$(0,0,0)$ & $(0,0,0)$ & $(0,0,1)$ & $(0,1,0)$ & $(0,1,1)$ & $(1,0,0)$ & $(1,0,1)$ & $(1,1,0)$ & $(1,1,1)$\
$(0,0,1)$ & $(0,0,1)$ & $(0,0,0)$ & $(0,1,1)$ & $(0,1,0)$ & $(1,0,1)$ & $(1,0,0)$ & $(1,1,1)$ & $(1,1,0)$\
$(0,1,0)$ & $(0,1,0)$ & $(0,1,1)$ & $(0,0,0)$ & $(0,0,1)$ & $(1,1,0)$ & $(1,1,1)$ & $(1,0,0)$ & $(1,0,1)$\
$(0,1,1)$ & $(0,1,1)$ & $(0,1,0)$ & $(0,0,1)$ & $(0,0,0)$ & $(1,1,1)$ & $(1,1,0)$ & $(1,0,1)$ & $(1,0,0)$\
$(1,0,0)$ & $(1,0,0)$ & $(1,0,1)$ & $(1,1,0)$ & $(1,1,1)$ & $(0,0,0)$ & $(0,0,1)$ & $(0,1,0)$ & $(0,1,1)$\
$(1,0,1)$ & $(1,0,1)$ & $(1,0,0)$ & $(1,1,1)$ & $(1,1,0)$ & $(0,0,1)$ & $(0,0,0)$ & $(0,1,1)$ & $(0,1,0)$\
$(1,1,0)$ & $(1,1,0)$ & $(1,1,1)$ & $(1,0,0)$ & $(1,0,1)$ & $(0,1,0)$ & $(0,1,1)$ & $(0,0,0)$ & $(0,0,1)$\
$(1,1,1)$ & $(1,1,1)$ & $(1,1,0)$ & $(1,0,1)$ & $(1,0,0)$ & $(0,1,1)$ & $(0,1,0)$ & $(0,0,1)$ & $(0,0,0)$\
endtabular
endalign*
enddocument

Thanks, can you do something similar for the table above?
– Maths
2 days ago
well its the same additional line, but this makes the first table look very compact
– Maths
2 days ago
@Maths You can set it differently for each table. In the latter case, you might consider setting thetabularin a smaller font size.
– Steven B. Segletes
2 days ago
add a comment |
I would recommend array for that.
documentclass[11pt, a4paper]report
usepackagebm
usepackageamsfonts, graphicx, verbatim, amsmath,amssymb, amsthm
usepackagecolor
usepackagearray
usepackagesetspace% if you must (for double spacing thesis)
usepackagefancyhdr
usepackageenumitem
usepackagetikz
usepackageparskip
usepackagelipsum
usepackagefloatrow
begindocument
[
setlengthextrarowheight3pt
beginarray@c
+ & (0,0,0) & (0,0,1) & (0,1,0) & (0,1,1) & (1,0,0) & (1,0,1) & (1,1,0) & (1,1,1)\
hline
chi_(0,0,0) & 1 & 1 & 1 & 1 & 1 & 1 & 1 & 1\
chi_(0,0,1) & 1 & 1 & 1 & 1 & -1 & -1 & -1 & -1\
chi_(0,1,0) & 1 & 1 & -1 & -1 & 1 & 1 & -1 & -1\
chi_(0,1,1) & 1 & 1 & -1 & -1 & -1 & -1 & 1 & 1\
chi_(1,0,0) & 1 & -1 & 1 & -1 & 1 & -1 & 1 & -1\
chi_(1,0,1) & 1 & -1 & 1 & -1 & -1 & 1 & -1 & 1\
chi_(1,1,0) & 1 & -1 & -1 & 1 & 1 & -1 & -1 & 1\
chi_(1,1,1) & 1 & -1 & -1 & 1 & -1 & 1 & 1 & -1
endarray
]
enddocument

I prefer these two variants:
documentclass[11pt, a4paper]report
usepackagebm
usepackageamsfonts, graphicx, verbatim, amsmath,amssymb, amsthm
usepackagecolor
usepackagearray
usepackagesetspace% if you must (for double spacing thesis)
usepackagefancyhdr
usepackageenumitem
usepackagetikz
usepackageparskip
usepackagelipsum
usepackagefloatrow
begindocument
[
setlengthextrarowheight3pt
beginarray@c
+ & (0,0,0) & (0,0,1) & (0,1,0) & (0,1,1) & (1,0,0) & (1,0,1) & (1,1,0) & (1,1,1)\
hline
chi_(0,0,0) & +1 & +1 & +1 & +1 & +1 & +1 & +1 & +1\
chi_(0,0,1) & +1 & +1 & +1 & +1 & -1 & -1 & -1 & -1\
chi_(0,1,0) & +1 & +1 & -1 & -1 & +1 & +1 & -1 & -1\
chi_(0,1,1) & +1 & +1 & -1 & -1 & -1 & -1 & +1 & +1\
chi_(1,0,0) & +1 & -1 & +1 & -1 & +1 & -1 & +1 & -1\
chi_(1,0,1) & +1 & -1 & +1 & -1 & -1 & +1 & -1 & +1\
chi_(1,1,0) & +1 & -1 & -1 & +1 & +1 & -1 & -1 & +1\
chi_(1,1,1) & +1 & -1 & -1 & +1 & -1 & +1 & +1 & -1
endarray
]
enddocument

documentclass[11pt, a4paper]report
usepackagebm
usepackageamsfonts, graphicx, verbatim, amsmath,amssymb, amsthm
usepackagecolor
usepackagearray
usepackagesetspace% if you must (for double spacing thesis)
usepackagefancyhdr
usepackageenumitem
usepackagetikz
usepackageparskip
usepackagelipsum
usepackagefloatrow
begindocument
[
setlengthextrarowheight3pt
beginarray@c
+ & (0,0,0) & (0,0,1) & (0,1,0) & (0,1,1) & (1,0,0) & (1,0,1) & (1,1,0) & (1,1,1)\
hline
chi_(0,0,0) & 1 & phantom-1 & phantom-1 & phantom-1 & phantom-1 & phantom-1 & phantom-1 & phantom-1\
chi_(0,0,1) & 1 & phantom-1 & phantom-1 & phantom-1 & -1 & -1 & -1 & -1\
chi_(0,1,0) & 1 & phantom-1 & -1 & -1 & phantom-1 & phantom-1 & -1 & -1\
chi_(0,1,1) & 1 & phantom-1 & -1 & -1 & -1 & -1 & phantom-1 & phantom-1\
chi_(1,0,0) & 1 & -1 & phantom-1 & -1 & phantom-1 & -1 & phantom-1 & -1\
chi_(1,0,1) & 1 & -1 & phantom-1 & -1 & -1 & phantom-1 & -1 & phantom-1\
chi_(1,1,0) & 1 & -1 & -1 & phantom-1 & phantom-1 & -1 & -1 & phantom-1\
chi_(1,1,1) & 1 & -1 & -1 & phantom-1 & -1 & phantom-1 & phantom-1 & -1
endarray
]
enddocument

But will this be within the default margins? as that's my issue
– Maths
2 days ago
@Maths Of course yes - I did some settings to make sure thatOverfull hboxdoesn't happen.
– JouleV
2 days ago
all solutions provided here are of good quality hence the +1 for all. however for the first table, as mentioned in the above answer, using the technique from the first solution makes everything compact, any ideas to make it 'free'?
– Maths
2 days ago
@Maths What do you mean by "free"? Automatic resize if margin exceeded?
– JouleV
2 days ago
1
@Mico Oh yes. Actually I used "Find and Replace" in my editor, so I did not take note of that. Thanks!
– JouleV
2 days ago
|
show 3 more comments
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%2f482599%2fis-it-possible-to-make-a-9x9-table-fit-within-the-default-margins%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
4 Answers
4
active
oldest
votes
4 Answers
4
active
oldest
votes
active
oldest
votes
active
oldest
votes
I suggest you switch from a tabular to an array environment (letting you get rid of 160 [!] $ math-mode markers, center the columns, and reduce the value of arraycolsep from its default value of 5pt to 3pt.
I would also use phantom- directives to align the positive and negative numbers. Note that since the first data column contains only (positive) numbers, no phantom directives are used in that column.
As the following screenshot shows, the resulting array will be contained within the bounds of the textblock; its edges are marked by the thick black lines.

documentclass[11pt, a4paper]report
usepackagearray,showframe % don't load 'showframe' in real document
begindocument
[ % no need for an 'align*' env.
setlengtharraycolsep3pt % default:5pt
renewcommandarraystretch1.2
beginarray *8c @
+ & (0,0,0) & (0,0,1) & (0,1,0) & (0,1,1) & (1,0,0) & (1,0,1) & (1,1,0) & (1,1,1)\
hline
chi_(0,0,0) &1 & phantom-1 & phantom-1 & phantom-1 & phantom-1 & phantom-1 & phantom-1 & phantom-1 \
chi_(0,0,1) &1 & phantom-1 & phantom-1 & phantom-1 & -1 & -1 & -1 & -1\
chi_(0,1,0) &1 & phantom-1 & -1 & -1 & phantom-1 & phantom-1 & -1 & -1\
chi_(0,1,1) &1 & phantom-1 & -1 & -1 & -1 & -1 & phantom-1 & phantom-1 \
chi_(1,0,0) &1 &-1 & phantom-1 &-1 & phantom-1 &-1 & phantom-1 &-1\
chi_(1,0,1) &1 &-1 & phantom-1 &-1 & -1 & phantom-1 &-1 & phantom-1 \
chi_(1,1,0) &1 &-1 & -1 & phantom-1 & phantom-1 & -1 & -1 & phantom-1 \
chi_(1,1,1) &1 &-1 & -1 & phantom-1 &-1 & phantom-1 & phantom-1 & -1\
endarray
]
enddocument
Addendum to address the OP's follow-up request: The exact same adjustments described above also work for the "first table".

documentclass[11pt, a4paper]report
usepackagearray,showframe % don't load 'showframe' in real document
begindocument
[
setlengtharraycolsep3pt % default:5pt
renewcommandarraystretch1.2
beginarray@c
+ & (0,0,0) & (0,0,1) & (0,1,0) & (0,1,1) & (1,0,0) & (1,0,1) & (1,1,0) & (1,1,1)\
hline
(0,0,0) & (0,0,0) & (0,0,1) & (0,1,0) & (0,1,1) & (1,0,0) & (1,0,1) & (1,1,0) & (1,1,1)\
(0,0,1) & (0,0,1) & (0,0,0) & (0,1,1) & (0,1,0) & (1,0,1) & (1,0,0) & (1,1,1) & (1,1,0)\
(0,1,0) & (0,1,0) & (0,1,1) & (0,0,0) & (0,0,1) & (1,1,0) & (1,1,1) & (1,0,0) & (1,0,1)\
(0,1,1) & (0,1,1) & (0,1,0) & (0,0,1) & (0,0,0) & (1,1,1) & (1,1,0) & (1,0,1) & (1,0,0)\
(1,0,0) & (1,0,0) & (1,0,1) & (1,1,0) & (1,1,1) & (0,0,0) & (0,0,1) & (0,1,0) & (0,1,1)\
(1,0,1) & (1,0,1) & (1,0,0) & (1,1,1) & (1,1,0) & (0,0,1) & (0,0,0) & (0,1,1) & (0,1,0)\
(1,1,0) & (1,1,0) & (1,1,1) & (1,0,0) & (1,0,1) & (0,1,0) & (0,1,1) & (0,0,0) & (0,0,1)\
(1,1,1) & (1,1,1) & (1,1,0) & (1,0,1) & (1,0,0) & (0,1,1) & (0,1,0) & (0,0,1) & (0,0,0)\
endarray
]
enddocument
could you do this with the first table? I like the neatness of this :)
– Maths
2 days ago
@Maths - Please see the addendum I just posted.
– Mico
2 days ago
add a comment |
I suggest you switch from a tabular to an array environment (letting you get rid of 160 [!] $ math-mode markers, center the columns, and reduce the value of arraycolsep from its default value of 5pt to 3pt.
I would also use phantom- directives to align the positive and negative numbers. Note that since the first data column contains only (positive) numbers, no phantom directives are used in that column.
As the following screenshot shows, the resulting array will be contained within the bounds of the textblock; its edges are marked by the thick black lines.

documentclass[11pt, a4paper]report
usepackagearray,showframe % don't load 'showframe' in real document
begindocument
[ % no need for an 'align*' env.
setlengtharraycolsep3pt % default:5pt
renewcommandarraystretch1.2
beginarray *8c @
+ & (0,0,0) & (0,0,1) & (0,1,0) & (0,1,1) & (1,0,0) & (1,0,1) & (1,1,0) & (1,1,1)\
hline
chi_(0,0,0) &1 & phantom-1 & phantom-1 & phantom-1 & phantom-1 & phantom-1 & phantom-1 & phantom-1 \
chi_(0,0,1) &1 & phantom-1 & phantom-1 & phantom-1 & -1 & -1 & -1 & -1\
chi_(0,1,0) &1 & phantom-1 & -1 & -1 & phantom-1 & phantom-1 & -1 & -1\
chi_(0,1,1) &1 & phantom-1 & -1 & -1 & -1 & -1 & phantom-1 & phantom-1 \
chi_(1,0,0) &1 &-1 & phantom-1 &-1 & phantom-1 &-1 & phantom-1 &-1\
chi_(1,0,1) &1 &-1 & phantom-1 &-1 & -1 & phantom-1 &-1 & phantom-1 \
chi_(1,1,0) &1 &-1 & -1 & phantom-1 & phantom-1 & -1 & -1 & phantom-1 \
chi_(1,1,1) &1 &-1 & -1 & phantom-1 &-1 & phantom-1 & phantom-1 & -1\
endarray
]
enddocument
Addendum to address the OP's follow-up request: The exact same adjustments described above also work for the "first table".

documentclass[11pt, a4paper]report
usepackagearray,showframe % don't load 'showframe' in real document
begindocument
[
setlengtharraycolsep3pt % default:5pt
renewcommandarraystretch1.2
beginarray@c
+ & (0,0,0) & (0,0,1) & (0,1,0) & (0,1,1) & (1,0,0) & (1,0,1) & (1,1,0) & (1,1,1)\
hline
(0,0,0) & (0,0,0) & (0,0,1) & (0,1,0) & (0,1,1) & (1,0,0) & (1,0,1) & (1,1,0) & (1,1,1)\
(0,0,1) & (0,0,1) & (0,0,0) & (0,1,1) & (0,1,0) & (1,0,1) & (1,0,0) & (1,1,1) & (1,1,0)\
(0,1,0) & (0,1,0) & (0,1,1) & (0,0,0) & (0,0,1) & (1,1,0) & (1,1,1) & (1,0,0) & (1,0,1)\
(0,1,1) & (0,1,1) & (0,1,0) & (0,0,1) & (0,0,0) & (1,1,1) & (1,1,0) & (1,0,1) & (1,0,0)\
(1,0,0) & (1,0,0) & (1,0,1) & (1,1,0) & (1,1,1) & (0,0,0) & (0,0,1) & (0,1,0) & (0,1,1)\
(1,0,1) & (1,0,1) & (1,0,0) & (1,1,1) & (1,1,0) & (0,0,1) & (0,0,0) & (0,1,1) & (0,1,0)\
(1,1,0) & (1,1,0) & (1,1,1) & (1,0,0) & (1,0,1) & (0,1,0) & (0,1,1) & (0,0,0) & (0,0,1)\
(1,1,1) & (1,1,1) & (1,1,0) & (1,0,1) & (1,0,0) & (0,1,1) & (0,1,0) & (0,0,1) & (0,0,0)\
endarray
]
enddocument
could you do this with the first table? I like the neatness of this :)
– Maths
2 days ago
@Maths - Please see the addendum I just posted.
– Mico
2 days ago
add a comment |
I suggest you switch from a tabular to an array environment (letting you get rid of 160 [!] $ math-mode markers, center the columns, and reduce the value of arraycolsep from its default value of 5pt to 3pt.
I would also use phantom- directives to align the positive and negative numbers. Note that since the first data column contains only (positive) numbers, no phantom directives are used in that column.
As the following screenshot shows, the resulting array will be contained within the bounds of the textblock; its edges are marked by the thick black lines.

documentclass[11pt, a4paper]report
usepackagearray,showframe % don't load 'showframe' in real document
begindocument
[ % no need for an 'align*' env.
setlengtharraycolsep3pt % default:5pt
renewcommandarraystretch1.2
beginarray *8c @
+ & (0,0,0) & (0,0,1) & (0,1,0) & (0,1,1) & (1,0,0) & (1,0,1) & (1,1,0) & (1,1,1)\
hline
chi_(0,0,0) &1 & phantom-1 & phantom-1 & phantom-1 & phantom-1 & phantom-1 & phantom-1 & phantom-1 \
chi_(0,0,1) &1 & phantom-1 & phantom-1 & phantom-1 & -1 & -1 & -1 & -1\
chi_(0,1,0) &1 & phantom-1 & -1 & -1 & phantom-1 & phantom-1 & -1 & -1\
chi_(0,1,1) &1 & phantom-1 & -1 & -1 & -1 & -1 & phantom-1 & phantom-1 \
chi_(1,0,0) &1 &-1 & phantom-1 &-1 & phantom-1 &-1 & phantom-1 &-1\
chi_(1,0,1) &1 &-1 & phantom-1 &-1 & -1 & phantom-1 &-1 & phantom-1 \
chi_(1,1,0) &1 &-1 & -1 & phantom-1 & phantom-1 & -1 & -1 & phantom-1 \
chi_(1,1,1) &1 &-1 & -1 & phantom-1 &-1 & phantom-1 & phantom-1 & -1\
endarray
]
enddocument
Addendum to address the OP's follow-up request: The exact same adjustments described above also work for the "first table".

documentclass[11pt, a4paper]report
usepackagearray,showframe % don't load 'showframe' in real document
begindocument
[
setlengtharraycolsep3pt % default:5pt
renewcommandarraystretch1.2
beginarray@c
+ & (0,0,0) & (0,0,1) & (0,1,0) & (0,1,1) & (1,0,0) & (1,0,1) & (1,1,0) & (1,1,1)\
hline
(0,0,0) & (0,0,0) & (0,0,1) & (0,1,0) & (0,1,1) & (1,0,0) & (1,0,1) & (1,1,0) & (1,1,1)\
(0,0,1) & (0,0,1) & (0,0,0) & (0,1,1) & (0,1,0) & (1,0,1) & (1,0,0) & (1,1,1) & (1,1,0)\
(0,1,0) & (0,1,0) & (0,1,1) & (0,0,0) & (0,0,1) & (1,1,0) & (1,1,1) & (1,0,0) & (1,0,1)\
(0,1,1) & (0,1,1) & (0,1,0) & (0,0,1) & (0,0,0) & (1,1,1) & (1,1,0) & (1,0,1) & (1,0,0)\
(1,0,0) & (1,0,0) & (1,0,1) & (1,1,0) & (1,1,1) & (0,0,0) & (0,0,1) & (0,1,0) & (0,1,1)\
(1,0,1) & (1,0,1) & (1,0,0) & (1,1,1) & (1,1,0) & (0,0,1) & (0,0,0) & (0,1,1) & (0,1,0)\
(1,1,0) & (1,1,0) & (1,1,1) & (1,0,0) & (1,0,1) & (0,1,0) & (0,1,1) & (0,0,0) & (0,0,1)\
(1,1,1) & (1,1,1) & (1,1,0) & (1,0,1) & (1,0,0) & (0,1,1) & (0,1,0) & (0,0,1) & (0,0,0)\
endarray
]
enddocument
I suggest you switch from a tabular to an array environment (letting you get rid of 160 [!] $ math-mode markers, center the columns, and reduce the value of arraycolsep from its default value of 5pt to 3pt.
I would also use phantom- directives to align the positive and negative numbers. Note that since the first data column contains only (positive) numbers, no phantom directives are used in that column.
As the following screenshot shows, the resulting array will be contained within the bounds of the textblock; its edges are marked by the thick black lines.

documentclass[11pt, a4paper]report
usepackagearray,showframe % don't load 'showframe' in real document
begindocument
[ % no need for an 'align*' env.
setlengtharraycolsep3pt % default:5pt
renewcommandarraystretch1.2
beginarray *8c @
+ & (0,0,0) & (0,0,1) & (0,1,0) & (0,1,1) & (1,0,0) & (1,0,1) & (1,1,0) & (1,1,1)\
hline
chi_(0,0,0) &1 & phantom-1 & phantom-1 & phantom-1 & phantom-1 & phantom-1 & phantom-1 & phantom-1 \
chi_(0,0,1) &1 & phantom-1 & phantom-1 & phantom-1 & -1 & -1 & -1 & -1\
chi_(0,1,0) &1 & phantom-1 & -1 & -1 & phantom-1 & phantom-1 & -1 & -1\
chi_(0,1,1) &1 & phantom-1 & -1 & -1 & -1 & -1 & phantom-1 & phantom-1 \
chi_(1,0,0) &1 &-1 & phantom-1 &-1 & phantom-1 &-1 & phantom-1 &-1\
chi_(1,0,1) &1 &-1 & phantom-1 &-1 & -1 & phantom-1 &-1 & phantom-1 \
chi_(1,1,0) &1 &-1 & -1 & phantom-1 & phantom-1 & -1 & -1 & phantom-1 \
chi_(1,1,1) &1 &-1 & -1 & phantom-1 &-1 & phantom-1 & phantom-1 & -1\
endarray
]
enddocument
Addendum to address the OP's follow-up request: The exact same adjustments described above also work for the "first table".

documentclass[11pt, a4paper]report
usepackagearray,showframe % don't load 'showframe' in real document
begindocument
[
setlengtharraycolsep3pt % default:5pt
renewcommandarraystretch1.2
beginarray@c
+ & (0,0,0) & (0,0,1) & (0,1,0) & (0,1,1) & (1,0,0) & (1,0,1) & (1,1,0) & (1,1,1)\
hline
(0,0,0) & (0,0,0) & (0,0,1) & (0,1,0) & (0,1,1) & (1,0,0) & (1,0,1) & (1,1,0) & (1,1,1)\
(0,0,1) & (0,0,1) & (0,0,0) & (0,1,1) & (0,1,0) & (1,0,1) & (1,0,0) & (1,1,1) & (1,1,0)\
(0,1,0) & (0,1,0) & (0,1,1) & (0,0,0) & (0,0,1) & (1,1,0) & (1,1,1) & (1,0,0) & (1,0,1)\
(0,1,1) & (0,1,1) & (0,1,0) & (0,0,1) & (0,0,0) & (1,1,1) & (1,1,0) & (1,0,1) & (1,0,0)\
(1,0,0) & (1,0,0) & (1,0,1) & (1,1,0) & (1,1,1) & (0,0,0) & (0,0,1) & (0,1,0) & (0,1,1)\
(1,0,1) & (1,0,1) & (1,0,0) & (1,1,1) & (1,1,0) & (0,0,1) & (0,0,0) & (0,1,1) & (0,1,0)\
(1,1,0) & (1,1,0) & (1,1,1) & (1,0,0) & (1,0,1) & (0,1,0) & (0,1,1) & (0,0,0) & (0,0,1)\
(1,1,1) & (1,1,1) & (1,1,0) & (1,0,1) & (1,0,0) & (0,1,1) & (0,1,0) & (0,0,1) & (0,0,0)\
endarray
]
enddocument
edited 2 days ago
answered 2 days ago
MicoMico
285k31388778
285k31388778
could you do this with the first table? I like the neatness of this :)
– Maths
2 days ago
@Maths - Please see the addendum I just posted.
– Mico
2 days ago
add a comment |
could you do this with the first table? I like the neatness of this :)
– Maths
2 days ago
@Maths - Please see the addendum I just posted.
– Mico
2 days ago
could you do this with the first table? I like the neatness of this :)
– Maths
2 days ago
could you do this with the first table? I like the neatness of this :)
– Maths
2 days ago
@Maths - Please see the addendum I just posted.
– Mico
2 days ago
@Maths - Please see the addendum I just posted.
– Mico
2 days ago
add a comment |
Let TeX compute the intercolumn spaces.
documentclass[11pt,a4paper]article
usepackagearray
usepackageshowframe % just to see the page margins
begindocument
This is the character table:
[
setlengthextrarowheight1.5pt
setlengthtabcolsep0pt
begintabular*displaywidth
@hspace3pt
>$c<$
@hspace3ptextracolsepfill
+ & (0,0,0) & (0,0,1) & (0,1,0) & (0,1,1) & (1,0,0) & (1,0,1) & (1,1,0) & (1,1,1)\
hline
chi_(0,0,0) & 1 & 1 & 1 & 1 & 1 & 1 & 1 & 1\
chi_(0,0,1) & 1 & 1 & 1 & 1 & -1 & -1 & -1 & -1\
chi_(0,1,0) & 1 & 1 & -1 & -1 & 1 & 1 & -1 & -1\
chi_(0,1,1) & 1 & 1 & -1 & -1 & -1 & -1 & 1 & 1\
chi_(1,0,0) & 1 & -1 & 1 & -1 & 1 & -1 & 1 & -1\
chi_(1,0,1) & 1 & -1 & 1 & -1 & -1 & 1 & -1 & 1\
chi_(1,1,0) & 1 & -1 & -1 & 1 & 1 & -1 & -1 & 1\
chi_(1,1,1) & 1 & -1 & -1 & 1 & -1 & 1 & 1 & -1\
endtabular*
]
enddocument

add a comment |
Let TeX compute the intercolumn spaces.
documentclass[11pt,a4paper]article
usepackagearray
usepackageshowframe % just to see the page margins
begindocument
This is the character table:
[
setlengthextrarowheight1.5pt
setlengthtabcolsep0pt
begintabular*displaywidth
@hspace3pt
>$c<$
@hspace3ptextracolsepfill
+ & (0,0,0) & (0,0,1) & (0,1,0) & (0,1,1) & (1,0,0) & (1,0,1) & (1,1,0) & (1,1,1)\
hline
chi_(0,0,0) & 1 & 1 & 1 & 1 & 1 & 1 & 1 & 1\
chi_(0,0,1) & 1 & 1 & 1 & 1 & -1 & -1 & -1 & -1\
chi_(0,1,0) & 1 & 1 & -1 & -1 & 1 & 1 & -1 & -1\
chi_(0,1,1) & 1 & 1 & -1 & -1 & -1 & -1 & 1 & 1\
chi_(1,0,0) & 1 & -1 & 1 & -1 & 1 & -1 & 1 & -1\
chi_(1,0,1) & 1 & -1 & 1 & -1 & -1 & 1 & -1 & 1\
chi_(1,1,0) & 1 & -1 & -1 & 1 & 1 & -1 & -1 & 1\
chi_(1,1,1) & 1 & -1 & -1 & 1 & -1 & 1 & 1 & -1\
endtabular*
]
enddocument

add a comment |
Let TeX compute the intercolumn spaces.
documentclass[11pt,a4paper]article
usepackagearray
usepackageshowframe % just to see the page margins
begindocument
This is the character table:
[
setlengthextrarowheight1.5pt
setlengthtabcolsep0pt
begintabular*displaywidth
@hspace3pt
>$c<$
@hspace3ptextracolsepfill
+ & (0,0,0) & (0,0,1) & (0,1,0) & (0,1,1) & (1,0,0) & (1,0,1) & (1,1,0) & (1,1,1)\
hline
chi_(0,0,0) & 1 & 1 & 1 & 1 & 1 & 1 & 1 & 1\
chi_(0,0,1) & 1 & 1 & 1 & 1 & -1 & -1 & -1 & -1\
chi_(0,1,0) & 1 & 1 & -1 & -1 & 1 & 1 & -1 & -1\
chi_(0,1,1) & 1 & 1 & -1 & -1 & -1 & -1 & 1 & 1\
chi_(1,0,0) & 1 & -1 & 1 & -1 & 1 & -1 & 1 & -1\
chi_(1,0,1) & 1 & -1 & 1 & -1 & -1 & 1 & -1 & 1\
chi_(1,1,0) & 1 & -1 & -1 & 1 & 1 & -1 & -1 & 1\
chi_(1,1,1) & 1 & -1 & -1 & 1 & -1 & 1 & 1 & -1\
endtabular*
]
enddocument

Let TeX compute the intercolumn spaces.
documentclass[11pt,a4paper]article
usepackagearray
usepackageshowframe % just to see the page margins
begindocument
This is the character table:
[
setlengthextrarowheight1.5pt
setlengthtabcolsep0pt
begintabular*displaywidth
@hspace3pt
>$c<$
@hspace3ptextracolsepfill
+ & (0,0,0) & (0,0,1) & (0,1,0) & (0,1,1) & (1,0,0) & (1,0,1) & (1,1,0) & (1,1,1)\
hline
chi_(0,0,0) & 1 & 1 & 1 & 1 & 1 & 1 & 1 & 1\
chi_(0,0,1) & 1 & 1 & 1 & 1 & -1 & -1 & -1 & -1\
chi_(0,1,0) & 1 & 1 & -1 & -1 & 1 & 1 & -1 & -1\
chi_(0,1,1) & 1 & 1 & -1 & -1 & -1 & -1 & 1 & 1\
chi_(1,0,0) & 1 & -1 & 1 & -1 & 1 & -1 & 1 & -1\
chi_(1,0,1) & 1 & -1 & 1 & -1 & -1 & 1 & -1 & 1\
chi_(1,1,0) & 1 & -1 & -1 & 1 & 1 & -1 & -1 & 1\
chi_(1,1,1) & 1 & -1 & -1 & 1 & -1 & 1 & 1 & -1\
endtabular*
]
enddocument

answered 2 days ago
egregegreg
731k8919303250
731k8919303250
add a comment |
add a comment |
Reduce the tabcolsep.
documentclass[11pt, a4paper]report
usepackagebm
usepackageamsfonts, graphicx, verbatim, amsmath,amssymb, amsthm
usepackagecolor
usepackagearray
usepackagesetspace% if you must (for double spacing thesis)
usepackagefancyhdr
usepackageenumitem
usepackagetikz
usepackageparskip
usepackagelipsum
usepackagefloatrow
usepackage[pass,showframe]geometry
begindocument
beginalign*
setlengthextrarowheight3pt
tabcolsep=2.5ptrelax
noindentbegintabularc
+ & $(0,0,0)$ & $(0,0,1)$ & $(0,1,0)$ & $(0,1,1)$ & $(1,0,0)$ & $(1,0,1)$ & $(1,1,0)$ & $(1,1,1)$\
cline1-9
$chi_(0,0,0)$ & $1$ & $1$ & $1$ & $1$ & $1$ & $1$ & $1$ & $1$\
$chi_(0,0,1)$ & $1$ & $1$ & $1$ & $1$ & $-1$ & $-1$ & $-1$ & $-1$\
$chi_(0,1,0)$ & $1$ & $1$ & $-1$ & $-1$ & $1$ & $1$ & $-1$ & $-1$\
$chi_(0,1,1)$ & $1$ & $1$ & $-1$ & $-1$ & $-1$ & $-1$ & $1$ & $1$\
$chi_(1,0,0)$ & $1$ & $-1$ & $1$ & $-1$ & $1$ & $-1$ & $1$ & $-1$\
$chi_(1,0,1)$ & $1$ & $-1$ & $1$ & $-1$ & $-1$ & $1$ & $-1$ & $1$\
$chi_(1,1,0)$ & $1$ & $-1$ & $-1$ & $1$ & $1$ & $-1$ & $-1$ & $1$\
$chi_(1,1,1)$ & $1$ & $-1$ & $-1$ & $1$ & $-1$ & $1$ & $1$ & $-1$\
endtabular
endalign*
beginalign*
tabcolsep=2.5ptrelax
setlengthextrarowheight3pt
noindentbegintabularc
+ & $(0,0,0)$ & $(0,0,1)$ & $(0,1,0)$ & $(0,1,1)$ & $(1,0,0)$ & $(1,0,1)$ & $(1,1,0)$ & $(1,1,1)$\
cline1-9
$(0,0,0)$ & $(0,0,0)$ & $(0,0,1)$ & $(0,1,0)$ & $(0,1,1)$ & $(1,0,0)$ & $(1,0,1)$ & $(1,1,0)$ & $(1,1,1)$\
$(0,0,1)$ & $(0,0,1)$ & $(0,0,0)$ & $(0,1,1)$ & $(0,1,0)$ & $(1,0,1)$ & $(1,0,0)$ & $(1,1,1)$ & $(1,1,0)$\
$(0,1,0)$ & $(0,1,0)$ & $(0,1,1)$ & $(0,0,0)$ & $(0,0,1)$ & $(1,1,0)$ & $(1,1,1)$ & $(1,0,0)$ & $(1,0,1)$\
$(0,1,1)$ & $(0,1,1)$ & $(0,1,0)$ & $(0,0,1)$ & $(0,0,0)$ & $(1,1,1)$ & $(1,1,0)$ & $(1,0,1)$ & $(1,0,0)$\
$(1,0,0)$ & $(1,0,0)$ & $(1,0,1)$ & $(1,1,0)$ & $(1,1,1)$ & $(0,0,0)$ & $(0,0,1)$ & $(0,1,0)$ & $(0,1,1)$\
$(1,0,1)$ & $(1,0,1)$ & $(1,0,0)$ & $(1,1,1)$ & $(1,1,0)$ & $(0,0,1)$ & $(0,0,0)$ & $(0,1,1)$ & $(0,1,0)$\
$(1,1,0)$ & $(1,1,0)$ & $(1,1,1)$ & $(1,0,0)$ & $(1,0,1)$ & $(0,1,0)$ & $(0,1,1)$ & $(0,0,0)$ & $(0,0,1)$\
$(1,1,1)$ & $(1,1,1)$ & $(1,1,0)$ & $(1,0,1)$ & $(1,0,0)$ & $(0,1,1)$ & $(0,1,0)$ & $(0,0,1)$ & $(0,0,0)$\
endtabular
endalign*
enddocument

Additionally, one can set the 2nd table in small:
documentclass[11pt, a4paper]report
usepackagebm
usepackageamsfonts, graphicx, verbatim, amsmath,amssymb, amsthm
usepackagecolor
usepackagearray
usepackagesetspace% if you must (for double spacing thesis)
usepackagefancyhdr
usepackageenumitem
usepackagetikz
usepackageparskip
usepackagelipsum
usepackagefloatrow
usepackage[pass,showframe]geometry
begindocument
beginalign*
setlengthextrarowheight3pt
tabcolsep=2.5ptrelax
noindentbegintabularc
+ & $(0,0,0)$ & $(0,0,1)$ & $(0,1,0)$ & $(0,1,1)$ & $(1,0,0)$ & $(1,0,1)$ & $(1,1,0)$ & $(1,1,1)$\
cline1-9
$chi_(0,0,0)$ & $1$ & $1$ & $1$ & $1$ & $1$ & $1$ & $1$ & $1$\
$chi_(0,0,1)$ & $1$ & $1$ & $1$ & $1$ & $-1$ & $-1$ & $-1$ & $-1$\
$chi_(0,1,0)$ & $1$ & $1$ & $-1$ & $-1$ & $1$ & $1$ & $-1$ & $-1$\
$chi_(0,1,1)$ & $1$ & $1$ & $-1$ & $-1$ & $-1$ & $-1$ & $1$ & $1$\
$chi_(1,0,0)$ & $1$ & $-1$ & $1$ & $-1$ & $1$ & $-1$ & $1$ & $-1$\
$chi_(1,0,1)$ & $1$ & $-1$ & $1$ & $-1$ & $-1$ & $1$ & $-1$ & $1$\
$chi_(1,1,0)$ & $1$ & $-1$ & $-1$ & $1$ & $1$ & $-1$ & $-1$ & $1$\
$chi_(1,1,1)$ & $1$ & $-1$ & $-1$ & $1$ & $-1$ & $1$ & $1$ & $-1$\
endtabular
endalign*
small
beginalign*
tabcolsep=3.75ptrelax
setlengthextrarowheight3pt
noindentbegintabularc
+ & $(0,0,0)$ & $(0,0,1)$ & $(0,1,0)$ & $(0,1,1)$ & $(1,0,0)$ & $(1,0,1)$ & $(1,1,0)$ & $(1,1,1)$\
cline1-9
$(0,0,0)$ & $(0,0,0)$ & $(0,0,1)$ & $(0,1,0)$ & $(0,1,1)$ & $(1,0,0)$ & $(1,0,1)$ & $(1,1,0)$ & $(1,1,1)$\
$(0,0,1)$ & $(0,0,1)$ & $(0,0,0)$ & $(0,1,1)$ & $(0,1,0)$ & $(1,0,1)$ & $(1,0,0)$ & $(1,1,1)$ & $(1,1,0)$\
$(0,1,0)$ & $(0,1,0)$ & $(0,1,1)$ & $(0,0,0)$ & $(0,0,1)$ & $(1,1,0)$ & $(1,1,1)$ & $(1,0,0)$ & $(1,0,1)$\
$(0,1,1)$ & $(0,1,1)$ & $(0,1,0)$ & $(0,0,1)$ & $(0,0,0)$ & $(1,1,1)$ & $(1,1,0)$ & $(1,0,1)$ & $(1,0,0)$\
$(1,0,0)$ & $(1,0,0)$ & $(1,0,1)$ & $(1,1,0)$ & $(1,1,1)$ & $(0,0,0)$ & $(0,0,1)$ & $(0,1,0)$ & $(0,1,1)$\
$(1,0,1)$ & $(1,0,1)$ & $(1,0,0)$ & $(1,1,1)$ & $(1,1,0)$ & $(0,0,1)$ & $(0,0,0)$ & $(0,1,1)$ & $(0,1,0)$\
$(1,1,0)$ & $(1,1,0)$ & $(1,1,1)$ & $(1,0,0)$ & $(1,0,1)$ & $(0,1,0)$ & $(0,1,1)$ & $(0,0,0)$ & $(0,0,1)$\
$(1,1,1)$ & $(1,1,1)$ & $(1,1,0)$ & $(1,0,1)$ & $(1,0,0)$ & $(0,1,1)$ & $(0,1,0)$ & $(0,0,1)$ & $(0,0,0)$\
endtabular
endalign*
enddocument

Thanks, can you do something similar for the table above?
– Maths
2 days ago
well its the same additional line, but this makes the first table look very compact
– Maths
2 days ago
@Maths You can set it differently for each table. In the latter case, you might consider setting thetabularin a smaller font size.
– Steven B. Segletes
2 days ago
add a comment |
Reduce the tabcolsep.
documentclass[11pt, a4paper]report
usepackagebm
usepackageamsfonts, graphicx, verbatim, amsmath,amssymb, amsthm
usepackagecolor
usepackagearray
usepackagesetspace% if you must (for double spacing thesis)
usepackagefancyhdr
usepackageenumitem
usepackagetikz
usepackageparskip
usepackagelipsum
usepackagefloatrow
usepackage[pass,showframe]geometry
begindocument
beginalign*
setlengthextrarowheight3pt
tabcolsep=2.5ptrelax
noindentbegintabularc
+ & $(0,0,0)$ & $(0,0,1)$ & $(0,1,0)$ & $(0,1,1)$ & $(1,0,0)$ & $(1,0,1)$ & $(1,1,0)$ & $(1,1,1)$\
cline1-9
$chi_(0,0,0)$ & $1$ & $1$ & $1$ & $1$ & $1$ & $1$ & $1$ & $1$\
$chi_(0,0,1)$ & $1$ & $1$ & $1$ & $1$ & $-1$ & $-1$ & $-1$ & $-1$\
$chi_(0,1,0)$ & $1$ & $1$ & $-1$ & $-1$ & $1$ & $1$ & $-1$ & $-1$\
$chi_(0,1,1)$ & $1$ & $1$ & $-1$ & $-1$ & $-1$ & $-1$ & $1$ & $1$\
$chi_(1,0,0)$ & $1$ & $-1$ & $1$ & $-1$ & $1$ & $-1$ & $1$ & $-1$\
$chi_(1,0,1)$ & $1$ & $-1$ & $1$ & $-1$ & $-1$ & $1$ & $-1$ & $1$\
$chi_(1,1,0)$ & $1$ & $-1$ & $-1$ & $1$ & $1$ & $-1$ & $-1$ & $1$\
$chi_(1,1,1)$ & $1$ & $-1$ & $-1$ & $1$ & $-1$ & $1$ & $1$ & $-1$\
endtabular
endalign*
beginalign*
tabcolsep=2.5ptrelax
setlengthextrarowheight3pt
noindentbegintabularc
+ & $(0,0,0)$ & $(0,0,1)$ & $(0,1,0)$ & $(0,1,1)$ & $(1,0,0)$ & $(1,0,1)$ & $(1,1,0)$ & $(1,1,1)$\
cline1-9
$(0,0,0)$ & $(0,0,0)$ & $(0,0,1)$ & $(0,1,0)$ & $(0,1,1)$ & $(1,0,0)$ & $(1,0,1)$ & $(1,1,0)$ & $(1,1,1)$\
$(0,0,1)$ & $(0,0,1)$ & $(0,0,0)$ & $(0,1,1)$ & $(0,1,0)$ & $(1,0,1)$ & $(1,0,0)$ & $(1,1,1)$ & $(1,1,0)$\
$(0,1,0)$ & $(0,1,0)$ & $(0,1,1)$ & $(0,0,0)$ & $(0,0,1)$ & $(1,1,0)$ & $(1,1,1)$ & $(1,0,0)$ & $(1,0,1)$\
$(0,1,1)$ & $(0,1,1)$ & $(0,1,0)$ & $(0,0,1)$ & $(0,0,0)$ & $(1,1,1)$ & $(1,1,0)$ & $(1,0,1)$ & $(1,0,0)$\
$(1,0,0)$ & $(1,0,0)$ & $(1,0,1)$ & $(1,1,0)$ & $(1,1,1)$ & $(0,0,0)$ & $(0,0,1)$ & $(0,1,0)$ & $(0,1,1)$\
$(1,0,1)$ & $(1,0,1)$ & $(1,0,0)$ & $(1,1,1)$ & $(1,1,0)$ & $(0,0,1)$ & $(0,0,0)$ & $(0,1,1)$ & $(0,1,0)$\
$(1,1,0)$ & $(1,1,0)$ & $(1,1,1)$ & $(1,0,0)$ & $(1,0,1)$ & $(0,1,0)$ & $(0,1,1)$ & $(0,0,0)$ & $(0,0,1)$\
$(1,1,1)$ & $(1,1,1)$ & $(1,1,0)$ & $(1,0,1)$ & $(1,0,0)$ & $(0,1,1)$ & $(0,1,0)$ & $(0,0,1)$ & $(0,0,0)$\
endtabular
endalign*
enddocument

Additionally, one can set the 2nd table in small:
documentclass[11pt, a4paper]report
usepackagebm
usepackageamsfonts, graphicx, verbatim, amsmath,amssymb, amsthm
usepackagecolor
usepackagearray
usepackagesetspace% if you must (for double spacing thesis)
usepackagefancyhdr
usepackageenumitem
usepackagetikz
usepackageparskip
usepackagelipsum
usepackagefloatrow
usepackage[pass,showframe]geometry
begindocument
beginalign*
setlengthextrarowheight3pt
tabcolsep=2.5ptrelax
noindentbegintabularc
+ & $(0,0,0)$ & $(0,0,1)$ & $(0,1,0)$ & $(0,1,1)$ & $(1,0,0)$ & $(1,0,1)$ & $(1,1,0)$ & $(1,1,1)$\
cline1-9
$chi_(0,0,0)$ & $1$ & $1$ & $1$ & $1$ & $1$ & $1$ & $1$ & $1$\
$chi_(0,0,1)$ & $1$ & $1$ & $1$ & $1$ & $-1$ & $-1$ & $-1$ & $-1$\
$chi_(0,1,0)$ & $1$ & $1$ & $-1$ & $-1$ & $1$ & $1$ & $-1$ & $-1$\
$chi_(0,1,1)$ & $1$ & $1$ & $-1$ & $-1$ & $-1$ & $-1$ & $1$ & $1$\
$chi_(1,0,0)$ & $1$ & $-1$ & $1$ & $-1$ & $1$ & $-1$ & $1$ & $-1$\
$chi_(1,0,1)$ & $1$ & $-1$ & $1$ & $-1$ & $-1$ & $1$ & $-1$ & $1$\
$chi_(1,1,0)$ & $1$ & $-1$ & $-1$ & $1$ & $1$ & $-1$ & $-1$ & $1$\
$chi_(1,1,1)$ & $1$ & $-1$ & $-1$ & $1$ & $-1$ & $1$ & $1$ & $-1$\
endtabular
endalign*
small
beginalign*
tabcolsep=3.75ptrelax
setlengthextrarowheight3pt
noindentbegintabularc
+ & $(0,0,0)$ & $(0,0,1)$ & $(0,1,0)$ & $(0,1,1)$ & $(1,0,0)$ & $(1,0,1)$ & $(1,1,0)$ & $(1,1,1)$\
cline1-9
$(0,0,0)$ & $(0,0,0)$ & $(0,0,1)$ & $(0,1,0)$ & $(0,1,1)$ & $(1,0,0)$ & $(1,0,1)$ & $(1,1,0)$ & $(1,1,1)$\
$(0,0,1)$ & $(0,0,1)$ & $(0,0,0)$ & $(0,1,1)$ & $(0,1,0)$ & $(1,0,1)$ & $(1,0,0)$ & $(1,1,1)$ & $(1,1,0)$\
$(0,1,0)$ & $(0,1,0)$ & $(0,1,1)$ & $(0,0,0)$ & $(0,0,1)$ & $(1,1,0)$ & $(1,1,1)$ & $(1,0,0)$ & $(1,0,1)$\
$(0,1,1)$ & $(0,1,1)$ & $(0,1,0)$ & $(0,0,1)$ & $(0,0,0)$ & $(1,1,1)$ & $(1,1,0)$ & $(1,0,1)$ & $(1,0,0)$\
$(1,0,0)$ & $(1,0,0)$ & $(1,0,1)$ & $(1,1,0)$ & $(1,1,1)$ & $(0,0,0)$ & $(0,0,1)$ & $(0,1,0)$ & $(0,1,1)$\
$(1,0,1)$ & $(1,0,1)$ & $(1,0,0)$ & $(1,1,1)$ & $(1,1,0)$ & $(0,0,1)$ & $(0,0,0)$ & $(0,1,1)$ & $(0,1,0)$\
$(1,1,0)$ & $(1,1,0)$ & $(1,1,1)$ & $(1,0,0)$ & $(1,0,1)$ & $(0,1,0)$ & $(0,1,1)$ & $(0,0,0)$ & $(0,0,1)$\
$(1,1,1)$ & $(1,1,1)$ & $(1,1,0)$ & $(1,0,1)$ & $(1,0,0)$ & $(0,1,1)$ & $(0,1,0)$ & $(0,0,1)$ & $(0,0,0)$\
endtabular
endalign*
enddocument

Thanks, can you do something similar for the table above?
– Maths
2 days ago
well its the same additional line, but this makes the first table look very compact
– Maths
2 days ago
@Maths You can set it differently for each table. In the latter case, you might consider setting thetabularin a smaller font size.
– Steven B. Segletes
2 days ago
add a comment |
Reduce the tabcolsep.
documentclass[11pt, a4paper]report
usepackagebm
usepackageamsfonts, graphicx, verbatim, amsmath,amssymb, amsthm
usepackagecolor
usepackagearray
usepackagesetspace% if you must (for double spacing thesis)
usepackagefancyhdr
usepackageenumitem
usepackagetikz
usepackageparskip
usepackagelipsum
usepackagefloatrow
usepackage[pass,showframe]geometry
begindocument
beginalign*
setlengthextrarowheight3pt
tabcolsep=2.5ptrelax
noindentbegintabularc
+ & $(0,0,0)$ & $(0,0,1)$ & $(0,1,0)$ & $(0,1,1)$ & $(1,0,0)$ & $(1,0,1)$ & $(1,1,0)$ & $(1,1,1)$\
cline1-9
$chi_(0,0,0)$ & $1$ & $1$ & $1$ & $1$ & $1$ & $1$ & $1$ & $1$\
$chi_(0,0,1)$ & $1$ & $1$ & $1$ & $1$ & $-1$ & $-1$ & $-1$ & $-1$\
$chi_(0,1,0)$ & $1$ & $1$ & $-1$ & $-1$ & $1$ & $1$ & $-1$ & $-1$\
$chi_(0,1,1)$ & $1$ & $1$ & $-1$ & $-1$ & $-1$ & $-1$ & $1$ & $1$\
$chi_(1,0,0)$ & $1$ & $-1$ & $1$ & $-1$ & $1$ & $-1$ & $1$ & $-1$\
$chi_(1,0,1)$ & $1$ & $-1$ & $1$ & $-1$ & $-1$ & $1$ & $-1$ & $1$\
$chi_(1,1,0)$ & $1$ & $-1$ & $-1$ & $1$ & $1$ & $-1$ & $-1$ & $1$\
$chi_(1,1,1)$ & $1$ & $-1$ & $-1$ & $1$ & $-1$ & $1$ & $1$ & $-1$\
endtabular
endalign*
beginalign*
tabcolsep=2.5ptrelax
setlengthextrarowheight3pt
noindentbegintabularc
+ & $(0,0,0)$ & $(0,0,1)$ & $(0,1,0)$ & $(0,1,1)$ & $(1,0,0)$ & $(1,0,1)$ & $(1,1,0)$ & $(1,1,1)$\
cline1-9
$(0,0,0)$ & $(0,0,0)$ & $(0,0,1)$ & $(0,1,0)$ & $(0,1,1)$ & $(1,0,0)$ & $(1,0,1)$ & $(1,1,0)$ & $(1,1,1)$\
$(0,0,1)$ & $(0,0,1)$ & $(0,0,0)$ & $(0,1,1)$ & $(0,1,0)$ & $(1,0,1)$ & $(1,0,0)$ & $(1,1,1)$ & $(1,1,0)$\
$(0,1,0)$ & $(0,1,0)$ & $(0,1,1)$ & $(0,0,0)$ & $(0,0,1)$ & $(1,1,0)$ & $(1,1,1)$ & $(1,0,0)$ & $(1,0,1)$\
$(0,1,1)$ & $(0,1,1)$ & $(0,1,0)$ & $(0,0,1)$ & $(0,0,0)$ & $(1,1,1)$ & $(1,1,0)$ & $(1,0,1)$ & $(1,0,0)$\
$(1,0,0)$ & $(1,0,0)$ & $(1,0,1)$ & $(1,1,0)$ & $(1,1,1)$ & $(0,0,0)$ & $(0,0,1)$ & $(0,1,0)$ & $(0,1,1)$\
$(1,0,1)$ & $(1,0,1)$ & $(1,0,0)$ & $(1,1,1)$ & $(1,1,0)$ & $(0,0,1)$ & $(0,0,0)$ & $(0,1,1)$ & $(0,1,0)$\
$(1,1,0)$ & $(1,1,0)$ & $(1,1,1)$ & $(1,0,0)$ & $(1,0,1)$ & $(0,1,0)$ & $(0,1,1)$ & $(0,0,0)$ & $(0,0,1)$\
$(1,1,1)$ & $(1,1,1)$ & $(1,1,0)$ & $(1,0,1)$ & $(1,0,0)$ & $(0,1,1)$ & $(0,1,0)$ & $(0,0,1)$ & $(0,0,0)$\
endtabular
endalign*
enddocument

Additionally, one can set the 2nd table in small:
documentclass[11pt, a4paper]report
usepackagebm
usepackageamsfonts, graphicx, verbatim, amsmath,amssymb, amsthm
usepackagecolor
usepackagearray
usepackagesetspace% if you must (for double spacing thesis)
usepackagefancyhdr
usepackageenumitem
usepackagetikz
usepackageparskip
usepackagelipsum
usepackagefloatrow
usepackage[pass,showframe]geometry
begindocument
beginalign*
setlengthextrarowheight3pt
tabcolsep=2.5ptrelax
noindentbegintabularc
+ & $(0,0,0)$ & $(0,0,1)$ & $(0,1,0)$ & $(0,1,1)$ & $(1,0,0)$ & $(1,0,1)$ & $(1,1,0)$ & $(1,1,1)$\
cline1-9
$chi_(0,0,0)$ & $1$ & $1$ & $1$ & $1$ & $1$ & $1$ & $1$ & $1$\
$chi_(0,0,1)$ & $1$ & $1$ & $1$ & $1$ & $-1$ & $-1$ & $-1$ & $-1$\
$chi_(0,1,0)$ & $1$ & $1$ & $-1$ & $-1$ & $1$ & $1$ & $-1$ & $-1$\
$chi_(0,1,1)$ & $1$ & $1$ & $-1$ & $-1$ & $-1$ & $-1$ & $1$ & $1$\
$chi_(1,0,0)$ & $1$ & $-1$ & $1$ & $-1$ & $1$ & $-1$ & $1$ & $-1$\
$chi_(1,0,1)$ & $1$ & $-1$ & $1$ & $-1$ & $-1$ & $1$ & $-1$ & $1$\
$chi_(1,1,0)$ & $1$ & $-1$ & $-1$ & $1$ & $1$ & $-1$ & $-1$ & $1$\
$chi_(1,1,1)$ & $1$ & $-1$ & $-1$ & $1$ & $-1$ & $1$ & $1$ & $-1$\
endtabular
endalign*
small
beginalign*
tabcolsep=3.75ptrelax
setlengthextrarowheight3pt
noindentbegintabularc
+ & $(0,0,0)$ & $(0,0,1)$ & $(0,1,0)$ & $(0,1,1)$ & $(1,0,0)$ & $(1,0,1)$ & $(1,1,0)$ & $(1,1,1)$\
cline1-9
$(0,0,0)$ & $(0,0,0)$ & $(0,0,1)$ & $(0,1,0)$ & $(0,1,1)$ & $(1,0,0)$ & $(1,0,1)$ & $(1,1,0)$ & $(1,1,1)$\
$(0,0,1)$ & $(0,0,1)$ & $(0,0,0)$ & $(0,1,1)$ & $(0,1,0)$ & $(1,0,1)$ & $(1,0,0)$ & $(1,1,1)$ & $(1,1,0)$\
$(0,1,0)$ & $(0,1,0)$ & $(0,1,1)$ & $(0,0,0)$ & $(0,0,1)$ & $(1,1,0)$ & $(1,1,1)$ & $(1,0,0)$ & $(1,0,1)$\
$(0,1,1)$ & $(0,1,1)$ & $(0,1,0)$ & $(0,0,1)$ & $(0,0,0)$ & $(1,1,1)$ & $(1,1,0)$ & $(1,0,1)$ & $(1,0,0)$\
$(1,0,0)$ & $(1,0,0)$ & $(1,0,1)$ & $(1,1,0)$ & $(1,1,1)$ & $(0,0,0)$ & $(0,0,1)$ & $(0,1,0)$ & $(0,1,1)$\
$(1,0,1)$ & $(1,0,1)$ & $(1,0,0)$ & $(1,1,1)$ & $(1,1,0)$ & $(0,0,1)$ & $(0,0,0)$ & $(0,1,1)$ & $(0,1,0)$\
$(1,1,0)$ & $(1,1,0)$ & $(1,1,1)$ & $(1,0,0)$ & $(1,0,1)$ & $(0,1,0)$ & $(0,1,1)$ & $(0,0,0)$ & $(0,0,1)$\
$(1,1,1)$ & $(1,1,1)$ & $(1,1,0)$ & $(1,0,1)$ & $(1,0,0)$ & $(0,1,1)$ & $(0,1,0)$ & $(0,0,1)$ & $(0,0,0)$\
endtabular
endalign*
enddocument

Reduce the tabcolsep.
documentclass[11pt, a4paper]report
usepackagebm
usepackageamsfonts, graphicx, verbatim, amsmath,amssymb, amsthm
usepackagecolor
usepackagearray
usepackagesetspace% if you must (for double spacing thesis)
usepackagefancyhdr
usepackageenumitem
usepackagetikz
usepackageparskip
usepackagelipsum
usepackagefloatrow
usepackage[pass,showframe]geometry
begindocument
beginalign*
setlengthextrarowheight3pt
tabcolsep=2.5ptrelax
noindentbegintabularc
+ & $(0,0,0)$ & $(0,0,1)$ & $(0,1,0)$ & $(0,1,1)$ & $(1,0,0)$ & $(1,0,1)$ & $(1,1,0)$ & $(1,1,1)$\
cline1-9
$chi_(0,0,0)$ & $1$ & $1$ & $1$ & $1$ & $1$ & $1$ & $1$ & $1$\
$chi_(0,0,1)$ & $1$ & $1$ & $1$ & $1$ & $-1$ & $-1$ & $-1$ & $-1$\
$chi_(0,1,0)$ & $1$ & $1$ & $-1$ & $-1$ & $1$ & $1$ & $-1$ & $-1$\
$chi_(0,1,1)$ & $1$ & $1$ & $-1$ & $-1$ & $-1$ & $-1$ & $1$ & $1$\
$chi_(1,0,0)$ & $1$ & $-1$ & $1$ & $-1$ & $1$ & $-1$ & $1$ & $-1$\
$chi_(1,0,1)$ & $1$ & $-1$ & $1$ & $-1$ & $-1$ & $1$ & $-1$ & $1$\
$chi_(1,1,0)$ & $1$ & $-1$ & $-1$ & $1$ & $1$ & $-1$ & $-1$ & $1$\
$chi_(1,1,1)$ & $1$ & $-1$ & $-1$ & $1$ & $-1$ & $1$ & $1$ & $-1$\
endtabular
endalign*
beginalign*
tabcolsep=2.5ptrelax
setlengthextrarowheight3pt
noindentbegintabularc
+ & $(0,0,0)$ & $(0,0,1)$ & $(0,1,0)$ & $(0,1,1)$ & $(1,0,0)$ & $(1,0,1)$ & $(1,1,0)$ & $(1,1,1)$\
cline1-9
$(0,0,0)$ & $(0,0,0)$ & $(0,0,1)$ & $(0,1,0)$ & $(0,1,1)$ & $(1,0,0)$ & $(1,0,1)$ & $(1,1,0)$ & $(1,1,1)$\
$(0,0,1)$ & $(0,0,1)$ & $(0,0,0)$ & $(0,1,1)$ & $(0,1,0)$ & $(1,0,1)$ & $(1,0,0)$ & $(1,1,1)$ & $(1,1,0)$\
$(0,1,0)$ & $(0,1,0)$ & $(0,1,1)$ & $(0,0,0)$ & $(0,0,1)$ & $(1,1,0)$ & $(1,1,1)$ & $(1,0,0)$ & $(1,0,1)$\
$(0,1,1)$ & $(0,1,1)$ & $(0,1,0)$ & $(0,0,1)$ & $(0,0,0)$ & $(1,1,1)$ & $(1,1,0)$ & $(1,0,1)$ & $(1,0,0)$\
$(1,0,0)$ & $(1,0,0)$ & $(1,0,1)$ & $(1,1,0)$ & $(1,1,1)$ & $(0,0,0)$ & $(0,0,1)$ & $(0,1,0)$ & $(0,1,1)$\
$(1,0,1)$ & $(1,0,1)$ & $(1,0,0)$ & $(1,1,1)$ & $(1,1,0)$ & $(0,0,1)$ & $(0,0,0)$ & $(0,1,1)$ & $(0,1,0)$\
$(1,1,0)$ & $(1,1,0)$ & $(1,1,1)$ & $(1,0,0)$ & $(1,0,1)$ & $(0,1,0)$ & $(0,1,1)$ & $(0,0,0)$ & $(0,0,1)$\
$(1,1,1)$ & $(1,1,1)$ & $(1,1,0)$ & $(1,0,1)$ & $(1,0,0)$ & $(0,1,1)$ & $(0,1,0)$ & $(0,0,1)$ & $(0,0,0)$\
endtabular
endalign*
enddocument

Additionally, one can set the 2nd table in small:
documentclass[11pt, a4paper]report
usepackagebm
usepackageamsfonts, graphicx, verbatim, amsmath,amssymb, amsthm
usepackagecolor
usepackagearray
usepackagesetspace% if you must (for double spacing thesis)
usepackagefancyhdr
usepackageenumitem
usepackagetikz
usepackageparskip
usepackagelipsum
usepackagefloatrow
usepackage[pass,showframe]geometry
begindocument
beginalign*
setlengthextrarowheight3pt
tabcolsep=2.5ptrelax
noindentbegintabularc
+ & $(0,0,0)$ & $(0,0,1)$ & $(0,1,0)$ & $(0,1,1)$ & $(1,0,0)$ & $(1,0,1)$ & $(1,1,0)$ & $(1,1,1)$\
cline1-9
$chi_(0,0,0)$ & $1$ & $1$ & $1$ & $1$ & $1$ & $1$ & $1$ & $1$\
$chi_(0,0,1)$ & $1$ & $1$ & $1$ & $1$ & $-1$ & $-1$ & $-1$ & $-1$\
$chi_(0,1,0)$ & $1$ & $1$ & $-1$ & $-1$ & $1$ & $1$ & $-1$ & $-1$\
$chi_(0,1,1)$ & $1$ & $1$ & $-1$ & $-1$ & $-1$ & $-1$ & $1$ & $1$\
$chi_(1,0,0)$ & $1$ & $-1$ & $1$ & $-1$ & $1$ & $-1$ & $1$ & $-1$\
$chi_(1,0,1)$ & $1$ & $-1$ & $1$ & $-1$ & $-1$ & $1$ & $-1$ & $1$\
$chi_(1,1,0)$ & $1$ & $-1$ & $-1$ & $1$ & $1$ & $-1$ & $-1$ & $1$\
$chi_(1,1,1)$ & $1$ & $-1$ & $-1$ & $1$ & $-1$ & $1$ & $1$ & $-1$\
endtabular
endalign*
small
beginalign*
tabcolsep=3.75ptrelax
setlengthextrarowheight3pt
noindentbegintabularc
+ & $(0,0,0)$ & $(0,0,1)$ & $(0,1,0)$ & $(0,1,1)$ & $(1,0,0)$ & $(1,0,1)$ & $(1,1,0)$ & $(1,1,1)$\
cline1-9
$(0,0,0)$ & $(0,0,0)$ & $(0,0,1)$ & $(0,1,0)$ & $(0,1,1)$ & $(1,0,0)$ & $(1,0,1)$ & $(1,1,0)$ & $(1,1,1)$\
$(0,0,1)$ & $(0,0,1)$ & $(0,0,0)$ & $(0,1,1)$ & $(0,1,0)$ & $(1,0,1)$ & $(1,0,0)$ & $(1,1,1)$ & $(1,1,0)$\
$(0,1,0)$ & $(0,1,0)$ & $(0,1,1)$ & $(0,0,0)$ & $(0,0,1)$ & $(1,1,0)$ & $(1,1,1)$ & $(1,0,0)$ & $(1,0,1)$\
$(0,1,1)$ & $(0,1,1)$ & $(0,1,0)$ & $(0,0,1)$ & $(0,0,0)$ & $(1,1,1)$ & $(1,1,0)$ & $(1,0,1)$ & $(1,0,0)$\
$(1,0,0)$ & $(1,0,0)$ & $(1,0,1)$ & $(1,1,0)$ & $(1,1,1)$ & $(0,0,0)$ & $(0,0,1)$ & $(0,1,0)$ & $(0,1,1)$\
$(1,0,1)$ & $(1,0,1)$ & $(1,0,0)$ & $(1,1,1)$ & $(1,1,0)$ & $(0,0,1)$ & $(0,0,0)$ & $(0,1,1)$ & $(0,1,0)$\
$(1,1,0)$ & $(1,1,0)$ & $(1,1,1)$ & $(1,0,0)$ & $(1,0,1)$ & $(0,1,0)$ & $(0,1,1)$ & $(0,0,0)$ & $(0,0,1)$\
$(1,1,1)$ & $(1,1,1)$ & $(1,1,0)$ & $(1,0,1)$ & $(1,0,0)$ & $(0,1,1)$ & $(0,1,0)$ & $(0,0,1)$ & $(0,0,0)$\
endtabular
endalign*
enddocument

edited 2 days ago
answered 2 days ago
Steven B. SegletesSteven B. Segletes
160k9205413
160k9205413
Thanks, can you do something similar for the table above?
– Maths
2 days ago
well its the same additional line, but this makes the first table look very compact
– Maths
2 days ago
@Maths You can set it differently for each table. In the latter case, you might consider setting thetabularin a smaller font size.
– Steven B. Segletes
2 days ago
add a comment |
Thanks, can you do something similar for the table above?
– Maths
2 days ago
well its the same additional line, but this makes the first table look very compact
– Maths
2 days ago
@Maths You can set it differently for each table. In the latter case, you might consider setting thetabularin a smaller font size.
– Steven B. Segletes
2 days ago
Thanks, can you do something similar for the table above?
– Maths
2 days ago
Thanks, can you do something similar for the table above?
– Maths
2 days ago
well its the same additional line, but this makes the first table look very compact
– Maths
2 days ago
well its the same additional line, but this makes the first table look very compact
– Maths
2 days ago
@Maths You can set it differently for each table. In the latter case, you might consider setting the
tabular in a smaller font size.– Steven B. Segletes
2 days ago
@Maths You can set it differently for each table. In the latter case, you might consider setting the
tabular in a smaller font size.– Steven B. Segletes
2 days ago
add a comment |
I would recommend array for that.
documentclass[11pt, a4paper]report
usepackagebm
usepackageamsfonts, graphicx, verbatim, amsmath,amssymb, amsthm
usepackagecolor
usepackagearray
usepackagesetspace% if you must (for double spacing thesis)
usepackagefancyhdr
usepackageenumitem
usepackagetikz
usepackageparskip
usepackagelipsum
usepackagefloatrow
begindocument
[
setlengthextrarowheight3pt
beginarray@c
+ & (0,0,0) & (0,0,1) & (0,1,0) & (0,1,1) & (1,0,0) & (1,0,1) & (1,1,0) & (1,1,1)\
hline
chi_(0,0,0) & 1 & 1 & 1 & 1 & 1 & 1 & 1 & 1\
chi_(0,0,1) & 1 & 1 & 1 & 1 & -1 & -1 & -1 & -1\
chi_(0,1,0) & 1 & 1 & -1 & -1 & 1 & 1 & -1 & -1\
chi_(0,1,1) & 1 & 1 & -1 & -1 & -1 & -1 & 1 & 1\
chi_(1,0,0) & 1 & -1 & 1 & -1 & 1 & -1 & 1 & -1\
chi_(1,0,1) & 1 & -1 & 1 & -1 & -1 & 1 & -1 & 1\
chi_(1,1,0) & 1 & -1 & -1 & 1 & 1 & -1 & -1 & 1\
chi_(1,1,1) & 1 & -1 & -1 & 1 & -1 & 1 & 1 & -1
endarray
]
enddocument

I prefer these two variants:
documentclass[11pt, a4paper]report
usepackagebm
usepackageamsfonts, graphicx, verbatim, amsmath,amssymb, amsthm
usepackagecolor
usepackagearray
usepackagesetspace% if you must (for double spacing thesis)
usepackagefancyhdr
usepackageenumitem
usepackagetikz
usepackageparskip
usepackagelipsum
usepackagefloatrow
begindocument
[
setlengthextrarowheight3pt
beginarray@c
+ & (0,0,0) & (0,0,1) & (0,1,0) & (0,1,1) & (1,0,0) & (1,0,1) & (1,1,0) & (1,1,1)\
hline
chi_(0,0,0) & +1 & +1 & +1 & +1 & +1 & +1 & +1 & +1\
chi_(0,0,1) & +1 & +1 & +1 & +1 & -1 & -1 & -1 & -1\
chi_(0,1,0) & +1 & +1 & -1 & -1 & +1 & +1 & -1 & -1\
chi_(0,1,1) & +1 & +1 & -1 & -1 & -1 & -1 & +1 & +1\
chi_(1,0,0) & +1 & -1 & +1 & -1 & +1 & -1 & +1 & -1\
chi_(1,0,1) & +1 & -1 & +1 & -1 & -1 & +1 & -1 & +1\
chi_(1,1,0) & +1 & -1 & -1 & +1 & +1 & -1 & -1 & +1\
chi_(1,1,1) & +1 & -1 & -1 & +1 & -1 & +1 & +1 & -1
endarray
]
enddocument

documentclass[11pt, a4paper]report
usepackagebm
usepackageamsfonts, graphicx, verbatim, amsmath,amssymb, amsthm
usepackagecolor
usepackagearray
usepackagesetspace% if you must (for double spacing thesis)
usepackagefancyhdr
usepackageenumitem
usepackagetikz
usepackageparskip
usepackagelipsum
usepackagefloatrow
begindocument
[
setlengthextrarowheight3pt
beginarray@c
+ & (0,0,0) & (0,0,1) & (0,1,0) & (0,1,1) & (1,0,0) & (1,0,1) & (1,1,0) & (1,1,1)\
hline
chi_(0,0,0) & 1 & phantom-1 & phantom-1 & phantom-1 & phantom-1 & phantom-1 & phantom-1 & phantom-1\
chi_(0,0,1) & 1 & phantom-1 & phantom-1 & phantom-1 & -1 & -1 & -1 & -1\
chi_(0,1,0) & 1 & phantom-1 & -1 & -1 & phantom-1 & phantom-1 & -1 & -1\
chi_(0,1,1) & 1 & phantom-1 & -1 & -1 & -1 & -1 & phantom-1 & phantom-1\
chi_(1,0,0) & 1 & -1 & phantom-1 & -1 & phantom-1 & -1 & phantom-1 & -1\
chi_(1,0,1) & 1 & -1 & phantom-1 & -1 & -1 & phantom-1 & -1 & phantom-1\
chi_(1,1,0) & 1 & -1 & -1 & phantom-1 & phantom-1 & -1 & -1 & phantom-1\
chi_(1,1,1) & 1 & -1 & -1 & phantom-1 & -1 & phantom-1 & phantom-1 & -1
endarray
]
enddocument

But will this be within the default margins? as that's my issue
– Maths
2 days ago
@Maths Of course yes - I did some settings to make sure thatOverfull hboxdoesn't happen.
– JouleV
2 days ago
all solutions provided here are of good quality hence the +1 for all. however for the first table, as mentioned in the above answer, using the technique from the first solution makes everything compact, any ideas to make it 'free'?
– Maths
2 days ago
@Maths What do you mean by "free"? Automatic resize if margin exceeded?
– JouleV
2 days ago
1
@Mico Oh yes. Actually I used "Find and Replace" in my editor, so I did not take note of that. Thanks!
– JouleV
2 days ago
|
show 3 more comments
I would recommend array for that.
documentclass[11pt, a4paper]report
usepackagebm
usepackageamsfonts, graphicx, verbatim, amsmath,amssymb, amsthm
usepackagecolor
usepackagearray
usepackagesetspace% if you must (for double spacing thesis)
usepackagefancyhdr
usepackageenumitem
usepackagetikz
usepackageparskip
usepackagelipsum
usepackagefloatrow
begindocument
[
setlengthextrarowheight3pt
beginarray@c
+ & (0,0,0) & (0,0,1) & (0,1,0) & (0,1,1) & (1,0,0) & (1,0,1) & (1,1,0) & (1,1,1)\
hline
chi_(0,0,0) & 1 & 1 & 1 & 1 & 1 & 1 & 1 & 1\
chi_(0,0,1) & 1 & 1 & 1 & 1 & -1 & -1 & -1 & -1\
chi_(0,1,0) & 1 & 1 & -1 & -1 & 1 & 1 & -1 & -1\
chi_(0,1,1) & 1 & 1 & -1 & -1 & -1 & -1 & 1 & 1\
chi_(1,0,0) & 1 & -1 & 1 & -1 & 1 & -1 & 1 & -1\
chi_(1,0,1) & 1 & -1 & 1 & -1 & -1 & 1 & -1 & 1\
chi_(1,1,0) & 1 & -1 & -1 & 1 & 1 & -1 & -1 & 1\
chi_(1,1,1) & 1 & -1 & -1 & 1 & -1 & 1 & 1 & -1
endarray
]
enddocument

I prefer these two variants:
documentclass[11pt, a4paper]report
usepackagebm
usepackageamsfonts, graphicx, verbatim, amsmath,amssymb, amsthm
usepackagecolor
usepackagearray
usepackagesetspace% if you must (for double spacing thesis)
usepackagefancyhdr
usepackageenumitem
usepackagetikz
usepackageparskip
usepackagelipsum
usepackagefloatrow
begindocument
[
setlengthextrarowheight3pt
beginarray@c
+ & (0,0,0) & (0,0,1) & (0,1,0) & (0,1,1) & (1,0,0) & (1,0,1) & (1,1,0) & (1,1,1)\
hline
chi_(0,0,0) & +1 & +1 & +1 & +1 & +1 & +1 & +1 & +1\
chi_(0,0,1) & +1 & +1 & +1 & +1 & -1 & -1 & -1 & -1\
chi_(0,1,0) & +1 & +1 & -1 & -1 & +1 & +1 & -1 & -1\
chi_(0,1,1) & +1 & +1 & -1 & -1 & -1 & -1 & +1 & +1\
chi_(1,0,0) & +1 & -1 & +1 & -1 & +1 & -1 & +1 & -1\
chi_(1,0,1) & +1 & -1 & +1 & -1 & -1 & +1 & -1 & +1\
chi_(1,1,0) & +1 & -1 & -1 & +1 & +1 & -1 & -1 & +1\
chi_(1,1,1) & +1 & -1 & -1 & +1 & -1 & +1 & +1 & -1
endarray
]
enddocument

documentclass[11pt, a4paper]report
usepackagebm
usepackageamsfonts, graphicx, verbatim, amsmath,amssymb, amsthm
usepackagecolor
usepackagearray
usepackagesetspace% if you must (for double spacing thesis)
usepackagefancyhdr
usepackageenumitem
usepackagetikz
usepackageparskip
usepackagelipsum
usepackagefloatrow
begindocument
[
setlengthextrarowheight3pt
beginarray@c
+ & (0,0,0) & (0,0,1) & (0,1,0) & (0,1,1) & (1,0,0) & (1,0,1) & (1,1,0) & (1,1,1)\
hline
chi_(0,0,0) & 1 & phantom-1 & phantom-1 & phantom-1 & phantom-1 & phantom-1 & phantom-1 & phantom-1\
chi_(0,0,1) & 1 & phantom-1 & phantom-1 & phantom-1 & -1 & -1 & -1 & -1\
chi_(0,1,0) & 1 & phantom-1 & -1 & -1 & phantom-1 & phantom-1 & -1 & -1\
chi_(0,1,1) & 1 & phantom-1 & -1 & -1 & -1 & -1 & phantom-1 & phantom-1\
chi_(1,0,0) & 1 & -1 & phantom-1 & -1 & phantom-1 & -1 & phantom-1 & -1\
chi_(1,0,1) & 1 & -1 & phantom-1 & -1 & -1 & phantom-1 & -1 & phantom-1\
chi_(1,1,0) & 1 & -1 & -1 & phantom-1 & phantom-1 & -1 & -1 & phantom-1\
chi_(1,1,1) & 1 & -1 & -1 & phantom-1 & -1 & phantom-1 & phantom-1 & -1
endarray
]
enddocument

But will this be within the default margins? as that's my issue
– Maths
2 days ago
@Maths Of course yes - I did some settings to make sure thatOverfull hboxdoesn't happen.
– JouleV
2 days ago
all solutions provided here are of good quality hence the +1 for all. however for the first table, as mentioned in the above answer, using the technique from the first solution makes everything compact, any ideas to make it 'free'?
– Maths
2 days ago
@Maths What do you mean by "free"? Automatic resize if margin exceeded?
– JouleV
2 days ago
1
@Mico Oh yes. Actually I used "Find and Replace" in my editor, so I did not take note of that. Thanks!
– JouleV
2 days ago
|
show 3 more comments
I would recommend array for that.
documentclass[11pt, a4paper]report
usepackagebm
usepackageamsfonts, graphicx, verbatim, amsmath,amssymb, amsthm
usepackagecolor
usepackagearray
usepackagesetspace% if you must (for double spacing thesis)
usepackagefancyhdr
usepackageenumitem
usepackagetikz
usepackageparskip
usepackagelipsum
usepackagefloatrow
begindocument
[
setlengthextrarowheight3pt
beginarray@c
+ & (0,0,0) & (0,0,1) & (0,1,0) & (0,1,1) & (1,0,0) & (1,0,1) & (1,1,0) & (1,1,1)\
hline
chi_(0,0,0) & 1 & 1 & 1 & 1 & 1 & 1 & 1 & 1\
chi_(0,0,1) & 1 & 1 & 1 & 1 & -1 & -1 & -1 & -1\
chi_(0,1,0) & 1 & 1 & -1 & -1 & 1 & 1 & -1 & -1\
chi_(0,1,1) & 1 & 1 & -1 & -1 & -1 & -1 & 1 & 1\
chi_(1,0,0) & 1 & -1 & 1 & -1 & 1 & -1 & 1 & -1\
chi_(1,0,1) & 1 & -1 & 1 & -1 & -1 & 1 & -1 & 1\
chi_(1,1,0) & 1 & -1 & -1 & 1 & 1 & -1 & -1 & 1\
chi_(1,1,1) & 1 & -1 & -1 & 1 & -1 & 1 & 1 & -1
endarray
]
enddocument

I prefer these two variants:
documentclass[11pt, a4paper]report
usepackagebm
usepackageamsfonts, graphicx, verbatim, amsmath,amssymb, amsthm
usepackagecolor
usepackagearray
usepackagesetspace% if you must (for double spacing thesis)
usepackagefancyhdr
usepackageenumitem
usepackagetikz
usepackageparskip
usepackagelipsum
usepackagefloatrow
begindocument
[
setlengthextrarowheight3pt
beginarray@c
+ & (0,0,0) & (0,0,1) & (0,1,0) & (0,1,1) & (1,0,0) & (1,0,1) & (1,1,0) & (1,1,1)\
hline
chi_(0,0,0) & +1 & +1 & +1 & +1 & +1 & +1 & +1 & +1\
chi_(0,0,1) & +1 & +1 & +1 & +1 & -1 & -1 & -1 & -1\
chi_(0,1,0) & +1 & +1 & -1 & -1 & +1 & +1 & -1 & -1\
chi_(0,1,1) & +1 & +1 & -1 & -1 & -1 & -1 & +1 & +1\
chi_(1,0,0) & +1 & -1 & +1 & -1 & +1 & -1 & +1 & -1\
chi_(1,0,1) & +1 & -1 & +1 & -1 & -1 & +1 & -1 & +1\
chi_(1,1,0) & +1 & -1 & -1 & +1 & +1 & -1 & -1 & +1\
chi_(1,1,1) & +1 & -1 & -1 & +1 & -1 & +1 & +1 & -1
endarray
]
enddocument

documentclass[11pt, a4paper]report
usepackagebm
usepackageamsfonts, graphicx, verbatim, amsmath,amssymb, amsthm
usepackagecolor
usepackagearray
usepackagesetspace% if you must (for double spacing thesis)
usepackagefancyhdr
usepackageenumitem
usepackagetikz
usepackageparskip
usepackagelipsum
usepackagefloatrow
begindocument
[
setlengthextrarowheight3pt
beginarray@c
+ & (0,0,0) & (0,0,1) & (0,1,0) & (0,1,1) & (1,0,0) & (1,0,1) & (1,1,0) & (1,1,1)\
hline
chi_(0,0,0) & 1 & phantom-1 & phantom-1 & phantom-1 & phantom-1 & phantom-1 & phantom-1 & phantom-1\
chi_(0,0,1) & 1 & phantom-1 & phantom-1 & phantom-1 & -1 & -1 & -1 & -1\
chi_(0,1,0) & 1 & phantom-1 & -1 & -1 & phantom-1 & phantom-1 & -1 & -1\
chi_(0,1,1) & 1 & phantom-1 & -1 & -1 & -1 & -1 & phantom-1 & phantom-1\
chi_(1,0,0) & 1 & -1 & phantom-1 & -1 & phantom-1 & -1 & phantom-1 & -1\
chi_(1,0,1) & 1 & -1 & phantom-1 & -1 & -1 & phantom-1 & -1 & phantom-1\
chi_(1,1,0) & 1 & -1 & -1 & phantom-1 & phantom-1 & -1 & -1 & phantom-1\
chi_(1,1,1) & 1 & -1 & -1 & phantom-1 & -1 & phantom-1 & phantom-1 & -1
endarray
]
enddocument

I would recommend array for that.
documentclass[11pt, a4paper]report
usepackagebm
usepackageamsfonts, graphicx, verbatim, amsmath,amssymb, amsthm
usepackagecolor
usepackagearray
usepackagesetspace% if you must (for double spacing thesis)
usepackagefancyhdr
usepackageenumitem
usepackagetikz
usepackageparskip
usepackagelipsum
usepackagefloatrow
begindocument
[
setlengthextrarowheight3pt
beginarray@c
+ & (0,0,0) & (0,0,1) & (0,1,0) & (0,1,1) & (1,0,0) & (1,0,1) & (1,1,0) & (1,1,1)\
hline
chi_(0,0,0) & 1 & 1 & 1 & 1 & 1 & 1 & 1 & 1\
chi_(0,0,1) & 1 & 1 & 1 & 1 & -1 & -1 & -1 & -1\
chi_(0,1,0) & 1 & 1 & -1 & -1 & 1 & 1 & -1 & -1\
chi_(0,1,1) & 1 & 1 & -1 & -1 & -1 & -1 & 1 & 1\
chi_(1,0,0) & 1 & -1 & 1 & -1 & 1 & -1 & 1 & -1\
chi_(1,0,1) & 1 & -1 & 1 & -1 & -1 & 1 & -1 & 1\
chi_(1,1,0) & 1 & -1 & -1 & 1 & 1 & -1 & -1 & 1\
chi_(1,1,1) & 1 & -1 & -1 & 1 & -1 & 1 & 1 & -1
endarray
]
enddocument

I prefer these two variants:
documentclass[11pt, a4paper]report
usepackagebm
usepackageamsfonts, graphicx, verbatim, amsmath,amssymb, amsthm
usepackagecolor
usepackagearray
usepackagesetspace% if you must (for double spacing thesis)
usepackagefancyhdr
usepackageenumitem
usepackagetikz
usepackageparskip
usepackagelipsum
usepackagefloatrow
begindocument
[
setlengthextrarowheight3pt
beginarray@c
+ & (0,0,0) & (0,0,1) & (0,1,0) & (0,1,1) & (1,0,0) & (1,0,1) & (1,1,0) & (1,1,1)\
hline
chi_(0,0,0) & +1 & +1 & +1 & +1 & +1 & +1 & +1 & +1\
chi_(0,0,1) & +1 & +1 & +1 & +1 & -1 & -1 & -1 & -1\
chi_(0,1,0) & +1 & +1 & -1 & -1 & +1 & +1 & -1 & -1\
chi_(0,1,1) & +1 & +1 & -1 & -1 & -1 & -1 & +1 & +1\
chi_(1,0,0) & +1 & -1 & +1 & -1 & +1 & -1 & +1 & -1\
chi_(1,0,1) & +1 & -1 & +1 & -1 & -1 & +1 & -1 & +1\
chi_(1,1,0) & +1 & -1 & -1 & +1 & +1 & -1 & -1 & +1\
chi_(1,1,1) & +1 & -1 & -1 & +1 & -1 & +1 & +1 & -1
endarray
]
enddocument

documentclass[11pt, a4paper]report
usepackagebm
usepackageamsfonts, graphicx, verbatim, amsmath,amssymb, amsthm
usepackagecolor
usepackagearray
usepackagesetspace% if you must (for double spacing thesis)
usepackagefancyhdr
usepackageenumitem
usepackagetikz
usepackageparskip
usepackagelipsum
usepackagefloatrow
begindocument
[
setlengthextrarowheight3pt
beginarray@c
+ & (0,0,0) & (0,0,1) & (0,1,0) & (0,1,1) & (1,0,0) & (1,0,1) & (1,1,0) & (1,1,1)\
hline
chi_(0,0,0) & 1 & phantom-1 & phantom-1 & phantom-1 & phantom-1 & phantom-1 & phantom-1 & phantom-1\
chi_(0,0,1) & 1 & phantom-1 & phantom-1 & phantom-1 & -1 & -1 & -1 & -1\
chi_(0,1,0) & 1 & phantom-1 & -1 & -1 & phantom-1 & phantom-1 & -1 & -1\
chi_(0,1,1) & 1 & phantom-1 & -1 & -1 & -1 & -1 & phantom-1 & phantom-1\
chi_(1,0,0) & 1 & -1 & phantom-1 & -1 & phantom-1 & -1 & phantom-1 & -1\
chi_(1,0,1) & 1 & -1 & phantom-1 & -1 & -1 & phantom-1 & -1 & phantom-1\
chi_(1,1,0) & 1 & -1 & -1 & phantom-1 & phantom-1 & -1 & -1 & phantom-1\
chi_(1,1,1) & 1 & -1 & -1 & phantom-1 & -1 & phantom-1 & phantom-1 & -1
endarray
]
enddocument

edited 2 days ago
answered 2 days ago
JouleVJouleV
10.3k22558
10.3k22558
But will this be within the default margins? as that's my issue
– Maths
2 days ago
@Maths Of course yes - I did some settings to make sure thatOverfull hboxdoesn't happen.
– JouleV
2 days ago
all solutions provided here are of good quality hence the +1 for all. however for the first table, as mentioned in the above answer, using the technique from the first solution makes everything compact, any ideas to make it 'free'?
– Maths
2 days ago
@Maths What do you mean by "free"? Automatic resize if margin exceeded?
– JouleV
2 days ago
1
@Mico Oh yes. Actually I used "Find and Replace" in my editor, so I did not take note of that. Thanks!
– JouleV
2 days ago
|
show 3 more comments
But will this be within the default margins? as that's my issue
– Maths
2 days ago
@Maths Of course yes - I did some settings to make sure thatOverfull hboxdoesn't happen.
– JouleV
2 days ago
all solutions provided here are of good quality hence the +1 for all. however for the first table, as mentioned in the above answer, using the technique from the first solution makes everything compact, any ideas to make it 'free'?
– Maths
2 days ago
@Maths What do you mean by "free"? Automatic resize if margin exceeded?
– JouleV
2 days ago
1
@Mico Oh yes. Actually I used "Find and Replace" in my editor, so I did not take note of that. Thanks!
– JouleV
2 days ago
But will this be within the default margins? as that's my issue
– Maths
2 days ago
But will this be within the default margins? as that's my issue
– Maths
2 days ago
@Maths Of course yes - I did some settings to make sure that
Overfull hbox doesn't happen.– JouleV
2 days ago
@Maths Of course yes - I did some settings to make sure that
Overfull hbox doesn't happen.– JouleV
2 days ago
all solutions provided here are of good quality hence the +1 for all. however for the first table, as mentioned in the above answer, using the technique from the first solution makes everything compact, any ideas to make it 'free'?
– Maths
2 days ago
all solutions provided here are of good quality hence the +1 for all. however for the first table, as mentioned in the above answer, using the technique from the first solution makes everything compact, any ideas to make it 'free'?
– Maths
2 days ago
@Maths What do you mean by "free"? Automatic resize if margin exceeded?
– JouleV
2 days ago
@Maths What do you mean by "free"? Automatic resize if margin exceeded?
– JouleV
2 days ago
1
1
@Mico Oh yes. Actually I used "Find and Replace" in my editor, so I did not take note of that. Thanks!
– JouleV
2 days ago
@Mico Oh yes. Actually I used "Find and Replace" in my editor, so I did not take note of that. Thanks!
– JouleV
2 days ago
|
show 3 more comments
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%2f482599%2fis-it-possible-to-make-a-9x9-table-fit-within-the-default-margins%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