From: nakasima@aoi.kuis.kyoto-u.ac.jp (Hiroshi Nakashima)
Subject: Re: [fancyheading] \headwidth
Reply-To: nakasima@kuis.kyoto-u.ac.jp
Organization: Dept. of Info. Sci., Kyoto Univ., JAPAN
	<SS.92Dec15010534@retour.astec.co.jp> <523@accpd1.anritsu.co.jp>
Distribution: fj
Date: Thu, 17 Dec 1992 07:24:50 GMT

In article <523@accpd1.anritsu.co.jp> kawafuji@actsd0.anritsu.co.jp ( Mitsuhiro KAWAFUJI ) writes:

> In article <SS.92Dec15010534@retour.astec.co.jp> ss@astec.co.jp (Sakashita Shiu) writes:
> >>   $@!!$I$3$r$I$&LB$C$?$N$+!":#:"!J(J12$@7n(J14$@F|!K$K$J$C$FFO$-$^$7$?!#(J
> >	$@$_$s$JK:$l$F$$$k$K0c$$$J$$!#(J
> >	$@855-;v$O(J
> >>>   $@!!(Jfancyheadung.sty $@$N(J \headwidth $@$r;H$C$F!"%F%-%9%H$NI}$H%X%C%@$NI}(J
> >>>   $@$r$=$l$>$l0c$&CM$K$7$h$&$H$7$F$$$^$9!#(J
> >>	plain$@$N$H$-$N%9%?%$%k$bJQ$($?$$$N$G$"$l$P!"(J
> >>	fancyplain$@$r$D$+$o$J$$$H$$$1$J$$$H;W$$$^$9!#(J
> >	$@$G$9$M!#$G!"(J
> 
> $@!!$I$&$b$"$j$,$H$&$4$6$$$^$9!#(J
> 
> >>       \pagestyle{fancyplain}
> >>   $@$H$$$&;XDj$O$b$A$m$sF~$l$F$$$^$9!#$K$b4X$o$i$:!"(J plain $@$N$H$-$K$O(J 
> >>   \headwidth $@$G;XDj$7$?D9$5$K$J$i$J$$$N$GG:$s$G$$$k$N$G$9!#(J
> >
> >	$@$`$`!#F0$+$J$$%3!<%I$r=P$7$F$b$i$($P$o$+$k?M$,$$$k$K0c$$$J$$!#(J
> 
> $@!!$H$$$&$3$H$G!"Hf3SE*%7%s%W%k$J%5%s%W%k$r:n$C$F$_$^$7$?!#:G8e$KIU(J
> $@$1$^$9!#$3$l$r=hM}$9$k$H!"(Jnormal $@%Z!<%8$O3N$+$K%X%C%@$,D9$/$J$j$^$9(J
> $@$,!"(Jplain $@%Z!<%8$O$=$&$J$j$^$;$s!#$I$&$7$F$G$7$g$&!);HMQ$7$F$$$k=h(J
> $@M}7O$O!"(JASCII $@HGF|K\8l(J TeX $@$G!"(J
> 
>     This is BigTeX, C Version 2.99 - j1.7e (no format preloaded)
>     LaTeX Version 2.09 <24 May 1989>
> 
> $@$HI=<($N=P$k$b$N$G$9!#$^$?!"(Jfancyheadings.sty $@$N@hF,$K$O!"(J
> 
>     % fancyheadings.sty version 1.0
> 
> $@$H=q$+$l$F$$$^$9!#(J
> 
> $@!!$G$O!"%5%s%W%k$G$9!#(J

$@$H$$$&$3$H$G!$??LLL\$K(J facyheading.sty $@$r8+$k$H!$3N$+$K(J 
\thispagestyle{plain} $@$r$d$k$H!$$=$N%Z!<%8$N(J \headwidth $@$O(J \textwidth 
$@$K$J$k$h$&$K%3!<%G%#%s%0$5$l$F$^$9!#6qBNE*$K8@$&$H!((J

(1) $@:n<T$O!$(J\addtolength\headwidth{1cm} $@$F$J$3$H$,$G$-$k$h$&$K!$(J
    \headwidth $@$r$I$3$+$G(J \textwidth $@$K=i4|2=$7$?$$$H;W$C$?!#(J

(2) $@$=$3$G!$(J\pagestyle{fancy[plain]} $@$H8@$o$l$?;~$K8F$P$l$k(J \ps@fancy 
    $@$NCf$G(J \headwidth=\textwidth $@$H=i4|2=$9$k$3$H$K$7$?!#(J

(3) $@$H$3$m$,!$(J\thispagestyle{plain} $@$H$d$k$H!$(J\output $@%k!<%A%s$NCf$G(J 
    \ps@plain -> \ps@plain@fancy -> \ps@fancy $@$H8F$P$l$F!$(J\headwidth 
    $@$,(J \textwidth $@$K$J$C$F$7$^$&!J@53N$K$O(J \ps@plain $@$O(J 
    \pl@plain@fancy $@$H(J \let equal$@!K!#(J

(4) $@$J$*!$(J\output $@%k!<%A%s$NCf$G$N(J \ps@plain $@$N8F=P$O(J grouping $@$5$l$F(J
    $@$$$k$N$G!$B>$N%Z!<%8$N(J \headwidth $@$K$O1F6A$7$J$$!#(J

$@$^!$%P%0$H8@$($P%P%0$G!$Nc$($P(J \thispagestyle{fancy} $@$H$+$d$C$F$b!J$+(J
$@$J$jJQ$G$9$,!K$=$N%Z!<%8$N(J \headwidth $@$O(J \textwidth $@$K$J$j$^$9!#(J

$@$G!$5_:QJ}K!$G$9$,!$$"$^$j%I%i%9%F%#%C%/$K%Q%C%A$;$:$K(J 
\thipagestyle{plain} $@$N>l9g$r5_$&$K$O!((J

\makeatletter
\def\ps@plain@fancy{\@fancyplaintrue\textwidth\headwidth\ps@fancy}

$@$r!$(J\pagestyle{fancyplain}$@$NA0$KA^F~$9$l$P(J OK $@$G$9!#L^O@!$$3$l$r(J 
style file $@$K$7$F(J (e.g. fhpatch)$@!((J

	\documentstyle[fancyheading,fhpatch]{jarticle}

$@$N$h$&$K(J fancyheadings $@$h$j$b8e$K%m!<%I$7$F$b(J OK $@$G$9!#$J$*!$(J
\textwidth $@$K(J \headwidth $@$rBeF~$7$F$$$k$N$,4m$J$C$+$7$=$&$G$9$,!$(Jplain
$@$r(J \thispagestyle $@$G;H$C$F$k8B$jBg>fIW$G$9!#(J

$@$b$C$H%+%C%3%$%$=$@5J}K!$H$7$F$O!$(J\ps@fancy $@$NDj5A$N:G=*9T$N!((J

	\headwidth\textwidth
$@$r!((J
	\ifdim\headwidth=\z@\relax\headwidth\textwidth\fi

$@$H$9$k$3$H$,9M$($i$l$^$9!#%Q%C%A$,D9$/$J$C$F$bNI$1$l$P!$$3$l$NJ}$,NI$$(J
$@$G$7$g$&!#(J
------------------------------------------------
$@CfEg(J  $@9@!w5~ETBg3X9)3XIt>pJs9)3X65<<(J
nakasima@kuis.kyoto-u.ac.jp, phone: 075-753-5383
Newsgroups: fj.comp.texhax