# How will I align two words right and left in same line? [duplicate]

Possible Duplicate:
Raggedleft and raggedright simultaneously

I need to make a certificate page. In it, I need the "head of the department" to be aligned right and "Guide" to be aligned left on the same line. Please help me

-

## marked as duplicate by lockstep, Werner, Marco Daniel, Martin Scharrer♦May 21 '12 at 20:47

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

## 2 Answers

 \noindent\makebox[\textwidth]{Guide\hfill head of the department}

-
Thank You..it worked.... –  Vidhya May 21 '12 at 10:02

Unless I misunderstood something, are you looking for fancyhdr?

-
how to install that package? –  Vidhya May 21 '12 at 10:02
@Vidhya I think this should be included in most modern distributions. –  Dror May 21 '12 at 12:04