LaTeX forum ⇒ Text FormattingAlignment

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
User avatar
Johannes_B
Site Moderator
Posts: 3551
Joined: Thu Nov 01, 2012 4:08 pm

Alignment

Postby Johannes_B » Sun Nov 20, 2016 12:23 pm

I don't know how to put the line in there with package titlesec. But my spies have informed me, that putting a line between the chapter number and title will be easily possible with the next version of the template. So a bit of patience is needed here.

To get the title in the header to the right side, use the following block. This only works for oneside documents.
  1. \renewcommand{\chaptermarkformat}{\thechapter~}
  2. \ihead{}
  3. \ohead{\headmark~\pagemark}
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

Tags:

vinaykumarn
Posts: 15
Joined: Wed Oct 19, 2016 6:30 am

Postby vinaykumarn » Mon Nov 21, 2016 7:16 am

Dear Stefan Kottwitz,

Thank you very much for your valuable suggestions... It works well. In addition to this, I made some modifications to bring the header caption to the rightside (regarding this you have given me some hint in your previous post).

But, still I have couple of queries need to be solved. The queries are:
1. I need to remove "chapter 1" (chapter J in general) prefix to 'chapter title' in header section and the same is marked in screenshot attached with this post.
2. I need to remove page numbers present in every first page of the chapters.

Please do the needful and oblige.
Attachments
Latex Corrections 3.png
Latex Corrections 3.png (32.5 KiB) Viewed 1632 times

User avatar
Johannes_B
Site Moderator
Posts: 3551
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Mon Nov 21, 2016 9:01 am

Please post a minimal working example along with the version of the template you are using. How to create a minimal working example?

The header issue has been addressed i my previous post and it should work for the current version of the template.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

vinaykumarn
Posts: 15
Joined: Wed Oct 19, 2016 6:30 am

Postby vinaykumarn » Mon Nov 21, 2016 4:17 pm

Dear Stefan Kottwitz,

Thank you very much for your valuable suggestions... It works well. In addition to this, I made some modifications to bring the header caption to the rightside (regarding this you have given me some hint in your previous post).

But, still I have couple of queries need to be solved. The queries are:
1. I need to remove "chapter 1" (chapter J in general) prefix to 'chapter title' in header section and the same is marked in screenshot attached with this post.
2. I need to remove page numbers present in every first page of the chapters.

Please do the needful and oblige.
Attachments
Latex Corrections 3.png
Latex Corrections 3.png (32.5 KiB) Viewed 1615 times

User avatar
Johannes_B
Site Moderator
Posts: 3551
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Mon Nov 21, 2016 7:01 pm

  1. \renewcommand{\chaptermarkformat}{}
  2. \ihead{}
  3. \ohead[]{\headmark\enspace\pagemark}
  4. \renewcommand{\chapterinbetweenskip}{\vspace{20pt}\noindent\rule{\linewidth}{.6pt}\vspace{50pt}\par}
  5. \renewcommand{\chapteralign}{\raggedleft}
  6. \renewcommand{\chapterprefixfont}{}{\huge\bfseries}


I'm very confident, that only a part of that will work.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

vinaykumarn
Posts: 15
Joined: Wed Oct 19, 2016 6:30 am

Postby vinaykumarn » Sat Jan 07, 2017 2:22 pm

%----------------------------------------------------------------------------------------
% LIST OF CONTENTS/FIGURES/TABLES PAGES
%----------------------------------------------------------------------------------------

\tableofcontents % Prints the main table of contents

\listoffigures % Prints the list of figures

\listoftables % Prints the list of tables

Regarding the above code snippet, how and where to customize the contents and spacing of contents, list of figures, and list of tables.
Please oblige and reply.

Regards,
Vinay

User avatar
Johannes_B
Site Moderator
Posts: 3551
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Sat Jan 07, 2017 3:07 pm

Vinay, you need to be more verbose. We need to see a minimal working example.

What i gave you above deals with the layout of chapters and the running headers. It has nothing to do with lists in general.

What do you need to know about them? Is this about alignment at all? Maybe you should open a new topic.

The attached code gives the attached pdf file.
Attachments
vinay.pdf
(206.29 KiB) Downloaded 15 times
vinay.tex
(13.16 KiB) Downloaded 16 times
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

User avatar
Stefan Kottwitz
Site Admin
Posts: 8453
Joined: Mon Mar 10, 2008 9:44 pm
Location: Hamburg, Germany
Contact:

Postby Stefan Kottwitz » Sat Jan 07, 2017 3:23 pm

Hi Vinay!

As Johannes said, it's hard to guess what you need at this point.

vinaykumarn wrote:how and where to customize the contents and spacing of contents, list of figures, and list of tables.


That's very general. Can you be more specific about what is needed, and what you already have? (Infominimal working example)

We like to help, we just need enough information. You can post a complete document as attachment, if you like.

Stefan
Site admin


Return to “Text Formatting”

Who is online

Users browsing this forum: No registered users and 2 guests