ajout lettre prive pour jevalideca

This commit is contained in:
François Pelletier 2023-07-05 02:06:08 -04:00
parent d14898e6a2
commit 10e5c87d5d
7 changed files with 94 additions and 0 deletions

View file

@ -101,6 +101,11 @@ async def get_images():
return {"images": files}
@app.get("/images/{nom_image}")
async def get_image(nom_image: str):
return FileResponse(f"./resources/images/{nom_image}")
@app.post("/images/")
async def ajouter_image(file: UploadFile):
"""

View file

@ -27,6 +27,20 @@
"stilltime": 2,
"extension": "pdf"
},
"lettre_prive": {
"linkcolor": "blue",
"tocdepth": 3,
"pdfengine": "lualatex",
"fontsize": 12,
"paperwidth": 2550,
"paperheight": 3300,
"ratio": 100,
"margin": 255,
"vmargin": 495,
"fps": 15,
"stilltime": 2,
"extension": "pdf"
},
"linkedin": {
"linkcolor": "blue",
"tocdepth": 2,

View file

@ -0,0 +1,23 @@
\newpage
\thispagestyle{empty}
\noindent Tu apprécies ? Laisse-moi un commentaire sur mes réseaux sociaux !\newline
\leavevmode \newline
\noindent Tous droits réservés\ \newline \the\year{}\ -\ François Pelletier
\leavevmode \newline
\noindent Visite mon site web au \url{https://jevalide.ca} et mes réseaux sociaux au \url{https://linktr.ee/jevalideca}
\leavevmode \newline
\noindent Publié le \today
\leavevmode \newline
\noindent Mise en page effectuée avec \LaTeX et mon logiciel Fabrique à documents
\pagebreak

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 87 KiB

View file

@ -0,0 +1,51 @@
\usepackage[french]{babel} % Césure en français
\usepackage[autolanguage]{numprint}
\usepackage[
type={CC},
modifier={by-sa},
version={4.0},
]{doclicense}
\usepackage{xcolor}
\usepackage{listings}
\lstset{
basicstyle=\ttfamily,
numbers=left,
numberstyle=\footnotesize,
stepnumber=2,
numbersep=5pt,
backgroundcolor=\color{black!10},
showspaces=false,
showstringspaces=false,
showtabs=false,
tabsize=2,
captionpos=b,
breaklines=true,
breakatwhitespace=true,
breakautoindent=true,
linewidth=\textwidth
}
\usepackage{wallpaper}
\makeatletter
\ULCornerWallPaper{1}{./styles/jevalideca/lettre/fonds_lettre.pdf}
\makeatother
% Override default figure placement To be within the flow of the text rather
% than on it's own page.
\usepackage{float}
\makeatletter
\def\fps@figure{H}
\makeatother
\usepackage{fontspec}
\setmainfont[Path=font/GlacialIndifference/]{GlacialIndifference-Regular.otf}
\setsansfont[Path=font/GlacialIndifference/]{GlacialIndifference-Regular.otf}
\setmonofont[Path=font/SourceCodePro/]{SourceCodePro-Regular.ttf}
\newcommand{\emoji}[1]{
{\setmainfont[Path=font/NotoColorEmoji/]{NotoColorEmoji.ttf}[Renderer=Harfbuzz]{#1}}
}