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.
Text Formatting ⇒ problem with formating
problem with formating
Last edited by kzg on Tue Sep 07, 2010 5:03 pm, edited 1 time in total.
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
problem with formating
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
[1] View topic: Avoidable mistakes
Best regards and welcome to the board
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: problem with formating
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?
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?
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
problem with formating
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.kzg wrote:[…] any idea what shell i do?
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
problem with formating
I'm not sure how this links into your thesis template, but have you tried the very simple:
Just a thought...
Code: Select all
\textbf{Bold Text Here}
Re: problem with formating
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 
