Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
Prochaine révision
Révision précédente
Dernière révision Les deux révisions suivantes
3_composition:flottants:positionnement:forcer_la_position_d_un_flottant2 [2018/06/03 14:58]
joseph.wright
3_composition:flottants:positionnement:forcer_la_position_d_un_flottant2 [2018/12/04 00:14]
jejust
Ligne 1: Ligne 1:
---- +====== ​Figure (or table) _exactly_ where I want it ======
-title: ​Figure (or table) _exactly_ where I want it +
-category: floats +
-tags: tables figures +
-permalink: /​FAQ-figurehere +
----+
  
-This is of course a contradiction: ​`figureand + 
-`tableare _designed_ ​to float, and will always have+This is of course a contradiction: ​''​figure'' ​and 
 +''​table'' ​are //​designed// ​to float, and will always have
 the potential to appear away from where you asked for them.  Therefore the potential to appear away from where you asked for them.  Therefore
-you need something that behaves like a `figureor +you need something that behaves like a ''​figure'' ​or 
-`tableenvironment,​ except that it doesn'​t allow the+''​table'' ​environment,​ except that it doesn'​t allow the
 figure or table to float. figure or table to float.
  
-The most straightforward way is to use of the [`float`](https://​ctan.org/​pkg/​floatpackage; +The most straightforward way is to use of the [[ctanpkg>​float|float]] package; 
-it gives you a `[H]float placement option that prevents+it gives you a ''​[H]'' ​float placement option that prevents
 floating: floating:
-```latex+ 
 +<​code ​latex>
 \begin{figure}[H] \begin{figure}[H]
   \centering   \centering
Ligne 23: Ligne 20:
   \label{fig:​nonfloat}   \label{fig:​nonfloat}
 \end{figure} \end{figure}
-``` +</​code>​ 
-As the example suggests, such a `[H]figure (or+As the example suggests, such a ''​[H]'' ​figure (or
 corresponding table) offers all you need to cross-reference as well corresponding table) offers all you need to cross-reference as well
-as typeset. ​ (The package [`here`](https://​ctan.org/​pkg/​hereprovides the same function,+as typeset. ​ (The package [[ctanpkg>​here|here]] provides the same function,
 but is no longer recommended.) but is no longer recommended.)
  
-However, you don't actually ​_have_ ​to use [`float`](https://​ctan.org/​pkg/​float) ​(or +However, you don't actually ​//​have// ​to use [[ctanpkg>​float|float](or 
-[`here`](https://​ctan.org/​pkg/​here)) since it is, in fact, doing rather little for you.+[[ctanpkg>​here|here]]) since it is, in fact, doing rather little for you.
 You can place your figure as you please, with a sequence like You can place your figure as you please, with a sequence like
-```latex+ 
 +<​code ​latex>
 \begin{center} \begin{center}
   \includegraphics{foo}   \includegraphics{foo}
Ligne 38: Ligne 36:
   \label{fig:​nonfloat}   \label{fig:​nonfloat}
 \end{center} \end{center}
-``` +</​code>​ 
-which relies on the `\captionofcommand to place a caption without+which relies on the ''​\captionof'' ​command to place a caption without
 benefit of an enclosing float. ​ That command may be had from the extremely benefit of an enclosing float. ​ That command may be had from the extremely
-simple-minded package [`capt-of`](https://​ctan.org/​pkg/​capt-ofor from the highly +simple-minded package [[ctanpkg>​capt-of|capt-of]] or from the highly 
-sophisticated [`caption`](https://​ctan.org/​pkg/​captionpackage.+sophisticated [[ctanpkg>​caption|caption]] package.
  
 Using either method, you have to deal with the possibility of the Using either method, you have to deal with the possibility of the
Ligne 48: Ligne 46:
 float away in this circumstance;​ "doing it by hand", like this, you float away in this circumstance;​ "doing it by hand", like this, you
 take upon yourself the responsibility for avoiding ​ take upon yourself the responsibility for avoiding ​
-"_Overfull `\vbox`_" errors.+"//Overfull ''​\vbox''//​" errors.
  
 A further problem is the possibility that such "fixed floats"​ will A further problem is the possibility that such "fixed floats"​ will
Ligne 57: Ligne 55:
  
 If it's really impossible to follow that counsel of perfection, you If it's really impossible to follow that counsel of perfection, you
-can use the [`perpage`](https://​ctan.org/​pkg/​perpagepackage'​s command ​`\MakeSorted`+can use the [[ctanpkg>​perpage|perpage]] package'​s command ​''​\MakeSorted''​
 command: command:
-```latex+ 
 +<​code ​latex>
 ... ...
 \usepackage{float} \usepackage{float}
Ligne 66: Ligne 65:
 \MakeSorted{table} \MakeSorted{table}
 ... ...
-```+</​code>​
 and the sequence of float numbers is all correct. and the sequence of float numbers is all correct.
  
 +
 +-----
 +
 +//Source:// [[faquk>​FAQ-figurehere|Figure (or table) _exactly_ where I want it]]
 +
 +{{htmlmetatags>​metatag-keywords=(LaTeX,​figures,​floats,​tables)
 +metatag-og:​title=(Figure (or table) _exactly_ where I want it)
 +metatag-og:​site_name=(FAQ LaTeX francophone)
 +}}
  
3_composition/flottants/positionnement/forcer_la_position_d_un_flottant2.txt · Dernière modification: 2020/12/08 14:24 par yannick.tanguy
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0