Search This Blog

Monday, May 23, 2011

Latex tips and tricks - keep checking for newer ones

Some  tips,
  • While creating a new book or article, if you intend to have a modified family of default font across all the pages in your doc, use
                 " \renewcommand{\familydefault}{\sfdefault} "
    in the preamble. The above, for example, sets the font to sans serif.

  • How to embed an image into a table? - Use the graphicx package and your problem is solved.
    \begin{table}[ht]
    \caption{A table arranging images}
    \centering
    \begin{tabular}{cc}
    \includegraphics[scale=1]{graphic1}&\includegraphics[scale=1]{graphic2}\\
    \newline
    \includegraphics[scale=1]{graphic3}&\includegraphics[scale=1]{graphic4}\\
    \end{tabular}
    \label{tab:gt}
    \end{table}%

No comments:

Post a Comment