잘 정렬된 벡터 목록 표시

잘 정렬된 벡터 목록 표시

나는 (열) 길이가 14인 14개의 고유벡터를 좋은 방법으로 제시해야 하는 파일을 작성 중입니다. 지금까지 환경을 사용해 시도했지만 align*원하는 결과를 얻지 못했습니다. 기본적으로 7개 벡터의 한 행을 나란히 두고 다른 7개 벡터의 두 번째 행(또는 공간이 허용하는 경우 한 행에 모두 포함)을 갖고 싶지만 지금은 항목별로 수직 길이가 되도록 정렬하는 방법을 모르겠습니다. 줄을 서다.

\documentclass[12pt]{article}

\usepackage[utf8]{inputenc} 
\usepackage[T1]{fontenc}
\usepackage[english]{babel}
\usepackage{graphicx}
\usepackage{amsmath,amsfonts,amssymb,amsthm}
\usepackage{mathtools}
\usepackage{commath}
\usepackage[sc,osf]{mathpazo}
\usepackage{authblk}
\usepackage{calc}
\usepackage{tkz-graph}
\usepackage{tikz}

\begin{document}
    \begin{align*}
            \begin{pmatrix} 1 \\ 1 \\ 1 \\ 1 \\ 1 \\ 1 \\ 1 \\ 1 \\ 1 \\ 1 \\ 1 \\ 1 \\ 1 \end{pmatrix},
        &   \begin{pmatrix} 0 \\ \frac{1}{\sqrt{2}} \\ 0 \\ \frac{-1}{\sqrt{2}} \\ \frac{1}{\sqrt{2}} \\ \frac{-1}{\sqrt{2}} \\ 0 \\ 1 \\ -1 \\ 0 \\ 0 \\ 0 \\ 0 \\0  \end{pmatrix}, 
        &   \begin{pmatrix} 0 \\ \frac{1}{\sqrt{2}} \\ \frac{1}{\sqrt{2}} \\ \frac{-1}{\sqrt{2}} \\ 0 \\ 0 \\ \frac{-1}{\sqrt{2}} \\ 1 \\ 0 \\ -1 \\ 0 \\ 0 \\ 0 \\ 0 \\0 \end{pmatrix},
        &   \begin{pmatrix} 0 \\ \frac{1}{\sqrt{2}} \\ \frac{1}{\sqrt{2}} \\ \frac{-1}{\sqrt{2}} \\ 0 \\ 0 \\ \frac{-1}{\sqrt{2}} \\ 1 \\ 0 \\ -1 \\ 0 \\ 0 \\ 0 \\ 0 \\0 \end{pmatrix},
        &   \begin{pmatrix} 0 \\ \frac{1}{\sqrt{2}} \\ \frac{1}{\sqrt{2}} \\ \frac{-1}{\sqrt{2}} \\ 0 \\ 0 \\ \frac{-1}{\sqrt{2}} \\ 1 \\ 0 \\ -1 \\ 0 \\ 0 \\ 0 \\ 0 \\0 \end{pmatrix},
        &   \begin{pmatrix} 0 \\ \frac{1}{\sqrt{2}} \\ \frac{1}{\sqrt{2}} \\ \frac{-1}{\sqrt{2}} \\ 0 \\ 0 \\ \frac{-1}{\sqrt{2}} \\ 1 \\ 0 \\ -1 \\ 0 \\ 0 \\ 0 \\ 0 \\0 \end{pmatrix},
        &   \begin{pmatrix} 0 \\ \frac{1}{\sqrt{2}} \\ \frac{1}{\sqrt{2}} \\ \frac{-1}{\sqrt{2}} \\ 0 \\ 0 \\ \frac{-1}{\sqrt{2}} \\ 1 \\ 0 \\ -1 \\ 0 \\ 0 \\ 0 \\ 0 \\0 \end{pmatrix},
        &   \begin{pmatrix} 0 \\ \frac{1}{\sqrt{2}} \\ \frac{1}{\sqrt{2}} \\ \frac{-1}{\sqrt{2}} \\ 0 \\ 0 \\ \frac{-1}{\sqrt{2}} \\ 1 \\ 0 \\ -1 \\ 0 \\ 0 \\ 0 \\ 0 \\0 \end{pmatrix} 
        % \begin{pmatrix}1 & 1 & 1 & 1 & 1 & 1 & 1 & 1 & -1 & 1 & 1 & 0 & 0 & 0\end{pmatrix}  \\
        % \begin{pmatrix}1 & 1 & 1 & 1 & 1 & 1 & 1 & 1 & -1 & 1 & 1 & 0 & 0 & 0\end{pmatrix}  
    \end{align*}

