我想在 LaTeX 文档中重现此表:
但我不知道该怎么做。我尝试创建一个表,但它太大了,我不知道如何重现圆圈。
以下是一个可能有用的 MWE:
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{color}
\begin{document}
\begin{table}
\centering
\begin{tabular}{l|lllll|}
\multicolumn{1}{c}{} & \multicolumn{1}{c}{\textcolor[rgb]{0.2,0.2,0.2}{Per niente importante}} & \multicolumn{1}{c}{\textcolor[rgb]{0.2,0.2,0.2}{Poco importante}} & \multicolumn{1}{c}{\textcolor[rgb]{0.2,0.2,0.2}{Neutro/ indifferente}} & \multicolumn{1}{c}{Abbastanza importante} & \multicolumn{1}{c}{\textcolor[rgb]{0.2,0.2,0.2}{Molto importante/ fondamentale}} \\
\cline{2-6}
\textcolor[rgb]{0.2,0.2,0.2}{Chiarezza grafica} & & & & & \\
\textcolor[rgb]{0.2,0.2,0.2}{Facilità di utilizzo} & & & & & \\
\textcolor[rgb]{0.2,0.2,0.2}{Qualità delle informazioni} & & & & & \\
\textcolor[rgb]{0.2,0.2,0.2}{Aggiornamento in tempo reale dei dati contenuti} & & & & & \\
\cline{2-6}
\end{tabular}
\end{table}
\end{document}
提前感谢您的帮助!
答案1
以下内容可以帮助您入门:
\documentclass{article}
\usepackage[table]{xcolor}
\usepackage{tabularx}
\usepackage{makecell}
\usepackage{geometry}
\usepackage[column=0]{cellspace}
\setlength{\cellspacetoplimit}{4pt}
\setlength{\cellspacebottomlimit}{\cellspacetoplimit}
\usepackage{fontawesome5}
\newcommand{\mycric}{\textcolor{gray}{\faCircle[regular]}}
\begin{document}
\begin{table}
\centering
\renewcommand\tabularxcolumn[1]{m{#1}}
\rowcolors{1}{gray!30}{gray!15}
\begin{tabularx}{\linewidth}{>{\raggedright\arraybackslash}X*{5}{0c}}
\rowcolor{gray!5}
& \makecell{Per niente\\ importante}
& \makecell{Poco\\ importante}
& \makecell{Neutro/\\ indifferente}
& \makecell{Abbastanza\\ importante}
& \makecell{Molto\\ importante/\\ fondamentale} \\
Chiarezza grafica & \mycric & \mycric & \mycric & \mycric & \mycric \\
Facilità di utilizzo & \mycric & \mycric & \mycric & \mycric & \mycric \\
Qualità delle informazioni & \mycric & \mycric & \mycric & \mycric & \mycric \\
Aggiornamento in tempo reale dei dati contenuti & \mycric & \mycric & \mycric & \mycric & \mycric \\
\end{tabularx}
\end{table}
\end{document}