fix code import

part1
Alexandre AGOSTINHO 2 years ago
parent dfa09e7503
commit 7b84beabed

Binary file not shown.

@ -26,7 +26,31 @@
\hypersetup{urlcolor=red} \hypersetup{urlcolor=red}
% Code style % Code style
% \usepackage{minted} \usepackage{xcolor}
\usepackage{listings}
\definecolor{codegreen}{rgb}{0,0.6,0}
\definecolor{codegray}{rgb}{0.5,0.5,0.5}
\definecolor{codepurple}{rgb}{0.58,0,0.82}
\definecolor{backcolour}{rgb}{0.95,0.95,0.92}
\lstdefinestyle{mystyle}{
backgroundcolor=\color{backcolour},
commentstyle=\color{codegreen},
keywordstyle=\color{magenta},
numberstyle=\tiny\color{codegray},
stringstyle=\color{codepurple},
basicstyle=\ttfamily\footnotesize,
breakatwhitespace=false,
breaklines=true,
captionpos=b,
keepspaces=true,
numbers=left,
numbersep=5pt,
showspaces=false,
showstringspaces=false,
showtabs=false,
tabsize=2
}
\lstset{style=mystyle}
% Multifiles % Multifiles
\usepackage[subpreambles=true]{standalone} \usepackage[subpreambles=true]{standalone}
@ -51,7 +75,7 @@
\centering \centering
\includegraphics[width=0.8\textwidth]{images/iut-logo.png} \includegraphics[width=0.8\textwidth]{images/iut-logo.png}
\newline \newline
\vskip100pt \vskip140pt
\bfseries \bfseries
SAE 2.02 SAE 2.02
\vskip3pt \vskip3pt

@ -2,21 +2,13 @@
\documentclass[class=article, crop=false]{standalone} \documentclass[class=article, crop=false]{standalone}
\usepackage[subpreambles=true]{standalone}
%\usepackage{listings}
\begin{document} \begin{document}
\section{Partie 1} \section{Partie 1}
\subsection{Question 1} \subsection{Question 1}
% insert struct code here \quad Pour représenter ce réseaux, je propose la structure de données suivante :
% \begin{minted}[linenos]{c} \lstinputlisting[language=C,firstline=16,lastline=19]{code/p1e1.c}
% typedef struct pointCaracteristique {
% char nom[NAME_MAX_LEN];
% struct pointCaracteristique *tPtsCaract;
% } PointCaracteristique;
% \end{lstlisting}
\subsection{Question 2} \subsection{Question 2}
\quad Un point caractéristique n'a besoin de connaître que les points qu'il peut atteindre. \quad Un point caractéristique n'a besoin de connaître que les points qu'il peut atteindre.

Loading…
Cancel
Save