Skip to content

Instantly share code, notes, and snippets.

@jy95
Created August 9, 2017 18:59
Show Gist options
  • Select an option

  • Save jy95/9a4de979141bf0d6b6e224cdbba16de3 to your computer and use it in GitHub Desktop.

Select an option

Save jy95/9a4de979141bf0d6b6e224cdbba16de3 to your computer and use it in GitHub Desktop.
Quelques trucs bien utiles
% un exemple pour insérer une figure, en essayant de garder le même ratio longueur/largeur selon ta page
\begin{figure}[H]
\centering
\includegraphics[width=\textwidth,height=\textheight,keepaspectratio]{illustrations/ComparaisonBloquantOuNon.png}
\caption{Bloquant/non-bloquant : téléchargement de deux fichiers}
\end{figure}
% une manière d'inclure les morceaux que tu veux de ton code, aide énornement à pas recopier :)
% en incluant bien sur un nom à ta figure et le fichier dans lequel il faut piocher
\lstinputlisting[linerange={44-50,54-56,66-72,78-114},caption=Implémentation typique d'un générateur]{sample_source_code/implementationApi/searchUsersDb.js}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment