Placing figures/tables etc. using LaTeX

From Notes_Wiki
Revision as of 06:07, 18 April 2022 by Saurabh (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Home > LaTeX > Placing using LaTeX

Placing figure at desired position

To place figures in LateX at the exact position either we can use

    \begin{figure}[h!]

where ! makes LaTeX try very hard to place figure at same position.

If we want to ensure that figure goes at the exact place then we can include package float using '\usepackage{float}' and then use

    \begin{figure}[H]

which ensures that figure goes at the proper place.


Home > LaTeX > Placing using LaTeX