Re: [Syracuse] Empêcher un saut de page

Auteur: <christophe.poulain_chez_melusine.eu.org>
Date: lun mar 05 2007 - 21:26:54 CET

Bonsoir,

On Mon, 05 Mar 2007 19:47:03 +0100
Guillaume Connan <gconnan.no@spam.free.fr.invalid> wrote:

>
> J'utilise \par\nobreak et ça marche pour moi. Je n'utilise jamais
> \newline, je ne sais pas pourquoi...

Etonnant car avec l'exemple

\documentclass[12pt]{article}
\parindent0pt
\usepackage{amsthm}
\newtheoremstyle{perso}
  {\baselineskip}% Espace vertical avant
  {6pt}% Espace vertical après
  {\upshape}% Police texte courant
  {}% Retrait horizontal en-tête
  {\bfseries\itshape}% Police en-tête
  {.}% Ponctuation après en-tête
  {\par\nobreak}% Espace après en-tête (par ex. 1em ou \newline)
  {}% (normalement vide, voir doc.)

\theoremstyle{perso}
\newtheorem{Exo}{Exercice}
\usepackage{multicol}
\begin{document}
  \begin{Exo}
    tototo tototo\par
    tototo tototo
  \end{Exo}
  \begin{Exo}
    tatata tatata\par
    tatata tatata
  \end{Exo}
 \begin{Exo}
    tototo tototo\par
    tototo tototo
  \end{Exo}
  \begin{Exo}
    tatata tatata\par
    tatata tatata
  \end{Exo}
 \begin{Exo}
    tototo tototo\par
    tototo tototo
  \end{Exo}
  \begin{Exo}
    tatata tatata\par
    tatata tatata
  \end{Exo}
 \begin{Exo}
    tototo tototo\par
    tototo tototo
  \end{Exo}
  \begin{Exo}
    tatata tatata\par
    tatata tatata
  \end{Exo}
 \begin{Exo}
    tototo tototo\par
    tototo tototo\par
    tututu tututu
  \end{Exo}
  \begin{Exo}
    tatata tatata\par
    tatata tatata
  \end{Exo}
 \begin{Exo}
    tototo tototo\par
    tototo tototo
  \end{Exo}
  \begin{Exo}
    tatata tatata\par
    tatata tatata
  \end{Exo}
\end{document}

Ca ne marche pas :(

>
> Pour plus d'infos, tu peux regarder le LC p.237

Je ne l'ai pas, je n'ai pas investi ;)
Peut-être devrais-je ?

>
> --
> Guillaume Connan
>
> http://gconnan.free.fr
>

Christophe.

_______________________________________________
Liste de diffusion Syracuse
Syracuse@melusine.eu.org
http://melusine.eu.org/cgi-bin/mailman/listinfo/syracuse
Adresse alternative du site :
http://syracuse.eu.org/syracuse/
Received on Mon Mar 5 21:23:18 2007

Cette archive a été créée par hypermail 2.1.8 : lun mar 05 2007 - 22:37:01 CET