Fonts & Character Setsmoderncv | Bold faced Address

Information and discussion about fonts and character sets (e.g. how to use language specific characters)
Post Reply
ekaveera
Posts: 1
Joined: Mon Oct 29, 2012 9:28 am

moderncv | Bold faced Address

Post by ekaveera »

Hi friends,

I have used a moderncv template wherein I want the address need to be in thicker font. Here is the Sample code for address field:

Code: Select all

\address{ Surya Towers,Flat  307A}{Malkajgiri,Hyderabad}
I need to get the above address in bold face, I tried this code:

Code: Select all

\address{\bf Surya Towers,Flat  307A}{\bf Malkajgiri,Hyderabad}
But I am getting an Error

Code: Select all

! Undefined control sequence.
\@addressstreet -> \bf 
                       Surya Towers,Flat 307A

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

moderncv | Bold faced Address

Post by localghost »

Do not use \bf as this is obsolete LaTeX2.09 syntax. Use the LaTeX2e syntax \textbf{…} to limit the scope of the (correct) \bfseries declaration.

But as far as I know, moderncv uses the macro \addressfont to format the address data. It is empty by default. As would seem natural you should redefine it.

Code: Select all

\renewcommand*{\addressfont}{\bfseries}
Due to a missing minimal example more specific help is not possible at the moment.


Best regards and welcome to the board
Thorsten
Post Reply