Text Formatting ⇒ Changing "Chapter" Using \fncychap
-
- Posts: 2
- Joined: Tue May 24, 2011 1:23 am
Changing "Chapter" Using \fncychap
I'm new to the forum, but have been a LaTeX tinkerer for the past couple of years. I'm fairly confident in my ability to make use of the basics, but still run into usage problems with unique packages.
Case in point, I'm trying to figure out whether it's possible to change the word "Chapter" as it appears while utilizing Lindgren's \fncychap package. (I ran a search on the forum to see whether anyone else had the same questions, but didn't find any such posts -- so I hope I'm not asking something that's already been answered!) In his documentation, Lindgren says that the chapter heading is composed of two parts and then presents two commands, \chapapp and \thechapter. In particular, he notes that \chapapp "holds information of the text 'Chapter,'" which seems to imply that the text appearing as "Chapter" can indeed be changed to something else, say, "Part" or "Section." Yet it's not clear to me how and where the command \chapapp is to be used.
I've been fiddling around with it for the last few hours and finally decided to cast out for help. Any ideas from the forum's resident gurus?
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
Changing "Chapter" Using \fncychap
Code: Select all
\documentclass[a4paper]{book}\usepackage[T1]{fontenc}\usepackage[Conny]{fncychap}\renewcommand{\chaptername}{Theme}\begin{document}\chapter{Is really this what you were looking for?}I hope so.\end{document}
-
- Posts: 2
- Joined: Tue May 24, 2011 1:23 am
Re: Changing "Chapter" Using \fncychap
Many, many thanks.
Changing "Chapter" Using \fncychap
I'm using MikTeX/LuaTeX with LyX on a Windows machine, document class scrreprt, UKenglish
While the actual document has additional packages loaded, the wrong output appears also when \fncychap is the only package loaded.
Attempts to fix this have included
babel (no)
excluding all other packages (no)
using solution proposed here https://tex.stackexchange.com/questions ... n-fncychap (no)
The weirdest thing about this is that I have old pdfs from that same file where "chapter" has actually changed to "lesson" as desired. It just doesn't seem to work any longer, and I'm at a loss as to why. The only possible explanation I can come up with is that the other computer is set up using TeXlive.
If anyone has an idea, it would be very welcome.
Changing "Chapter" Using \fncychap
Not really, because usingNeridi wrote:I hope it's okay to reanimate this thread
fncychap
with a KOMA-Script class like scrreprt
is already not recommended. There is Emulation von fncychap mit KOMA-Script-Mitteln in German. Sorry, but until now I have not found time to transfer these pages to the KOMA-Script wiki and translate the pages.However, if you use

UKenglish
, you should also either use babel
or KOMA-Script to change language terms like \chaptername
. The KOMA-Script command \renewcaptionname
would also work without using babel
. But without babel
option UKenglish
would not make much sense.Please have a look into the manuals. And please always show a minimal working example, that can be used to reproduce your problem and test our ideas and suggestions. See my signature for more information.