TransWikia.com

Need help to incorporate the pictures to create a BCG matrix

TeX - LaTeX Asked by David Nascimento da Silva on May 30, 2021

Based on what you have, you need help incorporating the images.
I would like to ask for help to create this table, the so-called BCG matrix, which I will use in my CBT:

Likes to have the images in the frames. "Star, Question Mark, Cow and Pineapple"

enter image description here

I was thinking about using this model that is similar
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}{Helpfulpar tiny (to achieve the objective)}
newcommand{textb}{Harmfulpar tiny (to achieve the objective)}
newcommand{textcn}{rotatebox[origin=c]{90}{parbox[t]{3cm}{centering Internal origin tiny (productslash company attributes)par}}}
newcommand{textdn}{rotatebox[origin=c]{90}{parbox[b]{3cm}{centering External origin tiny (environmentslash market attributes)par}}}

newcommand{texts}{makebox[0pt][c]{parbox[t]{0.2textwidth}{centering strength 1par strength 2}}}
newcommand{textw}{makebox[0pt][c]{parbox[t]{0.2textwidth}{centering weakness 1par weakness 2}}}
newcommand{texto}{makebox[0pt][c]{parbox[t]{0.2textwidth}{centering opportunity 1par opportunity 2}}}
newcommand{textt}{makebox[0pt][c]{parbox[t]{0.2textwidth}{centering threat 1par threat 2}}}


newcommand{back}[1]{tikznode[overlay,text=#1!60!black,font=fontsize{60}{70}selectfont](char) at (0,-0.1) {#1};}
newcommandmycolor[1]{cellcolor{#1}}
newcolumntype{C}[1]{>{centeringarraybackslash}m{#1}}

begin{document}
begin{tabular}{c*{2}{C{0.2textwidth}}}
                            &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}

One Answer

A place to start from:

enter image description here

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>{raggedleftarraybackslash}p{2.5cm}| l>{raggedleftarraybackslash}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}{rotatecolor{white}bfseries long text} & Block[fill=myorange]{2-1}{rotatecolor{yellow} text} & includegraphics[width=1cm]{example-image-a} & &  includegraphics[width=1cm]{example-image-b} & 
 &  & & textcolor{myorange}{largebfseries text:}parfootnotesize some text that occupies multiple lines &   & textcolor{myorange}{largebfseries a longer text:}parfootnotesize some text here some text here
 hline
   & Block[fill=myorange]{2-1}{rotatecolor{yellow} text} & includegraphics[width=1cm]{example-image-c} & &  includegraphics[width=1cm]{example-image} & 
 &  & & some text here &   & some text here
 hline
end{NiceTabular}}

end{document}

Answered by leandriis on May 30, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP