%2C%20tamb%C3%A9m%20conhecida%20como%20Matriz%20de%20Planejamento%20de%20Produto%20(PPM)%20para%20uma%20Implanta%C3%A7%C3%A3o%20da%20Fun%C3%A7%C3%A3o%20de%20Qualidade%20(QFD).png)
Devo fazer um diagrama da Casa da Qualidade (HoQ) para uma de minhas aulas e não sei como fazê-lo. É para ser feito em LaTeX e minha equipe e não sei o que fazer.
Para sua informação, aqui está o exemplo HoQ que recebemos:
Existem duas partes problemáticas
A mesa triangular no topo
Juntando todas as mesas
Como devemos fazer isso?
O professor nos deu um .pdf
arquivo para o exemplo, o .tex
arquivo de onde vem o exemplo está perdido, não foi ele quem fez e ninguém sabe quem fez nem como fazer um HoQ.
Acho que foi feito combinando uma mesa triangular tiponesta postagem. Eu sei como fazer isso. O problema é combiná-lo com outra tabela.
PS: minha primeira língua é o francês, então me desculpe se cometi alguns erros ao escrever.
Responder1
É issopossívelgerar isso com LaTeX? Sim. Estou convencido de que o LaTeX é a melhor ferramenta para isso? Não. Aqui está uma prova de existência. Por favor, me perdoe, não sei francês e não sou bom em digitar coisas a partir de uma captura de tela. Também parei de adicionar triângulos, círculos e assim por diante depois de adicionar muitos.
\documentclass[tikz,border=3.14mm]{standalone}
\usepackage{amsfonts}
\usetikzlibrary{matrix,fit,calc}
\begin{document}
\begin{tikzpicture}[font=\sffamily,myfit/.style={fill=white,draw,line width=\mylinewidth,
inner sep=-0.5*\mylinewidth,fit=#1},
circ/.style={path picture={\draw circle (0.3em);}},
circdot/.style={path picture={\draw circle (0.3em);
\fill circle (0.1em);}},
trian/.style={path picture={\draw (-30:0.3em) -- (90:0.3em) -- (210:0.3em) --cycle ;}},
]
\def\mylinewidth{1pt}
\matrix[matrix of nodes, nodes={draw,line width=\mylinewidth,minimum width=1.6em,
minimum height=1.6em, anchor=center},column sep=-\mylinewidth,
,row sep=-\mylinewidth,%nodes in empty cells,
row 3/.style={nodes={rotate=90,minimum width=9em,minimum height=1.6em}},
row 11/.style={nodes={rotate=90,minimum width=9em,minimum height=1.6em}},
column 3/.style={nodes={align=left,text width=11em,}}](mat) {
& & & ~ & ~& ~ & ~& ~& ~& ~&~ \\
& & & ~ &~ & ~& ~ & ~ & ~ & ~ &~ \\
& & & choix du chapteur & I don't know & French so I just & add bla bla bla
& bla bla bla bla & bla bla bla bla & bla bla bla bla & bla bla bla bla \\
~ & ~& alimentation & |[circ]| ~ & ~& ~ & ~& ~& ~& ~&~ \\
~ & ~& alimentation & |[circ]| ~ & |[circdot]|~& ~ & ~& ~& ~& ~&~ \\
~ & ~& alimentation & |[circ]| ~ & ~& |[circdot]|~ & ~& ~& ~& ~&~ \\
~ & ~& alimentation & |[circ]| ~ & ~& ~ & |[circdot]|~& ~& ~& ~&~ \\
~ & ~& alimentation & |[trian]| ~ & ~& ~ & ~& ~& ~& ~&~ \\
~ & ~& alimentation & |[circ]| ~ & |[circ]|~& |[trian]|~ & |[trian]|~& |[circdot]|~& |[trian]|~& ~&~ \\
~ & ~& alimentation & ~ & ~& ~ & ~& ~& ~& ~&~ \\
& & & choix du chapteur & I don't know & French so I just & add bla bla bla
& bla bla bla bla & bla bla bla bla & bla bla bla bla & bla bla bla bla \\
};
\node[myfit=(mat-1-4) (mat-1-11)] {thermometre};
\node[myfit=(mat-2-4) (mat-2-7)] {capteur};
\node[myfit=(mat-2-8) (mat-2-9)] {etal};
\node[myfit=(mat-10-1) (mat-4-1)] (aux1){};
\node[rotate=90] at (aux1){mesure};
\node[myfit=(mat-7-2) (mat-4-2)] (aux2){};
\node[rotate=90] at (aux2){senseur};
\node[myfit=(mat-9-2) (mat-8-2)] (aux3){};
\node[rotate=90] at (aux3){conv.};
\node[rotate=90] at (mat-10-2) {aff};
% etc.
\foreach \X in {4,...,11}
{\draw[line width=\mylinewidth] (mat-1-\X.north west)
-- (intersection cs:first line={(mat-1-\X.north west)--($(mat-1-\X.north west)+(45:5)$)},
second line={(mat-1-11.north east)--($(mat-1-11.north east)+(135:5)$)});
\draw[line width=\mylinewidth] (mat-1-\X.north east)
-- (intersection cs:first line={(mat-1-\X.north east)--($(mat-1-\X.north east)+(135:5)$)},
second line={(mat-1-4.north west)--($(mat-1-4.north west)+(45:5)$)});
}
\begin{scope}[shift={(mat-1-4.north west)},
x={(45:{sqrt(1/2)*1.6em})},y={(-45:{sqrt(1/2)*1.6em})}
] % define local coordinate system for easier access of the cells
\begin{scope}[shift={(0.6,-0.5)}]
\foreach \Coord in {(1,1),(2,1),(3,1),(7,1),%
(5,2),(4,3),(4,4),(5,5),(7,7)}
{\node at \Coord {\checkmark};}
\end{scope}
\end{scope}
\end{tikzpicture}
\end{document}