General ⇒ An author and a title on chapter page
An author and a title on chapter page
I need to prepare to print the first book in my life. I've chosen LaTeX and need some help. It will be conference proceedings and I don't know how to change default \chapter command. I need to write an author's name, a name of city and a title on every chapter page. When use \chapter I get only the number of chapter and the title (as you know, of course). I tried to use fncychap, but it gave only different style. I found an information about substr and titlesec, but I really don't know how to use it (I'm still really new in LaTeX).
Thanks for any help.
Krz
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
An author and a title on chapter page

It'll help you a lot for future issues with LaTeX.
Concerning the customization of the first page of a chapter, you could use
Code: Select all
\titleformat{...}
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
An author and a title on chapter page
Right on top of every forum among the »Announcements«.Montag wrote:I can't find the beginner's section on here right now, […]
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: An author and a title on chapter page
Re: An author and a title on chapter page
I was sure that titlesec didn't reslove my problems, but maybe I was wrong. I'm studying it today and let you know if it works (or not).
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
An author and a title on chapter page
The confproc package might be your friend.krz wrote:[…] I need to prepare to print the first book in my life. I've chosen LaTeX and need some help. It will be conference proceedings and I don't know how to change default \chapter command. I need to write an author's name, a name of city and a title on every chapter page. […]
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: An author and a title on chapter page
I didn't have time to study titlesec. So, I've just read the short description and now I'm going to start from confproc. It looks really nice.
krz
An author and a title on chapter page
Unfortunately I still can't resolve my problem. Telling the truth I gave up with confproc manual. My knowledge about LaTeX and generally programming is not enough to understand all this command. So, I decided to use \titlesec and \substr by useing this
Code: Select all
\titleformat{\chapter}[hang]{}{%
\Huge \thechapter.
}{1cm}{%
\LARGE \scshape \BeforeSubString{. }{#1}\\
{\Large \itshape ---\BehindSubString{. }{#1}---}%
}
Another problem appeared. When use \chapter the header dissapears (and it's ok), but the page number appears in the center of footer. I used \thispagestyle{clear} and \clearpage, but it doesn't work.
Thanks for any help.
krz
Update.
I've just resolved problem with pagenumber. It was the problem in \fancyhdr. Unfortunately I still don't know how to put another line in the example above.
An author and a title on chapter page
Re: An author and a title on chapter page

I'm not good at programming. LaTeX is my first programming environment and it is why I still can't understand a lot of things.
Yes, I've just found I can use \newline inside {title} and it works. The method that I showed you above is good, because I can use different font size to the title and to the author. How can I change the size if I use \newline? How to make different size behind and after \newline?