Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
eoa-publication-model/texfiles/06_floats.tex
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
63 lines (47 sloc)
2.41 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Floating environments are bigger constructs like figures and tables, | |
said Gamba in \EOAciteyear{Gamba_2008}.\EOAfnalph{This chapter also | |
showcases the use of two different sets of footnotes, alphabetic and | |
arabic. This is a per-chapter-setting.} | |
If you want to, you can leave the placing of them to the typesetting | |
system, in order to avoid bigger stretches of white space (cf. | |
\EOAciteauthoryear{Hsu_1993}).\EOAfnarabic{Here comes a footnote with arabic number as marker, which means it is is the other apparatus} | |
\EOAsection{Tables} | |
The following lines of code produce a table consisting of 4 columns | |
and 3 rows. | |
\begin{EOAtable}{L{2.3cm}L{2.3cm}L{2.3cm}L{2.3cm}} | |
{This is a table}{sec3table1}{H} | |
\EOAtablehead{Heading 1 & Heading \EOAbold{2} & Heading 3 | |
& Heading 4} | |
Here & you & may & find \\ | |
some & data & spread & over\\ | |
the & table & in & cells\\ | |
\end{EOAtable} | |
We can remove the borders by adding the optional argument \EOAemph{blank} | |
\begin{EOAtable}[blank]{L{2.3cm}L{2.3cm}L{2.3cm}L{2.3cm}} | |
{This is a blank table}{sec3:table2}{H} | |
\EOAtablehead{Heading 1 & Heading 2 & Heading 3 | |
& Heading 4} | |
Here & you & may & find \\ | |
some & data & spread & over\\ | |
the & table & in & cells\\ | |
\end{EOAtable} | |
Next, the same table, but without a caption. NB it has also no label! | |
\begin{EOAtable}{L{2.3cm}L{2.3cm}L{2.3cm}L{2.3cm}} | |
{nonumber}{sec3:table3}{H} | |
\EOAtablehead{Heading 1 & Heading 2 & Heading 3 | |
& Heading 4} | |
Here & you & may & find \\ | |
some & data & spread & over\\ | |
the & table & in & cells\\ | |
\end{EOAtable} | |
\EOAsection{Figures} | |
Images are also floating objects. The command takes five parameters: | |
filename, caption, label, width and position | |
\EOAfigure{images/1.jpg}{An image with a caption.}{sec2:image1}{66}{H} | |
Captions can be rather long. | |
\EOAfigure{images/1.jpg}{Ostafrikanische Arbeiter an einem der großen Knochengräben, die während der paläontologischen Expedition des \EOAemph{Berliner Naturkundemuseums} in die damalige Kolonie Deutsch-Ostafrika zwischen 1909 und 1913 angelegt wurden. (Koloriertes Glasdiapositiv, Museum für Naturkunde Berlin, Historische Bild- u. Schriftgutsammlungen, Bestand: Pal. Mus., Signatur: B V/177)}{sec2image2}{66}{H} | |
It is possible to have figures without captions: | |
\EOAfigurenonumber{images/1.jpg}{33}{H} | |
The last image command – EOAlsfigure – takes three parameters and the | |
figure covers the whole page \EOAlsfigure{images/1.jpg}{That's a | |
caption for the lovely landscape image}{sec2:lsimage2} |