Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

This MWE:

\documentclass{article}

\usepackage[utf8]{inputenc}
\usepackage{polski}

\usepackage{beton}

\begin{document}

\section{Section title}
Hello world.

\end{document}

produces "Hello world." in Concrete font, but not the section title. (Without the polski package, a bitmap font is used; with it, it's a Type 1 font – at least in TeXlive 2013. I have no idea why, though this is not a big deal for me here.)

What is the "canonical" way to enable concrete fonts for section titles etc.? (Note: I'm considering switching to memoir or even something else for this document – it's a thesis – so "use memoir with such-and-such modifications to section/chapter styles", or some other class, might be a valid answer.)

share|improve this question
    
Ah, thanks! I forgot that \sections are not only \large, but also \bfseries... –  mbork Mar 31 at 20:30

3 Answers 3

up vote 8 down vote accepted

Your MWE gives me the warning:

LaTeX Font Warning: Font shape `OT4/ccr/bx/n' in size <14.4> not available
(Font)              Font shape `OT4/cmr/bx/n' tried instead on input line 10.

That is there was no bold ("bx") Computer Concrete ("ccr"), so a bold Computer Modern ("cmr") was substituted.

The UK TeX FAQ has a question about Concrete which mentions that there are no bold Concrete fonts, but that it is "generally accepted that the Computer Modern Sans Serif demibold condensed fonts are an adequate substitute", and that you can get those (for beton) with

\renewcommand{\bfdefault}{sbc} 
share|improve this answer
1  
Ha! I guess that I've just lost the right to ask anyone having LaTeX problems "Did you look at the log file?" ;) –  mbork Mar 31 at 20:36

To the best of my knowledge, the Computer Concrete font family only comes in medium-weight shapes. In order to get LaTeX to use Computer Concrete, rather than Computer Modern, as the font in sectioning headers, you must instruct LaTeX to use only medium-weight fonts in such circumstances.

One way to do so is to add the instructions

\usepackage{sectsty}
\allsectionsfont{\mdseries}

to the preamble.

share|improve this answer
    
Thanks! I decided to accept @pst's answer below because it's more "lightweight", and addresses a more general issue - even though I may use your suggestion instead. –  mbork Mar 31 at 20:35
    
@mbork - If you do end up employing the memoir document class, be sure not to load the sectsty package. Instead, use \renewcommand on \chaptitlefont, \chapnamefont, and \chapnumfont (to \Huge\mdseries, say) to use medium-weight fonts for chapter headers. And, use \setsecheadstyle{\mdseries} and \setsubsecheadstyle{\mdseries} to set a medium font weight for section and subsection headers. –  Mico Mar 31 at 21:08
    
thanks. Of course, if I use memoir, I'll look into its docs;). –  mbork Mar 31 at 21:09

EDIT: I misunderstood the question. My answer below is for obtaining a vectorized version of the Concrete fonts. Sorry for the inconvenience.

You should use the T1 encoding, the recommended 8bits encoding for almost all European languages other than English:

\usepackage[T1]{fontenc}
\usepackage{beton}% or ccfonts, or concrete

It will load the cm-super package which contains a vectorized version of the EC fonts (LaTeX standard fonts for the T1 font encoding) among which the EC Concrete fonts. I don't know the polski package, but it is certainly not necessary for the fonts themselves.

share|improve this answer
    
Did you try out your answer? If I add the instruction \usepackage[T1]{fontenc} to the OP's code, I still get CM, and not Concrete, as the font for the section header. –  Mico Mar 31 at 20:26
    
Simply because there are no bold version of the Concrete fonts, as far as documented in the LaTeX Companion… –  fpast Mar 31 at 20:27
    
But then your solution doesn't answer the OP's query. –  Mico Mar 31 at 20:28
    
You are right, I misread it! I thought that the point was to obtain a type 1 version of the Concrete fonts! I edit my answer (which should then be changed in a comment.) –  fpast Mar 31 at 20:30
    
@fpast: I had the LaTeX Companion once in my hands, for some 3 minutes... And I forgot (again...) about the boldness of section titles. –  mbork Mar 31 at 20:32

Your Answer

 
discard

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.