LaTeX How to remove date from my LaTex Title Page

  • Thread starter Thread starter snshusat161
  • Start date Start date
  • Tags Tags
    Latex
AI Thread Summary
The discussion revolves around a LaTeX document setup, specifically focusing on the code for a title page defined in a separate 'title.tex' file. The main code provided includes standard packages for document formatting and a custom command for horizontal rules. A user encountered an issue related to the inclusion of the \today command, which automatically inserts the current date on the title page. After some troubleshooting, the user acknowledged having overlooked this detail initially, highlighting how easy it can be to miss such elements in code. The conversation emphasizes the importance of careful review in coding to avoid simple mistakes.
snshusat161
Messages
213
Reaction score
1
Here is my code from my tex file

Code:
\documentclass[12pt,a4paper]{article}
\usepackage[pdftex]{graphicx}
\usepackage{amsmath}
\usepackage[T1]{fontenc}
\usepackage{listings}
\lstset{language=C}
\newcommand{\HRule}{\rule{\linewidth}{0.5mm}}
\begin{document}
\input{./title.tex}

and here is the code for my 'title.tex' file


Code:
\begin{titlepage}
\begin{center}
% Upper part of the page
\textsc{}\\[1.8cm]
\textsc{\large Synopsis On}\\[0.5cm]
% Title
\HRule \\[0.4cm]
{ \huge \bfseries ********}\\[0.4cm]
\HRule \\[0.5cm]
\textsc{\large Done At}\\[0.8cm]
\includegraphics[width=0.25\textwidth]{./logo}\\[0.4cm]
\textsc{\small **************}\\[1.5cm]
% Author and supervisor
\begin{minipage}{0.4\textwidth}
\begin{flushleft} \large
\emph{Submitted By:}\\
\textsc{*********}
\end{flushleft}
\end{minipage}
\begin{minipage}{0.4\textwidth}
\begin{flushright} \large
\emph{Guided By:} \\
\textsc{***********}
\end{flushright}
\end{minipage}
\vfill
% Bottom of the page
{\large \today}
\end{center}
\end{titlepage}
 
Physics news on Phys.org
Have you tried removing the \today from title.tex?
 
yes, i have already seen that 5 hours ago. I was silly. i didn't see it on the first place.
 
Easy to miss stuff like that ;)
 

Similar threads

Replies
3
Views
2K
Replies
4
Views
3K
Replies
1
Views
8K
Replies
2
Views
3K
Back
Top