8

I have a text of poems (psalms) that will be sung or chanted. To indicate the word where there's a change in the music, an accent is placed above the syllable in that word. Then the singers know that's where to change notes. The standard acute/grave accent is too small for this. It needs to be larger and stand out more. I want to use the elegant-looking Bengali Currency Number One. I don't know how to get this into LaTeX. I'm using MikTeX2.9 with TeXMaker. I already have some code to make any character into an accent. However, after searching for a way to get this particular character into LaTeX, I haven't found a way to do it. Any suggestions?

  • 1
    You link to a generic image for the character but to actually get a specific glyph you will need a font that covers that range. classic (pdf)TeX can not use system Unicode fonts so unless you are using xelatex or lualatex this will be more or less hard depending if it is already done by some package. But using a specific font for this rather than just using a larger accent seems to be making thing massively more complicated than need be, you can take the acute accent from any font you use in TeX already and scale it arbitrarily large then position it over the letters. – David Carlisle Dec 4 '13 at 21:57
  • Thank you for this reply. How do I scale an accent? For example, If I input \'{e}, how do change the size of the accent above the e? – Ryan Dec 4 '13 at 22:18
10

It is easy to get a large accent, eg {\Huge\'{}} positioning it over a normal size letter usually means a bit of trial and error to get something that looks right but perhaps:

enter image description here

\documentclass{article}

\newcommand\biga[1]{\leavevmode\vbox{\offinterlineskip
\halign{##\cr\hss\makebox(0,0){\Huge\'{}}\hss\cr\noalign{\vskip-3pt}#1\cr}}}
\begin{document}



aaaaaaa\biga{a}z\biga{B}zzzzz

\end{document}
  • Thank you (also @Caleb), the above has worked perfectly. However, now I've changed the font from Linux Libertine to Times and instead of giving me large accents above the letters, LaTeX is simply drawing a box with an "X" around the letter in the pdf output, with no accent. On the other hand, if I use a command like \'{e}, then it places the accent above the letter at normal size as usual. This is happening with a lot of fonts I try. I'm using XeLaTeX. Any ideas? Is there a workaround? Thanks a lot for your assistance. – Ryan Jun 12 '14 at 13:08
  • 1
    @Ryan odd, try replacing \'{} by ^^b4 (U+00B4 is SPACING ACUTE) – David Carlisle Jun 12 '14 at 13:11
  • David, worked like a charm! Thank you very much! You can disregard a comment a left on another thread with a similar question. Appreciate it. – Ryan Jun 12 '14 at 14:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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