sheenshahid wrote:The name of this font is " old English " , which I noted from Microsoft word.
If this is the font from the Microsoft font library the correct name would be "Old English Text MT". If the font has been installed correctly you just have to replace "TeX Gure Chorus" in my example above by the correct font name:
% Important: You have to use LuaLaTeX or XeLaTeX instead of PDFLaTeX zu
% compile this file!
\documentclass{article}
\usepackage{fontspec}
\usepackage{blindtext}
\usepackage[english]{babel}
\setmainfont{TeX Gyre Termes}% Use the Times clone TeX Gyre Termes as main font.
\newfontfamily{\otherfamily}{Old English Text MT}% Load "Old English Text MT" as an additional font family.
\begin{document}
\begin{titlepage}
{\otherfamily This is the name of the university.}
\vfill
{\Huge\bfseries The Name of the Game\par}
\bigskip
{\large\bfseries Me and Boby McGee\par}
\vfill\vfill\vfill
\end{titlepage}
\tableofcontents
\blinddocument
\end{document}
to get
BTW: The name of the font file is OLDENGL.TTF. So can also copy that font file to the document directory and use \newfontfamily{\otherfamily}{OLDENGL.TTF} to load the font by filename instead of font name. This even works without font installation and if loading the font by font name fails.
As you can see, using fontspec with LuaLaTeX or XeLaTeX is very easy.
Sorry, but I can no longer participate here as the administrator is trampling on my wishes on one of his other platforms.
Here is my latex file. I just have to write name of the the university in old English style ("Old English Text MT") and the things may same. kindly use latex only and help me i have very short time now.
I request u to solve my problem
As Johannes said, you can write it in Word and make a Screenshot and include it using \includegraphics. You could even copy the logo from the university website to have it in its original version in the paper.
If I would be in the situation, I would run XeLaTeX as Ijon wrote just to create the single university name in the desired font as PDF, crop the PDF (pdfcrop) and use \includegraphics in the title with standard LaTeX or pdfLaTeX if the document needs it instead of XeLaTeX.
But including a screenshot or an image from the web site may be the easiest.
sheenshahid wrote:The name of this font is " old English " , which I noted from Microsoft word.
If this is the font from the Microsoft font library the correct name would be "Old English Text MT". If the font has been installed correctly you just have to replace "TeX Gure Chorus" in my example above by the correct font name:
% Important: You have to use LuaLaTeX or XeLaTeX instead of PDFLaTeX zu
% compile this file!
\documentclass{article}
\usepackage{fontspec}
\usepackage{blindtext}
\usepackage[english]{babel}
\setmainfont{TeX Gyre Termes}% Use the Times clone TeX Gyre Termes as main font.
\newfontfamily{\otherfamily}{Old English Text MT}% Load "Old English Text MT" as an additional font family.
\begin{document}
\begin{titlepage}
{\otherfamily This is the name of the university.}
\vfill
{\Huge\bfseries The Name of the Game\par}
\bigskip
{\large\bfseries Me and Boby McGee\par}
\vfill\vfill\vfill
\end{titlepage}
\tableofcontents
\blinddocument
\end{document}
to get
BTW: The name of the font file is OLDENGL.TTF. So can also copy that font file to the document directory and use \newfontfamily{\otherfamily}{OLDENGL.TTF} to load the font by filename instead of font name. This even works without font installation and if loading the font by font name fails.
As you can see, using fontspec with LuaLaTeX or XeLaTeX is very easy.
Dear i am using latex and has also installed this font. Plz now tell me what to do,
As already told by me and Johannes: Either use a screenshot of the small text or switch over to xelatex or lualatex as shown. xelatex and lualatex are also LaTeX. For the second suggestion, you just have to remove fontenc, palatino and mathpazo, load fontenc as shown and tell your editor to use either xelatex or lualatex.
BTW: There is several strange code in your example:
There is a "Missing } inserted" error in your example.
openany is the default of report and also doesn't change anything with single-sided documents, which it the default of report too.
Loading deprecated package palatino before package mathpazo doesn't make sense. BTW: Both packages do not load Times New Roman as you wrote initially. They load a Palatino clone.
Is is recommended not to change the layout parameters like \topmargin manually but use a package like geometry.
\renewcommand{\baselinestretch}{1.5} is not recommended since LaTeX2e (1994) and should be replaced either by \linespread{1.5} or (better) by usage of package setspace.
\renewcommand{\thepage}{} is not recommended. A general replacement would be \thispagestyle{empty} if needed in combination with \pagestyle{empty}. But in case of a title page, usage of titlepage environment would be the better suggestion.
Here: \begin{center}
\section*{\textbf{\Huge{title}}}
\end{center}
the usage of \section* doesn't make any sense. And instead of starting a new center environment for every line, I would recommend to use only a single one.
\bf is deprecated. Also it does not hat any argument. You should replace \bf{…} by \textbf{…}, which has an argument, or {\bf …} by {\bfseries …}
All the \quad and \qquad are very strange. Some of them even result in an empty line. So usage of either flushleft environment or \hspace would be resommended.
The "List of Tables" entry to the table of contents is done after the list of tables, so it references the last page of the list of tables. It is recommended to add it at the very beginning of the list of tables or (better) use a package like bibintoc.
Same for the "List of Figures".
The correct entry level for the "List of …" entries would be chapter not section.
Instead of \setcounter{page}{1}\renewcommand{\thepage}{\arabic{page}} usage of \pagenumbering{arabic} would be recommended.
Usage of center environment inside the argument of \chapter or \chapter* is not recommended but an evil hack.
The "Contents" entry for the contents shows the wrong page, because of missing \cleardoublepage. Here package bibintoc would be useful too.
package epsfig is only a compatibility wrapper package to graphics. You are already using graphicx, so epsfig should not be needed. It is recommended to not longer use epsfig's command \psfig but replace it by graphicx's \includegraphics.
Last edited by Ijon Tichy on Sat Feb 08, 2020 5:47 pm, edited 1 time in total.
Sorry, but I can no longer participate here as the administrator is trampling on my wishes on one of his other platforms.