I have the following code:
Main.tex:
\documentclass[11pt]{article}
\usepackage{techdoc}
\title{Lorem Ipsum is simply dummy text}
\subtitle{Lorem Ipsum is simply dummy text}
\department{R\&D}
\filepath{//path/to/file}
\begin{document}
\maketitle
\clearpage
\end{document}
techdoc.sty:
\ProvidesPackage{techdoc}
\RequirePackage[a4paper, hmargin=2.5cm, vmargin=1cm, includeheadfoot, headheight=3cm]{geometry}
\RequirePackage{fancyhdr}
\RequirePackage{array}
\RequirePackage{tabularx}
\RequirePackage[table]{xcolor}
\RequirePackage{xspace}
\RequirePackage{lastpage}
\RequirePackage[bookmarks, bookmarksopen,pdfstartview={FitH},colorlinks,linkcolor={black},citecolor={black}, urlcolor={black}]{hyperref}
\RequirePackage{nameref}
\RequirePackage{titlesec}
\RequirePackage{multirow}
\RequirePackage{wrapfig}
\RequirePackage{tikz}
\RequirePackage{tabu}
\RequirePackage{tocvsec2}
\RequirePackage{colortbl}
\RequirePackage[absolute]{textpos}
\RequirePackage{rotating}
\RequirePackage{url}
\RequirePackage[small, labelfont=bf]{caption}
\RequirePackage{calc}
\RequirePackage{makecell}
% fix some bug
\renewcommand{\nobreakspace}{\nobreak\ }
% make foot notes looks nice
\RequirePackage[hang]{footmisc}
\setlength{\footnotemargin}{7pt}
% Document information commands
\newcommand{\@confidentialitynotice}{Internal and Confidential Document}
\newcommand{\confidentialitynotice}[1]{\renewcommand{\@confidentialitynotice}{#1}}
\newcommand{\@subtitle}{}
\newcommand{\subtitle}[1]{\renewcommand{\@subtitle}{#1}}
\newcommand{\@department}{}
\newcommand{\department}[1]{\renewcommand{\@department}{#1}}
\newcommand{\@filepath}{}
\newcommand{\filepath}[1]{\renewcommand{\@filepath}{#1}}
\newcommand{\@version}{}
% Tables
\definecolor{arrayrule}{rgb}{0.5, 0.5, 0.5}
\setlength{\arrayrulewidth}{0.5pt}
\arrayrulecolor{arrayrule}
\newenvironment{nicetable}{\begin{table}[h!t]\renewcommand{\arraystretch}{1.4}\addtolength{\tabcolsep}{3pt}\addtolength{\belowcaptionskip}{4pt}}{\end{table}}
\renewcommand{\arraystretch}{1.4}
% Title page
\setlength{\TPHorizModule}{1cm}
\setlength{\TPVertModule}{1cm}
\renewcommand{\maketitle}{%
\newgeometry{headheight=0pt, headsep=0pt, hmargin=2.5cm, vmargin=2cm}
\begin{titlepage}
\begin{tabularx}{\columnwidth}{|>{\centering\arraybackslash}p{3cm}|>{\centering\arraybackslash}m{\columnwidth-6cm-4\tabcolsep-3\arrayrulewidth}|>{\centering\arraybackslash}p{3cm}|}
\hline
\multirow{2}{*}{\includegraphics[width=2.7cm, height=2.0cm]{icon_caution}} & {\bf \@confidentialitynotice } & {\includegraphics[width=2.7cm, height=2.7cm]{icon_goal}} \\[0.3cm] \cline{2-2}
& \multirow{2}{*}{\bf \@title}\\[.6cm] \cline{1-1}
\@department & \\ \hline
\end{tabularx}
\vfill
\begin{center}
{\Huge \bf \@title}
\rule{\columnwidth}{2pt}
\vspace{0.1cm}
{\LARGE \@subtitle}
\end{center}
\vspace{3cm}
\vfill
\end{titlepage}
\setcounter{page}{2} % titlepage messes with my page counter!
\restoregeometry
}
Which results in the following:
I would like to delete the last row, and instead create a new column on the right with only one case that would be the symmetric of the icon plus R&D.
I have tried the following:
\begin{tabularx}{\columnwidth}{|>{\centering\arraybackslash}p{3cm}|>{\centering\arraybackslash}m{\columnwidth-6cm-4\tabcolsep-3\arrayrulewidth}|>{\centering\arraybackslash}p{3cm}|}
\hline
\multirow{2}{*}{\includegraphics[width=2.7cm, height=2.0cm]{icon_caution}} & {\bf \@confidentialitynotice } & {\includegraphics[width=2.7cm, height=2.7cm]{icon_goal}} \\[0.3cm] \cline{2-2}
& \multirow{2}{*}{\bf \@title}\\[.6cm] \cline{1-1}
\@department & \\ \hline
\end{tabularx}
Which results in this:
How can I improve it to make it look good?
Edit: The icons, as asked in the comments:
\document class
and ending with\end{document}
? – Bernard Dec 23 '15 at 18:57