Bonjour,

J'aimerai créer l'effet de la page 46 : http://www.math.unicaen.fr/~pontreau.../sem-jeuns.pdf. En mettant \def\colorize<#1>{\temporal<#1> {\color{black!20}}{\color{black}}{\color{black!20}} en préambule j'obtiens une erreur lorsque je veux prévisualiser le PDF (visionner impossible, il ne trouve pas le fichier pdf), pareil lorsque je le mets avant la liste de puces ; bien sûr, quand j'enlève, ça visualise/compile sans pb ...

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122

% Visionner le code LaTeX

%% LyX 1.6.4 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[french,handout]{beamer}
\usepackage{lmodern}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage{color}
\usepackage{amsmath}
\usepackage{amssymb}

\makeatletter

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands.
\providecommand{\LyX}{L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Textclass specific LaTeX commands.
 % this default might be overridden by plain title style
 \newcommand\makebeamertitle{\frame{\maketitle}}%
 \AtBeginDocument{
   \let\origtableofcontents=\tableofcontents
   \def\tableofcontents{\@ifnextchar[{\origtableofcontents}{\gobbletableofcontents}}
   \def\gobbletableofcontents#1{\origtableofcontents}
 }
 \makeatletter
 \long\def\lyxframe#1{\@lyxframe#1\@lyxframestop}%
 \def\@lyxframe{\@ifnextchar<{\@@lyxframe}{\@@lyxframe<*>}}%
 \def\@@lyxframe<#1>{\@ifnextchar[{\@@@lyxframe<#1>}{\@@@lyxframe<#1>[]}}
 \def\@@@lyxframe<#1>[{\@ifnextchar<{\@@@@@lyxframe<#1>[}{\@@@@lyxframe<#1>[<*>][}}
 \def\@@@@@lyxframe<#1>[#2]{\@ifnextchar[{\@@@@lyxframe<#1>[#2]}{\@@@@lyxframe<#1>[#2][]}}
 \long\def\@@@@lyxframe<#1>[#2][#3]#4\@lyxframestop#5\lyxframeend{%
   \frame<#1>[#2][#3]{\frametitle{#4}#5}}
 \makeatother
 \newenvironment{topcolumns}{\begin{columns}[t]}{\end{columns}}
 \def\lyxframeend{} % In case there is a superfluous frame end

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
\usetheme{Warsaw}
% or ...

\setbeamercovered{transparent}
% or whatever (possibly just delete it)
\usepackage{graphicx}%@@final
\usepackage{hyperref}
\usepackage{amsmath}
\usepackage{listings}
\usepackage{ae,aecompl}
\def\colorize<#1>{\temporal<#1> {\color{black!20}}{\color{black}}{\color{black!20}}

\makeatother

\usepackage{babel}
\addto\extrasfrench{\providecommand{\og}{\leavevmode\flqq~}\providecommand{\fg}{\ifdim\lastskip>\z@\unskip\fi~\frqq}}

\begin{document}

\title[Le vieux théorème japonais ]{Le vieux théorème japonais }


\subtitle{Contribution de Lazare Carnot}


\makebeamertitle


%\logo{\includegraphics[height=0.5cm]{institution-logo-filename}}




%\pgfdeclareimage[height=0.5cm]{institution-logo}{/my/path/to/institution-logo-filename}
%\logo{\pgfuseimage{institution-logo}} 



\AtBeginSubsection[]{

  \frame<beamer>{ 

    \frametitle{Lignes directrices}   

    \tableofcontents[currentsection,currentsubsection] 
% Vous pouvez, si vous le souhaitez ajouter l'option [pausesections]
  }

}



%\beamerdefaultoverlayspecification{<+->}


\lyxframeend{}\lyxframe{Sommaire}

\tableofcontents{}




\lyxframeend{}\section{Histoire}


\lyxframeend{}\lyxframe{Hasard de l'Histoire}
\begin{block}
{}
\begin{itemize}
\item \colorize<1->En 1800, un samouraï anonyme accrochait au mur d'un
temple une tablette de bois sur laquelle était gravé un \emph{sangaku},
un problème de géométrie dédié à une divinité japonaise et proposé
à la sagacité des fidèles.
\item \colorize<2->Trois ans plus tard, le général, poète, physicien, mathématicien
et politicien français Lazare Carnot (1753 - 1823) publiait son ouvrage
\emph{Géométrie de position}. 
\item \colorize<3->Hasard de l'Histoire, il se trouvait qu'un théorème
présent dans cet ouvrage permettait de résoudre élégamment le sangaku
en question.
\end{itemize}
\end{block}
.....
Merci de m'aider.