File:Latex example wrapfig.png

Latex_example_wrapfig.png(429 × 337 pixels, file size: 52 KB, MIME type: image/png)

Summary

Description

example to be used on the wikibook about LaTeX. The picture of the gull I have used is Image:Gull portrait ca usa.jpg , a featured picture of Commons. I saved it locally and I renamed it gull.jpg, just to make it simpler. In the same directory, I created a file called wrapfig_test.tex and I put the following code in it:

\documentclass[a4paper,12pt]{article}

\usepackage[english]{babel}
\usepackage{graphicx}
\usepackage{wrapfig}

\begin{document}

\section*{Wrapfig test}

% text from en.wikipedia.org/wiki/Gull

Gulls are birds in the family Laridae. They are most closely
 related to the terns (family Sternidae), auks and skimmers, 
and more distantly to the waders. Most gulls belong to the 
large genus Larus.

\begin{wrapfigure}{r}{0.5\textwidth}
  \begin{center}
    \includegraphics[width=0.48\textwidth]{gull}
  \end{center}
  \caption{A gull}
\end{wrapfigure}

They are in general medium to large birds, typically grey or white, 
often with black markings on the head or wings. They have stout, 
longish bills and webbed feet.

Most gulls, particularly Larus species, are ground nesting carnivores, 
which will take live food or scavenge opportunistically. The live food 
often includes crabs and small fish. Apart from the kittiwakes, gulls 
are typically coastal or inland species, rarely venturing far out to sea. 
The large species take up to four years to attain full adult plumage, 
but two years is typical for small gulls.

Gulls — the larger species in particular — are resourceful and 
highly-intelligent birds, demonstrating complex methods of communication 
and a highly-developed social structure. Certain species (e.g. the 
Herring Gull) have exhibited tool use behaviour. Many species of gull have 
learned to co-exist successfully with man and have thrived in human habitats. 
Others rely on kleptoparasitism to get their food.

\end{document}
then I compiled it with pdflatex thus getting wrapfig_test.pdf. Finally I converted it to PNG and cropped the part I was interested in with GIMP. I have optimized it with optipng.
Date
Source Own work
Author Alessio Damato

Licensing

I, the copyright holder of this work, hereby publish it under the following licenses:
GNU head Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled GNU Free Documentation License.
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
This licensing tag was added to this file as part of the GFDL licensing update.
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 2.5 Generic, 2.0 Generic and 1.0 Generic license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
You may select the license of your choice.

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

12 January 2006

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current14:23, 12 January 2007Thumbnail for version as of 14:23, 12 January 2007429 × 337 (52 KB)Alejo2083{{Information |Description=example to be used on the wikibook about LaTeX. The picture of the gull I have used is Image:Gull portrait ca usa.jpg , a featured picture of Commons. I saved it locally and I renamed it ''gull.jpg'', just to make it simple

Global file usage

The following other wikis use this file:

Metadata