\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage{graphicx}
\usepackage{amsmath, amssymb, amsthm}
\usepackage[margin=1in]{geometry}
\usepackage{fancyhdr}
\usepackage{tcolorbox}
\usepackage{bm}
\setlength\parindent{0pt}
\pagestyle{fancy}
\fancyhead{}
\fancyfoot{}
\fancyhead[L]{\MakeUppercase{Linear Algebra (MAT240/247)}}
\fancyhead[R]{Ali Manasiya}
\fancyfoot[C]{\thepage}
\tcbuselibrary{most}
\renewcommand{\qedsymbol}{$\blacksquare$}
\def\R{\mathbb{R}}
\def\N{\mathbb{N}}
\def\Z{\mathbb{Z}}
\def\Q{\mathbb{Q}}
\def\C{\mathbb{C}}
\def\F{\mathbb{F}}
\def\P{\mathcal{P}}
\def\L{\mathcal{L}}
\def\M{\mathcal{M}}
我需要以下内容,但我不知道如何格式化它。(注意有两张图片)对于底部图片,我有以下内容:
\[\sum_{k = 1}^n A_{1,k}x_k = 0\\
\vdots \\
\sum_{k = 1}^n A_{m,k}x_k = 0\]
但对于上面的那个,我完全不知道。任何帮助都将不胜感激。感谢您的时间
答案1
使用的mathtools
包装如下nicematrix
:
\documentclass{article}
\usepackage{mathtools}
\usepackage{nicematrix}
\begin{document}
\[
\mathcal{M}(T) =
\begin{pNiceMatrix}[first-row,first-col]
& v_1 & \dotsm & v_k & \dotsm & v_n \\
w_1 & & & A_{1,k} & & \\
\vdots & & & \vdots & & \\
w_1 & & & A_{m,k} & & \\
\end{pNiceMatrix}.
\]
\begin{align*}
\sum_{k = 1}^n A_{1,k}x_k & = 0 \\
& \vdotswithin{=} \\
\sum_{k = 1}^n A_{m,k}x_k & = 0
\end{align*}
\end{document}