title: How to split the long headings of a table in multiple lines using latex?
body: <p>How to create a table using latex exactly as follows. The table has to fit 1 column in the 2 column page format but the table headings are too long and the content in the first column also too long. So, I want to split the column headings and content of the first column in multiple lines with the bold format.</p>
  <p><a href="https://i.stack.imgur.com/VdLsy.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/VdLsy.png" alt="table" /></a></p>
  <p>Not too sure why \makecell is not co-operating for bold the text and design a solid border  all over but here's my latex code:</p>
  <pre><code>
  \begin{table}[h]    
  \begin{center}
  \begin{tabularx}{\linewidth}{|L|L|L|L|L|}
  \toprule
  
  \makecell[lt]{Type} 
  &amp;\makecell[lt]{Financial \\ benefit \\ of the \\users}
  &amp; \makecell[lt]{Financial\\ loss of the \\ users} 
  &amp;\makecell[lt]{Interruption \\ of user’ \\ daily activity}
  &amp;\makecell[lt]{Monetary \\ reward \\ for works}\\
  
  \midrule
  \makecell[lt]{Category 1: \\ Work in \\ the retail \\ sector}
   &amp; \ding{51}
   &amp; \ding{51}
   &amp; 
   &amp; \ding{51}\\
   
  \midrule
  \makecell[lt]{Category 2: \\ Work in \\ the industry \\ sector}
   &amp; \ding{51}
   &amp; \ding{51}
   &amp; \ding{51}
   &amp; \ding{51}\\
   
  \midrule
  \makecell[lt]{Category 3: \\ Work in \\ the corporate \\ sector}
   &amp; \ding{51}
   &amp; \ding{51}
   &amp; \ding{51}
   &amp; \ding{51}\\
  \bottomrule
  \end{tabularx}
  \end{center}
  \end{table}
  
  </code></pre>