Text FormattingVerbatim

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
ubuntu2014
Posts: 29
Joined: Mon Oct 06, 2014 12:42 am

Verbatim

Post by ubuntu2014 »

I know that I can use verbatim command to put unformatted text. But this does not work inside \author command before beginning the document. What can be done for this?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

Re: Verbatim

Post by Stefan Kottwitz »

Which kind of verbatim text, do you have an example?
LaTeX.org admin
ubuntu2014
Posts: 29
Joined: Mon Oct 06, 2014 12:42 am

Re: Verbatim

Post by ubuntu2014 »

An email ID, for example. Lets take abcdefgh75@gmail.com
Actually, I need to add email ID along with the author's name. I want to add the email in unformatted text.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

Verbatim

Post by Stefan Kottwitz »

Looks like you mean formatted though, but monospaced / typewriter font. I even would add a hyperlink so we could click the address.

You could use hyperref:

Code: Select all

\usepackage{hyperref}
...
\author{Abcdefgh75, \href{mailto:abcdefgh75@gmail.com}{abcdefgh75@gmail.com}}
Stefan
LaTeX.org admin
Post Reply