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 is my first question here, I did search but uhmm haven't found the answer. I have a document that must follow the next rules: The chapter header in uppercase and bold and arial 13 pt; section header in lowercase and arial 13 pt; subsection header in lowercase and slanted font and arial 13 pt; and finally the main font for the document is arial 12 pt.

Following enter link description here Along with the scrbook guide (p. 55) I can almost get it, except for the chapter header that I am not sure how to make at the same time bold and in small caps.

\documentclass[12pt,spanish]{scrbook}
\usepackage[spanish]{babel}
\usepackage[scaled]{uarial}
\renewcommand{\familydefault}{\sfdefault}
\usepackage{kpfonts}
\setkomafont{chapter}{\normalfont\increase\rmfamily\scshape}
\setkomafont{section}{\normalfont\increase}
\setkomafont{subsection}{\normalfont\increase\rmfamily\slshape}

\begin{document}
\chapter{Un título bastante largo para probar}
Algo de texto ¿Por qué no?
\section{Un título bastante largo para probar}
Algo de texto ¿Por qué no?
\subsection{Un título un poquitillo más largo}
Algo de texto ¿Por qué no?, así es.
\end{document}

Any help is extremely appreciated.

share|improve this question
add comment

1 Answer 1

up vote 4 down vote accepted

You write you "can almost get it", but your description of the sought formatting doesn't match your example (which, BTW, I couldn't test because I lack the uarial package and the \increase command). That said, the following KOMA-Script font settings should do what you want:

\setkomafont{chapter}{\normalfont\bfseries\fontsize{13}{15.5}\selectfont\scshape}
\setkomafont{section}{\normalfont\fontsize{13}{15.5}\selectfont}
\setkomafont{subsection}{\normalfont\slshape\fontsize{13}{15.5}\selectfont}

If you need capitals instead of small capitals for \chapter (or if uarial doesn't provide bold, sans-serif, small capitals), replace \scshape with \MakeUppercase.

share|improve this answer
    
Well, here it says how to install and use uarial [link] (tex.stackexchange.com/questions/23957/…). What I think the increase command does is to increment 1 pt the normal font (which is arial 12pt). Maybe it is to some other package. \MakeUppercase does the trick. Thanks. –  murpholinox May 7 '12 at 3:46
    
@murpholinox You're welcome -- and don't forget to upvote and accept my answer. :-) –  lockstep May 7 '12 at 4:50
add comment

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.
http://tex.stackexchange.com/questions/54578/set-chapter-header-to-small-caps-and-bold-in-scrbook
tex.stackexchange.com
crawl=CC-MAIN-2014-23
68603
application/http; msgtype=response
sha1:R5UKNNX3ZS22SFG46IZQPA5OFJ4TWYAJ
<urn:uuid:ebb0caef-b7ab-402b-96f1-ae63589aae6f>
2014-07-24T04:31:58Z
198.252.206.16
sha1:YBZZF32LPDMAK4SJ5ICFUPMPZV6EWLSA
<urn:uuid:5571ab39-1c94-4fa0-a0b1-cf55c92bcdfd>
http://tex.stackexchange.com/questions/54578/set-chapter-header-to-small-caps-and-bold-in-scrbook
response
<urn:uuid:cca19e94-c7e5-4813-a3ad-5bc036295891>
robots: classic
hostname: ip-10-33-131-23.ec2.internal
software: Nutch 1.6 (CC)/CC WarcExport 1.0
isPartOf: CC-MAIN-2014-23
operator: CommonCrawl Admin
description: Wide crawl of the web with URLs provided by Blekko for July 2014
publisher: CommonCrawl
format: WARC File Format 1.0
conformsTo: http://bibnum.bnf.fr/WARC/WARC_ISO_28500_version1_latestdraft.pdf