From 19d977ed8c1ae799f61e5c0f1d88a4ddfc0cb852 Mon Sep 17 00:00:00 2001 From: Sarah Gosselin Date: Tue, 15 Oct 2024 19:20:04 -0400 Subject: AAAhhhh j'ai faim! --- document.sty | 2 -- main.tex | 28 ++++++++++++++++++++-------- references.bib | 29 +++++++++++++++++++++++++++++ 3 files changed, 49 insertions(+), 10 deletions(-) create mode 100644 references.bib diff --git a/document.sty b/document.sty index cc7e06b..e53fe10 100644 --- a/document.sty +++ b/document.sty @@ -8,8 +8,6 @@ % Margin Setup according to University methodology: \RequirePackage[top=2.5cm,bottom=2.5cm,inner=3cm,outer=2.5cm]{geometry} % IEEE references & bibliography -\RequirePackage[style=ieee]{biblatex} -\RequirePackage[T1]{fontenc} % French compatibility \RequirePackage{inputenc} % Sensible text encoding \RequirePackage[french]{babel} % French document environment \RequirePackage{fancyhdr} % Footer customisation diff --git a/main.tex b/main.tex index af2d91d..8681f74 100644 --- a/main.tex +++ b/main.tex @@ -1,6 +1,8 @@ \documentclass[a11paper, 11pt]{article} % xelatex +\usepackage[T1]{fontenc} +\usepackage[style=ieee]{biblatex} \usepackage{document} \usepackage{titlepage} \usepackage{booktabs} @@ -11,7 +13,6 @@ \usepackage{multicol} \usepackage{siunitx} \usepackage[dvipsnames]{xcolor} -\usepackage[T1]{fontenc} \usepackage{csquotes} \usepackage[french]{babel} \usepackage{hyperref} @@ -22,6 +23,8 @@ \newcommand{\fixme}[1]{\begin{color}{Fuchsia}\textbf{FIXME:} #1\end{color}} \newcommand{\question}[1]{\begin{color}{ForestGreen}\textbf{QUESTION:} #1\end{color}} +\DeclareNameAlias{author}{family-given} +\addbibresource{references.bib} \DeclareSIPrefix{\micro}{% \text{% @@ -121,12 +124,19 @@ parcourant les DEL. $D_2$ opère à un courrant de \SI{10}{\milli\ampere} avec u alors que $D_3$ opèver \begin{figure}[H] - \centering - \todo{cite the tableaux} - \begin{tabular}{cc} - \subcaptionbox{Diode $D_2$\label{subfig:yellow}}{\includegraphics[width=.40\textwidth]{media/yellow.png}} - \subcaptionbox{Diode $D_3$\label{subfig:blue}}{\includegraphics[width=.40\textwidth]{media/blue.png}} & - \end{tabular} + \begin{subfigure}{0.4/textwidth} + \centering + \includegraphics[width=\textwidth]{media/yellow.png} + \caption{Diode $D_2$ } + \label{subfig:yellow} + \end{subfigure} + \hfill + \begin{subfigure}{0.4/textwidth} + \centering + \includegraphics[width=\textwidth]{media/blue.png} + \caption{Diode $D_3$ } + \label{subfig:blue} + \end{subfigure} \caption{Intesection des droites de charge des diodes} \end{figure} @@ -332,6 +342,8 @@ alors que $D_3$ opèver % \end{figure} % \newpage -% \printbibliography + +\printbibliography + \end{document} diff --git a/references.bib b/references.bib new file mode 100644 index 0000000..7bc633e --- /dev/null +++ b/references.bib @@ -0,0 +1,29 @@ + +@misc{yellow-led, + title = {{YELLOW} {LED} - {Everlight} {Americas} {Inc}.}, + url = { + https://everlightamericas.com/through-hole-led-lamps/1893/EALP05RDHYA0.html?search_query=EALP05RDHYA0&results=1 + }, + language = {English}, + urldate = {2024-10-15}, + journal = {Through Hole LED Lamps -}, + author = {{Everlight Americas Inc.}}, + file = {PDF:/home/zaikos/Zotero/storage/GRH7TTIR/Through Hole LED Lamps - + Everlight Americas Inc..PDF:application/pdf;YELLOW LED - Everlight + Americas + Inc.:/home/zaikos/Zotero/storage/N7IK9FU8/EALP05RDHYA0.html:text/html}, +} + +@misc{blue-led, + title = {{BLUE} {LED} - {Everlight} {Americas} {Inc}.}, + url = { + https://everlightamericas.com/through-hole-led-lamps/1810/ealp05rddba3.html + }, + urldate = {2024-10-15}, + journal = {Through Hole LED Lamps -}, + author = {{Everlight Americas Inc.}}, + file = {PDF:/home/zaikos/Zotero/storage/GH3R2W68/Everlight Americas Inc. - + BLUE LED - Everlight Americas Inc..PDF:application/pdf;Through Hole LED + Lamps - Everlight Americas + Inc.:/home/zaikos/Zotero/storage/6KC7JDMH/ealp05rddba3.html:text/html}, +} -- cgit v1.2.3