Small capital in chapter title

I can't seem to have both the small caps and boldface styles on a line:

\huge\sc\bf Hello 

This will generate bold text, and if the \sc is placed after, it will generate small caps text but not bolded. They seem to override each other, so is there any way to apply them both?

Replay

Your question requires a two-part answer.

\sc and \bf (and \it) are deprecated because, as you have noticed, they override each other. Use either

\textit{...}
\textbf{...}
\textsc{...}

or

{\itshape ...}
{\bfseries ...}
{\scshape ...}

instead.

However, not all fonts contain italic and/or bold small caps (when they even contain small caps).

(Also, italic and small caps usually don't combine at all by default, requiring \usepackage{slantsc} to do so.)

When you load the T1 font encoding, you're replacing the default Computer Modern fonts by CM-Super, a larger but lower-quality set of fonts that look mostly identical but contain many more glyphs. In older TeX distributions, you might even end up with bitmap fonts in your output.

The Latin Modern fonts are a better alternative (\usepackage{lmodern}), but they unfortunately don't contain bold small caps.

For posterity, there is an easier and better alternative. Simply add

\usepackage{bold-extra}

along with your other includes. This lets you keep using the default high-quality Computer Modern fonts for normal text. It works by building a bold Computer Modern small-caps font on the fly and including it for you. Now \bfseries{\scshape{Foo}} works as expected!

Reference: http://www.tex.ac.uk/cgi-bin/texfaq2html?label=bold-extras

Ok, you need to add

\usepackage[T1]{fontenc}

and this updated command should do the trick

\huge \textbf{\textsc{Hello}}

To explain, LaTeX uses the curly braces {} to indicate scope for the formatting command. So if you type

\textbf{ ... }

then all the text between the curly braces is formatted in bold, including the

\textsc{Hello}

Result

Small Caps Bold

Small capital in chapter title

compared to regular small caps

Small capital in chapter title

A rather crude way of obtaining bold-like characters from a font that doesn't have it, is to repeatedly overprint a character with slight variations. This is offered by the contour package:

Small capital in chapter title

\documentclass{article}
\usepackage{contour}% http://ctan.org/pkg/contour
\setlength{\parindent}{0pt}% Just for this example
\begin{document}

% Default
Hello

% Bold
\textbf{Hello}

% Small-caps
\textsc{Hello}

% Combined
\textbf{\textsc{Hello}}

% Default \contourlength (0.03em)
\contour{black}{\textsc{Hello}}

\contourlength{0.01em}% Smaller radius
\contour{black}{\textsc{Hello}}

\contour*{black}{\textsc{Hello}}% 32 copies (default is 16)

\contour[100]{black}{\textsc{Hello}}% 100 copies

% Just for reference
\contourlength{0.05em}
\contour[5]{red}{\textsc{Hello}}

\end{document}

Category: fonts Time: 2009-03-30 Views: 0

Related post

  • Changing size of footnote symbols in titlesec-formatted chapter titles 2012-08-26

    I am using titlesec to define the formatting of Chapter titles. At present, footnote symbols within these titles appear in the same format, but my author would like them to be somewhat smaller. The \titleformat block looks like this: \titleformat{\ch

  • Fancyhdr, problem with chapter titles 2014-05-06

    I've asked my first question on the forum yesterday and I've done several mistakes in it, making the subject not understandable so I've decided to delete the question and start again properly.... I'm trying to set up the headers for my master thesis

  • How to add authors to a chapter title 2011-11-30

    I am writing my thesis using book as the document class. Just below every chapter title, I would like to add in small letters - a reference to the published paper of the chapter. Something like **Using Lineage for Sub-image Data Processing** %% chapt

  • Chapter title not displayed in pdfbook mark: Only sections and subsections are displayed 2012-04-11

    I am trying to get the PDF output of my thesis with bookmarks using hyperref package. I am able to get the sections and subsections displayed in bookmark however the chapter is not displayed. How can I get the chapter title displayed in this PDF outp

  • Chapter titles distance 2012-09-24

    I am using the titlesec package to adjust the chapter titles/headings of my text. Yet, I have trouble with the resulting distance between these new titles and the body of the text. Namely, the distance becomes substantially smaller than what it is wh

  • fancy chapter title page 2013-01-04

    How can I have a chapter title page like the following? Note that, I'm using book document class --------------Solutions------------- It is a good practice to show that you have done your own part to solve your problem before trying to ask. That way,

  • In fancyhdr, ensure every letters in chapter/title names are in lowercase 2013-02-04

    In designing novels, (Document-class Book KOMA SCRIPT) I prefer to use all-small-caps in the running heads. Please find the first example, where both howards end and chapter 29 were all set in lowercase and old style numerals. I achieved this through

  • How can I change the chapter title bold in the table of content? 2013-04-02

    I am using classicthesis package. I want to add boldface to the font of the chapter title in the table of content. In the FrontBackMatter/Contents file, I add the following code: \renewcommand\cftchapfont{\bf} but it does not change anything. How can

  • Color background for chapter titles which stretches horizontally to the margins 2013-11-22

    I'm working on my chapter titles. I like them to have a background which stretches to the edge of the page. The drawbacks of the minimal document below are: The TOC also has the background, too. I'd rather have the TOC text color in the red backgroun

  • How to put chapter number after chapter title in thesis documentclass? 2013-12-24

    Why chapter title in thesis documentclass positioned below chapter number? I mean I need to place both of chapter title and chapter number in one line. --------------Solutions------------- Here's a solution, using the titlesec package with the explic

  • Upper case in chapter title? (Follow Up) 2014-02-18

    As for my thesis, I asked today here but I still cannot use it because there are other packages and commands I need to modify the tables of contents. So here is the full minimum working template. I just want to make the chapter title in tocs to be Al

  • References in Chapter Titles 2014-04-16

    I am currently writing a manuscript using \documentclass{book}. I would like to devote one of the chapters in the manuscript to a proof of an earlier result. I have named the Chapter: \chapter{Proof of Theorem \ref{Theorem1}} and the actual chapter i

  • Chapter Title adjusting with koma-script 2014-04-25

    The following minimal working example is not giving me the desired results. I would like to keep the chapter titles layout, but without using the titlesec package. The titlesec package is interfering with the option headings=optiontotoc. This becomes

  • How to get chapterthumbs match their chapter titles in KOMA-Script? 2014-06-09

    This is an add-on question to a previous one on chapterthumbs. Please consider the MWE below, the chapterthumbs are not matching the chapter titles (Discussion should appear instead of Materials & Methods), so how to: Objectives Match chapterthumbs w

  • Add chapter title as header only for current document section 2014-06-27

    I am using MS Word 2010 and I am trying to create section headers using styles as described here how to create chapter titles in document headers. However, my first chapter starts on page 10 of the document. Before that, there is only introductory ma

  • Lower the first chapter title to put in a fancy header, have all subsequent pages look normal 2014-10-21

    I have several chapters in a book. I want a fancy header above the first chapter, so on this page the chapter number and title should be typeset a little lower than usual (below the header). All subsequent pages and chapter titles should be typeset n

  • removing chapter title in one of my chapters? 2015-02-01

    I have written my thesis in LaTeX (xepesian) and I have customized my chapters title as follows, ‎\makeatletter‎ ‎\def\thickhrule{\leavevmode \leaders \hrule height‎ .‎5ex \hfill \kern \[email protected]}‎ ‎\def\position{\centering}‎ %% ‎Note the difference between

  • Tracking in chapter titles with titlesec 2015-05-26

    I've been trying to add tracking (letter spacing) to my chapter titles with titlesec, but to no avail. I'm using fontspec and XeTeX, so microtype isn't available to me. Another post said this can be done with \addfontfeatures{LetterSpace=XXX}, but th

  • (Almost) Robert Bringhurst Style Chapter Titles in Standard Book Class 2015-09-05

    I have tried: \usepackage[tracking = true]{microtype} \usepackage{titlesec} \titleformat{\chapter}[hang] {\normalfont\huge\color{darkgray}}{\filleft\thechapter}{1em}{\filright\textls[120]{\normalfont\smaller}} Not unexpectedly, I was wrong. (And I am

iOS development

Android development

Python development

JAVA development

Development language

PHP development

Ruby development

search

Front-end development

Database

development tools

Open Platform

Javascript development

.NET development

cloud computing

server

Copyright (C) avrocks.com, All Rights Reserved.

processed in 0.293 (s). 13 q(s)