Text Formattingproblem with formating

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
kzg
Posts: 12
Joined: Fri Sep 03, 2010 5:51 pm

problem with formating

Post by kzg »

hello latex profis,

have anybody an idea why the following commands:
\bfseries or \text{bfblabla} or \epmh{blabla}

give no result.
\Large or \normalfont etc. work, but the above don't.

Thans for any sugestions.
Last edited by kzg on Tue Sep 07, 2010 5:03 pm, edited 1 time in total.

Recommended reading 2024:

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

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

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

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

problem with formating

Post by localghost »

It is important that you provide some useful information in form of a minimal example [1]. I have no problem with these commands.

[1] View topic: Avoidable mistakes


Best regards and welcome to the board
Thorsten
kzg
Posts: 12
Joined: Fri Sep 03, 2010 5:51 pm

Re: problem with formating

Post by kzg »

i have used a template for a phd thesis, it is quite complicated so i left it as it was. during typing i realized that the bolding does not work at all.

here what i am doing:
\documentclass[12pt, a4paper, oneside, makeidx]{memoir}
(...)
\settypeblocksize{9.5in}{35pc}{*}
\setlrmargins{1.25in}{*}{*}
\setulmargins{1.0in}{*}{*}
\setheadfoot{\onelineskip}{2\onelineskip}
\setheaderspaces{*}{2\onelineskip}{*}
\def\baselinestretch{1.5}
\checkandfixthelayout
\makechapterstyle{mychapterstyle}{%
\renewcommand{\chapnamefont}{\Large\sffamily\bfseries}%
\renewcommand{\chapnumfont}{\Large\sffamily\bfseries}%
\renewcommand{\chaptitlefont}{\Huge\sffamily\bfseries}%
\renewcommand{\printchaptertitle}[1]{%
\chaptitlefont\hrule height 0.75pt \vspace{1em}%
{##1}\vspace{1em}\hrule height 0.75pt%
}%
\renewcommand{\printchapternum}{%
\chapnumfont\thechapter%
}%
}
\chapterstyle{mychapterstyle}
\setsecheadstyle{\Large\sffamily\bfseries}
\setsubsecheadstyle{\large\sffamily\bfseries}
\setsubsubsecheadstyle{\normalfont\sffamily\bfseries}
\setparaheadstyle{\normalfont\sffamily}

(...)
\begin{document}
(...)
\sffamily\bfseries{ blablabl}
(...)
\end{document}

compiler shows no error, there is a warning: LaTeX Font /b/c12/cWarning:/b/c0/c Some font shapes were not available, defaulf subtituted

any idea what shell i do?
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

problem with formating

Post by localghost »

kzg wrote:[…] any idea what shell i do?
At first you should read the topic I referred to and follow the instructions unexceptionally (tagging code in posts, minimal example, …). The code snippet you provided is not useful at all. I can only see that some fonts are missing. But since you preferred ellipsis instead of providing a compiling example, I can't give specific help.
RiW
Posts: 29
Joined: Wed Sep 01, 2010 12:11 am

problem with formating

Post by RiW »

I'm not sure how this links into your thesis template, but have you tried the very simple:

Code: Select all

\textbf{Bold Text Here}
Just a thought...
kzg
Posts: 12
Joined: Fri Sep 03, 2010 5:51 pm

Re: problem with formating

Post by kzg »

i have found the problem source: it was the 'pxfonts' package which i used for some spetial symbols. i have no idea why this package produces fonts problem? but at least i can create so many bold symbols as i want :)
Post Reply