mardi 2 décembre 2014

Remove blank space in text - Latex table rows


I want to typeset a table and I used following code.



\documentclass{article}

\begin{document}
\begin{table}[h]
\centering
\begin{tabular}{|p{9.0cm}|p{1.5cm}|}
\hline
User-agent string & dummy\\
\hline
Googlebot (compatible; Googlebot/2.1; +http://ift.tt/eSXNch)&10\\
Googlebot-Mobile/2.1&15\\
Googlebot/2.1 (+http://ift.tt/eSXNch)&20\\
Mozilla/5.0 (compatible; Googlebot/2.1; +http://ift.tt/eSXNch)&40\\
Mozilla/5.0 (compatible; Googlebot/2.1;+http://ift.tt/eSXNch)&50\\
\hline
\end{tabular}
\end{table}

\end{document}


My table looks like following. enter image description here


How to remove unnecessary spacing in the text each row?





Aucun commentaire:

Enregistrer un commentaire