Debian Codegraph @

texmf-dist/doc/latex/floatrow/frsample06.tex

raw
1 \documentclass{book}
2
3 \usepackage{floatrow}
4 \usepackage{listpen}
5 \usepackage{color}
6 \definecolor{emphblue}{rgb}{0,0,0.5}
7 \def\emphcolor{\color{emphblue}}
8
9 \newcommand\redcolorasdefault{\captionsetup{font={color=red}}}
10 \newcommand\bluecolorasdefault{\captionsetup{font={color=emphblue}}}
11
12 \DeclareFloatSeparators{ten}{\quad}
13 \DeclareFloatSeparators{twen}{\hskip36pt}
14 \usepackage{caption}
15 \DeclareCaptionSubType[alph]{figure}
16 \captionsetup[subfigure]{labelformat=brace}
17 \floatsetup{floatrowsep=twen,subfloatrowsep=ten,capbesidesep=space,doublefloataswide=yes}
18
19 \floatsetup[subfigure]{captionskip=2pt}
20
21 \floatsetup[widefigure]{margins=hangoutside}
22
23
24 \usepackage{graphicx}
25
26 \makeatletter
27
28 \newenvironment{Quote}[1][\parindent]{\par\hfuzz30pt\setlength{\leftmargini}{#1}\RestoreSpaces
29 \small\begin{quote}\obeylines\parskip0pt}{\end{quote}\par\@endpetrue}
30
31 \newenvironment{preamble}{{\emphcolor\meta{preamble}}\nopagebreak
32 \par\begingroup\advance\leftskip1em}{\par\endgroup{\emphcolor\nobreak\meta{preamble}}\par\vskip2ex}
33
34 \providecommand\marg[1]{%
35 {\ttfamily\char`\{}\meta{#1}{\ttfamily\char`\}}}
36 \providecommand\oarg[1]{%
37 {\ttfamily[}\meta{#1}{\ttfamily]}}
38 \providecommand\parg[1]{%
39 {\ttfamily(}\meta{#1}{\ttfamily)}}
40
41 \DeclareRobustCommand\meta[1]{%
42 \ensuremath\langle
43 \ifmmode \expandafter \nfss@text \fi
44 {\em
45 #1\/%
46 }\ensuremath\rangle
47 }
48 \providecommand\package[1]{\textsf{#1}}
49 \makeatother
50
51 \begin{document}
52 \def\XX{}\def\YY{}
53 % ----------------------------------------------------------------
54 \begingroup
55 \subsubsection{Photo-Album-Like Layouts: Common Height for Beside Photos}
56
57 This section shows draft examples which where get the common height for rectangular
58 graphics, i.e. photos and in this case the row of these graphics fill full width.
59 To emulate the rectangular photos, graphics were created as rules with different
60 widths and heights.
61
62 For creation of such rows you load the \verb|\CommonHeightRow| command:
63 \begin{Quote}%
64 \verb|\CommonHeightRow|\marg{supposed height}\marg{floatrow environment}
65 \end{Quote}%
66 with supposed value of height in the first argument,
67 which could be near the necessary common height.
68 The second argument---the contents of the \verb|floatrow| environment.
69 All float boxes in this row must use the \verb|[\FBwidth]| option.
70
71 The code of example uses the \verb|\includegraphics| command (\package{graphics}
72 or \package{graphicx} package).
73
74 The example of the code of the filled row with figures with common height:
75 \begin{Quote}%
76 \begin{preamble}%
77 \verb|\usepackage{graphicx}|
78 %^^A\verb|\floatsetup[figure]{style=plain}|
79 %^^A\verb|\floatsetup[widefloat]{margins=hangleft}|
80 \end{preamble}%
81 \verb|\begin{figure*}\fboxsep-.4pt|\nopagebreak
82 \verb|\CommonHeightRow[2.5cm]{\begin{floatrow}[4]|\nopagebreak
83 \verb|\ffigbox[\FBwidth]|\nopagebreak
84 \verb|{\includegraphics[height=\CommonHeight]{...}}{\caption{...}}|
85 \verb|\ffigbox[\FBwidth]|\nopagebreak
86 \verb|{\includegraphics[height=\CommonHeight]{...}}{\caption{...}}|
87 \verb|\ffigbox[\FBwidth]|\nopagebreak
88 \verb|{\includegraphics[height=\CommonHeight]{...}}{\caption{...}}|
89 \verb|\ffigbox[\FBwidth]|\nopagebreak
90 \verb|{\includegraphics[height=\CommonHeight]{...}}{\caption{...}}|\nopagebreak
91 \verb|\end{floatrow}}|\nopagebreak
92 \verb|\end{figure*}%|
93 \end{Quote}%
94
95 Below are few examples.
96
97 \begin{figure}[H]%
98 \redcolorasdefault\CommonHeightRow%{5cm}
99 {\begin{floatrow}[3]%
100 \ffigbox[\FBwidth]{\resizebox!\CommonHeight
101 {\vrule width 70pt height 2cm}}{\caption{}}
102 \ffigbox[\FBwidth]{\resizebox!\CommonHeight
103 {\vrule width 80pt height 2cm}}{\caption{}}
104 \ffigbox[\FBwidth]{\resizebox!\CommonHeight
105 {\vrule width 50pt height 2cm}}{\caption{}}
106 \end{floatrow}}%
107 \end{figure}%
108
109 \begin{figure}[H]%
110 \redcolorasdefault\CommonHeightRow%{5cm}
111 {\begin{floatrow}[3]%
112 \ffigbox[\FBwidth]{\resizebox!\CommonHeight
113 {\fbox{\input{BlackDog.picture}}}}{\caption{}}
114 \ffigbox[\FBwidth]{\resizebox!\CommonHeight
115 {\fbox{\input{TheCat.picture}}}}{\caption{}}
116 \ffigbox[\FBwidth]{\resizebox!\CommonHeight
117 {\fbox{\input{Mouse.picture}}}}{\caption{}}
118 \end{floatrow}}%
119 \end{figure}%
120
121 \begin{figure*}[H]%
122 \CommonHeightRow[1cm]%
123 {\begin{floatrow}[3]%
124 \ffigbox[\FBwidth]{\resizebox!\CommonHeight
125 {\vrule width 70pt height 2cm}}{\caption{}}
126 \ffigbox[\FBwidth]{\resizebox!\CommonHeight
127 {\vrule width 80pt height 2cm}}{\caption{}}
128 \ffigbox[\FBwidth]{\resizebox!\CommonHeight
129 {\vrule width 50pt height 2cm}}{\caption{}}
130 \end{floatrow}}%
131 \end{figure*}%
132
133 \begin{figure*}[H]%
134 \CommonHeightRow[1cm]%
135 {\begin{floatrow}[3]%
136 \ffigbox[\FBwidth]{\resizebox!\CommonHeight
137 {\fbox{\input{BlackDog.picture}}}}{\caption{}}
138 \ffigbox[\FBwidth]{\resizebox!\CommonHeight
139 {\fbox{\input{TheCat.picture}}}}{\caption{}}
140 \ffigbox[\FBwidth]{\resizebox!\CommonHeight
141 {\fbox{\input{Mouse.picture}}}}{\caption{}}
142 \end{floatrow}}%
143 \end{figure*}%
144
145 \begin{figure}[H]%
146 \bluecolorasdefault\CommonHeightRow[.5cm]%
147 {\begin{floatrow}[3]%
148 \ffigbox[\FBwidth]{\resizebox!\CommonHeight
149 {\vrule width 70pt height 2cm}}{\caption{}}
150 \ffigbox[\FBwidth]{\resizebox!\CommonHeight
151 {\vrule width 80pt height 2cm}}{\caption{}}
152 \ffigbox[\FBwidth]{\resizebox!\CommonHeight
153 {\vrule width 50pt height 2cm}}{\caption{}}
154 \end{floatrow}}%
155 \end{figure}%
156
157 \begin{figure}[H]%
158 \bluecolorasdefault\CommonHeightRow[.5cm]%
159 {\begin{floatrow}[3]%
160 \ffigbox[\FBwidth]{\resizebox!\CommonHeight
161 {\fbox{\input{BlackDog.picture}}}}{\caption{}}
162 \ffigbox[\FBwidth]{\resizebox!\CommonHeight
163 {\fbox{\input{TheCat.picture}}}}{\caption{}}
164 \ffigbox[\FBwidth]{\resizebox!\CommonHeight
165 {\fbox{\input{Mouse.picture}}}}{\caption{}}
166 \end{floatrow}}%
167 \end{figure}%
168
169 \clearpage
170
171 \begin{figure}[H]\fboxsep-.4pt
172 \CommonHeightRow[2.5cm]%
173 {\begin{floatrow}[4]%
174 \ffigbox[\FBwidth]
175 {\caption{}%
176 \label{fig:CH:Dog}}
177 {\resizebox!{\CommonHeight}{\vrule width60pt height1cm}}
178
179 \ffigbox[\FBwidth]
180 {\caption{}%
181 \label{fig:CH:WcatI}}
182 {\resizebox!{\CommonHeight}{\vrule width70pt height3cm}}
183
184 \ffigbox[\FBwidth]
185 {\caption{}%
186 \label{fig:CH:mouse}}
187 {\resizebox!{\CommonHeight}{\vrule width60pt height2cm}}
188
189 \ffigbox[\FBwidth]
190 {\caption{}%
191 \label{fig:CH:cheese}}
192 {\resizebox!{\CommonHeight}{\vrule width80pt height1cm}}
193 \end{floatrow}}
194 \end{figure}%
195
196 \begin{figure}[H]\fboxsep-.4pt
197 \CommonHeightRow[2.5cm]%
198 {\begin{floatrow}[4]%
199 \ffigbox[\FBwidth]
200 {\caption{}%
201 \label{fig:CH:Dog1}}
202 {\resizebox!{\CommonHeight}{\fbox{\input{BlackDog.picture}}}}
203
204 \ffigbox[\FBwidth]
205 {\caption{}%
206 \label{fig:CH:WcatI1}}
207 {\resizebox!{\CommonHeight}{\fbox{\input{TheCat.picture}}}}
208
209 \ffigbox[\FBwidth]
210 {\caption{}%
211 \label{fig:CH:mouse1}}
212 {\resizebox!{\CommonHeight}{\fbox{\input{Mouse.picture}}}}
213
214 \ffigbox[\FBwidth]
215 {\caption{}%
216 \label{fig:CH:cheese1}}
217 {\resizebox!{\CommonHeight}{\fbox{\input{Cheese.picture}}}}
218 \end{floatrow}}
219 \end{figure}%
220
221 \begin{figure*}[H]\fboxsep-.4pt
222 \redcolorasdefault\CommonHeightRow%{5cm}
223 {\begin{floatrow}[4]%
224 \ffigbox[\FBwidth]
225 {\caption{}%
226 \label{fig:CH:Dog2}}
227 {\resizebox!{\CommonHeight}{\vrule width60pt height1cm}}
228
229 \ffigbox[\FBwidth]
230 {\caption{}%
231 \label{fig:CH:WcatI2}}
232 {\resizebox!{\CommonHeight}{\vrule width70pt height3cm}}
233
234 \ffigbox[\FBwidth]
235 {\caption{}%
236 \label{fig:CH:mouse2}}
237 {\resizebox!{\CommonHeight}{\vrule width60pt height2cm}}
238
239 \ffigbox[\FBwidth]
240 {\caption{}%
241 \label{fig:CH:cheese2}}
242 {\resizebox!{\CommonHeight}{\vrule width80pt height1cm}}
243 \end{floatrow}}
244 \end{figure*}%
245
246 \begin{figure*}[H]\fboxsep-.4pt
247 \redcolorasdefault\CommonHeightRow%{5cm}
248 {\begin{floatrow}[4]%
249 \ffigbox[\FBwidth]
250 {\caption{}%
251 \label{fig:CH:Dog3}}
252 {\resizebox!{\CommonHeight}{\fbox{\input{BlackDog.picture}}}}
253
254 \ffigbox[\FBwidth]
255 {\caption{}%
256 \label{fig:CH:WcatI3}}
257 {\resizebox!{\CommonHeight}{\fbox{\input{TheCat.picture}}}}
258
259 \ffigbox[\FBwidth]
260 {\caption{}%
261 \label{fig:CH:mouse3}}
262 {\resizebox!{\CommonHeight}{\fbox{\input{Mouse.picture}}}}
263
264 \ffigbox[\FBwidth]
265 {\caption{}%
266 \label{fig:CH:cheese3}}
267 {\resizebox!{\CommonHeight}{\fbox{\input{Cheese.picture}}}}
268 \end{floatrow}}
269 \end{figure*}%
270
271 \begin{figure}[H]\fboxsep-.4pt
272 \bluecolorasdefault\CommonHeightRow[.5cm]%
273 {\begin{floatrow}[4]%
274 \ffigbox[\FBwidth]
275 {\caption{}%
276 \label{fig:CH:Dog4}}
277 {\resizebox!{\CommonHeight}{\vrule width60pt height1cm}}
278
279 \ffigbox[\FBwidth]
280 {\caption{}%
281 \label{fig:CH:WcatI4}}
282 {\resizebox!{\CommonHeight}{\vrule width70pt height3cm}}
283
284 \ffigbox[\FBwidth]
285 {\caption{}%
286 \label{fig:CH:mouse4}}
287 {\resizebox!{\CommonHeight}{\vrule width60pt height2cm}}
288
289 \ffigbox[\FBwidth]
290 {\caption{}%
291 \label{fig:CH:cheese4}}
292 {\resizebox!{\CommonHeight}{\vrule width80pt height1cm}}
293 \end{floatrow}}
294 \end{figure}%
295
296 \begin{figure}[H]\fboxsep-.4pt
297 \bluecolorasdefault\CommonHeightRow[.5cm]%
298 {\begin{floatrow}[4]%
299 \ffigbox[\FBwidth]
300 {\caption{}%
301 \label{fig:CH:Dog5}}
302 {\resizebox!{\CommonHeight}{\fbox{\input{BlackDog.picture}}}}
303
304 \ffigbox[\FBwidth]
305 {\caption{}%
306 \label{fig:CH:WcatI5}}
307 {\resizebox!{\CommonHeight}{\fbox{\input{TheCat.picture}}}}
308
309 \ffigbox[\FBwidth]
310 {\caption{}%
311 \label{fig:CH:mouse5}}
312 {\resizebox!{\CommonHeight}{\fbox{\input{Mouse.picture}}}}
313
314 \ffigbox[\FBwidth]
315 {\caption{}%
316 \label{fig:CH:cheese5}}
317 {\resizebox!{\CommonHeight}{\fbox{\input{Cheese.picture}}}}
318 \end{floatrow}}
319 \end{figure}%
320
321 %--------------------------------------------------------------------
322 \clearpage
323
324 The next example of code is a~variation of previous one.
325 The \verb|\CommonHeightRow| command here was used for the
326 \verb|subfloatrow| environment.
327 \begin{Quote}%
328 \begin{preamble}%
329 \verb|\usepackage{graphicx}|
330 %^^A\verb|\floatsetup[figure]{style=plain}|
331 %^^A\verb|\floatsetup[widefloat]{margins=hangleft}|
332 \end{preamble}%
333 \verb|\begin{figure*}\fboxsep-.4pt|\nopagebreak
334 \verb|\ffigbox{}{\CommonHeightRow[.5cm]{\begin{subfloatrow}[4]|\nopagebreak
335 \verb|\ffigbox[\FBwidth]|\nopagebreak
336 \verb|{\includegraphics[height=\CommonHeight]{...}}{\caption{...}}|
337 \verb|\ffigbox[\FBwidth]|\nopagebreak
338 \verb|{\includegraphics[height=\CommonHeight]{...}}{\caption{...}}|
339 \verb|\ffigbox[\FBwidth]|\nopagebreak
340 \verb|{\includegraphics[height=\CommonHeight]{...}}{\caption{...}}|
341 \verb|\ffigbox[\FBwidth]|\nopagebreak
342 \verb|{\includegraphics[height=\CommonHeight]{...}}{\caption{...}}|\nopagebreak
343 \verb|\end{subfloatrow}}\caption{...}}|
344 \verb|\end{figure*}%|
345 \end{Quote}%
346
347 Below are few examples.
348
349 \begin{figure}[H]\fboxsep-.4pt
350 \ffigbox{}%%
351 {\bluecolorasdefault\CommonHeightRow[.5cm]%
352 {\begin{subfloatrow}[4]%
353 \ffigbox[\FBwidth]
354 {\caption{Figure~IA in the row with common heights}%
355 \label{fig:CH:Dog6}}
356 {\resizebox!{\CommonHeight}{\fbox{\input{BlackDog.picture}}}}
357
358 \ffigbox[\FBwidth]
359 {\caption{Figure~IIA in the row with common heights}%
360 \label{fig:CH:WcatI6}}
361 {\resizebox!{\CommonHeight}{\fbox{\input{Mouse.picture}}}}
362
363 \ffigbox[\FBwidth]
364 {\caption{Figure~IIIA in the row with common heights}%
365 \label{fig:CH:mouse6}}
366 {\resizebox!{\CommonHeight}{\fbox{\input{Cheese.picture}}}}
367
368 \ffigbox[\FBwidth]
369 {\caption{Figure~IVA in the row with common heights}%
370 \label{fig:CH:cheese6}}
371 {\resizebox!{\CommonHeight}{\vrule width40pt height1cm}}%
372 \end{subfloatrow}}\caption{Figure A with a row of parts with common height.
373 Common captions in a~row with common height of graphics.
374 Common captions in a~row with common height of graphics.
375 Common captions in a~row with common height of graphics.
376 Common captions in a~row with common height of graphics}}
377 \end{figure}%
378
379 \begin{figure}[H]\fboxsep-.4pt
380 \redcolorasdefault\ffigbox{}%%
381 {\CommonHeightRow%{5cm}
382 {\begin{subfloatrow}[4]%
383 \ffigbox[\FBwidth]
384 {\caption{Figure~IB in the row with common heights}%
385 \label{fig:CH:Dog7}}
386 {\resizebox!{\CommonHeight}{\vrule width60pt height1cm}}
387
388 \ffigbox[\FBwidth]
389 {\caption{Figure~IIB in the row with common heights}%
390 \label{fig:CH:WcatI7}}
391 {\resizebox!{\CommonHeight}{\vrule width90pt height3cm}}
392
393 \ffigbox[\FBwidth]
394 {\caption{Figure~IIIB in the row with common heights}%
395 \label{fig:CH:mouse7}}
396 {\resizebox!{\CommonHeight}{\vrule width70pt height1cm}}
397
398 \ffigbox[\FBwidth]
399 {\caption{Figure~IVB in the row with common heights}%
400 \label{fig:CH:cheese7}}
401 {\resizebox!{\CommonHeight}{\vrule width40pt height1cm}}%
402 \end{subfloatrow}}\caption{Figure B with a row of parts with common height.
403 Common captions in a~row with common height of graphics.
404 Common captions in a~row with common height of graphics.
405 Common captions in a~row with common height of graphics}}
406 \end{figure}%
407
408 \begin{figure}[H]\fboxsep-.4pt
409 \redcolorasdefault\ffigbox{}%%
410 {\CommonHeightRow%{5cm}
411 {\begin{subfloatrow}[4]%
412 \ffigbox[\FBwidth]
413 {\caption{Figure~IA in the row with common heights}%
414 \label{fig:CH:Dog8}}
415 {\resizebox!{\CommonHeight}{\fbox{\input{BlackDog.picture}}}}
416
417 \ffigbox[\FBwidth]
418 {\caption{Figure~IIA in the row with common heights}%
419 \label{fig:CH:WcatI8}}
420 {\resizebox!{\CommonHeight}{\fbox{\input{TheCat.picture}}}}
421
422 \ffigbox[\FBwidth]
423 {\caption{Figure~IIIA in the row with common heights}%
424 \label{fig:CH:mouse8}}
425 {\resizebox!{\CommonHeight}{\fbox{\input{Mouse.picture}}}}
426
427 \ffigbox[\FBwidth]
428 {\caption{Figure~IVA in the row with common heights}%
429 \label{fig:CH:cheese8}}
430 {\resizebox!{\CommonHeight}{\fbox{\input{Cheese.picture}}}}%
431 \end{subfloatrow}}\caption{Figure B with a row of parts with common height.
432 Common captions in a~row with common height of graphics.
433 Common captions in a~row with common height of graphics.
434 Common captions in a~row with common height of graphics}}
435 \end{figure}%
436
437 \begin{figure}[H]\fboxsep-.4pt
438 \ffigbox{}%%
439 {\CommonHeightRow[33mm]%
440 {\begin{subfloatrow}[4]%
441 \ffigbox[\FBwidth]
442 {\caption{Figure~IB in the row with common heights}%
443 \label{fig:CH:Dog9}}
444 {\resizebox!{\CommonHeight}{\vrule width60pt height1cm}}
445
446 \ffigbox[\FBwidth]
447 {\caption{Figure~IIB in the row with common heights}%
448 \label{fig:CH:WcatI9}}
449 {\resizebox!{\CommonHeight}{\vrule width90pt height3cm}}
450
451 \ffigbox[\FBwidth]
452 {\caption{Figure~IIIB in the row with common heights}%
453 \label{fig:CH:mouse9}}
454 {\resizebox!{\CommonHeight}{\vrule width70pt height1cm}}
455
456 \ffigbox[\FBwidth]
457 {\caption{Figure~IVB in the row with common heights}%
458 \label{fig:CH:cheese9}}
459 {\resizebox!{\CommonHeight}{\vrule width40pt height1cm}}%
460 \end{subfloatrow}}\caption{Figure B with a row of parts with common height.
461 Common captions in a~row with common height of graphics.
462 Common captions in a~row with common height of graphics.
463 Common captions in a~row with common height of graphics}}
464 \end{figure}%
465
466 \begin{figure}[H]\fboxsep-.4pt
467 \ffigbox{}%%
468 {\CommonHeightRow[33mm]%
469 {\begin{subfloatrow}[4]%
470 \ffigbox[\FBwidth]
471 {\caption{Figure~IA in the row with common heights}%
472 \label{fig:CH:Doga}}
473 {\resizebox!{\CommonHeight}{\fbox{\input{BlackDog.picture}}}}
474
475 \ffigbox[\FBwidth]
476 {\caption{Figure~IIA in the row with common heights}%
477 \label{fig:CH:WcatIa}}
478 {\resizebox!{\CommonHeight}{\fbox{\input{Mouse.picture}}}}
479
480 \ffigbox[\FBwidth]
481 {\caption{Figure~IIIA in the row with common heights}%
482 \label{fig:CH:mousea}}
483 {\resizebox!{\CommonHeight}{\fbox{\input{Cheese.picture}}}}
484
485 \ffigbox[\FBwidth]
486 {\caption{Figure~IVA in the row with common heights}%
487 \label{fig:CH:cheesea}}
488 {\resizebox!{\CommonHeight}{\vrule width40pt height1cm}}%
489 \end{subfloatrow}}\caption{Figure B with a row of parts with common height.
490 Common captions in a~row with common height of graphics.
491 Common captions in a~row with common height of graphics.
492 Common captions in a~row with common height of graphics}}
493 \end{figure}%
494
495 %--------------------------------------------------------------------
496 \clearpage
497
498 This example of the code loads labels of parts of figures beside graphics.
499 \begin{Quote}%
500 \begin{preamble}%
501 \verb|\usepackage{graphicx}|
502 %^^A\verb|\floatsetup[figure]{style=plain}|
503 %^^A\verb|\floatsetup[widefloat]{margins=hangleft}|
504 \end{preamble}%
505 \verb|\begin{figure*}\fboxsep-.4pt|\nopagebreak
506 \verb|\ffigbox{}{\CommonHeightRow{\begin{subfloatrow}[4]\useFCwidth|\nopagebreak
507 \verb|\fcapside[\FBwidth]|\nopagebreak
508 \verb|{\includegraphics[height=\CommonHeight]{...}}{\caption{}}|
509 \verb|\fcapside[\FBwidth]|\nopagebreak
510 \verb|{\includegraphics[height=\CommonHeight]{...}}{\caption{}}|
511 \verb|\fcapside[\FBwidth]|\nopagebreak
512 \verb|{\includegraphics[height=\CommonHeight]{...}}{\caption{}}|
513 \verb|\fcapside[\FBwidth]|\nopagebreak
514 \verb|{\includegraphics[height=\CommonHeight]{...}}{\caption{}}|\nopagebreak
515 \verb|\end{subfloatrow}}\caption{...}}|
516 \verb|\end{figure*}%|
517 \end{Quote}%
518
519 \begin{figure}[H]\fboxsep-.4pt
520 \redcolorasdefault\ffigbox{}%%
521 {\CommonHeightRow%{5cm}
522 {\begin{subfloatrow}[4]\useFCwidth%
523 \fcapside[\FBwidth]
524 {\caption{}%
525 \label{fig:CH:Dogb}}
526 {\resizebox!{\CommonHeight}{\vrule width60pt height1cm}}
527
528 \fcapside[\FBwidth]
529 {\caption{}%
530 \label{fig:CH:WcatIb}}
531 {\resizebox!{\CommonHeight}{\vrule width90pt height3cm}}
532
533 \fcapside[\FBwidth]
534 {\caption{}%
535 \label{fig:CH:mouseb}}
536 {\resizebox!{\CommonHeight}{\vrule width70pt height1cm}}
537
538 \fcapside[\FBwidth]
539 {\caption{}%
540 \label{fig:CH:cheeseb}}
541 {\resizebox!{\CommonHeight}{\vrule width40pt height1cm}}%
542 \end{subfloatrow}}\caption{Figure C with a row of parts with common height.
543 Common captions in a~row with common height of graphics.
544 Common captions in a~row with common height of graphics.
545 Common captions in a~row with common height of graphics.
546 Common captions in a~row with common height of graphics}}
547 \end{figure}%
548
549 \begin{figure}[H]\fboxsep-.4pt
550 \redcolorasdefault\ffigbox{}%%
551 {\CommonHeightRow%{5cm}
552 {\begin{subfloatrow}[4]\useFCwidth%
553 \fcapside[\FBwidth]
554 {\caption{}%
555 \label{fig:CH:Dogc}}
556 {\resizebox!{\CommonHeight}{\fbox{\input{BlackDog.picture}}}}
557
558 \fcapside[\FBwidth]
559 {\caption{}%
560 \label{fig:CH:WcatIc}}
561 {\resizebox!{\CommonHeight}{\input{TheCat.picture}}}
562
563 \fcapside[\FBwidth]
564 {\caption{}%
565 \label{fig:CH:mousec}}
566 {\resizebox!{\CommonHeight}{\fbox{\input{Mouse.picture}}}}
567
568 \fcapside[\FBwidth]
569 {\caption{}%
570 \label{fig:CH:cheesec}}
571 {\resizebox!{\CommonHeight}{\fbox{\input{Cheese.picture}}}}%
572 \end{subfloatrow}}\caption{Figure C with a row of parts with common height.
573 Common captions in a~row with common height of graphics.
574 Common captions in a~row with common height of graphics.
575 Common captions in a~row with common height of graphics.
576 Common captions in a~row with common height of graphics}}
577 \end{figure}%
578
579 \begin{figure}[H]\fboxsep-.4pt
580 \ffigbox{}%%
581 {\bluecolorasdefault\CommonHeightRow[.5cm]%
582 {\begin{subfloatrow}[4]\useFCwidth%
583 \fcapside[\FBwidth]
584 {\caption{}%
585 \label{fig:CH:Dogd}}
586 {\resizebox!{\CommonHeight}{\vrule width60pt height1cm}}
587
588 \fcapside[\FBwidth]
589 {\caption{}%
590 \label{fig:CH:WcatId}}
591 {\resizebox!{\CommonHeight}{\vrule width90pt height3cm}}
592
593 \fcapside[\FBwidth]
594 {\caption{}%
595 \label{fig:CH:moused}}
596 {\resizebox!{\CommonHeight}{\vrule width70pt height1cm}}
597
598 \fcapside[\FBwidth]
599 {\caption{}%
600 \label{fig:CH:cheesed}}
601 {\resizebox!{\CommonHeight}{\vrule width40pt height1cm}}%
602 \end{subfloatrow}}\caption{Figure D with a row of parts with common height.
603 Common captions in a~row with common height of graphics.
604 Common captions in a~row with common height of graphics.
605 Common captions in a~row with common height of graphics}}
606 \end{figure}%
607
608 \begin{figure}[H]\fboxsep-.4pt
609 \ffigbox{}%%
610 {\bluecolorasdefault\CommonHeightRow[.5cm]%
611 {\begin{subfloatrow}[4]\useFCwidth%
612 \fcapside[\FBwidth]
613 {\caption{}%
614 \label{fig:CH:Doge}}
615 {\resizebox!{\CommonHeight}{\vrule width60pt height1cm}}
616
617 \fcapside[\FBwidth]
618 {\caption{}%
619 \label{fig:CH:WcatIe}}
620 {\resizebox!{\CommonHeight}{\vrule width90pt height3cm}}
621
622 \fcapside[\FBwidth]
623 {\caption{}%
624 \label{fig:CH:mousee}}
625 {\resizebox!{\CommonHeight}{\vrule width70pt height1cm}}
626
627 \fcapside[\FBwidth]
628 {\caption{}%
629 \label{fig:CH:cheesee}}
630 {\resizebox!{\CommonHeight}{\vrule width40pt height1cm}}%
631 \end{subfloatrow}}\caption{Figure D with a row of parts with common height.
632 Common captions in a~row with common height of graphics.
633 Common captions in a~row with common height of graphics.
634 Common captions in a~row with common height of graphics}}
635 \end{figure}%
636
637 \begin{figure}[H]\fboxsep-.4pt
638 \ffigbox{}%%
639 {\CommonHeightRow[4cm]%
640 {\begin{subfloatrow}[4]\useFCwidth%
641 \fcapside[\FBwidth]
642 {\caption{}%
643 \label{fig:CH:Dogf}}
644 {\resizebox!{\CommonHeight}{\vrule width60pt height1cm}}
645
646 \fcapside[\FBwidth]
647 {\caption{}%
648 \label{fig:CH:WcatIf}}
649 {\resizebox!{\CommonHeight}{\vrule width90pt height3cm}}
650
651 \fcapside[\FBwidth]
652 {\caption{}%
653 \label{fig:CH:mousef}}
654 {\resizebox!{\CommonHeight}{\vrule width70pt height1cm}}
655
656 \fcapside[\FBwidth]
657 {\caption{}%
658 \label{fig:CH:cheesef}}
659 {\resizebox!{\CommonHeight}{\vrule width40pt height1cm}}%
660 \end{subfloatrow}}\caption{Figure D with a row of parts with common height.
661 Common captions in a~row with common height of graphics.
662 Common captions in a~row with common height of graphics.
663 Common captions in a~row with common height of graphics}}
664 \end{figure}%
665
666 \begin{figure}[H]\fboxsep-.4pt
667 \ffigbox{}%%
668 {\CommonHeightRow[4cm]%
669 {\begin{subfloatrow}[4]\useFCwidth%
670 \fcapside[\FBwidth]
671 {\caption{}%
672 \label{fig:CH:Dogg}}
673 {\resizebox!{\CommonHeight}{\vrule width60pt height1cm}}
674
675 \fcapside[\FBwidth]
676 {\caption{}%
677 \label{fig:CH:WcatIg}}
678 {\resizebox!{\CommonHeight}{\vrule width90pt height3cm}}
679
680 \fcapside[\FBwidth]
681 {\caption{}%
682 \label{fig:CH:mouseg}}
683 {\resizebox!{\CommonHeight}{\vrule width70pt height1cm}}
684
685 \fcapside[\FBwidth]
686 {\caption{}%
687 \label{fig:CH:cheeseg}}
688 {\resizebox!{\CommonHeight}{\vrule width40pt height1cm}}%
689 \end{subfloatrow}}\caption{Figure D with a row of parts with common height.
690 Common captions in a~row with common height of graphics.
691 Common captions in a~row with common height of graphics.
692 Common captions in a~row with common height of graphics}}
693 \end{figure}%
694
695 %--------------------------------------------------------------------
696 \clearpage
697
698 The examples with beside figures which also include labeled parts, have bug in
699 calculation. They need predefined height value more close to the necessary common
700 height.
701
702 The code of the mixed-level row with labels of parts below.
703 \begin{Quote}%
704 \verb|\floatsetup[subfigure]{capbesideposition=left}|
705 \verb|\begin{figure*}[H]|
706 \verb|\CommonHeightRow*[1.5cm]%|
707 \verb|{\begin{floatrow}|
708 \verb|\ffigbox[\FBwidth]{}%|
709 \verb|{\begin{subfloatrow}|
710 \verb|\ffigbox[\FBwidth]{}{\caption{}\label{...}...}|
711 \verb|\ffigbox[\FBwidth]{}{\caption{}\label{...}...}|
712 \verb|\end{subfloatrow}\caption{Common caption~I}}|
713 \verb|\ffigbox[\FBwidth]{}%|
714 \verb|{\begin{subfloatrow}|
715 \verb|\ffigbox[\FBwidth]{}{\caption{}\label{...}...}|
716 \verb|\ffigbox[\FBwidth]{}{\caption{}\label{...}...}|
717 \verb|\end{subfloatrow}\caption{...}}|
718 \verb|\end{floatrow}}%|
719 \verb|\end{figure*}|%
720 \end{Quote}%
721
722 Below are few examples.
723
724 \begin{figure}[H]\fboxsep-.4pt
725 %\def\CommonHeight{1cm}%
726 \CommonHeightRow*[1.5cm]%^^A\def\CommonHeight{2.5cm}
727 {\begin{floatrow}[2]%
728 \ffigbox[\FBwidth]{}%
729 {\begin{subfloatrow}%
730 \ffigbox[\FBwidth]{}{\caption{}%
731 \resizebox!{\CommonHeight}{\vrule width40pt height1cm}}
732
733 \ffigbox[\FBwidth]{}{\caption{}%
734 \label{fig:CHs:WcatIh}\resizebox!{\CommonHeight}{\vrule width80pt height3cm}}%
735 \end{subfloatrow}\caption{Common captions~Ic.
736 Common captions in a~row with common height of graphics.
737 Common captions in a~row with common height of graphics.
738 Common captions in a~row with common height of graphics}}
739
740 \ffigbox[\FBwidth]{}%
741 {\begin{subfloatrow}\useFCwidth%
742 \ffigbox[\FBwidth]{}{\caption{}%
743 \label{fig:CHs:mouseh}\resizebox!{\CommonHeight}{\vrule width40pt height1cm}}
744
745 \ffigbox[\FBwidth]{}{\caption{}%
746 \label{fig:CHs:cheeseh}\resizebox!{\CommonHeight}{\vrule width70pt height1cm}}%
747 \end{subfloatrow}\caption{Common captions~IIc in a~row with common height of graphics.
748 Common captions in a~row with common height of graphics.
749 Common captions in a~row with common height of graphics}}%
750 \end{floatrow}}%
751 \end{figure}%
752
753 \begin{figure}[H]\fboxsep-.4pt
754 %\def\CommonHeight{1cm}%
755 \CommonHeightRow*[1.5cm]%^^A\def\CommonHeight{2.5cm}
756 {\begin{floatrow}[2]%
757 \ffigbox[\FBwidth]{}%
758 {\begin{subfloatrow}%
759 \ffigbox[\FBwidth]{}{\caption{}%
760 \resizebox!{\CommonHeight}{\fbox{\input{BlackDog.picture}}}}
761
762 \ffigbox[\FBwidth]{}{\caption{}%
763 \label{fig:CHs:WcatIi}\resizebox!{\CommonHeight}{\fbox{\input{TheCat.picture}}}}%
764 \end{subfloatrow}\caption{Common captions~Ic.
765 Common captions in a~row with common height of graphics.
766 Common captions in a~row with common height of graphics.
767 Common captions in a~row with common height of graphics}}
768
769 \ffigbox[\FBwidth]{}%
770 {\begin{subfloatrow}\useFCwidth%
771 \ffigbox[\FBwidth]{}{\caption{}%
772 \label{fig:CHs:mousei}\resizebox!{\CommonHeight}{\fbox{\input{Mouse.picture}}}}
773
774 \ffigbox[\FBwidth]{}{\caption{}%
775 \label{fig:CHs:cheesei}\resizebox!{\CommonHeight}{\fbox{\input{Cheese.picture}}}}%
776 \end{subfloatrow}\caption{Common captions~IIc in a~row with common height of graphics.
777 Common captions in a~row with common height of graphics.
778 Common captions in a~row with common height of graphics}}%
779 \end{floatrow}}%
780 \end{figure}%
781
782 \begin{figure}[H]\fboxsep-.4pt
783 %\def\CommonHeight{1cm}%
784 \redcolorasdefault\CommonHeightRow*%{5cm}^^A\def\CommonHeight{2.5cm}
785 {\begin{floatrow}[2]%
786 \ffigbox[\FBwidth]{}%
787 {\begin{subfloatrow}%
788 \ffigbox[\FBwidth]{}{\caption{}%
789 \resizebox!{\CommonHeight}{\vrule width40pt height1cm}}
790
791 \ffigbox[\FBwidth]{}{\caption{}%
792 \label{fig:CHs:WcatIj}\resizebox!{\CommonHeight}{\vrule width80pt height3cm}}%
793 \end{subfloatrow}\caption{Common captions~Id.
794 Common captions in a~row with common height of graphics.
795 Common captions in a~row with common height of graphics}}
796
797 \ffigbox[\FBwidth]{}%
798 {\begin{subfloatrow}\useFCwidth%
799 \ffigbox[\FBwidth]{}{\caption{}%
800 \label{fig:CHs:mousej}\resizebox!{\CommonHeight}{\vrule width40pt height1cm}}
801
802 \ffigbox[\FBwidth]{}{\caption{}%
803 \label{fig:CHs:cheesej}\resizebox!{\CommonHeight}{\vrule width70pt height1cm}}%
804 \end{subfloatrow}\caption{Common captions~IId in a~row with common height of graphics.
805 Common captions in a~row with common height of graphics.
806 Common captions in a~row with common height of graphics}}%
807 \end{floatrow}}%
808 \end{figure}%
809
810 \begin{figure}[H]\fboxsep-.4pt
811 %\def\CommonHeight{1cm}%
812 \redcolorasdefault\CommonHeightRow*%{5cm}^^A\def\CommonHeight{2.5cm}
813 {\begin{floatrow}[2]%
814 \ffigbox[\FBwidth]{}%
815 {\begin{subfloatrow}%
816 \ffigbox[\FBwidth]{}{\caption{}%
817 \resizebox!{\CommonHeight}{\fbox{\input{BlackDog.picture}}}}
818
819 \ffigbox[\FBwidth]{}{\caption{}%
820 \label{fig:CHs:WcatIk}\resizebox!{\CommonHeight}{\fbox{\input{TheCat.picture}}}}%
821 \end{subfloatrow}\caption{Common captions~Id.
822 Common captions in a~row with common height of graphics.
823 Common captions in a~row with common height of graphics}}
824
825 \ffigbox[\FBwidth]{}%
826 {\begin{subfloatrow}\useFCwidth%
827 \ffigbox[\FBwidth]{}{\caption{}%
828 \label{fig:CHs:mousek}\resizebox!{\CommonHeight}{\fbox{\input{Mouse.picture}}}}
829
830 \ffigbox[\FBwidth]{}{\caption{}%
831 \label{fig:CHs:cheesek}\resizebox!{\CommonHeight}{\fbox{\input{Cheese.picture}}}}%
832 \end{subfloatrow}\caption{Common captions~IId in a~row with common height of graphics.
833 Common captions in a~row with common height of graphics.
834 Common captions in a~row with common height of graphics}}%
835 \end{floatrow}}%
836 \end{figure}%
837
838
839 \begin{figure}[H]\fboxsep-.4pt
840 %\def\CommonHeight{1cm}%
841 \bluecolorasdefault\CommonHeightRow*[.5cm]%^^A\def\CommonHeight{2.5cm}
842 {\begin{floatrow}[2]%
843 \ffigbox[\FBwidth]{}%
844 {\begin{subfloatrow}%
845 \ffigbox[\FBwidth]{}{\caption{}%
846 \resizebox!{\CommonHeight}{\vrule width40pt height1cm}}
847
848 \ffigbox[\FBwidth]{}{\caption{}%
849 \label{fig:CHs:WcatIl}\resizebox!{\CommonHeight}{\vrule width80pt height3cm}}%
850 \end{subfloatrow}\caption{Common captions~Ie.
851 Common captions in a~row with common height of graphics.
852 Common captions in a~row with common height of graphics}}
853
854 \ffigbox[\FBwidth]{}%
855 {\begin{subfloatrow}\useFCwidth%
856 \ffigbox[\FBwidth]{}{\caption{}%
857 \label{fig:CHs:mousel}\resizebox!{\CommonHeight}{\vrule width40pt height1cm}}
858
859 \ffigbox[\FBwidth]{}{\caption{}%
860 \label{fig:CHs:cheesel}\resizebox!{\CommonHeight}{\vrule width70pt height1cm}}%
861 \end{subfloatrow}\caption{Common captions~IIe in a~row with common height of graphics.
862 Common captions in a~row with common height of graphics.
863 Common captions in a~row with common height of graphics}}%
864 \end{floatrow}}%
865 \end{figure}%
866
867 \begin{figure}[H]\fboxsep-.4pt
868 %\def\CommonHeight{1cm}%
869 \bluecolorasdefault\CommonHeightRow*[.5cm]%^^A\def\CommonHeight{2.5cm}
870 {\begin{floatrow}[2]%
871 \ffigbox[\FBwidth]{}%
872 {\begin{subfloatrow}%
873 \ffigbox[\FBwidth]{}{\caption{}%
874 \resizebox!{\CommonHeight}{\fbox{\input{BlackDog.picture}}}}
875
876 \ffigbox[\FBwidth]{}{\caption{}%
877 \label{fig:CHs:WcatIm}\resizebox!{\CommonHeight}{\fbox{\input{TheCat.picture}}}}%
878 \end{subfloatrow}\caption{Common captions~Ie.
879 Common captions in a~row with common height of graphics.
880 Common captions in a~row with common height of graphics}}
881
882 \ffigbox[\FBwidth]{}%
883 {\begin{subfloatrow}\useFCwidth%
884 \ffigbox[\FBwidth]{}{\caption{}%
885 \label{fig:CHs:mousem}\resizebox!{\CommonHeight}{\fbox{\input{Mouse.picture}}}}
886
887 \ffigbox[\FBwidth]{}{\caption{}%
888 \label{fig:CHs:cheesem}\resizebox!{\CommonHeight}{\fbox{\input{Cheese.picture}}}}%
889 \end{subfloatrow}\caption{Common captions~IIe in a~row with common height of graphics.
890 Common captions in a~row with common height of graphics.
891 Common captions in a~row with common height of graphics}}%
892 \end{floatrow}}%
893 \end{figure}%
894
895 \def\XX{\showthe\Zhsize\showthe\Xhsize}
896 %--------------------------------------------------------------------
897 \clearpage
898
899 The example of the mixed-level row with labels of parts beside.
900 \begin{Quote}%
901 \verb|\floatsetup[subfigure]{capbesideposition=left}|
902 \verb|\begin{figure*}[H]|
903 \verb|\CommonHeightRow*[55pt]%|
904 \verb|{\begin{floatrow}|
905 \verb|\ffigbox[\FBwidth]{}%|
906 \verb|{\begin{subfloatrow}\useFCwidth|
907 \verb|\fcapside[\FBwidth]{}{\caption{}\label{...}...}|
908 \verb|\fcapside[\FBwidth]{}{\caption{}\label{...}...}|
909 \verb|\end{subfloatrow}\caption{Common caption~I}}|
910 \verb|\ffigbox[\FBwidth]{}%|
911 \verb|{\begin{subfloatrow}\useFCwidth|
912 \verb|\fcapside[\FBwidth]{}{\caption{}\label{...}...}|
913 \verb|\fcapside[\FBwidth]{}{\caption{}\label{...}...}|
914 \verb|\end{subfloatrow}\caption{...}}|
915 \verb|\end{floatrow}}%|
916 \verb|\end{figure*}|%
917 \end{Quote}%
918
919 Below are few examples.
920
921 \begin{figure}[H]\fboxsep-.4pt
922 %\def\CommonHeight{1cm}%
923 \CommonHeightRow*[55pt]%^^A\def\CommonHeight{2.5cm}
924 {\begin{floatrow}[2]%
925 \ffigbox[\FBwidth]{}%
926 {\begin{subfloatrow}\useFCwidth%
927 \fcapside[\FBwidth]{}{\caption{}%
928 \resizebox!{\CommonHeight}%
929 {\vrule width30pt height1cm}}
930
931 \fcapside[\FBwidth]{}{\caption{}%
932 \label{fig:CHs:WcatIn}\resizebox!{\CommonHeight}%
933 {\vrule width20pt height2cm}}
934 \end{subfloatrow}\caption{Common captions~If.
935 Common captions in a~row with common height of graphics.
936 Common captions in a~row with common height of graphics}}
937
938 \ffigbox[\FBwidth]{}%
939 {\begin{subfloatrow}\useFCwidth%
940 \fcapside[\FBwidth]{}{\caption{}%
941 \label{fig:CHs:mousen}\resizebox!{\CommonHeight}%
942 {\vrule width10pt height1cm}}
943
944 \fcapside[\FBwidth]{}{\caption{}%
945 \label{fig:CHs:cheesen}\resizebox!{\CommonHeight}%
946 {\vrule width30pt height1cm}}
947 \end{subfloatrow}\caption{Common captions~IIf in a~row with common height of graphics.
948 Common captions in a~row with common height of graphics.
949 Common captions in a~row with common height of graphics.
950 Common captions in a~row with common height of graphics}}%
951
952 % \ffigbox[\Xhsize]{}{\vrule width\Xhsize height5pt\caption{}}
953 \end{floatrow}}%
954 \end{figure}%
955
956 \begin{figure}[H]\fboxsep-.4pt
957 %\def\CommonHeight{1cm}%
958 \redcolorasdefault\CommonHeightRow*%{5cm}^^A\def\CommonHeight{2.5cm}
959 {\begin{floatrow}[2]%
960 \ffigbox[\FBwidth]{}%
961 {\begin{subfloatrow}\useFCwidth%
962 \fcapside[\FBwidth]{}{\caption{}%
963 \resizebox!{\CommonHeight}%
964 {\vrule width30pt height1cm}}
965
966 \fcapside[\FBwidth]{}{\caption{}%
967 \label{fig:CHs:WcatIo}\resizebox!{\CommonHeight}%
968 {\vrule width20pt height2cm}}
969 \end{subfloatrow}\caption{Common captions~Ig.
970 Common captions in a~row with common height of graphics.
971 Common captions in a~row with common height of graphics}}
972
973 \ffigbox[\FBwidth]{}%
974 {\begin{subfloatrow}\useFCwidth%
975 \fcapside[\FBwidth]{}{\caption{}%
976 \label{fig:CHs:mouseo}\resizebox!{\CommonHeight}%
977 {\vrule width10pt height1cm}}
978
979 \fcapside[\FBwidth]{}{\caption{}%
980 \label{fig:CHs:cheeseo}\resizebox!{\CommonHeight}%
981 {\vrule width30pt height1cm}}
982 \end{subfloatrow}\caption{Common captions~IIg in a~row with common height of graphics.
983 Common captions in a~row with common height of graphics.
984 Common captions in a~row with common height of graphics}}%
985
986 % \ffigbox[\Xhsize]{}{\vrule width\Xhsize height5pt\caption{}}
987 \end{floatrow}}%
988 \end{figure}%
989
990 \begin{figure}[H]\fboxsep-.4pt
991 %\def\CommonHeight{1cm}%
992 \bluecolorasdefault\CommonHeightRow*[.5cm]%^^A\def\CommonHeight{2.5cm}
993 {\begin{floatrow}[2]%
994 \ffigbox[\FBwidth]{}%
995 {\begin{subfloatrow}\useFCwidth%
996 \fcapside[\FBwidth]{}{\caption{}%
997 \resizebox!{\CommonHeight}%
998 {\vrule width30pt height1cm}}
999
1000 \fcapside[\FBwidth]{}{\caption{}%
1001 \label{fig:CHs:WcatIp}%
1002 \resizebox!{\CommonHeight}%
1003 {\vrule width20pt height2cm}}
1004 \end{subfloatrow}\caption{Common captions~Ih.
1005 Common captions in a~row with common height of graphics.
1006 Common captions in a~row with common height of graphics}}
1007
1008 \ffigbox[\FBwidth]{}%
1009 {\begin{subfloatrow}\useFCwidth%
1010 \fcapside[\FBwidth]{}{\caption{}%
1011 \label{fig:CHs:mousep}%
1012 \resizebox!{\CommonHeight}%
1013 {\vrule width10pt height1cm}}
1014
1015 \fcapside[\FBwidth]{}{\caption{}%
1016 \label{fig:CHs:cheesep}%
1017 \resizebox!{\CommonHeight}%
1018 {\vrule width30pt height1cm}}
1019 \end{subfloatrow}\caption{Common captions~IIh in a~row with common height of graphics.
1020 Common captions in a~row with common height of graphics.
1021 Common captions in a~row with common height of graphics}}%
1022
1023 % \ffigbox[\Xhsize]{}{\vrule width\Xhsize height5pt\caption{}}
1024 \end{floatrow}}%
1025 \end{figure}%
1026
1027 %--------------------------------------------------------------------
1028 \clearpage
1029
1030 \begin{figure}[H]\fboxsep-.4pt
1031 %\def\CommonHeight{1cm}%
1032 \CommonHeightRow*[2.5cm]%^^A\def\CommonHeight{2.5cm}
1033 {\begin{floatrow}[2]%
1034 \ffigbox[\FBwidth]{}%
1035 {\begin{subfloatrow}[2]%
1036 \ffigbox[\FBwidth]{}{\caption{}%
1037 \resizebox!{\CommonHeight}%
1038 {\vrule width40pt height1cm}}
1039
1040 \ffigbox[\FBwidth]{}{\caption{}%
1041 \label{fig:CHs:WcatIq}%
1042 \resizebox!{\CommonHeight}%
1043 {\vrule width30pt height2cm}}%
1044 \end{subfloatrow}\caption{Common captions~Ii.
1045 Common captions in a~row with common height of graphics.
1046 Common captions in a~row with common height of graphics}}
1047
1048 \ffigbox[\FBwidth]{}%
1049 {\begin{subfloatrow}[2]\useFCwidth%
1050 \ffigbox[\FBwidth]{}{\caption{}%
1051 \resizebox!{\CommonHeight}%
1052 {\vrule width30pt height1cm}}
1053
1054 \ffigbox[\FBwidth]{}{\caption{}%
1055 \label{fig:CHs:WcatIqq}%
1056 \resizebox!{\CommonHeight}%
1057 {\vrule width40pt height2cm}}
1058 \end{subfloatrow}\caption{Common captions~IIi.
1059 Common captions in a~row with common height of graphics.
1060 Common captions in a~row with common height of graphics}}
1061 \end{floatrow}}%
1062 \end{figure}%
1063
1064 \begin{figure}[H]\fboxsep-.4pt
1065 %\def\CommonHeight{1cm}%
1066 \redcolorasdefault\CommonHeightRow*%{5cm}^^A\def\CommonHeight{2.5cm}
1067 {\begin{floatrow}[2]%
1068 \ffigbox[\FBwidth]{}%
1069 {\begin{subfloatrow}[2]%
1070 \ffigbox[\FBwidth]{}{\caption{}%
1071 \resizebox!{\CommonHeight}%
1072 {\vrule width40pt height1cm}}
1073
1074 \ffigbox[\FBwidth]{}{\caption{}%
1075 \label{fig:CHs:WcatIr}%
1076 \resizebox!{\CommonHeight}%
1077 {\vrule width30pt height2cm}}%
1078 \end{subfloatrow}\caption{Common captions~Ij.
1079 Common captions in a~row with common height of graphics.
1080 Common captions in a~row with common height of graphics}}
1081
1082 \ffigbox[\FBwidth]{}%
1083 {\begin{subfloatrow}[2]\useFCwidth%
1084 \ffigbox[\FBwidth]{}{\caption{}%
1085 \resizebox!{\CommonHeight}%
1086 {\vrule width30pt height1cm}}
1087
1088 \ffigbox[\FBwidth]{}{\caption{}%
1089 \label{fig:CHs:WcatIrr}%
1090 \resizebox!{\CommonHeight}%
1091 {\vrule width40pt height2cm}}
1092 \end{subfloatrow}\caption{Common captions~IIj.
1093 Common captions in a~row with common height of graphics.
1094 Common captions in a~row with common height of graphics}}
1095 \end{floatrow}}%
1096 \end{figure}%
1097
1098 \begin{figure}[H]\fboxsep-.4pt
1099 %\def\CommonHeight{1cm}%
1100 \bluecolorasdefault\CommonHeightRow*[.5cm]%^^A\def\CommonHeight{2.5cm}
1101 {\begin{floatrow}[2]%
1102 \ffigbox[\FBwidth]{}%
1103 {\begin{subfloatrow}[2]%
1104 \ffigbox[\FBwidth]{}{\caption{}%
1105 \resizebox!{\CommonHeight}%
1106 {\vrule width40pt height1cm}}
1107
1108 \ffigbox[\FBwidth]{}{\caption{}%
1109 \label{fig:CHs:WcatIs}%
1110 \resizebox!{\CommonHeight}%
1111 {\vrule width30pt height2cm}}%
1112 \end{subfloatrow}\caption{Common captions~Ij.
1113 Common captions in a~row with common height of graphics.
1114 Common captions in a~row with common height of graphics}}
1115
1116 \ffigbox[\FBwidth]{}%
1117 {\begin{subfloatrow}[2]\useFCwidth%
1118 \ffigbox[\FBwidth]{}{\caption{}%
1119 \resizebox!{\CommonHeight}%
1120 {\vrule width30pt height1cm}}
1121
1122 \ffigbox[\FBwidth]{}{\caption{}%
1123 \label{fig:CHs:WcatIss}%
1124 \resizebox!{\CommonHeight}%
1125 {\vrule width40pt height2cm}}
1126 \end{subfloatrow}\caption{Common captions~IIj.
1127 Common captions in a~row with common height of graphics.
1128 Common captions in a~row with common height of graphics}}
1129 \end{floatrow}}%
1130 \end{figure}%
1131
1132 %--------------------------------------------------------------------
1133 \clearpage
1134
1135 The code of the mixed-level row with labels of parts beside.
1136 \begin{Quote}%
1137 \verb|\floatsetup[subfigure]{capbesideposition=left}|
1138 \verb|\begin{figure*}[H]|
1139 \verb|\CommonHeightRow*[2.75cm]%|
1140 \verb|{\begin{floatrow}|%
1141 \verb|\ffigbox[\FBwidth]{}|
1142 \verb|{\begin{subfloatrow}[3]\useFCwidth|
1143 \verb|\fcapside[\FBwidth]{}{\caption{}\label{...}...}|
1144 \verb|\fcapside[\FBwidth]{}{\caption{}\label{...}...}|
1145 \verb|\fcapside[\FBwidth]{}{\caption{}\label{...}...}|
1146 \verb|\end{subfloatrow}\caption{Common caption~I}}|
1147 \verb|\ffigbox[\FBwidth]{}{\caption{...}\label{...}...}|
1148 \verb|\end{floatrow}}%|
1149 \verb|\end{figure*}|%
1150 \end{Quote}%
1151
1152 Below is the example.
1153
1154 \begin{figure}[H]\fboxsep-.4pt
1155 %\def\CommonHeight{1cm}%
1156 \CommonHeightRow*[2.75cm]%^^A\def\CommonHeight{2.5cm}
1157 {\begin{floatrow}[2]%
1158 \ffigbox[\FBwidth]{}%
1159 {\begin{subfloatrow}[3]\useFCwidth%
1160 \fcapside[\FBwidth]{}{\caption{}%
1161 \resizebox!{\CommonHeight}%
1162 {\vrule width40pt height1cm}}%
1163 \fcapside[\FBwidth]{}{\caption{}%
1164 \label{fig:CHs:WcatIt}%
1165 \resizebox!{\CommonHeight}%
1166 {\vrule width30pt height2cm}}%
1167 \fcapside[\FBwidth]{}{\caption{}%
1168 \label{fig:CHs:WcatItt}%
1169 \resizebox!{\CommonHeight}%
1170 {\vrule width30pt height3cm}}
1171 \end{subfloatrow}\caption{Common captions~Ik.
1172 Common captions in a~row with common height of graphics.
1173 Common captions in a~row with common height of graphics}}%
1174 \ffigbox[\FBwidth]{}%
1175 {\resizebox!{\CommonHeight}%
1176 {\vrule width40pt
1177 height1cm}\caption{%
1178 Common captions in a~row with common height of graphics.
1179 Common captions in a~row with common height of graphics}}
1180 \end{floatrow}}%
1181 \end{figure}%
1182
1183 \begin{figure}[H]\fboxsep-.4pt
1184 %\def\CommonHeight{1cm}%
1185 \redcolorasdefault\CommonHeightRow*%{5cm}^^A\def\CommonHeight{2.5cm}
1186 {\begin{floatrow}[2]%
1187 \ffigbox[\FBwidth]{}%
1188 {\begin{subfloatrow}[3]\useFCwidth%
1189 \fcapside[\FBwidth]{}{\caption{}%
1190 \resizebox!{\CommonHeight}%
1191 {\vrule width40pt height1cm}}%
1192 \fcapside[\FBwidth]{}{\caption{}%
1193 \label{fig:CHs:WcatIu}%
1194 \resizebox!{\CommonHeight}%
1195 {\vrule width30pt height2cm}}%
1196 \fcapside[\FBwidth]{}{\caption{}%
1197 \label{fig:CHs:WcatIuu}%
1198 \resizebox!{\CommonHeight}%
1199 {\vrule width30pt height3cm}}
1200 \end{subfloatrow}\caption{Common captions~Im.
1201 Common captions in a~row with common height of graphics.
1202 Common captions in a~row with common height of graphics}}%
1203 \ffigbox[\FBwidth]{}%
1204 {\resizebox!{\CommonHeight}%
1205 {\vrule width40pt
1206 height1cm}\caption{}}
1207 \end{floatrow}}%
1208 \end{figure}%
1209
1210 \begin{figure}[H]\fboxsep-.4pt
1211 %\def\CommonHeight{1cm}%
1212 \bluecolorasdefault\CommonHeightRow*[.5cm]%^^A\def\CommonHeight{2.5cm}
1213 {\begin{floatrow}[2]%
1214 \ffigbox[\FBwidth]{}%
1215 {\begin{subfloatrow}[3]\useFCwidth%
1216 \fcapside[\FBwidth]{}{\caption{}%
1217 \resizebox!{\CommonHeight}%
1218 {\vrule width40pt height1cm}}%
1219 \fcapside[\FBwidth]{}{\caption{}%
1220 \label{fig:CHs:WcatIv}%
1221 \resizebox!{\CommonHeight}%
1222 {\vrule width30pt height2cm}}%
1223 \fcapside[\FBwidth]{}{\caption{}%
1224 \label{fig:CHs:WcatIvv}%
1225 \resizebox!{\CommonHeight}%
1226 {\vrule width30pt height3cm}}
1227 \end{subfloatrow}\caption{Common captions~Im.
1228 Common captions in a~row with common height of graphics.
1229 Common captions in a~row with common height of graphics}}%
1230 \ffigbox[\FBwidth]{}%
1231 {\resizebox!{\CommonHeight}%
1232 {\vrule width40pt
1233 height1cm}\caption{}}
1234 \end{floatrow}}%
1235 \end{figure}%
1236
1237 %--------------------------------------------------------------------
1238 \clearpage
1239
1240 \begin{figure}[H]\fboxsep-.4pt
1241 %\def\CommonHeight{1cm}%
1242 \CommonHeightRow*[2.5cm]%^^A\def\CommonHeight{2.5cm}
1243 {\begin{floatrow}[2]%
1244 \ffigbox[\FBwidth]{}%
1245 {\begin{subfloatrow}[2]\useFCwidth%
1246 \fcapside[\FBwidth]{}{\caption{}%
1247 \resizebox!{\CommonHeight}%
1248 {\vrule width40pt height1cm}}%
1249 \fcapside[\FBwidth]{}{\caption{}%
1250 \label{fig:CHs:WcatIw}%
1251 \resizebox!{\CommonHeight}%
1252 {\vrule width30pt height2cm}}
1253 \end{subfloatrow}\caption{Common captions~Il.
1254 Common captions in a~row with common height of graphics.
1255 Common captions in a~row with common height of graphics}}%
1256 \ffigbox[\FBwidth]{}%
1257 {\begin{subfloatrow}[2]\useFCwidth%
1258 \fcapside[\FBwidth]{}{\caption{}%
1259 \resizebox!{\CommonHeight}%
1260 {\vrule width30pt height1cm}}%
1261 \fcapside[\FBwidth]{}{\caption{}%
1262 \label{fig:CHs:WcatIww}%
1263 \resizebox!{\CommonHeight}%
1264 {\vrule width40pt height2cm}}
1265 \end{subfloatrow}\caption{Common captions~IIl.
1266 Common captions in a~row with common height of graphics.
1267 Common captions in a~row with common height of graphics}}
1268 \end{floatrow}}%
1269 \end{figure}%
1270
1271 \begin{figure}[H]\fboxsep-.4pt
1272 %\def\CommonHeight{1cm}%
1273 \redcolorasdefault\CommonHeightRow*%[5cm]^^A\def\CommonHeight{2.5cm}
1274 {\begin{floatrow}[2]%
1275 \ffigbox[\FBwidth]{}%
1276 {\begin{subfloatrow}[2]\useFCwidth%
1277 \fcapside[\FBwidth]{}{\caption{}%
1278 \resizebox!{\CommonHeight}%
1279 {\vrule width40pt height1cm}}%
1280 \fcapside[\FBwidth]{}{\caption{}%
1281 \label{fig:CHs:WcatIx}%
1282 \resizebox!{\CommonHeight}%
1283 {\vrule width30pt height2cm}}
1284 \end{subfloatrow}\caption{Common captions~Im.
1285 Common captions in a~row with common height of graphics.
1286 Common captions in a~row with common height of graphics}}%
1287 \ffigbox[\FBwidth]{}%
1288 {\begin{subfloatrow}[2]\useFCwidth%
1289 \fcapside[\FBwidth]{}{\caption{}%
1290 \resizebox!{\CommonHeight}%
1291 {\vrule width30pt height1cm}}%
1292 \fcapside[\FBwidth]{}{\caption{}%
1293 \label{fig:CHs:WcatIxx}%
1294 \resizebox!{\CommonHeight}%
1295 {\vrule width40pt height2cm}}
1296 \end{subfloatrow}\caption{Common captions~IIm.
1297 Common captions in a~row with common height of graphics.
1298 Common captions in a~row with common height of graphics}}
1299 \end{floatrow}}%
1300 \end{figure}%
1301
1302 \begin{figure}[H]\fboxsep-.4pt
1303 %\def\CommonHeight{1cm}%
1304 \bluecolorasdefault\CommonHeightRow*[.5cm]%^^A\def\CommonHeight{2.5cm}
1305 {\begin{floatrow}[2]%
1306 \ffigbox[\FBwidth]{}%
1307 {\begin{subfloatrow}[2]\useFCwidth%
1308 \fcapside[\FBwidth]{}{\caption{}%
1309 \resizebox!{\CommonHeight}%
1310 {\vrule width40pt height1cm}}%
1311 \fcapside[\FBwidth]{}{\caption{}%
1312 \label{fig:CHs:WcatIy}%
1313 \resizebox!{\CommonHeight}%
1314 {\vrule width30pt height2cm}}
1315 \end{subfloatrow}\caption{Common captions~Im.
1316 Common captions in a~row with common height of graphics.
1317 Common captions in a~row with common height of graphics}}%
1318 \ffigbox[\FBwidth]{}%
1319 {\begin{subfloatrow}[2]\useFCwidth%
1320 \fcapside[\FBwidth]{}{\caption{}%
1321 \resizebox!{\CommonHeight}%
1322 {\vrule width30pt height1cm}}%
1323 \fcapside[\FBwidth]{}{\caption{}%
1324 \label{fig:CHs:WcatIyy}%
1325 \resizebox!{\CommonHeight}%
1326 {\vrule width40pt height2cm}}
1327 \end{subfloatrow}\caption{Common captions~IIm.
1328 Common captions in a~row with common height of graphics.
1329 Common captions in a~row with common height of graphics}}
1330 \end{floatrow}}%
1331 \end{figure}%
1332
1333 %--------------------------------------------------------------------
1334 %--------------------------------------------------------------------
1335 \begingroup
1336 \floatsetup[figure]{style=plain}\floatsetup[widefloat]{margins=hangleft}
1337 \floatsetup[subfigure]{heightadjust=all}
1338 \begin{figure*}[H]\fboxsep-.4pt
1339 \CommonHeightRow*%
1340 {\begin{floatrow}%
1341 \ffigbox[\FBwidth]{}%
1342 {\begin{subfloatrow}%
1343 \ffigbox[\FBwidth]{}{\caption{Figure~I in the row with common heights}%
1344 \label{fig:CHsI:Dog}\resizebox!{\CommonHeight}{\fbox{\input{BlackDog.picture}}}}
1345
1346 \ffigbox[\FBwidth]{}{\caption{Figure~II in the row with common heights}%
1347 \label{fig:CHsI:WcatI}\resizebox!{\CommonHeight}{\fbox{\input{TheCat.picture}}}}
1348 \end{subfloatrow}\caption{Common caption~I}}
1349
1350 \ffigbox[\FBwidth]{}%
1351 {\begin{subfloatrow}%
1352 \ffigbox[\FBwidth]{}{\caption{Figure~III in the row with common heights\\ \strut}%
1353 \label{fig:CHsI:mouse}\resizebox!{\CommonHeight}{\fbox{\input{Mouse.picture}}}}
1354
1355 \ffigbox[\FBwidth]{}{\caption{Figure~IV in the row with common heights}%
1356 \label{fig:CHsI:cheese}\resizebox!{\CommonHeight}{\fbox{\input{Cheese.picture}}}}
1357 \end{subfloatrow}\caption{Common caption~II in a~row with common height of graphics}}
1358 \end{floatrow}}%
1359 \end{figure*}%
1360 \endgroup
1361 %--------------------------------------------------------------------
1362 %--------------------------------------------------------------------
1363 \cleardoublepage
1364
1365 \section{Usage of the \protect\texttt{{\char92}Xhsize} command in mixed-level rows}
1366
1367 Usage of the \verb|\Xhsize| command in mixed-level rows.
1368
1369 \begin{figure}[H]\fboxsep-.4pt
1370 %\def\CommonHeight{1cm}%
1371 %\CommonHeightRow{2.5cm}%^^A\def\CommonHeight{2.5cm}
1372 {\begin{floatrow}[2]%
1373 \ffigbox[\FBwidth]{}%
1374 {\begin{subfloatrow}[3]\useFCwidth%
1375 \fcapside[\FBwidth]{}{\caption{}%
1376 %\resizebox!{\CommonHeight}
1377 {\vrule width40pt height1cm}}%
1378 \fcapside[\FBwidth]{}{\caption{}%
1379 \label{fig:CHs:WcatIz}%\resizebox!{\CommonHeight}
1380 {\vrule width30pt height2cm}}%
1381 \fcapside[\FBwidth]{}{\caption{}%
1382 \label{fig:CHs:WcatIzz}%\resizebox!{\CommonHeight}
1383 {\vrule width30pt height2.4cm}}
1384 \end{subfloatrow}\caption{Common captions~In.
1385 Common captions in a~row with common height of graphics.
1386 Common captions in a~row with common height of graphics}}%
1387 \ffigbox[\Xhsize]{}%
1388 {\vrule width\hsize
1389 height1cm\caption{%.
1390 Common captions in a~row with common height of graphics.
1391 Common captions in a~row with common height of graphics}}
1392 \end{floatrow}}%
1393 \end{figure}%
1394
1395
1396 The next row needs the \verb|\hsize\Xhsize\filFCOhsize| sentence for the last subfigure in \verb|\fcapside| box.
1397
1398 \begin{figure}[H]\fboxsep-.4pt
1399 %\def\CommonHeight{1cm}%
1400 %\CommonHeightRow{2.5cm}%^^A\def\CommonHeight{2.5cm}
1401 {\begin{floatrow}[2]%
1402 \ffigbox[\FBwidth]{}%
1403 {\begin{subfloatrow}[2]\useFCwidth%
1404 \fcapside[\FBwidth]{}{\caption{}%
1405 %\resizebox!{\CommonHeight}
1406 {\vrule width40pt height1cm}}%
1407 \fcapside[\FBwidth]{}{\caption{}%
1408 \label{fig:CHs:WcatIaz}%\resizebox!{\CommonHeight}
1409 {\vrule width30pt height2cm}}
1410 \end{subfloatrow}\caption{Common captions~Io.
1411 Common captions in a~row with common height of graphics.
1412 Common captions in a~row with common height of graphics}}%
1413 \ffigbox[\Xhsize]{}%
1414 {\begin{subfloatrow}[2]\useFCwidth%
1415 \fcapside[\FBwidth]{}{\caption{}%
1416 %\resizebox!{\CommonHeight}
1417 {\vrule width30pt height1cm}}%
1418 \hsize\Xhsize\filFCOhsize\fcapside{}{\caption{}%
1419 \label{fig:CHs:WcatIazz}%\resizebox!{\CommonHeight}
1420 {\vrule width\hsize height2cm}}
1421 \end{subfloatrow}\caption{Common captions~IIo.
1422 Common captions in a~row with common height of graphics.
1423 Common captions in a~row with common height of graphics}}
1424 \end{floatrow}}%
1425 \end{figure}%
1426
1427 \begin{figure}[H]\fboxsep-.4pt
1428 %\def\CommonHeight{1cm}%
1429 %\CommonHeightRow{2.5cm}%^^A\def\CommonHeight{2.5cm}
1430 {\begin{floatrow}[2]%
1431 \ffigbox[\FBwidth]{}%
1432 {\begin{subfloatrow}[3]%
1433 \ffigbox[\FBwidth]{}{\caption{}%
1434 %\resizebox!{\CommonHeight}
1435 {\vrule width40pt height1cm}}%
1436 \ffigbox[\FBwidth]{}{\caption{}%
1437 \label{fig:CHs:WcatIbz}%\resizebox!{\CommonHeight}
1438 {\vrule width30pt height2cm}}%
1439 \ffigbox[\FBwidth]{}{\caption{}%
1440 \label{fig:CHs:WcatIbzz}%\resizebox!{\CommonHeight}
1441 {\vrule width30pt height2.4cm}}
1442 \end{subfloatrow}\caption{Common captions~Ip.
1443 Common captions in a~row with common height of graphics.
1444 Common captions in a~row with common height of graphics}}%
1445 \ffigbox[\Xhsize]{}%
1446 {\vrule width\hsize
1447 height1cm\caption{%.
1448 Common captions in a~row with common height of graphics.
1449 Common captions in a~row with common height of graphics}}
1450 \end{floatrow}}%
1451 \end{figure}%
1452
1453 \begin{figure}[H]\fboxsep-.4pt
1454 %\def\CommonHeight{1cm}%
1455 %\CommonHeightRow{2.5cm}%^^A\def\CommonHeight{2.5cm}
1456 {\begin{floatrow}[2]%
1457 \ffigbox[\FBwidth]{}%
1458 {\begin{subfloatrow}[2]%
1459 \ffigbox[\FBwidth]{}{\caption{}%
1460 %\resizebox!{\CommonHeight}
1461 {\vrule width40pt height1cm}}%
1462 \ffigbox[\FBwidth]{}{\caption{}%
1463 \label{fig:CHs:WcatIcz}%\resizebox!{\CommonHeight}
1464 {\vrule width30pt height2cm}}
1465 \end{subfloatrow}\caption{Common captions~Iq.
1466 Common captions in a~row with common height of graphics.
1467 Common captions in a~row with common height of graphics}}%
1468 \ffigbox[\Xhsize]{}%
1469 {\begin{subfloatrow}[2]\useFCwidth%
1470 \ffigbox[\FBwidth]{}{\caption{}%
1471 %\resizebox!{\CommonHeight}
1472 {\vrule width30pt height1cm}}%
1473 \ffigbox[\Xhsize]{}{\caption{}%
1474 \label{fig:CHs:WcatIczz}%\resizebox!{\CommonHeight}
1475 {\vrule width\hsize height2cm}}
1476 \end{subfloatrow}\caption{Common captions~IIq.
1477 Common captions in a~row with common height of graphics.
1478 Common captions in a~row with common height of graphics}}
1479 \end{floatrow}}%
1480 \end{figure}%
1481 \endgroup
1482 % ----------------------------------------------------------------
1483 \end{document}