LaTeX specific issues not fitting into one of the other forums of this category.
a7n9
Posts: 2 Joined: Tue Feb 19, 2008 5:45 pm
Post
by a7n9 » Tue Feb 19, 2008 5:50 pm
Hello all,
I created the attached jpeg using Tableau, which looks great, but I'm having serious trouble placing it in my document. So, I tried to create a table, but it is also giving me problems, as it doesn't look as good as the jpeg. Can someone please help me creating this table in LaTex?
I used this code for the table:
Code: Select all
\begin{tabular*}{\textwidth}{@{\extracolsep{\fill}} | l | >{\color{myblue}} c | c | c | l | c | c | c | l | c | c | c |}
\hline
\rowcolor[gray]{0.8}
\textbf{Maths/Stats Tools} & A & I & B & \textbfLanguages} & A & I & B & \textbf{Operating Systems} & A & I & B \\ \hline
Arena & \mycircle & & & BASIC & & & & Windows 98-XP & & & \\
Design-Expert version 6 & \mycircle & & & SQL & & & & Ubuntu & & & \\
JMP & \mycircle & & & VB 6.0 & & & & \textbf{Desktop Publishing} & & & \\
MATLAB 6.1 & & \mycircle & & VBA & & & & Adobe Acrobat. & & & \\
MINITAB 13 & & \mycircle & & C & & & & Dreamweaver MX & & & \\
S-Plus & & \mycircle & & COBOL & & & & Swish 2 & & & \\
SAS 8.1 & & \mycircle & & Pascal & & & & Flash & & & \\
SPSS & & \mycircle & & .NET & & & & Front page & & & \\
MathCad 2001 & & & \mycircle & & & & & & & & \\ \hline
\textbf{Business Intelligence} & & & & \textbf{Special Tools} & & & & \textbf{Legend} & & & \\ \hline
Cognos & & & & VP-Expert & & & & \multicolumn{4}{l}{A: Advanced} \\
Discoverer Plus & & & & AFS 3D Solidification Modeling & & & & \multicolumn{4}{l}{I: Intermediate} \\
Tableau & & & & LaTex & & & & \multicolumn{4}{l}{B: Beginner} \\
Xcelsius & & & & NeuroShell 2 & & & & \multicolumn{4}{c}{ } \\
& & & & ProModel & & & \multicolumn{4}{c}{} \\ \hline
\end{tabular*}
Attachments
Skills.jpg Skills.jpg (56.85 KiB) Viewed 4745 times
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
Juanjo
Posts: 657 Joined: Sat Jan 27, 2007 12:46 am
Post
by Juanjo » Wed Feb 20, 2008 3:45 am
The following code may help you. Of course, check the bullets !
Code: Select all
\documentclass[a4paper]{article}
\usepackage{fullpage} % Replace this with geometry
\usepackage{colortbl}
\usepackage{tabularx}
\begin{document}
\section{Computer Skills}
Table~\ref{table:1} shows the required skills to apply to that job.
% ------------------------------------------------------------------------
% Boxes to save each block of the table
% -------------------------------------
\newsavebox{\MathStatsBox}
\newsavebox{\LanguagesBox}
\newsavebox{\OperatingSystemsBox}
\newsavebox{\DesktopPublishingBox}
\newsavebox{\BusinessIntelligenceBox}
\newsavebox{\SpecialToolsBox}
\newsavebox{\LegendBox}
% Some settings that you may adjust
% ---------------------------------
% Let's keep all this settings local. Below there will be an \endgroup
\begingroup
% Color of lines in tables
\arrayrulecolor[gray]{0.5}
% To control row heigths
\newcommand{\ST}{\hspace{\tabcolsep}\protect\rule[-1ex]{0pt}{3.5ex}}
% Bullet in tables
\newcommand{\mycircle}{\textcolor{blue}{\textbullet}}
% Text size in tables
\footnotesize
% To control frames
\setlength{\fboxsep}{0pt}
\setlength{\fboxrule}{1pt}
% To control table widths
\newlength{\MiniPageWidth}
\setlength{\MiniPageWidth}{0.32\textwidth}
\newlength{\TabularWidth}
\setlength{\TabularWidth}{\MiniPageWidth}
\addtolength{\TabularWidth}{-2pt}
% Building blocks
% ----------------
% Math/Stats
\begin{lrbox}{\MathStatsBox}
\begin{minipage}[t]{\MiniPageWidth}
\textbf{Maths/Stats} \\
\fbox{%
\begin{tabularx}{\TabularWidth}{>{\columncolor[gray]{0.9}}X|c|c|c@{\ST}}
\rowcolor[gray]{0.9} & A & I & B \\ \hline
Arena & \mycircle & & \\ \hline
Design-Expert~v.~6 & \mycircle & & \\ \hline
JMP & \mycircle & & \\ \hline
MATLAB 6.1 & & \mycircle & \\ \hline
MINITAB 13 & & \mycircle & \\ \hline
S-Plus & & \mycircle & \\ \hline
SAS 8.1 & & \mycircle & \\ \hline
SPSS & & \mycircle & \\ \hline
MathCad 2001 & & & \mycircle
\end{tabularx}}
\end{minipage}
\end{lrbox}
% Languages
\begin{lrbox}{\LanguagesBox}
\begin{minipage}[t]{\MiniPageWidth}
\textbf{Languages} \\
\fbox{%
\begin{tabularx}{\TabularWidth}{>{\columncolor[gray]{0.9}}X|c|c|c@{\ST}}
\rowcolor[gray]{0.9} & A & I & B \\ \hline
BASIC & \mycircle & & \\ \hline
SQL & \mycircle & & \\ \hline
VB 6.0 & \mycircle & & \\ \hline
VBA & \mycircle & & \\ \hline
C & & \mycircle & \\ \hline
COBOL & & & \mycircle \\ \hline
Pascal & & & \mycircle \\ \hline
.NET & & & \mycircle
\end{tabularx}}
\end{minipage}
\end{lrbox}
% Operating Systems
\begin{lrbox}{\OperatingSystemsBox}
\begin{minipage}[t]{\MiniPageWidth}
\textbf{Operating Systems} \\
\fbox{%
\begin{tabularx}{\TabularWidth}{>{\columncolor[gray]{0.9}}X|c|c|c@{\ST}}
\rowcolor[gray]{0.9} & A & I & B \\ \hline
Windows & \mycircle & & \\ \hline
Ubuntu & & \mycircle &
\end{tabularx}}
\end{minipage}
\end{lrbox}
% Desktop Publishing
\begin{lrbox}{\DesktopPublishingBox}
\begin{minipage}[t]{\MiniPageWidth}
\textbf{Desktop Publishing} \\
\fbox{%
\begin{tabularx}{\TabularWidth}{>{\columncolor[gray]{0.9}}X|c|c|c@{\ST}}
\rowcolor[gray]{0.9} & A & I & B \\ \hline
Adobe Acrobat & \mycircle & & \\ \hline
Dreamweaver MX & & \mycircle & \\ \hline
Swish 2 & \mycircle & & \\ \hline
Flash & \mycircle & & \\ \hline
Front Page & & \mycircle &
\end{tabularx}}
\end{minipage}
\end{lrbox}
% Business Intelligence
\begin{lrbox}{\BusinessIntelligenceBox}
\begin{minipage}[t]{\MiniPageWidth}
\textbf{Business Intelligence} \\
\fbox{%
\begin{tabularx}{\TabularWidth}{>{\columncolor[gray]{0.9}}X|c|c|c@{\ST}}
\rowcolor[gray]{0.9} & A & I & B \\ \hline
Cognos & \mycircle & & \\ \hline
Discoverer Plus & & \mycircle & \\ \hline
Tableau & \mycircle & & \\ \hline
Flash & \mycircle & & \\ \hline
Xcelsius & & \mycircle &
\end{tabularx}}
\end{minipage}
\end{lrbox}
% Special Tools
\begin{lrbox}{\SpecialToolsBox}
\begin{minipage}[t]{\MiniPageWidth}
\textbf{Special Tools} \\
\fbox{%
\begin{tabularx}{\TabularWidth}{>{\columncolor[gray]{0.9}}X|c|c|c@{\ST}}
\rowcolor[gray]{0.9} & A & I & B \\ \hline
VP-Expert & \mycircle & & \\ \hline
AFS3D Solidification Modelling & & \mycircle & \\ \hline
Neuro Shell 2 & \mycircle & & \\ \hline
Pro Model & \mycircle & &
\end{tabularx}}
\end{minipage}
\end{lrbox}
% Legend
\begin{lrbox}{\LegendBox}
\begin{minipage}[t]{\MiniPageWidth}
\textbf{Legend} \\
\begin{tabular}{@{}ll@{\ST}}
A & Advanced \\
B & Intermediate \\
C & Beginner
\end{tabular}
\end{minipage}
\end{lrbox}
% Printing the full table
% -----------------------
\begin{table}
\noindent\usebox{\MathStatsBox}\hfill \usebox{\LanguagesBox}\hfill
\begin{tabular}[t]{@{}l@{}} \usebox{\OperatingSystemsBox} \\[10ex]
\usebox{\DesktopPublishingBox} \end{tabular} \\[1.5ex]
\usebox{\BusinessIntelligenceBox}\hfill \usebox{\SpecialToolsBox}\hfill
\usebox{\LegendBox} \\
\caption{Required computer skills}\label{table:1}
\end{table}
% End
% -----
\endgroup
% ------------------------------------------------------------------------
\end{document}
Attachments
tablas.pdf
(34.63 KiB) Downloaded 520 times
a7n9
Posts: 2 Joined: Tue Feb 19, 2008 5:45 pm
Post
by a7n9 » Fri Feb 22, 2008 2:57 pm
Oh, wow, great. Thank you so much for your help, time, and efforts, Juanjo. I really appreciate that.