[Tex/LaTex] Adjust text within table using Tabulary

fittablestabularywidth

Problem:

After looking into already existing threads about Tabulary, I could not find out what was wrong with the following code. The text does not adjust within the table.

Code:

\begin{table}[hbtp]
\footnotesize
\centering
\begin{tabulary}{1.0\textwidth}{L|L|L|L|L|L}
\hline
    \textbf{Level} & 
    \textbf{Technology} & 
    \textbf{People} & 
    \textbf{Activities} & 
    \textbf{Focus} & 
    \textbf{Function} \\
\hline
    Consensus-seeking & 
    Social and collaborative media designed for civic engagement & 
    Organizations & 
    Agree & 
    Goals & 
    Negotiated articulation, co-creation, consensus seeking \\  
\hline
\end{tabulary}
\caption{Caption starts here}
\label{XXX}
\end{table}

Output:

enter image description here

Questions:

(1) Why is it that the text does not adjust accordingly? The desired solution would be that the headers are 100% and text will adjust based on this.

(2) Why is it that some lines are more bolder than others? How to overcome this?

Best Answer

enter image description here

\documentclass{article}
\usepackage{tabulary}
\begin{document}
\begin{table}[hbtp]
\footnotesize
\centering
\settowidth\tymin{\textbf{Activities}}
\setlength\extrarowheight{2pt}
\begin{tabulary}{1.0\textwidth}{L|L|L|L|L|L}
\hline
    \textbf{Level} & 
    \textbf{Technology} & 
    \textbf{People} & 
    \textbf{Activities} & 
    \textbf{Focus} & 
    \textbf{Function} \\
\hline
    Consensus-seeking & 
    Social and collaborative media designed for civic engagement & 
    Organizations & 
    Agree & 
    Goals & 
    Negotiated articulation, co-creation, consensus seeking \\  
\hline
\end{tabulary}
\caption{Caption starts here}
\label{XXX}
\end{table}

\end{document}
Related Question