8000 [IMP] latex style: use simplified titlepage · senmax/documentation-user@aaaa397 · GitHub
[go: up one dir, main page]

Skip to content

Commit aaaa397

Browse files
committed
[IMP] latex style: use simplified titlepage
1 parent 5b6390f commit aaaa397

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

_static/latex/odoo.sty

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,12 +82,32 @@
8282
\renewcommand{\headrulewidth}{0.1pt}
8383
\renewcommand{\footrulewidth}{0.1pt}
8484

85+
\renewcommand{\maketitle}{%
86+
\noindent\rule{\textwidth}{1pt}\ifsphinxpdfoutput\newline\null\fi\par
87+
\ifsphinxpdfoutput
88+
\begingroup
89+
%\pdfstringdefDisableCommands{\def\\{, }\def\endgraf{ }\def\and{, }}%
90+
%\hypersetup{pdfauthor={\@author}, pdftitle={\@title}}%
91+
\endgroup
92+
\fi
93+
\begin{flushright}
94+
\sphinxlogo
95+
\py@HeaderFamily
96+
{\Huge \@title }\par
97+
\end{flushright}
98+
\@thanks
99+
\setcounter{footnote}{0}
100+
\let\thanks\relax\let\maketitle\relax
101+
%\gdef\@thanks{}\gdef\@author{}\gdef\@title{}
102+
}
103+
104+
85105
\newcommand{\makeodootitleold}{%
86106
\begin{titlepage}
87107
\titlepagedecoration
88108
\begin{center}
89109
\vspace{3cm}
90-
\includegraphics{_static/banners/odoo_logo}
110+
\sphinxlogo
91111
\end{center}
92112

93113
\vspace{2cm}

0 commit comments

Comments
 (0)
0