TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am making a slides on latex beamer for my academic exam..I need to put my class roll number on the title side but how to do so...

I am using command

\hspace*{30pt} \hfill\insertframenumber\hspace*{.5cm}}} 

\title {my topics title}

\author{my name}
%% I need my roll no to show here

 my institute\\[\medskipamount]

\date{23 rd February, 2013}`
share|improve this question
up vote 0 down vote accepted

You can just add it on the \author command; for example:

\author{My name (roll #)}

or in a second line

\author{My name \\ {\small roll #}}
share|improve this answer
Hi zunbeltz. A tip: If you indent lines by 4 spaces, then they're marked as a code sample. You can also highlight the code and click the "code" button ({}) or select your code and hit Ctrl+K. – Claudio Fiandrino Feb 21 '13 at 7:49

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.