根据您所掌握的信息,您需要帮助整合图像。我想请您帮助创建这个表格,即所谓的 BCG 矩阵,我将在我的 CBT 中使用它:
喜欢在相框里放图片。“星星、问号、牛和菠萝”
我正在考虑使用类似的模型 https://tex.stackexchange.com/questions/296733/swot-strategy-based-on-swot-matrix[][2]
\documentclass[10pt,table]{article}
\usepackage{times}
\usepackage{array}
\usepackage{graphicx}
\usepackage{tikz}
\colorlet{helpful}{lime!70}
\colorlet{harmful}{red!30}
\colorlet{internal}{yellow!20}
\colorlet{external}{cyan!30}
\colorlet{S}{helpful!50!internal}
\colorlet{W}{harmful!50!internal}
\colorlet{O}{helpful!50!external}
\colorlet{T}{harmful!50!external}
\newcommand{\texta}{Helpful\par \tiny (to achieve the objective)}
\newcommand{\textb}{Harmful\par \tiny (to achieve the objective)}
\newcommand{\textcn}{\rotatebox[origin=c]{90}{\parbox[t]{3cm}{\centering Internal origin\\ \tiny (product\slash company attributes)\par}}}
\newcommand{\textdn}{\rotatebox[origin=c]{90}{\parbox[b]{3cm}{\centering External origin\\ \tiny (environment\slash market attributes)\par}}}
\newcommand{\texts}{\makebox[0pt][c]{\parbox[t]{0.2\textwidth}{\centering strength 1\par strength 2}}}
\newcommand{\textw}{\makebox[0pt][c]{\parbox[t]{0.2\textwidth}{\centering weakness 1\par weakness 2}}}
\newcommand{\texto}{\makebox[0pt][c]{\parbox[t]{0.2\textwidth}{\centering opportunity 1\par opportunity 2}}}
\newcommand{\textt}{\makebox[0pt][c]{\parbox[t]{0.2\textwidth}{\centering threat 1\par threat 2}}}
\newcommand{\back}[1]{\tikz\node[overlay,text=#1!60!black,font=\fontsize{60}{70}\selectfont](char) at (0,-0.1) {#1};}
\newcommand\mycolor[1]{\cellcolor{#1}}
\newcolumntype{C}[1]{>{\centering\arraybackslash}m{#1}}
\begin{document}
\begin{tabular}{c*{2}{C{0.2\textwidth}}}
&\cellcolor{helpful} \texta & \cellcolor{harmful} \textb \\
\cellcolor{internal}\textcn & \mycolor{S}\back{S} \texts & \mycolor{W}\back{W} \textw \\
\cellcolor{external}\textdn & \mycolor{O}\back{O} \texto & \mycolor{T}\back{T} \textt
\end{tabular}
\end{document}
答案1
起点:
\documentclass{article}
\usepackage{graphicx}
\usepackage{nicematrix}
\definecolor{myorange}{RGB}{231,152,0}
\begin{document}
{\setlength{\arrayrulewidth}{2pt}
\setlength{\tabcolsep}{3pt}
\arrayrulecolor{myorange}
\begin{NiceTabular}{c c l>{\raggedleft\arraybackslash}p{2.5cm}| l>{\raggedleft\arraybackslash}p{2.5cm} | }[cell-space-limits=\tabcolsep]
& & \Block[fill=myorange]{1-4}{\color{white}\bfseries long text}\\
& & \Block[fill=myorange]{1-2}{\color{yellow}text} & & \Block[fill=myorange]{1-2}{\color{yellow}text}&\\
\Block[fill=myorange]{4-1}{\rotate\color{white}\bfseries long text} & \Block[fill=myorange]{2-1}{\rotate\color{yellow} text} & \includegraphics[width=1cm]{example-image-a} & & \includegraphics[width=1cm]{example-image-b} & \\
& & & \textcolor{myorange}{\large\bfseries text:}\par\footnotesize some text that occupies multiple lines & & \textcolor{myorange}{\large\bfseries a longer text:}\par\footnotesize some text here some text here\\
\hline
& \Block[fill=myorange]{2-1}{\rotate\color{yellow} text} & \includegraphics[width=1cm]{example-image-c} & & \includegraphics[width=1cm]{example-image} & \\
& & & some text here & & some text here\\
\hline
\end{NiceTabular}}
\end{document}