von Johannes_B » Di 28. Jul 2015, 20:46
Ich vermute du benutzt das Paket
kbordermatrix, welches zwar auf CTAN zu finden ist, aber aufgrund fehlender Lizenz bei TeX Live fehlt?
\documentclass[12pt,oneside,headings=small,leqno,bibliography=totoc,listof=totoc,abstract,numbers=noendperiod]{scrreprt}
\usepackage[latin1]{inputenc}
\usepackage[ngerman,english]{babel} %language
\usepackage[left=6cm,right=2cm, top=3cm,
bottom=3cm,headheight=22pt]{geometry} %layout
\setlength{\footheight}{21.74998pt}
\usepackage[automark,headsepline]{scrlayer-scrpage}
\usepackage{setspace} %line spacing
\onehalfspacing
\BeforeStartingTOC[toc]{\singlespacing}
\usepackage[fleqn]{amsmath}
\usepackage{amsthm}
\setlength{\mathindent}{1.5cm} %horizontaler Abstand zur Nummerierung
\usepackage{amstext}
\usepackage{amsfonts}
\usepackage{mathrsfs}
\usepackage{amssymb}
\usepackage{array}
\usepackage{kbordermatrix}
\usepackage{etoolbox}
\let\bbordermatrix\bordermatrix
\patchcmd{\bbordermatrix}{8.75}{4.75}{}{}
\patchcmd{\bbordermatrix}{\left(}{\left[}{}{}
\patchcmd{\bbordermatrix}{\right)}{\right]}{}{}
\linespread{1.5} %Zeilenabstand
\usepackage{showframe}
\begin{document}
{\setlength{\mathindent}{0pt}
\begin{align}
\boldsymbol{P}=\kbordermatrix{
&
\mathrm{AMZN} & \mathrm{PLL} & \mathrm{SWKS} &
\mathrm{VLO} & \mathrm{ETFC} & \mathrm{SNDK} &
\mathrm{LUV} & \mathrm{AXP} &
\mathrm{NOV} & \mathrm{FOSL} \\
& 0 & 0 & 1 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\[1ex]
& \vdots & \ddots & \vdots \\[1ex]
& p_{K,1} & \cdots & p_{K,N}\\[0.3ex]
}\notag
\end{align}
\begin{align}
\boldsymbol{P}=\kbordermatrix{
& AMZN & PLL & SWKS & VLO & ETFC & SNDK & LUV &
AXP & NOV & FOSL \\
}\notag
\end{align}
}
\begin{addmargin}{-2cm}
\setlength{\mathindent}{0pt}
\begin{align}
\boldsymbol{P}=\kbordermatrix{
& AMZN & PLL & SWKS & VLO & ETFC & SNDK & LUV &
AXP & NOV & FOSL \\
}\notag
\end{align}
\end{addmargin}
\begin{align}
\boldsymbol{P}=\kbordermatrix{
& AMZN & PLL & SWKS & VLO & ETFC & SNDK & LUV &
AXP & NOV & FOSL \\
& 0 & 0 & 1 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\[1ex]
& \vdots & \ddots & \vdots \\[1ex]
& p_{K,1} & \cdots & p_{K,N}\\[0.3ex]
}\notag
\end{align}
\end{document}
Ich vermute du benutzt das Paket [url=http://ctan.org/pkg/kbordermatrix]kbordermatrix[/url], welches zwar auf CTAN zu finden ist, aber aufgrund fehlender Lizenz bei TeX Live fehlt?
[code]
\documentclass[12pt,oneside,headings=small,leqno,bibliography=totoc,listof=totoc,abstract,numbers=noendperiod]{scrreprt}
\usepackage[latin1]{inputenc}
\usepackage[ngerman,english]{babel} %language
\usepackage[left=6cm,right=2cm, top=3cm,
bottom=3cm,headheight=22pt]{geometry} %layout
\setlength{\footheight}{21.74998pt}
\usepackage[automark,headsepline]{scrlayer-scrpage}
\usepackage{setspace} %line spacing
\onehalfspacing
\BeforeStartingTOC[toc]{\singlespacing}
\usepackage[fleqn]{amsmath}
\usepackage{amsthm}
\setlength{\mathindent}{1.5cm} %horizontaler Abstand zur Nummerierung
\usepackage{amstext}
\usepackage{amsfonts}
\usepackage{mathrsfs}
\usepackage{amssymb}
\usepackage{array}
\usepackage{kbordermatrix}
\usepackage{etoolbox}
\let\bbordermatrix\bordermatrix
\patchcmd{\bbordermatrix}{8.75}{4.75}{}{}
\patchcmd{\bbordermatrix}{\left(}{\left[}{}{}
\patchcmd{\bbordermatrix}{\right)}{\right]}{}{}
\linespread{1.5} %Zeilenabstand
\usepackage{showframe}
\begin{document}
{\setlength{\mathindent}{0pt}
\begin{align}
\boldsymbol{P}=\kbordermatrix{
&
\mathrm{AMZN} & \mathrm{PLL} & \mathrm{SWKS} &
\mathrm{VLO} & \mathrm{ETFC} & \mathrm{SNDK} &
\mathrm{LUV} & \mathrm{AXP} &
\mathrm{NOV} & \mathrm{FOSL} \\
& 0 & 0 & 1 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\[1ex]
& \vdots & \ddots & \vdots \\[1ex]
& p_{K,1} & \cdots & p_{K,N}\\[0.3ex]
}\notag
\end{align}
\begin{align}
\boldsymbol{P}=\kbordermatrix{
& AMZN & PLL & SWKS & VLO & ETFC & SNDK & LUV &
AXP & NOV & FOSL \\
}\notag
\end{align}
}
\begin{addmargin}{-2cm}
\setlength{\mathindent}{0pt}
\begin{align}
\boldsymbol{P}=\kbordermatrix{
& AMZN & PLL & SWKS & VLO & ETFC & SNDK & LUV &
AXP & NOV & FOSL \\
}\notag
\end{align}
\end{addmargin}
\begin{align}
\boldsymbol{P}=\kbordermatrix{
& AMZN & PLL & SWKS & VLO & ETFC & SNDK & LUV &
AXP & NOV & FOSL \\
& 0 & 0 & 1 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\[1ex]
& \vdots & \ddots & \vdots \\[1ex]
& p_{K,1} & \cdots & p_{K,N}\\[0.3ex]
}\notag
\end{align}
\end{document}
[/code]