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

How to change font size in verse environment?

I am working with these fonts (i.e. Aksharyogini / Nakula / Sanskrit 2003)

When i replace \bfseries with any one of these I get error, what am I doing wrong. how would I work with these font types. thanks for your help

share|improve this question
What are you precisely writing for selecting the font? – egreg Oct 7 '11 at 14:09
\newcommand\RedLine[1]{% \textcolor{red}{\fontsize{8}{9.6}\selectfont\Aksharayogini#1} } – Aku Oct 7 '11 at 14:13
Is \Aksharayogini defined as a font selection command with \newfontfamily or \newfontface? – egreg Oct 7 '11 at 14:16
@egreg no its not defined, & I do not know how to do that. – Aku Oct 7 '11 at 14:33
up vote 1 down vote accepted

The \RedLine defined in that answer is just an example. In order to get a red line using the current font it's only a matter of saying


In order to use different fonts, you can define them via \newfontfamily:

\setmainfont{Sanskrit 2003}

or simply with \newfontface if you are not interested in italic or bold variants of those fonts.



will print the poem using the Aksharyogini font.

share|improve this answer
Sorry but I did not get it. I could color the text using textcolor. What I do not know is how to assign a particular font to it. i.e. any font mentioned above. – Aku Oct 7 '11 at 14:44
@Aku Please, make your question clearer. – egreg Oct 7 '11 at 14:46
In my document I want to work with (i.e. Aksharyogini / Nakula / Sanskrit 2003) at various places. I do not know how to do that. my entire document appears in one type of font. I don't know how to use font for a particular paragraph, verse, etc. does this description help? – Aku Oct 7 '11 at 14:52

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.