Commit 381caff0 authored by Dubois Quentin's avatar Dubois Quentin
Browse files

contenu du tp Latex

parent 53f5fb97
Pineapple Bread
Apple Bread
Category: Breads: Bread, muffins, rolls, etc...
Posted by: Paul Stafford
Quantity: ??
......
English ONION SOUP
FRENCH ONION SOUP
Qty Measurement Ingredient
......
@Book{GOT4,
author = {George R.R. Martin},
title = {{A Feast For Crows (A Song of Ice and Fire)}},
year ={2005},
isbn ={0-553-80150-3},
pages ={784},
publisher ={Bantam}
}
\ No newline at end of file
tp_latex/logo_TNCY.png

92.8 KB

\documentclass{article}
\usepackage[utf8]{inputenc}
\title{tpLatex}
\author{Dubois Quentin }
\date{November 2020}
\usepackage{graphicx}
\begin{document}
\maketitle
\section{Introduction}
\subsection{Première sous-section}
\subsubsection{Première sous-sous-section}
\begin{enumerate}
\item des poires ;
\begin{enumerate}
\item des Williams
\item des Guyot
\end{enumerate}
\item des carottes ;
\item des choux.
\end{enumerate}
\begin{figure}
\centering
\includegraphics[scale=0.1]{logo_TNCY.png}
\caption{le logo de TELECOM Nancy}
\label{fig:logo_tncy}
\ref{fig:logo_tncy}
\end{figure}
\begin{table}
\centering
\begin{tabular}{|l|c|c|} %left|center|center
\hline
colonne 1 & colonne 2 & colonne \\
\hline
1.1&1.2&1.3\\
2.1&2.2&2.3\\
\hline
\end{tabular}
\caption{Exemple simple de tableau}
\label{tab:exemple}
\end{table}
Einstein a établi la célèbre formule $E=mc^2$ % $blabla$ définit que blabla est une formule mathématique
Einstein a établi la célèbre équation \ref{eq-Einstein}
\begin{equation}
\label{eq-Einstein}
E = mc^2
\end{equation}
"G.R.R Martin a écrit, dans le livre \cite{GOT4}:"I prefer my history dead. Dead history is written in ink, the living sort in blood""
\bibliographystyle{plain}
\bibliography{biblio.bib}
\end{document}
%%
%% This is file `meetingmins.cls',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% meetingmins.dtx (with options: `class')
%% ----------------------------------------------------------------------
%%
%% meetingmins - A LaTeX class for formatting minutes of meetings
%%
%% Copyright (C) 2011-2013 by Brian D. Beitzel <brian@beitzel.com>
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License (LPPL), either
%% version 1.3c of this license or (at your option) any later
%% version. The latest version of this license is in the file:
%%
%% http://www.latex-project.org/lppl.txt
%%
%% Users may freely modify these files without permission, as long as the
%% copyright line and this statement are maintained intact.
%%
%% ----------------------------------------------------------------------
%%
\ProvidesClass{meetingmins}[2013/10/03 v1.6 Meeting minutes]
\NeedsTeXFormat{LaTeX2e}
\DeclareOption{agenda}{%
\def\@agenda{\@agendamode}
}
\DeclareOption{chair}{%
\def\@chair{\@chairmode}
}
\DeclareOption{notes}{%
\def\@notes{\@notesmode}
}
\def\@committeename{}
\newcommand{\setcommittee}[1]{\def\@committee{#1}}
\newcommand{\show@committee}{\@committee}
\def\@members{None}
\newcommand{\setmembers}[1]{\def\@members{#1}}
\newcommand{\show@members}{\@members}
\newcommand{\role}[2]{#1~(#2)}
\newcommand{\chair}[1]{\role{#1}{Chair}}
\newcommand{\secretary}[1]{\role{#1}{Secretary}}
\global\let\@absent\@empty
\newcommand{\setabsent}[1]{\def\@absent{#1}}
\let\absent\setabsent %
\newcommand{\show@absent}{\@absent}
\global\let\@present\@empty
\newcommand{\setpresent}[1]{\def\@present{#1}}
\newcommand{\show@present}{\@present}
\global\let\@alsopresent\@empty
\newcommand{\setalsopresent}[1]{\def\@alsopresent{#1}}
\let\alsopresent\setalsopresent %
\newcommand{\show@alsopresent}{\@alsopresent}
\def\@date{\today}
\newcommand{\setdate}[1]{\def\@date{#1}}
\newcommand{\show@date}{\@date}
\DeclareOption*{\InputIfFileExists{\CurrentOption.min}{}{%
\PassOptionsToClass{\CurrentOption}{article}}}
\ProcessOptions \relax
\LoadClass{article}
\RequirePackage[margin=1in]{geometry}
\RequirePackage[T1]{fontenc}
\RequirePackage{lmodern}
\RequirePackage{fancyhdr}
\fancypagestyle{firstpage}{%
\fancyhf{} % clear all six fields
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}
}
\fancypagestyle{followingpage}{%
\fancyhf{} % clear all six fields
\lhead{\show@committee, \show@date}
\rhead{\thepage}
\renewcommand{\headrulewidth}{1pt}
\renewcommand{\footrulewidth}{0pt}
}
\pagestyle{followingpage}
\AtBeginDocument{\thispagestyle{firstpage}}
\RequirePackage{enumitem}
\@ifundefined{@chair}{% minutes/agenda
}{% chair's agenda
\RequirePackage{mathabx}
\RequirePackage{xstring}
}
\newcommand{\member@list}{
\begin{description}
\item[Members:] \show@members
\end{description}
}
\newcommand{\member@table}{
\begin{description}
\raggedright
\item[Members:] \StrSubstitute{$\Box$~\show@members}{,}{,\ \ \ $\Box$~}
\end{description}
}
\newcommand{\head@list}{
\begin{description}
\item[Present:] \show@present
\ifx\@absent\@empty
\relax
\else
\item[Absent:] \show@absent
\fi %
\ifx\@alsopresent\@empty
\relax
\else
\item[Also present:] \show@alsopresent
\fi %
\end{description}
}
\renewcommand{\maketitle}{%
\begin{center}
{\large\textbf{\show@committee}} \\[1ex]
\@ifundefined{@agenda}{%
\@ifundefined{@chair}{% minutes
\@ifundefined{@notes}{%
Minutes for \show@date
}{% minutes with notes
Notes for \show@date
}
}{% chair's agenda
Chair's Agenda for \show@date
}%
}{% agenda only
Agenda for \show@date
}%
\end{center}
\vspace{0.5ex}
\@ifundefined{@agenda}{% minutes
\@ifundefined{@chair}{% minutes
\head@list
\vspace{0.1ex}
}{% chair's agenda
\member@table
}
}{% agenda only
}
}{%
}
\setcounter{secnumdepth}{0}
\renewcommand{\section}{\@startsection {section}{1}{\z@}%
{1\baselineskip \@plus 0.2ex \@minus 0.2ex\leftskip=0in}%
{0.8\baselineskip \@plus .2ex}%
{\normalfont\normalsize\bfseries}}
\renewcommand{\subsection}{\@startsection{subsection}{2}{0.5in}%
{1\baselineskip \@plus 0.2ex \@minus 0.2ex\leftskip=0in}%
{0.5\baselineskip \@plus 0.2ex}%
{\normalfont\normalsize\bfseries\itshape}}
\@ifundefined{@agenda}{%
\@ifundefined{@chair}{% minutes
\renewcommand{\subsubsection}[1]{\@startsection{subsubsection}{3}{0in}%
{0.4\baselineskip \@plus 0.2ex \@minus 0.2ex\leftskip=0.5in}%
{-\z@}%
{\normalfont\normalsize\itshape}{#1} \hspace{0.2em} ---\hspace{0.2em}}
}{% chair's agenda
\renewcommand{\subsubsection}[1]{\@startsection{subsubsection}{3}{0in}%
{0.4\baselineskip \@plus 0.2ex \@minus 0.2ex\leftskip=0.5in}%
{-\z@}%
{\normalfont\normalsize\itshape}{#1} \hspace{0.2em} ---\hspace{0.2em}}
}
}{% agenda only
\renewcommand{\subsubsection}[1]{\@startsection{subsubsection}{3}{0in}%
{0.4\baselineskip \@plus 0.2ex \@minus 0.2ex\leftskip=0.5in}%
{-\z@}%
{\normalfont\normalsize\itshape}{#1}}
}
\RequirePackage{environ}
\newenvironment{emptysection}{\Collect@Body\@gobble}{}
\newenvironment{items}{%
\begin{itemlist}
}{%
\end{itemlist}
}
\newenvironment{itemlist}{%
\begin{enumerate}[leftmargin=0.5in]
}{%
\end{enumerate}
}
\@ifundefined{@agenda}{% minutes
\newenvironment{hiddenitems}{\begin{enumerate}[leftmargin=0.5in]}{\end{enumerate}}
}{% agenda only
\let\hiddenitems\emptysection
}
\@ifundefined{@agenda}{% minutes
\newenvironment{hiddentext}{}{}
}{% agenda only
\let\hiddentext\emptysection
}
\newenvironment{subitems}{%
\begin{subitemlist}
}{%
\end{subitemlist}
}
\newenvironment{subitemlist}{%
\begin{enumerate}[leftmargin=1in]
}{%
\end{enumerate}
}
\@ifundefined{@agenda}{% minutes
\newenvironment{hiddensubitems}{\begin{enumerate}[leftmargin=1in]}{\end{enumerate}}
}{% agenda only
\let\hiddensubitems\emptysection
}
\newenvironment{subsubitems}{%
\begin{subsubitemlist}
}{%
\end{subsubitemlist}
}
\newenvironment{subsubitemlist}{%
\begin{enumerate}[leftmargin=1in]
}{%
\end{enumerate}
}
\@ifundefined{@agenda}{% minutes
\newenvironment{hiddensubsubitems}{\begin{enumerate}[leftmargin=1in]}{\end{enumerate}}
}{% agenda only
\let\hiddensubsubitems\emptysection
}
\newcommand{\priormins}{The minutes of the previous meeting were approved.}
\newcommand{\nextmeeting}[1]{%
\@ifundefined{@agenda}{% minutes
\par\noindent\textbf{Next Meeting:} #1\par
}{% agenda only
%\par\noindent\textbf{Next Meeting:} #1\par
}
}
%%
%% Copyright (C) 2011-2013 by Brian D. Beitzel <brian@beitzel.com>
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License (LPPL), either
%% version 1.3c of this license or (at your option) any later
%% version. The latest version of this license is in the file:
%%
%% http://www.latex-project.org/lppl.txt
%%
%% Users may freely modify these files without permission, as long as the
%% copyright line and this statement are maintained intact.
%%
%% This work is "maintained" (as per LPPL maintenance status) by
%% Brian D. Beitzel.
%%
%% This work consists of the file meetingmins.dtx
%% and the derived files meetingmins.cls,
%% sampleminutes.tex,
%% department.min,
%% README.txt, and
%% meetingmins.pdf.
%%
%%
%% End of file `meetingmins.cls'.
%%
%% This is file `./samples/minutes.tex',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% meetingmins.dtx (with options: `minutes')
%% ----------------------------------------------------------------------
%%
%% meetingmins - A LaTeX class for formatting minutes of meetings
%%
%% Copyright (C) 2011-2013 by Brian D. Beitzel <brian@beitzel.com>
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License (LPPL), either
%% version 1.3c of this license or (at your option) any later
%% version. The latest version of this license is in the file:
%%
%% http://www.latex-project.org/lppl.txt
%%
%% Users may freely modify these files without permission, as long as the
%% copyright line and this statement are maintained intact.
%%
%% ----------------------------------------------------------------------
%%
\documentclass[11pt]{meetingmins}
%% Optionally, the following text could be set in the file
%% department.min in this folder, then add the option 'department'
%% in the \documentclass line of this .tex file:
%%\setcommittee{Department of Instruction}
%%
%%\setmembers{
%% \chair{B.~Smart},
%% B.~Brave,
%% D.~Claire,
%% B.~Gone
%%}
\setcommittee{Department of Instruction}
\setmembers{
\chair{B.~Smart},
B.~Brave,
D.~Claire,
B.~Gone
}
\setdate{October 5, 2011}
\setpresent{
\chair{B.~Smart},
B.~Brave,
D.~Claire
}
\absent{B.~Gone \textit{(sabbatical)}}
\alsopresent{B.~There}
\begin{document}
\maketitle
\section{Announcements}
\begin{hiddenitems}
\item
The dean is coming today.
\item
The dean has canceled.
\end{hiddenitems}
\section{Committee Reports}
\subsection{College-wide Committees}
\subsubsection{Library}
The library still has books that no one has read.
\subsubsection{Curriculum {\rm (D.~Claire)}}
\begin{hiddensubitems}
\item
There is widespread interest in reforming the curriculum.
\item
Unfortunately, no one seems interested in participating on the
curriculum reform committee.
\end{hiddensubitems}
\subsection{Department Committees}
\subsubsection{Personnel}
No one can have a raise this year.
\subsubsection{Assistant Professor Search}
We are looking for someone who will do a lot for very little money.
\section{Old Business}
\begin{items}
\item
\priormins
\end{items}
\section{New Business}
\begin{items}
\item
We will teach classes next semester.
\item
We will do research next semester.
\end{items}
\vspace{1em}
\nextmeeting{Wednesday, October 19, at 3:00}
\end{document}
%%
%% Copyright (C) 2011-2013 by Brian D. Beitzel <brian@beitzel.com>
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License (LPPL), either
%% version 1.3c of this license or (at your option) any later
%% version. The latest version of this license is in the file:
%%
%% http://www.latex-project.org/lppl.txt
%%
%% Users may freely modify these files without permission, as long as the
%% copyright line and this statement are maintained intact.
%%
%% This work is "maintained" (as per LPPL maintenance status) by
%% Brian D. Beitzel.
%%
%% This work consists of the file meetingmins.dtx
%% and the derived files meetingmins.cls,
%% sampleminutes.tex,
%% department.min,
%% README.txt, and
%% meetingmins.pdf.
%%
%%
%% End of file `./samples/minutes.tex'.
\documentclass{beamer}
\usepackage[utf8]{inputenc}
\usepackage{graphicx}
\usetheme{Berlin}
\title{tpLatex}
\author{Quentin Dubois}
\date{November 2020}
\begin{document}
\maketitle
\begin{block}{liste a puce}
\begin{enumerate}
\item des poires ;
\begin{enumerate}
\item des Williams
\item des Guyot
\end{enumerate}
\item des carottes ;
\item des choux.
\end{enumerate}
\end{block}
\begin{frame}{Insertion d'image}
\begin{figure}
\centering
\includegraphics[scale=0.1]{logo_TNCY.png}
\caption{le logo de TELECOM Nancy}
\label{fig:logo_tncy}
\ref{fig:logo_tncy}
\end{figure}
\end{frame}
\begin{frame}{insertion de tableau}
\begin{table}
\centering
\begin{tabular}{|l|c|c|} %left|center|center
\hline
colonne 1 & colonne 2 & colonne \\
\hline
1.1&1.2&1.3\\
2.1&2.2&2.3\\
\hline
\end{tabular}
\caption{Exemple simple de tableau}
\label{tab:exemple}
\end{table}
\end{frame}
\begin{frame}{Insertion de formule}
Einstein a établi la célèbre formule $E=mc^2$ % $blabla$ définit que blabla est une formule mathématique
Einstein a établi la célèbre équation \ref{eq-Einstein}
\begin{equation}
\label{eq-Einstein}
E = mc^2
\end{equation}
\end{frame}
\begin{frame}{Insertion citation}
"G.R.R Martin a écrit, dans le livre \cite{GOT4}:"I prefer my history dead. Dead history is written in ink, the living sort in blood""
\bibliographystyle{plain}
\bibliography{biblio.bib}
\end{frame}
\end{document}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment