Search found 10204 matches

by Stefan Kottwitz
Sun Mar 09, 2025 12:30 am
Forum: Graphics, Figures & Tables
Topic: Using float in a figure
Replies: 4
Views: 227

Re: Using float in a figure

Hi David,

you can follow the "hacking down" procedure from the Infominimal working example explanation (making a copy of your code and reduce it, so it can be posted here without unrelated content) and post the result here. I'm sure that when you post the code that prints 'float', we will find the cause.

Stefan
by Stefan Kottwitz
Sat Mar 08, 2025 11:12 pm
Forum: Graphics, Figures & Tables
Topic: Using float in a figure
Replies: 4
Views: 227

Re: Using float in a figure

Welcome to the forum!

That's not caused by the code you showed. See here, and click "Run LaTeX here" to check:

\documentclass{article}
\usepackage[demo]{graphicx}
\usepackage{rotating}
\usepackage{caption}
\usepackage{float}
\begin{document}
\begin{sidewaystable}
\begin{figure}[H]
\centering ...
by Stefan Kottwitz
Mon Mar 03, 2025 2:48 am
Forum: Math & Science
Topic: math tikz library
Replies: 3
Views: 888

Re: math tikz library

Hello Guido,

welcome to the forum!

Indeed, the calc library is explained, as this is really important and useful with coordinates and node positioning and so a lot of fundamental things. The math library introduces a very different syntax and is not really necessary for coordinate calculation ...
by Stefan Kottwitz
Mon Mar 03, 2025 2:40 am
Forum: Graphics, Figures & Tables
Topic: Figure or missing a "}"
Replies: 1
Views: 516

Re: Figure or missing a "}"

Hi,

welcome to the forum!

That looks like an error in a figure caption. Please post the file output.lof here, perhaps as attachment. That is the list of figures file and it probably shows the figure caption with the issue.

Stefan
by Stefan Kottwitz
Wed Feb 19, 2025 1:02 pm
Forum: General
Topic: Looking for the best LaTeX tutorials
Replies: 1
Views: 1090

Re: Looking for the best LaTeX tutorials

Welcome to the forum!

I wrote that list in 2008, so some links changed, some moved. I corrected the links. If you could not open some tutorials, you can try again. I added LearnLaTeX.org, it's pretty modern and I can recommend it.

Since LaTeX exists since so many years, the beginner's steps are ...
by Stefan Kottwitz
Tue Feb 18, 2025 12:58 pm
Forum: General
Topic: how should I install a sty file in arch linux?
Replies: 7
Views: 2779

Re: how should I install a sty file in arch linux?

Ah, very good, with scrartcl you don't need titlesec. You can simply set

\addtokomafont{section}{\scshape}

As you noticed that it did not work immediately: some font families don't have a combination of bold sans-serif small-caps shape, like the default font and Latin modern. Some have, you ...
by Stefan Kottwitz
Mon Feb 17, 2025 3:30 am
Forum: General
Topic: how should I install a sty file in arch linux?
Replies: 7
Views: 2779

Re: how should I install a sty file in arch linux?

Hi Stephen,


improve my knowledge / skills on this (Koma and full TeX Live installation)

Twenty years ago, also I was worried to learn a new class. However, I quickly noticed that it can be used like a standard class (scrartcl like article, scrbook like book, etc.) and they just provide more ...
by Stefan Kottwitz
Sun Feb 16, 2025 1:39 pm
Forum: General
Topic: how should I install a sty file in arch linux?
Replies: 7
Views: 2779

Re: how should I install a sty file in arch linux?


Should I perhaps be installing in some other location in my system?

There's a quick and easy way: copy all titlesec files to the same location as your document, same folder/directory. That ensures that it can be found.


Is there maybe an easier way to use small capitals in section headings ...
by Stefan Kottwitz
Sun Feb 16, 2025 12:03 pm
Forum: General
Topic: how should I install a sty file in arch linux?
Replies: 7
Views: 2779

Re: how should I install an sty file in arch linux?

Hi,

on my Linux, the file is here:

/usr/local/texlive/2024/texmf-dist/tex/latex/titlesec/titlesec.sty

If you copy the files there, then run the texhash command.

Stefan
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: 13955

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