Search found 8 matches

by latex_git
Tue Feb 18, 2025 4:03 am
Forum: General
Topic: how should I install a sty file in arch linux?
Replies: 7
Views: 2796

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

Thanks again Stefan,
- had another look at arch wiki and I now think that covers it well;
- was using a scrartcl document class and smallcaps is fine now (wondering if perhaps my problems were due to using lmodern, can't quite remember why I started doing that).
All the best.
by latex_git
Mon Feb 17, 2025 2:47 am
Forum: General
Topic: how should I install a sty file in arch linux?
Replies: 7
Views: 2796

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

Thanks Stefan,

I have some time to improve my knowledge / skills on this (Koma and full TeX Live installation). Could you recommend something for me to look at please?
- I see in an old (2nd ed) copy of the Latex Companion, a section (4.6) on 'Doing layout with class', would that be a good place to ...
by latex_git
Sun Feb 16, 2025 1:31 pm
Forum: General
Topic: how should I install a sty file in arch linux?
Replies: 7
Views: 2796

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

Thanks Stefan,
I copied the files in the package into /usr/local/texlive/2024/texmf-dist/tex/latex/titlesec, executed texhash, but I still get 'LaTeX Error: File `titlesec.sty' not found.'
I tried rebooting, same.
The preamble has '\usepackage[sc]{titlesec}'

Should I perhaps be installing in some ...
by latex_git
Sun Feb 16, 2025 11:24 am
Forum: General
Topic: how should I install a sty file in arch linux?
Replies: 7
Views: 2796

how should I install a sty file in arch linux?

Hi,

As best I can tell my sty files are located in /usr/local/texlive/2024/texmf-dist/tex/latex/xxx, eg. my amsmath sty files are in the following directory:
/usr/local/texlive/2024/texmf-dist/tex/latex/amsmath

At the moment I (think) I would like to install titlesec.sty.(*)

I tried 'sudo pacman ...
by latex_git
Mon Sep 30, 2024 3:58 am
Forum: Graphics, Figures & Tables
Topic: How do I line up the text in my table of contents?
Replies: 7
Views: 21918

How do I line up the text in my table of contents?

Hi again Stefan,
just to let you know, I ended up going with the scrartcl document class - all your suggestions worked very well, the issue with the title page command was just some unnecessary newlines.
Thanks again for your awesome help!
Kind regards
by latex_git
Sun Sep 29, 2024 3:03 am
Forum: Graphics, Figures & Tables
Topic: How do I line up the text in my table of contents?
Replies: 7
Views: 21918

How do I line up the text in my table of contents?

Thanks Stefan!
- the old solution worked (I did comment out the following line to suppress an error \setcounter{tocdepth}{3}).
- I will have a look at your more up to date solutions too.
Kind regards
by latex_git
Sun Sep 29, 2024 1:12 am
Forum: Graphics, Figures & Tables
Topic: How do I line up the text in my table of contents?
Replies: 7
Views: 21918

How do I line up the text in my table of contents?

Hi Stefan,
Thanks.
I'm a little lost at this point.
- The article class gives a nice toc, but several figures will need fixing (they've moved left) and I get a blank page before the title page (I borrowed a complex command to generate the title page and don't understand the detail of it).
- scrartcl ...
by latex_git
Sat Sep 28, 2024 5:07 am
Forum: Graphics, Figures & Tables
Topic: How do I line up the text in my table of contents?
Replies: 7
Views: 21918

How do I line up the text in my table of contents?

So I've include a sample for the document below and if you look at the table of contents, you'll see that the section numbers are nicely left aligned but the text following these numbers is not vertically aligned - its starting column position depends on the length of the section number (which ...