How can I redefine \today
so that today's current date comes in the format
May 26th, 2016
I need the "th" to be superscript.
It should come to the bottom right corner of the page. The code does not work when I use it in the following environment XeLaTeX.
% Preamble:
\NeedsTeXFormat{LaTeX2e}
\LoadClass{article}
\usepackage[head=12pt, foot=12pt, top=18mm, bottom=15mm, left=12.7mm, right=12.7mm]{geometry}
\usepackage[absolute]{textpos}
\usepackage[UKenglish]{babel}
\usepackage[en-US]{datetime2}
\DTMlangsetup{ord=raise}
\usepackage{rotating}
% Main Tex:
\begin{document}
\setlength{\TPHorizModule}{1mm}
\setlength{\TPVertModule}{1mm}
\textblockorigin{0mm}{5mm}
\begin{textblock}{60}(205,207)
\begin{turn}{90}
Last Updated on
\today
\end{turn}
\end{textblock}
\end{document}
I need this to come as [Last Updated on May 26th, 2016]. "th / st /nd " raised to superscript height. Rotated 90 Deg. Bottom Right Corner of page. Please Check MWE Link Below.
Also I Keep getting this Warning:
Package datetime2 Warning: Region `english-base' has ignored (datetime2) the following settings: (datetime2) ord=raise on input line 13.
Link to MWE: https://www.overleaf.com/5308800stsrzk#/16764374/
\date{May 26th, 2016}
or are you using a package for formatting the date. Please elaborate.\LoadClass
with\documentclass
. More importantly: Where and how is\turn
defined?\DTMlangsetup
, so it's trying to apply the setting to all loaded modules, but the base module doesn't recognise the setting. So just do\DTMlangsetup[en-US]{ord=raise}
to suppress the warning.