Search found 10195 matches

by Stefan Kottwitz
Sun Feb 02, 2025 12:52 am
Forum: Curricula Vitae / Résumés
Topic: how to color the name of section?
Replies: 6
Views: 8984

Re: how to color the name of section?

Yes, \bf is deprecated and should be replaced by \bfseries. However, also \textbf is fine. This should also work:

\textcolor{blue}{\normalfont\textbf{\MakeUppercase{#1}}}% Section title

It's good to know that everything works for you now!

Stefan
by Stefan Kottwitz
Fri Jan 31, 2025 1:13 pm
Forum: Fonts & Character Sets
Topic: Problem with microtype package when using Cyrillic chars
Replies: 6
Views: 3025

Re: Problem with microtype package when using Cyrillic chars

I see this error:

! pdfTeX error (font expansion): auto expansion is only possible with scalable fonts.

I also see this:

LaTeX Font Warning: Font shape `T2A/lmr/m/n' undefined
(Font) using `T2A/cmr/m/n' instead on input line 7.

Looks to me like a missing lmodern font version for T2A encoding ...
by Stefan Kottwitz
Thu Jan 30, 2025 2:06 am
Forum: Text Formatting
Topic: How to make equations within enumerate centered on page
Replies: 3
Views: 2536

Re: How to make equations within enumerate centered on page

Within such a list environment, things are within its text area and not in the outer page area. In a logical structure, the list environment should end before another displayed item comes centered between the page margins. Resuming one list is easy, resuming from nested lists can get messy, which ...
by Stefan Kottwitz
Wed Jan 29, 2025 6:28 pm
Forum: Text Formatting
Topic: How to make equations within enumerate centered on page
Replies: 3
Views: 2536

Re: How to make equations within enumerate centered on page

Hello,

there was no quick answer, perhaps because the code was not included here. Very good that you made an example, but please post it as code here in the forum, instead of an Internet link to some external service.

If you embed an equation within an enumerate list, it gets centered in this list ...
by Stefan Kottwitz
Tue Jan 28, 2025 8:21 pm
Forum: Fonts & Character Sets
Topic: Problem with microtype package when using Cyrillic chars
Replies: 6
Views: 3025

Re: Problem with microtype package when using Cyrillic chars

Hi bostjanv,

when I uncomment these two lines, it runs for me without error, also a second and third time with the .aux file present.
Perhaps post the corresponding section of the .log file here, as the error message is not mentioned here.

Stefan
by Stefan Kottwitz
Sat Jan 25, 2025 10:14 pm
Forum: Math & Science
Topic: Align equations with multiple align points
Replies: 4
Views: 2601

Re: Align equations with multiple align points

That's because of the alignment of the whole structure; if one row has a longer entry, the other rows must align.

You can create nested structures using the "aligned" environment inside alignat. Or smash the width of some pieces like this, as a quick way:

\documentclass{article}
\usepackage ...
by Stefan Kottwitz
Sat Jan 25, 2025 10:07 pm
Forum: Theses, Books, Title pages
Topic: Adding fixed footer text to all pages
Replies: 1
Views: 763

Re: Adding fixed footer text to all pages

Welcome to the forum!

That template uses the scrlayer-scrpage package. You can use commands from there; perhaps try this, for example:

\cfoot{text}

Stefan
by Stefan Kottwitz
Sat Jan 25, 2025 1:22 am
Forum: LyX
Topic: size 12 police is ugly
Replies: 1
Views: 493

Re: size 12 police is ugly

Hi Roken,

welcome to the forum!

I recommend using Latin Modern for a high-quality font that looks like the default font, with \usepackage{lmodern} in the preamble (or an equivalent LyX setting). The default font looks bad with modern font encoding for French. Another way to improve this would be ...
by Stefan Kottwitz
Mon Jan 20, 2025 10:40 pm
Forum: TeX Live and MacTeX
Topic: GhostScript "10/03.0" Extras version in MacTeX-2024
Replies: 2
Views: 1664

Re: GhostScript "10/03.0" Extras version in MacTeX-2024

Hi Andrew,

welcome to the forum!

That's probably just a typo. It can be seen at Richard Koch's Homepage and in the PDF as Ghostscript-10.03.0-Extras.

Stefan