Is it possible to make a 9x9 table fit within the default margins?












7















so I have the following code:



begin{align*}
setlengthextrarowheight{3pt}
noindentbegin{tabular}{c | c c c c c c c 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)$\
cline{1-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)$\
end{tabular}
end{align*}

The character table:

documentclass[11pt, a4paper]{report}
usepackage{bm}
usepackage{amsfonts, graphicx, verbatim, amsmath,amssymb, amsthm}
usepackage{color}
usepackage{array}
usepackage{setspace}% if you must (for double spacing thesis)
usepackage{fancyhdr}
usepackage{enumitem}
usepackage{tikz}
usepackage{parskip}
usepackage{lipsum}
usepackage{floatrow}

begin{document}
begin{align*}
setlengthextrarowheight{3pt}
noindentbegin{tabular}{c | c c c c c c c 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)$\
cline{1-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$\
end{tabular}
end{align*}
end{document}


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?










share|improve this question





























    7















    so I have the following code:



    begin{align*}
    setlengthextrarowheight{3pt}
    noindentbegin{tabular}{c | c c c c c c c 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)$\
    cline{1-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)$\
    end{tabular}
    end{align*}

    The character table:

    documentclass[11pt, a4paper]{report}
    usepackage{bm}
    usepackage{amsfonts, graphicx, verbatim, amsmath,amssymb, amsthm}
    usepackage{color}
    usepackage{array}
    usepackage{setspace}% if you must (for double spacing thesis)
    usepackage{fancyhdr}
    usepackage{enumitem}
    usepackage{tikz}
    usepackage{parskip}
    usepackage{lipsum}
    usepackage{floatrow}

    begin{document}
    begin{align*}
    setlengthextrarowheight{3pt}
    noindentbegin{tabular}{c | c c c c c c c 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)$\
    cline{1-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$\
    end{tabular}
    end{align*}
    end{document}


    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?










    share|improve this question



























      7












      7








      7


      1






      so I have the following code:



      begin{align*}
      setlengthextrarowheight{3pt}
      noindentbegin{tabular}{c | c c c c c c c 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)$\
      cline{1-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)$\
      end{tabular}
      end{align*}

      The character table:

      documentclass[11pt, a4paper]{report}
      usepackage{bm}
      usepackage{amsfonts, graphicx, verbatim, amsmath,amssymb, amsthm}
      usepackage{color}
      usepackage{array}
      usepackage{setspace}% if you must (for double spacing thesis)
      usepackage{fancyhdr}
      usepackage{enumitem}
      usepackage{tikz}
      usepackage{parskip}
      usepackage{lipsum}
      usepackage{floatrow}

      begin{document}
      begin{align*}
      setlengthextrarowheight{3pt}
      noindentbegin{tabular}{c | c c c c c c c 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)$\
      cline{1-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$\
      end{tabular}
      end{align*}
      end{document}


      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?










      share|improve this question
















      so I have the following code:



      begin{align*}
      setlengthextrarowheight{3pt}
      noindentbegin{tabular}{c | c c c c c c c 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)$\
      cline{1-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)$\
      end{tabular}
      end{align*}

      The character table:

      documentclass[11pt, a4paper]{report}
      usepackage{bm}
      usepackage{amsfonts, graphicx, verbatim, amsmath,amssymb, amsthm}
      usepackage{color}
      usepackage{array}
      usepackage{setspace}% if you must (for double spacing thesis)
      usepackage{fancyhdr}
      usepackage{enumitem}
      usepackage{tikz}
      usepackage{parskip}
      usepackage{lipsum}
      usepackage{floatrow}

      begin{document}
      begin{align*}
      setlengthextrarowheight{3pt}
      noindentbegin{tabular}{c | c c c c c c c 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)$\
      cline{1-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$\
      end{tabular}
      end{align*}
      end{document}


      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






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Apr 1 at 16:12









      Mico

      286k32389779




      286k32389779










      asked Apr 1 at 15:30









      MathsMaths

      37111




      37111






















          4 Answers
          4






          active

          oldest

          votes


















          5














          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.



          enter image description here



          documentclass[11pt, a4paper]{report}
          usepackage{array,showframe} % don't load 'showframe' in real document

          begin{document}
          [ % no need for an 'align*' env.
          setlengtharraycolsep{3pt} % default:5pt
          renewcommandarraystretch{1.2}
          begin{array}{@{} c | *{8}{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\
          end{array}
          ]
          end{document}




          Addendum to address the OP's follow-up request: The exact same adjustments described above also work for the "first table".



          enter image description here



          documentclass[11pt, a4paper]{report}
          usepackage{array,showframe} % don't load 'showframe' in real document
          begin{document}
          [
          setlengtharraycolsep{3pt} % default:5pt
          renewcommandarraystretch{1.2}
          begin{array}{@{}c | *{8}{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)\
          end{array}
          ]
          end{document}





          share|improve this answer


























          • could you do this with the first table? I like the neatness of this :)

            – Maths
            Apr 1 at 15:47











          • @Maths - Please see the addendum I just posted.

            – Mico
            Apr 1 at 15:58



















          4














          Let TeX compute the intercolumn spaces.



          documentclass[11pt,a4paper]{article}
          usepackage{array}

          usepackage{showframe} % just to see the page margins

          begin{document}

          This is the character table:
          [
          setlengthextrarowheight{1.5pt}
          setlength{tabcolsep}{0pt}
          begin{tabular*}{displaywidth}{
          @{hspace{3pt}}
          >{$}c<{$}
          @{hspace{3pt}extracolsep{fill}}|
          *{8}{>{$}c<{$}}
          @{hspace{3pt}}
          }
          + & (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\
          end{tabular*}
          ]

          end{document}


          enter image description here






          share|improve this answer































            3














            Reduce the tabcolsep.



            documentclass[11pt, a4paper]{report}
            usepackage{bm}
            usepackage{amsfonts, graphicx, verbatim, amsmath,amssymb, amsthm}
            usepackage{color}
            usepackage{array}
            usepackage{setspace}% if you must (for double spacing thesis)
            usepackage{fancyhdr}
            usepackage{enumitem}
            usepackage{tikz}
            usepackage{parskip}
            usepackage{lipsum}
            usepackage{floatrow}
            usepackage[pass,showframe]{geometry}
            begin{document}
            begin{align*}
            setlengthextrarowheight{3pt}
            tabcolsep=2.5ptrelax
            noindentbegin{tabular}{c | c c c c c c c 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)$\
            cline{1-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$\
            end{tabular}
            end{align*}


            begin{align*}
            tabcolsep=2.5ptrelax
            setlengthextrarowheight{3pt}
            noindentbegin{tabular}{c | c c c c c c c 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)$\
            cline{1-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)$\
            end{tabular}
            end{align*}
            end{document}


            enter image description here



            Additionally, one can set the 2nd table in small:



            documentclass[11pt, a4paper]{report}
            usepackage{bm}
            usepackage{amsfonts, graphicx, verbatim, amsmath,amssymb, amsthm}
            usepackage{color}
            usepackage{array}
            usepackage{setspace}% if you must (for double spacing thesis)
            usepackage{fancyhdr}
            usepackage{enumitem}
            usepackage{tikz}
            usepackage{parskip}
            usepackage{lipsum}
            usepackage{floatrow}
            usepackage[pass,showframe]{geometry}
            begin{document}
            begin{align*}
            setlengthextrarowheight{3pt}
            tabcolsep=2.5ptrelax
            noindentbegin{tabular}{c | c c c c c c c 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)$\
            cline{1-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$\
            end{tabular}
            end{align*}

            {small
            begin{align*}
            tabcolsep=3.75ptrelax
            setlengthextrarowheight{3pt}
            noindentbegin{tabular}{c | c c c c c c c 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)$\
            cline{1-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)$\
            end{tabular}
            end{align*}
            }
            end{document}


            enter image description here






            share|improve this answer


























            • Thanks, can you do something similar for the table above?

              – Maths
              Apr 1 at 15:40











            • well its the same additional line, but this makes the first table look very compact

              – Maths
              Apr 1 at 15:42











            • @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
              Apr 1 at 15:51



















            1














            I would recommend array for that.



            documentclass[11pt, a4paper]{report}
            usepackage{bm}
            usepackage{amsfonts, graphicx, verbatim, amsmath,amssymb, amsthm}
            usepackage{color}
            usepackage{array}
            usepackage{setspace}% if you must (for double spacing thesis)
            usepackage{fancyhdr}
            usepackage{enumitem}
            usepackage{tikz}
            usepackage{parskip}
            usepackage{lipsum}
            usepackage{floatrow}
            begin{document}
            [
            setlengthextrarowheight{3pt}
            begin{array}{@{}c|c@{;}c@{;}c@{;}c@{;}c@{;}c@{;}c@{;}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
            end{array}
            ]
            end{document}


            enter image description here





            I prefer these two variants:



            documentclass[11pt, a4paper]{report}
            usepackage{bm}
            usepackage{amsfonts, graphicx, verbatim, amsmath,amssymb, amsthm}
            usepackage{color}
            usepackage{array}
            usepackage{setspace}% if you must (for double spacing thesis)
            usepackage{fancyhdr}
            usepackage{enumitem}
            usepackage{tikz}
            usepackage{parskip}
            usepackage{lipsum}
            usepackage{floatrow}
            begin{document}
            [
            setlengthextrarowheight{3pt}
            begin{array}{@{}c|c@{;}c@{;}c@{;}c@{;}c@{;}c@{;}c@{;}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
            end{array}
            ]
            end{document}


            enter image description here



            documentclass[11pt, a4paper]{report}
            usepackage{bm}
            usepackage{amsfonts, graphicx, verbatim, amsmath,amssymb, amsthm}
            usepackage{color}
            usepackage{array}
            usepackage{setspace}% if you must (for double spacing thesis)
            usepackage{fancyhdr}
            usepackage{enumitem}
            usepackage{tikz}
            usepackage{parskip}
            usepackage{lipsum}
            usepackage{floatrow}
            begin{document}
            [
            setlengthextrarowheight{3pt}
            begin{array}{@{}c|c@{;}c@{;}c@{;}c@{;}c@{;}c@{;}c@{;}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
            end{array}
            ]
            end{document}


            enter image description here






            share|improve this answer


























            • But will this be within the default margins? as that's my issue

              – Maths
              Apr 1 at 15:43











            • @Maths Of course yes - I did some settings to make sure that Overfull hbox doesn't happen.

              – JouleV
              Apr 1 at 15:44











            • 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
              Apr 1 at 15:49











            • @Maths What do you mean by "free"? Automatic resize if margin exceeded?

              – JouleV
              Apr 1 at 15:50






            • 1





              @Mico Oh yes. Actually I used "Find and Replace" in my editor, so I did not take note of that. Thanks!

              – JouleV
              Apr 1 at 16:00














            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
            });


            }
            });














            draft saved

            draft discarded


















            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









            5














            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.



            enter image description here



            documentclass[11pt, a4paper]{report}
            usepackage{array,showframe} % don't load 'showframe' in real document

            begin{document}
            [ % no need for an 'align*' env.
            setlengtharraycolsep{3pt} % default:5pt
            renewcommandarraystretch{1.2}
            begin{array}{@{} c | *{8}{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\
            end{array}
            ]
            end{document}




            Addendum to address the OP's follow-up request: The exact same adjustments described above also work for the "first table".



            enter image description here



            documentclass[11pt, a4paper]{report}
            usepackage{array,showframe} % don't load 'showframe' in real document
            begin{document}
            [
            setlengtharraycolsep{3pt} % default:5pt
            renewcommandarraystretch{1.2}
            begin{array}{@{}c | *{8}{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)\
            end{array}
            ]
            end{document}





            share|improve this answer


























            • could you do this with the first table? I like the neatness of this :)

              – Maths
              Apr 1 at 15:47











            • @Maths - Please see the addendum I just posted.

              – Mico
              Apr 1 at 15:58
















            5














            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.



            enter image description here



            documentclass[11pt, a4paper]{report}
            usepackage{array,showframe} % don't load 'showframe' in real document

            begin{document}
            [ % no need for an 'align*' env.
            setlengtharraycolsep{3pt} % default:5pt
            renewcommandarraystretch{1.2}
            begin{array}{@{} c | *{8}{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\
            end{array}
            ]
            end{document}




            Addendum to address the OP's follow-up request: The exact same adjustments described above also work for the "first table".



            enter image description here



            documentclass[11pt, a4paper]{report}
            usepackage{array,showframe} % don't load 'showframe' in real document
            begin{document}
            [
            setlengtharraycolsep{3pt} % default:5pt
            renewcommandarraystretch{1.2}
            begin{array}{@{}c | *{8}{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)\
            end{array}
            ]
            end{document}





            share|improve this answer


























            • could you do this with the first table? I like the neatness of this :)

              – Maths
              Apr 1 at 15:47











            • @Maths - Please see the addendum I just posted.

              – Mico
              Apr 1 at 15:58














            5












            5








            5







            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.



            enter image description here



            documentclass[11pt, a4paper]{report}
            usepackage{array,showframe} % don't load 'showframe' in real document

            begin{document}
            [ % no need for an 'align*' env.
            setlengtharraycolsep{3pt} % default:5pt
            renewcommandarraystretch{1.2}
            begin{array}{@{} c | *{8}{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\
            end{array}
            ]
            end{document}




            Addendum to address the OP's follow-up request: The exact same adjustments described above also work for the "first table".



            enter image description here



            documentclass[11pt, a4paper]{report}
            usepackage{array,showframe} % don't load 'showframe' in real document
            begin{document}
            [
            setlengtharraycolsep{3pt} % default:5pt
            renewcommandarraystretch{1.2}
            begin{array}{@{}c | *{8}{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)\
            end{array}
            ]
            end{document}





            share|improve this answer















            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.



            enter image description here



            documentclass[11pt, a4paper]{report}
            usepackage{array,showframe} % don't load 'showframe' in real document

            begin{document}
            [ % no need for an 'align*' env.
            setlengtharraycolsep{3pt} % default:5pt
            renewcommandarraystretch{1.2}
            begin{array}{@{} c | *{8}{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\
            end{array}
            ]
            end{document}




            Addendum to address the OP's follow-up request: The exact same adjustments described above also work for the "first table".



            enter image description here



            documentclass[11pt, a4paper]{report}
            usepackage{array,showframe} % don't load 'showframe' in real document
            begin{document}
            [
            setlengtharraycolsep{3pt} % default:5pt
            renewcommandarraystretch{1.2}
            begin{array}{@{}c | *{8}{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)\
            end{array}
            ]
            end{document}






            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Apr 1 at 16:03

























            answered Apr 1 at 15:44









            MicoMico

            286k32389779




            286k32389779













            • could you do this with the first table? I like the neatness of this :)

              – Maths
              Apr 1 at 15:47











            • @Maths - Please see the addendum I just posted.

              – Mico
              Apr 1 at 15:58



















            • could you do this with the first table? I like the neatness of this :)

              – Maths
              Apr 1 at 15:47











            • @Maths - Please see the addendum I just posted.

              – Mico
              Apr 1 at 15:58

















            could you do this with the first table? I like the neatness of this :)

            – Maths
            Apr 1 at 15:47





            could you do this with the first table? I like the neatness of this :)

            – Maths
            Apr 1 at 15:47













            @Maths - Please see the addendum I just posted.

            – Mico
            Apr 1 at 15:58





            @Maths - Please see the addendum I just posted.

            – Mico
            Apr 1 at 15:58











            4














            Let TeX compute the intercolumn spaces.



            documentclass[11pt,a4paper]{article}
            usepackage{array}

            usepackage{showframe} % just to see the page margins

            begin{document}

            This is the character table:
            [
            setlengthextrarowheight{1.5pt}
            setlength{tabcolsep}{0pt}
            begin{tabular*}{displaywidth}{
            @{hspace{3pt}}
            >{$}c<{$}
            @{hspace{3pt}extracolsep{fill}}|
            *{8}{>{$}c<{$}}
            @{hspace{3pt}}
            }
            + & (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\
            end{tabular*}
            ]

            end{document}


            enter image description here






            share|improve this answer




























              4














              Let TeX compute the intercolumn spaces.



              documentclass[11pt,a4paper]{article}
              usepackage{array}

              usepackage{showframe} % just to see the page margins

              begin{document}

              This is the character table:
              [
              setlengthextrarowheight{1.5pt}
              setlength{tabcolsep}{0pt}
              begin{tabular*}{displaywidth}{
              @{hspace{3pt}}
              >{$}c<{$}
              @{hspace{3pt}extracolsep{fill}}|
              *{8}{>{$}c<{$}}
              @{hspace{3pt}}
              }
              + & (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\
              end{tabular*}
              ]

              end{document}


              enter image description here






              share|improve this answer


























                4












                4








                4







                Let TeX compute the intercolumn spaces.



                documentclass[11pt,a4paper]{article}
                usepackage{array}

                usepackage{showframe} % just to see the page margins

                begin{document}

                This is the character table:
                [
                setlengthextrarowheight{1.5pt}
                setlength{tabcolsep}{0pt}
                begin{tabular*}{displaywidth}{
                @{hspace{3pt}}
                >{$}c<{$}
                @{hspace{3pt}extracolsep{fill}}|
                *{8}{>{$}c<{$}}
                @{hspace{3pt}}
                }
                + & (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\
                end{tabular*}
                ]

                end{document}


                enter image description here






                share|improve this answer













                Let TeX compute the intercolumn spaces.



                documentclass[11pt,a4paper]{article}
                usepackage{array}

                usepackage{showframe} % just to see the page margins

                begin{document}

                This is the character table:
                [
                setlengthextrarowheight{1.5pt}
                setlength{tabcolsep}{0pt}
                begin{tabular*}{displaywidth}{
                @{hspace{3pt}}
                >{$}c<{$}
                @{hspace{3pt}extracolsep{fill}}|
                *{8}{>{$}c<{$}}
                @{hspace{3pt}}
                }
                + & (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\
                end{tabular*}
                ]

                end{document}


                enter image description here







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Apr 1 at 16:08









                egregegreg

                732k8919303253




                732k8919303253























                    3














                    Reduce the tabcolsep.



                    documentclass[11pt, a4paper]{report}
                    usepackage{bm}
                    usepackage{amsfonts, graphicx, verbatim, amsmath,amssymb, amsthm}
                    usepackage{color}
                    usepackage{array}
                    usepackage{setspace}% if you must (for double spacing thesis)
                    usepackage{fancyhdr}
                    usepackage{enumitem}
                    usepackage{tikz}
                    usepackage{parskip}
                    usepackage{lipsum}
                    usepackage{floatrow}
                    usepackage[pass,showframe]{geometry}
                    begin{document}
                    begin{align*}
                    setlengthextrarowheight{3pt}
                    tabcolsep=2.5ptrelax
                    noindentbegin{tabular}{c | c c c c c c c 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)$\
                    cline{1-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$\
                    end{tabular}
                    end{align*}


                    begin{align*}
                    tabcolsep=2.5ptrelax
                    setlengthextrarowheight{3pt}
                    noindentbegin{tabular}{c | c c c c c c c 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)$\
                    cline{1-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)$\
                    end{tabular}
                    end{align*}
                    end{document}


                    enter image description here



                    Additionally, one can set the 2nd table in small:



                    documentclass[11pt, a4paper]{report}
                    usepackage{bm}
                    usepackage{amsfonts, graphicx, verbatim, amsmath,amssymb, amsthm}
                    usepackage{color}
                    usepackage{array}
                    usepackage{setspace}% if you must (for double spacing thesis)
                    usepackage{fancyhdr}
                    usepackage{enumitem}
                    usepackage{tikz}
                    usepackage{parskip}
                    usepackage{lipsum}
                    usepackage{floatrow}
                    usepackage[pass,showframe]{geometry}
                    begin{document}
                    begin{align*}
                    setlengthextrarowheight{3pt}
                    tabcolsep=2.5ptrelax
                    noindentbegin{tabular}{c | c c c c c c c 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)$\
                    cline{1-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$\
                    end{tabular}
                    end{align*}

                    {small
                    begin{align*}
                    tabcolsep=3.75ptrelax
                    setlengthextrarowheight{3pt}
                    noindentbegin{tabular}{c | c c c c c c c 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)$\
                    cline{1-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)$\
                    end{tabular}
                    end{align*}
                    }
                    end{document}


                    enter image description here






                    share|improve this answer


























                    • Thanks, can you do something similar for the table above?

                      – Maths
                      Apr 1 at 15:40











                    • well its the same additional line, but this makes the first table look very compact

                      – Maths
                      Apr 1 at 15:42











                    • @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
                      Apr 1 at 15:51
















                    3














                    Reduce the tabcolsep.



                    documentclass[11pt, a4paper]{report}
                    usepackage{bm}
                    usepackage{amsfonts, graphicx, verbatim, amsmath,amssymb, amsthm}
                    usepackage{color}
                    usepackage{array}
                    usepackage{setspace}% if you must (for double spacing thesis)
                    usepackage{fancyhdr}
                    usepackage{enumitem}
                    usepackage{tikz}
                    usepackage{parskip}
                    usepackage{lipsum}
                    usepackage{floatrow}
                    usepackage[pass,showframe]{geometry}
                    begin{document}
                    begin{align*}
                    setlengthextrarowheight{3pt}
                    tabcolsep=2.5ptrelax
                    noindentbegin{tabular}{c | c c c c c c c 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)$\
                    cline{1-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$\
                    end{tabular}
                    end{align*}


                    begin{align*}
                    tabcolsep=2.5ptrelax
                    setlengthextrarowheight{3pt}
                    noindentbegin{tabular}{c | c c c c c c c 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)$\
                    cline{1-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)$\
                    end{tabular}
                    end{align*}
                    end{document}


                    enter image description here



                    Additionally, one can set the 2nd table in small:



                    documentclass[11pt, a4paper]{report}
                    usepackage{bm}
                    usepackage{amsfonts, graphicx, verbatim, amsmath,amssymb, amsthm}
                    usepackage{color}
                    usepackage{array}
                    usepackage{setspace}% if you must (for double spacing thesis)
                    usepackage{fancyhdr}
                    usepackage{enumitem}
                    usepackage{tikz}
                    usepackage{parskip}
                    usepackage{lipsum}
                    usepackage{floatrow}
                    usepackage[pass,showframe]{geometry}
                    begin{document}
                    begin{align*}
                    setlengthextrarowheight{3pt}
                    tabcolsep=2.5ptrelax
                    noindentbegin{tabular}{c | c c c c c c c 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)$\
                    cline{1-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$\
                    end{tabular}
                    end{align*}

                    {small
                    begin{align*}
                    tabcolsep=3.75ptrelax
                    setlengthextrarowheight{3pt}
                    noindentbegin{tabular}{c | c c c c c c c 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)$\
                    cline{1-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)$\
                    end{tabular}
                    end{align*}
                    }
                    end{document}


                    enter image description here






                    share|improve this answer


























                    • Thanks, can you do something similar for the table above?

                      – Maths
                      Apr 1 at 15:40











                    • well its the same additional line, but this makes the first table look very compact

                      – Maths
                      Apr 1 at 15:42











                    • @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
                      Apr 1 at 15:51














                    3












                    3








                    3







                    Reduce the tabcolsep.



                    documentclass[11pt, a4paper]{report}
                    usepackage{bm}
                    usepackage{amsfonts, graphicx, verbatim, amsmath,amssymb, amsthm}
                    usepackage{color}
                    usepackage{array}
                    usepackage{setspace}% if you must (for double spacing thesis)
                    usepackage{fancyhdr}
                    usepackage{enumitem}
                    usepackage{tikz}
                    usepackage{parskip}
                    usepackage{lipsum}
                    usepackage{floatrow}
                    usepackage[pass,showframe]{geometry}
                    begin{document}
                    begin{align*}
                    setlengthextrarowheight{3pt}
                    tabcolsep=2.5ptrelax
                    noindentbegin{tabular}{c | c c c c c c c 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)$\
                    cline{1-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$\
                    end{tabular}
                    end{align*}


                    begin{align*}
                    tabcolsep=2.5ptrelax
                    setlengthextrarowheight{3pt}
                    noindentbegin{tabular}{c | c c c c c c c 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)$\
                    cline{1-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)$\
                    end{tabular}
                    end{align*}
                    end{document}


                    enter image description here



                    Additionally, one can set the 2nd table in small:



                    documentclass[11pt, a4paper]{report}
                    usepackage{bm}
                    usepackage{amsfonts, graphicx, verbatim, amsmath,amssymb, amsthm}
                    usepackage{color}
                    usepackage{array}
                    usepackage{setspace}% if you must (for double spacing thesis)
                    usepackage{fancyhdr}
                    usepackage{enumitem}
                    usepackage{tikz}
                    usepackage{parskip}
                    usepackage{lipsum}
                    usepackage{floatrow}
                    usepackage[pass,showframe]{geometry}
                    begin{document}
                    begin{align*}
                    setlengthextrarowheight{3pt}
                    tabcolsep=2.5ptrelax
                    noindentbegin{tabular}{c | c c c c c c c 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)$\
                    cline{1-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$\
                    end{tabular}
                    end{align*}

                    {small
                    begin{align*}
                    tabcolsep=3.75ptrelax
                    setlengthextrarowheight{3pt}
                    noindentbegin{tabular}{c | c c c c c c c 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)$\
                    cline{1-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)$\
                    end{tabular}
                    end{align*}
                    }
                    end{document}


                    enter image description here






                    share|improve this answer















                    Reduce the tabcolsep.



                    documentclass[11pt, a4paper]{report}
                    usepackage{bm}
                    usepackage{amsfonts, graphicx, verbatim, amsmath,amssymb, amsthm}
                    usepackage{color}
                    usepackage{array}
                    usepackage{setspace}% if you must (for double spacing thesis)
                    usepackage{fancyhdr}
                    usepackage{enumitem}
                    usepackage{tikz}
                    usepackage{parskip}
                    usepackage{lipsum}
                    usepackage{floatrow}
                    usepackage[pass,showframe]{geometry}
                    begin{document}
                    begin{align*}
                    setlengthextrarowheight{3pt}
                    tabcolsep=2.5ptrelax
                    noindentbegin{tabular}{c | c c c c c c c 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)$\
                    cline{1-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$\
                    end{tabular}
                    end{align*}


                    begin{align*}
                    tabcolsep=2.5ptrelax
                    setlengthextrarowheight{3pt}
                    noindentbegin{tabular}{c | c c c c c c c 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)$\
                    cline{1-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)$\
                    end{tabular}
                    end{align*}
                    end{document}


                    enter image description here



                    Additionally, one can set the 2nd table in small:



                    documentclass[11pt, a4paper]{report}
                    usepackage{bm}
                    usepackage{amsfonts, graphicx, verbatim, amsmath,amssymb, amsthm}
                    usepackage{color}
                    usepackage{array}
                    usepackage{setspace}% if you must (for double spacing thesis)
                    usepackage{fancyhdr}
                    usepackage{enumitem}
                    usepackage{tikz}
                    usepackage{parskip}
                    usepackage{lipsum}
                    usepackage{floatrow}
                    usepackage[pass,showframe]{geometry}
                    begin{document}
                    begin{align*}
                    setlengthextrarowheight{3pt}
                    tabcolsep=2.5ptrelax
                    noindentbegin{tabular}{c | c c c c c c c 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)$\
                    cline{1-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$\
                    end{tabular}
                    end{align*}

                    {small
                    begin{align*}
                    tabcolsep=3.75ptrelax
                    setlengthextrarowheight{3pt}
                    noindentbegin{tabular}{c | c c c c c c c 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)$\
                    cline{1-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)$\
                    end{tabular}
                    end{align*}
                    }
                    end{document}


                    enter image description here







                    share|improve this answer














                    share|improve this answer



                    share|improve this answer








                    edited Apr 1 at 15:57

























                    answered Apr 1 at 15:33









                    Steven B. SegletesSteven B. Segletes

                    161k9205416




                    161k9205416













                    • Thanks, can you do something similar for the table above?

                      – Maths
                      Apr 1 at 15:40











                    • well its the same additional line, but this makes the first table look very compact

                      – Maths
                      Apr 1 at 15:42











                    • @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
                      Apr 1 at 15:51



















                    • Thanks, can you do something similar for the table above?

                      – Maths
                      Apr 1 at 15:40











                    • well its the same additional line, but this makes the first table look very compact

                      – Maths
                      Apr 1 at 15:42











                    • @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
                      Apr 1 at 15:51

















                    Thanks, can you do something similar for the table above?

                    – Maths
                    Apr 1 at 15:40





                    Thanks, can you do something similar for the table above?

                    – Maths
                    Apr 1 at 15:40













                    well its the same additional line, but this makes the first table look very compact

                    – Maths
                    Apr 1 at 15:42





                    well its the same additional line, but this makes the first table look very compact

                    – Maths
                    Apr 1 at 15:42













                    @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
                    Apr 1 at 15:51





                    @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
                    Apr 1 at 15:51











                    1














                    I would recommend array for that.



                    documentclass[11pt, a4paper]{report}
                    usepackage{bm}
                    usepackage{amsfonts, graphicx, verbatim, amsmath,amssymb, amsthm}
                    usepackage{color}
                    usepackage{array}
                    usepackage{setspace}% if you must (for double spacing thesis)
                    usepackage{fancyhdr}
                    usepackage{enumitem}
                    usepackage{tikz}
                    usepackage{parskip}
                    usepackage{lipsum}
                    usepackage{floatrow}
                    begin{document}
                    [
                    setlengthextrarowheight{3pt}
                    begin{array}{@{}c|c@{;}c@{;}c@{;}c@{;}c@{;}c@{;}c@{;}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
                    end{array}
                    ]
                    end{document}


                    enter image description here





                    I prefer these two variants:



                    documentclass[11pt, a4paper]{report}
                    usepackage{bm}
                    usepackage{amsfonts, graphicx, verbatim, amsmath,amssymb, amsthm}
                    usepackage{color}
                    usepackage{array}
                    usepackage{setspace}% if you must (for double spacing thesis)
                    usepackage{fancyhdr}
                    usepackage{enumitem}
                    usepackage{tikz}
                    usepackage{parskip}
                    usepackage{lipsum}
                    usepackage{floatrow}
                    begin{document}
                    [
                    setlengthextrarowheight{3pt}
                    begin{array}{@{}c|c@{;}c@{;}c@{;}c@{;}c@{;}c@{;}c@{;}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
                    end{array}
                    ]
                    end{document}


                    enter image description here



                    documentclass[11pt, a4paper]{report}
                    usepackage{bm}
                    usepackage{amsfonts, graphicx, verbatim, amsmath,amssymb, amsthm}
                    usepackage{color}
                    usepackage{array}
                    usepackage{setspace}% if you must (for double spacing thesis)
                    usepackage{fancyhdr}
                    usepackage{enumitem}
                    usepackage{tikz}
                    usepackage{parskip}
                    usepackage{lipsum}
                    usepackage{floatrow}
                    begin{document}
                    [
                    setlengthextrarowheight{3pt}
                    begin{array}{@{}c|c@{;}c@{;}c@{;}c@{;}c@{;}c@{;}c@{;}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
                    end{array}
                    ]
                    end{document}


                    enter image description here






                    share|improve this answer


























                    • But will this be within the default margins? as that's my issue

                      – Maths
                      Apr 1 at 15:43











                    • @Maths Of course yes - I did some settings to make sure that Overfull hbox doesn't happen.

                      – JouleV
                      Apr 1 at 15:44











                    • 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
                      Apr 1 at 15:49











                    • @Maths What do you mean by "free"? Automatic resize if margin exceeded?

                      – JouleV
                      Apr 1 at 15:50






                    • 1





                      @Mico Oh yes. Actually I used "Find and Replace" in my editor, so I did not take note of that. Thanks!

                      – JouleV
                      Apr 1 at 16:00


















                    1














                    I would recommend array for that.



                    documentclass[11pt, a4paper]{report}
                    usepackage{bm}
                    usepackage{amsfonts, graphicx, verbatim, amsmath,amssymb, amsthm}
                    usepackage{color}
                    usepackage{array}
                    usepackage{setspace}% if you must (for double spacing thesis)
                    usepackage{fancyhdr}
                    usepackage{enumitem}
                    usepackage{tikz}
                    usepackage{parskip}
                    usepackage{lipsum}
                    usepackage{floatrow}
                    begin{document}
                    [
                    setlengthextrarowheight{3pt}
                    begin{array}{@{}c|c@{;}c@{;}c@{;}c@{;}c@{;}c@{;}c@{;}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
                    end{array}
                    ]
                    end{document}


                    enter image description here





                    I prefer these two variants:



                    documentclass[11pt, a4paper]{report}
                    usepackage{bm}
                    usepackage{amsfonts, graphicx, verbatim, amsmath,amssymb, amsthm}
                    usepackage{color}
                    usepackage{array}
                    usepackage{setspace}% if you must (for double spacing thesis)
                    usepackage{fancyhdr}
                    usepackage{enumitem}
                    usepackage{tikz}
                    usepackage{parskip}
                    usepackage{lipsum}
                    usepackage{floatrow}
                    begin{document}
                    [
                    setlengthextrarowheight{3pt}
                    begin{array}{@{}c|c@{;}c@{;}c@{;}c@{;}c@{;}c@{;}c@{;}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
                    end{array}
                    ]
                    end{document}


                    enter image description here



                    documentclass[11pt, a4paper]{report}
                    usepackage{bm}
                    usepackage{amsfonts, graphicx, verbatim, amsmath,amssymb, amsthm}
                    usepackage{color}
                    usepackage{array}
                    usepackage{setspace}% if you must (for double spacing thesis)
                    usepackage{fancyhdr}
                    usepackage{enumitem}
                    usepackage{tikz}
                    usepackage{parskip}
                    usepackage{lipsum}
                    usepackage{floatrow}
                    begin{document}
                    [
                    setlengthextrarowheight{3pt}
                    begin{array}{@{}c|c@{;}c@{;}c@{;}c@{;}c@{;}c@{;}c@{;}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
                    end{array}
                    ]
                    end{document}


                    enter image description here






                    share|improve this answer


























                    • But will this be within the default margins? as that's my issue

                      – Maths
                      Apr 1 at 15:43











                    • @Maths Of course yes - I did some settings to make sure that Overfull hbox doesn't happen.

                      – JouleV
                      Apr 1 at 15:44











                    • 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
                      Apr 1 at 15:49











                    • @Maths What do you mean by "free"? Automatic resize if margin exceeded?

                      – JouleV
                      Apr 1 at 15:50






                    • 1





                      @Mico Oh yes. Actually I used "Find and Replace" in my editor, so I did not take note of that. Thanks!

                      – JouleV
                      Apr 1 at 16:00
















                    1












                    1








                    1







                    I would recommend array for that.



                    documentclass[11pt, a4paper]{report}
                    usepackage{bm}
                    usepackage{amsfonts, graphicx, verbatim, amsmath,amssymb, amsthm}
                    usepackage{color}
                    usepackage{array}
                    usepackage{setspace}% if you must (for double spacing thesis)
                    usepackage{fancyhdr}
                    usepackage{enumitem}
                    usepackage{tikz}
                    usepackage{parskip}
                    usepackage{lipsum}
                    usepackage{floatrow}
                    begin{document}
                    [
                    setlengthextrarowheight{3pt}
                    begin{array}{@{}c|c@{;}c@{;}c@{;}c@{;}c@{;}c@{;}c@{;}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
                    end{array}
                    ]
                    end{document}


                    enter image description here





                    I prefer these two variants:



                    documentclass[11pt, a4paper]{report}
                    usepackage{bm}
                    usepackage{amsfonts, graphicx, verbatim, amsmath,amssymb, amsthm}
                    usepackage{color}
                    usepackage{array}
                    usepackage{setspace}% if you must (for double spacing thesis)
                    usepackage{fancyhdr}
                    usepackage{enumitem}
                    usepackage{tikz}
                    usepackage{parskip}
                    usepackage{lipsum}
                    usepackage{floatrow}
                    begin{document}
                    [
                    setlengthextrarowheight{3pt}
                    begin{array}{@{}c|c@{;}c@{;}c@{;}c@{;}c@{;}c@{;}c@{;}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
                    end{array}
                    ]
                    end{document}


                    enter image description here



                    documentclass[11pt, a4paper]{report}
                    usepackage{bm}
                    usepackage{amsfonts, graphicx, verbatim, amsmath,amssymb, amsthm}
                    usepackage{color}
                    usepackage{array}
                    usepackage{setspace}% if you must (for double spacing thesis)
                    usepackage{fancyhdr}
                    usepackage{enumitem}
                    usepackage{tikz}
                    usepackage{parskip}
                    usepackage{lipsum}
                    usepackage{floatrow}
                    begin{document}
                    [
                    setlengthextrarowheight{3pt}
                    begin{array}{@{}c|c@{;}c@{;}c@{;}c@{;}c@{;}c@{;}c@{;}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
                    end{array}
                    ]
                    end{document}


                    enter image description here






                    share|improve this answer















                    I would recommend array for that.



                    documentclass[11pt, a4paper]{report}
                    usepackage{bm}
                    usepackage{amsfonts, graphicx, verbatim, amsmath,amssymb, amsthm}
                    usepackage{color}
                    usepackage{array}
                    usepackage{setspace}% if you must (for double spacing thesis)
                    usepackage{fancyhdr}
                    usepackage{enumitem}
                    usepackage{tikz}
                    usepackage{parskip}
                    usepackage{lipsum}
                    usepackage{floatrow}
                    begin{document}
                    [
                    setlengthextrarowheight{3pt}
                    begin{array}{@{}c|c@{;}c@{;}c@{;}c@{;}c@{;}c@{;}c@{;}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
                    end{array}
                    ]
                    end{document}


                    enter image description here





                    I prefer these two variants:



                    documentclass[11pt, a4paper]{report}
                    usepackage{bm}
                    usepackage{amsfonts, graphicx, verbatim, amsmath,amssymb, amsthm}
                    usepackage{color}
                    usepackage{array}
                    usepackage{setspace}% if you must (for double spacing thesis)
                    usepackage{fancyhdr}
                    usepackage{enumitem}
                    usepackage{tikz}
                    usepackage{parskip}
                    usepackage{lipsum}
                    usepackage{floatrow}
                    begin{document}
                    [
                    setlengthextrarowheight{3pt}
                    begin{array}{@{}c|c@{;}c@{;}c@{;}c@{;}c@{;}c@{;}c@{;}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
                    end{array}
                    ]
                    end{document}


                    enter image description here



                    documentclass[11pt, a4paper]{report}
                    usepackage{bm}
                    usepackage{amsfonts, graphicx, verbatim, amsmath,amssymb, amsthm}
                    usepackage{color}
                    usepackage{array}
                    usepackage{setspace}% if you must (for double spacing thesis)
                    usepackage{fancyhdr}
                    usepackage{enumitem}
                    usepackage{tikz}
                    usepackage{parskip}
                    usepackage{lipsum}
                    usepackage{floatrow}
                    begin{document}
                    [
                    setlengthextrarowheight{3pt}
                    begin{array}{@{}c|c@{;}c@{;}c@{;}c@{;}c@{;}c@{;}c@{;}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
                    end{array}
                    ]
                    end{document}


                    enter image description here







                    share|improve this answer














                    share|improve this answer



                    share|improve this answer








                    edited Apr 1 at 16:02

























                    answered Apr 1 at 15:41









                    JouleVJouleV

                    11.4k22561




                    11.4k22561













                    • But will this be within the default margins? as that's my issue

                      – Maths
                      Apr 1 at 15:43











                    • @Maths Of course yes - I did some settings to make sure that Overfull hbox doesn't happen.

                      – JouleV
                      Apr 1 at 15:44











                    • 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
                      Apr 1 at 15:49











                    • @Maths What do you mean by "free"? Automatic resize if margin exceeded?

                      – JouleV
                      Apr 1 at 15:50






                    • 1





                      @Mico Oh yes. Actually I used "Find and Replace" in my editor, so I did not take note of that. Thanks!

                      – JouleV
                      Apr 1 at 16:00





















                    • But will this be within the default margins? as that's my issue

                      – Maths
                      Apr 1 at 15:43











                    • @Maths Of course yes - I did some settings to make sure that Overfull hbox doesn't happen.

                      – JouleV
                      Apr 1 at 15:44











                    • 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
                      Apr 1 at 15:49











                    • @Maths What do you mean by "free"? Automatic resize if margin exceeded?

                      – JouleV
                      Apr 1 at 15:50






                    • 1





                      @Mico Oh yes. Actually I used "Find and Replace" in my editor, so I did not take note of that. Thanks!

                      – JouleV
                      Apr 1 at 16:00



















                    But will this be within the default margins? as that's my issue

                    – Maths
                    Apr 1 at 15:43





                    But will this be within the default margins? as that's my issue

                    – Maths
                    Apr 1 at 15:43













                    @Maths Of course yes - I did some settings to make sure that Overfull hbox doesn't happen.

                    – JouleV
                    Apr 1 at 15:44





                    @Maths Of course yes - I did some settings to make sure that Overfull hbox doesn't happen.

                    – JouleV
                    Apr 1 at 15:44













                    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
                    Apr 1 at 15:49





                    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
                    Apr 1 at 15:49













                    @Maths What do you mean by "free"? Automatic resize if margin exceeded?

                    – JouleV
                    Apr 1 at 15:50





                    @Maths What do you mean by "free"? Automatic resize if margin exceeded?

                    – JouleV
                    Apr 1 at 15:50




                    1




                    1





                    @Mico Oh yes. Actually I used "Find and Replace" in my editor, so I did not take note of that. Thanks!

                    – JouleV
                    Apr 1 at 16:00







                    @Mico Oh yes. Actually I used "Find and Replace" in my editor, so I did not take note of that. Thanks!

                    – JouleV
                    Apr 1 at 16:00




















                    draft saved

                    draft discarded




















































                    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.




                    draft saved


                    draft discarded














                    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





















































                    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







                    Popular posts from this blog

                    Plaza Victoria

                    Puebla de Zaragoza

                    Musa