\end{document}

답변1

다음은 행렬의 전체 벡터 컬렉션을 설정하는 다른 접근 방식입니다. \arraycolsep텍스트 블록에서 사용 가능한 공간에 따라 필요에 맞게 열 구분( )을 조정할 수 있습니다 .

여기에 이미지 설명을 입력하세요

\documentclass{article}

\usepackage{amsmath,bm}
\usepackage[sc,osf]{mathpazo}

\setcounter{MaxMatrixCols}{20}% https://tex.stackexchange.com/q/95162/5764

\begin{document}

\[
  \bm{\epsilon} = 
    \begin{bmatrix}
      \bm{\epsilon}_1^T \\
      \\
      \vdots \\
      \\
      \bm{\epsilon}_{14}^T
    \end{bmatrix} =
    \setlength{\arraycolsep}{.8\arraycolsep}% Reduce array column separation by 20%
    \begin{bmatrix}
       1 &  1 &  1 &  1 &  1 &  1 &  1 &  1 &  1 &  1 &  1 &  1 &  1 &  1 \\ %  1
       0 &  s &  0 & -s &  s & -s &  0 &  1 & -1 &  0 &  0 &  0 &  0 &  0 \\ %  2
       0 &  s &  0 & -s &  s & -s &  0 &  1 & -1 &  0 &  0 &  0 &  0 &  0 \\ %  3
       0 & -s &  1 &  s &  0 &  0 & -s &  1 &  0 &  1 &  1 &  0 &  0 & -1 \\ %  4
      -1 &  s &  1 &  s &  0 &  0 & -s & -1 &  0 &  1 &  1 &  0 &  0 & -1 \\ %  5
       1 &  s &  1 &  s &  0 &  0 & -s & -1 &  0 & -1 &  1 &  0 &  0 &  1 \\ %  6
       1 &  s &  1 & -s &  0 &  1 &  s & -1 &  0 & -1 & -1 &  0 & -1 &  0 \\ %  7
       1 &  s &  1 &  s &  0 &  0 & -s & -1 &  0 & -1 &  1 &  0 &  0 &  1 \\ %  8
       1 &  s &  1 &  s &  0 &  0 & -s & -1 &  0 & -1 &  1 & -1 &  0 &  1 \\ %  9
       1 &  s &  1 &  s &  0 &  0 & -s & -1 &  0 & -1 &  1 &  0 &  0 &  1 \\ % 10
       1 &  s &  1 &  s &  0 &  0 & -s & -1 &  0 & -1 &  1 &  0 &  0 &  1 \\ % 11
       1 &  s &  1 &  s &  0 &  0 & -s & -1 &  0 & -1 &  1 &  0 &  0 &  1 \\ % 12
       1 &  s &  1 &  s &  0 &  0 & -s & -1 &  0 & -1 &  1 &  0 &  0 &  1 \\ % 13
       1 &  s &  1 &  s &  0 &  0 & -s & -1 &  0 & -1 &  1 &  0 &  0 &  1    % 14      
   \end{bmatrix}
\]
where $s = 1/\sqrt{2}$.

\end{document}

관련 정보