Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
P
polytechnique
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Mael MADON
polytechnique
Commits
932c1eca
Commit
932c1eca
authored
Jan 11, 2016
by
w2ak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
logo entete en option
parent
211c0cef
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
14 deletions
+18
-14
TODO
TODO
+1
-1
source/polytechnique.dtx
source/polytechnique.dtx
+9
-7
source/polytechnique.sty
source/polytechnique.sty
+8
-6
No files found.
TODO
View file @
932c1eca
# 1. faire l'ajout titre court dans le dtx
2. transformer le logo entete en une option, ou quelque chose dans le genre
#
2. transformer le logo entete en une option, ou quelque chose dans le genre
3. Ajouter ces deux modifications à la documentation
4. Corriger la partie install de la documentation.
source/polytechnique.dtx
View file @
932c1eca
...
...
@@ -843,13 +843,15 @@ LaTeX version 1999/12/01 or later.
%\begin{macro}{\logo}
%Commande utilisée par l'utilisateur pour définir un deuxième logo.
% \begin{macrocode}
\newcommand{\logo}[
1
]{
\newcommand{\logo}[
2][{}
]{
% \end{macrocode}
%On redefinit la variable |\enteteinterieurimpair| pour les en-têtes.
%On redefinit la variable |\enteteinterieurimpair| pour les en-têtes
si l'utilisateur le souhaite
.
% \begin{macrocode}
\renewcommand{\enteteinterieurimpair}{
\enteteinterieur{#1}
}
\ifthenelse{\equal{#1}{headers}}{
\renewcommand{\enteteinterieurimpair}{
\enteteinterieur{#2}
}
}{}
% \end{macrocode}
%On redefinit la variable |\titlepagebottomline| pour l'option |titlepage|.
% \begin{macrocode}
...
...
@@ -867,7 +869,7 @@ LaTeX version 1999/12/01 or later.
\raisebox{-0.5\height}{
\includegraphics[height=\hauteurlogovert,
width=1.5\largeurlogohori,
keepaspectratio]{#
1
}
keepaspectratio]{#
2
}
}
\end{minipage}
}
...
...
@@ -902,7 +904,7 @@ LaTeX version 1999/12/01 or later.
\flushright\raisebox{-0.5\height}
{\includegraphics[height=\hauteurlogovert,
width=1.75\largeurlogohori,
keepaspectratio]{#
1
}
keepaspectratio]{#
2
}
}
\end{minipage}
\end{minipage}
...
...
source/polytechnique.sty
View file @
932c1eca
...
...
@@ -331,10 +331,12 @@
\renewcommand*
{
\polydatesave
}{
#1
}
}
\newcommand
{
\logo
}
[1]
{
\renewcommand
{
\enteteinterieurimpair
}{
\enteteinterieur
{
#1
}
}
\newcommand
{
\logo
}
[2][
{}
]
{
\ifthenelse
{
\equal
{
#1
}{
headers
}}{
\renewcommand
{
\enteteinterieurimpair
}{
\enteteinterieur
{
#2
}
}
}{}
\renewcommand
{
\titlepagebottomline
}{
\begin{minipage}
{
5
\largeurlogohori
}
\centering
...
...
@@ -346,7 +348,7 @@
\raisebox
{
-0.5
\height
}{
\includegraphics
[height=
\hauteurlogovert
,
width=1.5
\largeurlogohori
,
keepaspectratio]
{
#
1
}
keepaspectratio]
{
#
2
}
}
\end{minipage}
}
...
...
@@ -370,7 +372,7 @@
\flushright\raisebox
{
-0.5
\height
}
{
\includegraphics
[height=
\hauteurlogovert
,
width=1.75
\largeurlogohori
,
keepaspectratio]
{
#
1
}
keepaspectratio]
{
#
2
}
}
\end{minipage}
\end{minipage}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment