Skip to content

Commit

Permalink
resources/titlepage: fix table
Browse files Browse the repository at this point in the history
now our table looks human-readable - finallygit add resources/titlepage.cls
  • Loading branch information
gucio321 committed Jun 3, 2024
1 parent 14ddab4 commit 31515a2
Showing 1 changed file with 18 additions and 23 deletions.
41 changes: 18 additions & 23 deletions resources/titlepage.cls
Original file line number Diff line number Diff line change
Expand Up @@ -4,31 +4,26 @@

%{\sf{\huge \sphinxDocumentTitle}} \\[5mm]
\begin{tabularx}{\textwidth}{ |L|L|L|L|L|L| }
\hline
\bf{Wydział:} \sphinxDocumentFaculty &
\multicolumn{2}{|c|}{\bf{Autor/Autorzy:} \sphinxDocumentAuthor}
\vline &
\bf{Rok:} \sphinxDocumentYear &
\bf{Grupa} \sphinxDocumentGroupID &
\bf{Zespół} \sphinxDocumentTeam \\
\hline
\hline
\bf{Wydział:} \sphinxDocumentFaculty &
\multicolumn{2}{|p{2\dimexpr \textwidth /6 - 2\tabcolsep}|}{\bf{Autor/Autorzy:} \sphinxDocumentAuthor} &
\bf{Rok:} \sphinxDocumentYear &
\bf{Grupa:} \sphinxDocumentGroupID &
\bf{Zespół:} \sphinxDocumentTeam \\
\hline

\multicolumn{2}{|c|}{\bf{PRACOWNIA FIZYCZNA WFiS AGH}}
\vline &
\multicolumn{2}{c}{\sphinxDocumentTitle}
\vline &
\multicolumn{2}{|c|}{\bf{Ćwiczenie nr:} \sphinxDocumentNumber}
\vline \\[1cm]
\hline

\bf{Data wykonania} \sphinxDocumentTaskDate &
\bf{Data oddania} \sphinxDocumentCreationDate &
\bf{Zwrot do popr.} &
\bf{Data oddania} \sphinxDocumentCorrectionDate&
\bf{Data zaliczenia} &
\bf{Ocena} \\[1cm]
\hline
\multicolumn{2}{|p{2\dimexpr \textwidth/6 - 2\tabcolsep}|}{\bf{PRACOWNIA FIZYCZNA WFiS AGH}} &
\multicolumn{2}{p{2\dimexpr \textwidth/6 - 2\tabcolsep}|}{\sphinxDocumentTitle} &
\multicolumn{2}{p{2\dimexpr \textwidth/6 - 2\tabcolsep}|}{\bf{Ćwiczenie nr:} \sphinxDocumentNumber} \\
\hline

\bf{Data wykonania:} \sphinxDocumentTaskDate &
\bf{Data oddania:} \sphinxDocumentCreationDate &
\bf{Zwrot do popr.:} &
\bf{Data oddania:} \sphinxDocumentCorrectionDate &
\bf{Data zaliczenia:} &
\bf{Ocena:} \\
\hline
\end{tabularx}
\end{center}

Expand Down

0 comments on commit 31515a2

Please sign in to comment.