Featured Book

LaTeX Beginners Guide

Who is online

In total there are 10 users online :: 1 registered, 0 hidden and 9 guests (based on users active over the past 5 minutes)
Most users ever online was 1327 on Tue Nov 05, 2013 7:11 pm

Users browsing this forum: Yahoo [Bot] and 9 guests

Partner Sites

TeXwelt - Fragen und Antworten goLaTeX
TeXblog
TeXnicCenter
TeXample

floatrow | Setup for Captions in Margins beside Figures

captionsfloatrowmarginsAdd tags Information and discussion about graphics, figures & tables in LaTeX documents.

floatrow | Setup for Captions in Margins beside Figures

Postby abclatex on Sat Dec 8th, 2012

Hi guys,

I want to use captions beside figures (at margin) by floatrow. But the following codes only work in the even page (image 2) and not in the odd page (image 1). How to fix this problem?

codes:
Code: Select all  •  Open in writeLaTeX
\documentclass[10pt,a4paper]{book}

% page layout
\usepackage[%
    left=2cm,
    right=7cm,
    top=2cm,
    bottom=2cm,
    textheight=25cm,
    textwidth=11cm,
    marginparsep=1cm,
    marginparwidth=5cm
    ]{geometry}

% Language settings
\usepackage[german,french]{babel}

% figures and the like:
\usepackage{graphicx}
\graphicspath{{fig/}}
\usepackage{caption}
\captionsetup[figure]{name={Figure.}}
\captionsetup{font={scriptsize,singlespacing},justification=RaggedRight,skip=2pt}
\usepackage{ifoddpage
}
%or: \usepackage[strict]{changepage}
\usepackage{blindtext}

\usepackage{floatrow}
\floatsetup[widefigure]{margins=hangleft,capposition=beside,capbesideposition={top,left},floatwidth=\textwidth}

\begin{document}

\begin{figure*}
\includegraphics[width=11cm]{1.3.jpg}
\caption{Today, four necktie knots are in widespread use. They are the four-in-hand knot, the half-Windsor knot, the Windsor knot and the Pratt knot. The first three are classic necktie knots that have been used for a long time. The Pratt knot is a more recent necktie knot that was introduced to the public in 1989.}\label{fig:example}
\end{figure*}


Today, four necktie knots are in widespread use. They are the four-in-hand knot, the half-Windsor knot, the Windsor knot and the Pratt knot. The first three are classic necktie knots that have been used for a long time. The Pratt knot is a more recent necktie knot that was introduced to the public in 1989.

Below shows a comparison table of the four necktie knots, together with the bow tie. It helps you find the answer to the first question that may come up in your mind -- Which necktie knots do I need? Click the links on the left to see the instructions on tying a certain knot.

\clearpage
\begin{figure*}
\includegraphics[width=11cm]{1.3.jpg}
\caption{Today, four necktie knots are in widespread use. They are the four-in-hand knot, the half-Windsor knot, the Windsor knot and the Pratt knot. The first three are classic necktie knots that have been used for a long time. The Pratt knot is a more recent necktie knot that was introduced to the public in 1989.}\label{fig:example}
\end{figure*}

Today, four necktie knots are in widespread use. They are the four-in-hand knot, the half-Windsor knot, the Windsor knot and the Pratt knot. The first three are classic necktie knots that have been used for a long time. The Pratt knot is a more recent necktie knot that was introduced to the public in 1989.

Below shows a comparison table of the four necktie knots, together with the bow tie. It helps you find the answer to the first question that may come up in your mind -- Which necktie knots do I need? Click the links on the left to see the instructions on tying a certain knot.

\end{document
}


image 1:
image 1.JPG
image 1.JPG (22.96 KiB) Viewed 1072 times


image 2:
image 2.JPG
image 2.JPG (25.44 KiB) Viewed 1072 times


I try to revise such codes as
Code: Select all  •  Open in writeLaTeX
\usepackage{floatrow}
\floatsetup[widefigure]{margins=hangleft,capposition=beside,capbesideposition={top,left},floatwidth=\textwidth
}

and not succeed right now.

If you have any advice, please let me know.

Thanks!
abclatex
 
Posts: 17
Joined: Wed Nov 28th, 2012

Re: floatrow | Setup for Captions in Margins beside Figures

Postby abclatex on Wed Dec 12th, 2012

Still unsolved.
abclatex
 
Posts: 17
Joined: Wed Nov 28th, 2012


Topic Tags

captionsfloatrowmargins

Return to Graphics, Figures & Tables

Who is online

Users browsing this forum: Yahoo [Bot] and 9 guests