Search found 19 matches

by latexian
Tue Sep 01, 2009 4:05 am
Forum: Page Layout
Topic: how to remove header & footer only on \part pages ?
Replies: 6
Views: 12508

Re: how to remove header & footer only on \part pages ?

@gmedina,

thank you for your help.

it works the way i want.
by latexian
Mon Aug 31, 2009 7:15 am
Forum: Page Layout
Topic: how to remove header & footer only on \part pages ?
Replies: 6
Views: 12508

Re: how to remove header & footer only on \part pages ?

@gmedina,

Thanks for the code. It works.

I need a help more.
I already put the code, provided by fancyhdr, in the preamble to write "intentionally left blank." on even-numbered page for chapters ending on odd-numbered page.

However this setting does not work for the blank page right after the ...
by latexian
Sat Aug 29, 2009 9:32 pm
Forum: Page Layout
Topic: how to remove header & footer only on \part pages ?
Replies: 6
Views: 12508

how to remove header & footer only on \part pages ?

what document class are you using? Simply modify the coresponding code... (of course, not on the .cls file itself)

here is my code :

\documentclass[a4paper,twoside,10pt,final]{book}
\usepackage[margin=35mm]{geometry}
\usepackage{index}
\makeindex
\usepackage{lipsum}


\usepackage{fancyhdr ...
by latexian
Sat Aug 29, 2009 8:55 pm
Forum: Page Layout
Topic: How to make headrule spans across marginpar?
Replies: 2
Views: 4976

Re: How to make headrule spans across marginpar?

thank you gmedia for your hint about using \fancyheadoffset.
by latexian
Sat Aug 29, 2009 8:50 pm
Forum: Page Layout
Topic: how to remove header & footer only on \part pages ?
Replies: 6
Views: 12508

how to remove header & footer only on \part pages ?

Hi all,

I want to remove header and footer on \part pages only.
But header and footer on \chapter pages must not be affected.

I used fancyhdr package in this case and any modification using \fancypagestyle{plain}{...} will modify \chapter pages too.


Is there anybody knowing this solution ...
by latexian
Tue Aug 25, 2009 2:26 pm
Forum: Page Layout
Topic: How to make headrule spans across marginpar?
Replies: 2
Views: 4976

How to make headrule spans across marginpar?

Hi all,

I want to redefine \headrule such that there is a ruler in the header. The width of the ruler = text area width + marginparsep + marginparwidth.

I don't know how to make the head rule spans across marginpar.

Here is my minimal code snippet. In the code, I also implement \MARKER to be an ...
by latexian
Mon Aug 24, 2009 1:17 pm
Forum: General
Topic: How to define a new environment encapsulating LTXexample?
Replies: 1
Views: 2200

How to define a new environment encapsulating LTXexample?

Hi all,

My objective is to create a new environment that encapsulates LTXexample environment.

Here is my minimal code:


\documentclass{article}
\usepackage{showexpl}
\usepackage{lipsum}

\lstset{%
captionpos=b,
explpreset={pos=b}}

\newenvironment{ExampleWithAboveCaption}[1]
{%
\newcommand ...
by latexian
Tue Aug 18, 2009 11:33 am
Forum: General
Topic: showexpl : If ”numbers=none” then margin should be 0. Why?
Replies: 1
Views: 1848

showexpl : If ”numbers=none” then margin should be 0. Why?

Here is the minimum code:

\documentclass{article}
\usepackage{showexpl}

\newcommand*{\MARKER}{%
\noindent\strut\vrule%
\hrulefill~{\scriptsize half text area}~\hrulefill\vrule%
\hrulefill~{\scriptsize half text area}~\hrulefill\vrule%
\marginpar{\strut\vrule\hrulefill~{\scriptsize margin area ...
by latexian
Tue Aug 18, 2009 11:25 am
Forum: General
Topic: showexpl : If ”numbers=none” then margin should be 0. Why?
Replies: 1
Views: 1848

showexpl : If ”numbers=none” then margin should be 0. Why?

Hi all,

I am using LTXexample and don't want to enable code numbering.
However, I need to change xleftmargin and xrightmargin to equal to \fboxsep such that the frame of the formated text has the same width as that of the code.
Later I noticed that these changes will not take effect because ...
by latexian
Mon Aug 17, 2009 10:59 am
Forum: General
Topic: how to prevent frame from overlapping caption in SHOWEXPL ?
Replies: 3
Views: 2786

how to prevent frame from overlapping caption in SHOWEXPL ?

By inspection, I think that \fboxsep is the minimum value for aboveskip such that the frame and caption do NOT overlap each other.