mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
Doc: Add GPL logo and minor change.
This commit is contained in:
1 parent
9f9dd508b1
commit
436f4adaf6
5 files changed
+58
-48
No files matched your search
+39
-5
@@ -66,12 +66,10 @@
|
||||
\fontsize{26pt}{24pt}
|
||||
\selectfont
|
||||
\@title \\
|
||||
Document licence: GPLv3 \\
|
||||
\medskip
|
||||
\includegraphics[width=3cm]{../images/GPLv3_Logo.png} \\
|
||||
\medskip
|
||||
}
|
||||
\vspace{0.3cm}
|
||||
{
|
||||
%\centering
|
||||
%\scshape
|
||||
\fontsize{14pt}{16pt}
|
||||
\selectfont
|
||||
© \@author \\
|
||||
@@ -100,3 +98,39 @@
|
||||
%%\rule{\textwidth}{0.4pt}
|
||||
}
|
||||
}
|
||||
|
||||
%%
|
||||
%% Verbatim
|
||||
%%
|
||||
|
||||
\AtBeginEnvironment{verbatim}{\footnotesize}
|
||||
|
||||
%% Source code blocks
|
||||
\usepackage{minted}
|
||||
\usemintedstyle{emacs}
|
||||
\setminted[c]{fontsize=\footnotesize,encoding=utf8,linenos}
|
||||
\setminted[c++]{breaklines,fontsize=\footnotesize,encoding=utf8,linenos}
|
||||
\setminted[python]{breaklines,fontsize=\footnotesize,encoding=utf8,linenos}
|
||||
\setminted[shell]{breaklines,fontsize=\footnotesize,encoding=utf8}
|
||||
\setminted[scheme]{breaklines,fontsize=\footnotesize,encoding=utf8}
|
||||
\setminted[commun-lisp]{breaklines,fontsize=\footnotesize,encoding=utf8}
|
||||
\setminted[text]{breaklines,fontsize=\footnotesize,encoding=utf8}
|
||||
\setminted[llvm]{breaklines,fontsize=\footnotesize,encoding=utf8}
|
||||
|
||||
\BeforeBeginEnvironment{minted}{\begin{tcolorbox}[boxsep=0pt, left=0.1cm, right=0.1cm, arc=0pt, boxrule=0.5pt, colback=white]}%
|
||||
\AfterEndEnvironment{minted}{\end{tcolorbox}}%
|
||||
|
||||
\makeatletter
|
||||
\AtBeginEnvironment{minted}{\dontdofcolorbox}
|
||||
|
||||
\def\dontdofcolorbox{\renewcommand\fcolorbox[4][]{##4}}
|
||||
\makeatother
|
||||
|
||||
\BeforeBeginEnvironment{verbatim}{\begin{tcolorbox}[boxsep=0pt, left=0.1cm, right=0.1cm, arc=0pt, boxrule=0.5pt, colback=white]}%
|
||||
\AfterEndEnvironment{verbatim}{\end{tcolorbox}}%
|
||||
|
||||
\makeatletter
|
||||
\AtBeginEnvironment{verbatim}{\dontdofcolorbox}
|
||||
|
||||
\def\dontdofcolorbox{\renewcommand\fcolorbox[4][]{##4}}
|
||||
\makeatother
|
||||
@@ -17,35 +17,3 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
#+LaTeX_CLASS: PamhyrDoc
|
||||
|
||||
# Source code blocks
|
||||
#+LATEX_HEADER: \usepackage{minted}
|
||||
#+LATEX_HEADER: \usemintedstyle{emacs}
|
||||
#+LATEX_HEADER: \setminted[c]{fontsize=\footnotesize,encoding=utf8,linenos}
|
||||
#+LATEX_HEADER: \setminted[c++]{breaklines,fontsize=\footnotesize,encoding=utf8,linenos}
|
||||
#+LATEX_HEADER: \setminted[shell]{breaklines,fontsize=\footnotesize}
|
||||
#+LATEX_HEADER: \setminted[python]{breaklines,fontsize=\footnotesize,linenos}
|
||||
#+LATEX_HEADER: \setminted[scheme]{breaklines,fontsize=\footnotesize}
|
||||
#+LATEX_HEADER: \setminted[commun-lisp]{breaklines,fontsize=\footnotesize}
|
||||
#+LATEX_HEADER: \setminted[text]{breaklines,fontsize=\footnotesize}
|
||||
#+LATEX_HEADER: \setminted[llvm]{breaklines,fontsize=\footnotesize}
|
||||
|
||||
#+LATEX_HEADER: \BeforeBeginEnvironment{minted}{\begin{tcolorbox}[boxsep=0pt, left=0.1cm, right=0.1cm, arc=0pt, boxrule=0.5pt, colback=white]}%
|
||||
#+LATEX_HEADER: \AfterEndEnvironment{minted}{\end{tcolorbox}}%
|
||||
|
||||
#+LATEX_HEADER: \makeatletter
|
||||
#+LATEX_HEADER: \AtBeginEnvironment{minted}{\dontdofcolorbox}
|
||||
|
||||
#+LATEX_HEADER: \def\dontdofcolorbox{\renewcommand\fcolorbox[4][]{##4}}
|
||||
#+LATEX_HEADER: \makeatother
|
||||
|
||||
#+LATEX_HEADER: \BeforeBeginEnvironment{verbatim}{\begin{tcolorbox}[boxsep=0pt, left=0.1cm, right=0.1cm, arc=0pt, boxrule=0.5pt, colback=white]}%
|
||||
#+LATEX_HEADER: \AfterEndEnvironment{verbatim}{\end{tcolorbox}}%
|
||||
|
||||
#+LATEX_HEADER: \makeatletter
|
||||
#+LATEX_HEADER: \AtBeginEnvironment{verbatim}{\dontdofcolorbox}
|
||||
|
||||
#+LATEX_HEADER: \def\dontdofcolorbox{\renewcommand\fcolorbox[4][]{##4}}
|
||||
#+LATEX_HEADER: \makeatother
|
||||
|
||||
#+LATEX_HEADER: \verbatimfont{\footnotesize}
|
||||
@@ -22,6 +22,7 @@
|
||||
#+MACRO: Mage Mage
|
||||
#+MACRO: Rubarbe RubarBE
|
||||
#+MACRO: Inrae INRAE
|
||||
#+MACRO: latex \LaTeX
|
||||
|
||||
# Information
|
||||
#+MACRO: version (eval (pamhyr-version))
|
||||
|
||||
Reference in new issue
Block a user