Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Memoir class and \makepsmarks

132 views
Skip to first unread message

Jeff Higgins

unread,
Jan 4, 2010, 12:59:39 PM1/4/10
to
Hi,

I've been reading Memoir user guide section 7
until even coffee and cigarettes aren't helping.

The intent is for page headers to contain:

for even pages:
page_number(left) document_title(center) blank(right)

for odd pages:
blank(right) section_title(center) page_number(right)

and no section numbering or footers.

My most recent attempt has in the preamble:

\title{My Document Title}
\setsecnumdepth{none}
\makepsmarks{mystyle}{%
\createmark{section}{both}{nonumber}{}{}}
\makepagestyle{mystyle}
\makeevenhead{mystyle}{\thepage}{\thetitle}{}
\makeoddhead{mystyle}{}{\sectionmark}{\thepage}
\pagestyle{mystyle}

but the section title does not appear in the page heading.

Will some kind soul walk this beginner through the steps.

Thanks
Jeff Higgins

Lars Madsen

unread,
Jan 4, 2010, 2:50:24 PM1/4/10
to
Jeff Higgins wrote:
> Hi,
>
> I've been reading Memoir user guide section 7
> until even coffee and cigarettes aren't helping.
>
> The intent is for page headers to contain:
>
> for even pages:
> page_number(left) document_title(center) blank(right)
>
> for odd pages:
> blank(right) section_title(center) page_number(right)
>
> and no section numbering or footers.
>
> My most recent attempt has in the preamble:
>
> \title{My Document Title}
> \setsecnumdepth{none}
> \makepsmarks{mystyle}{%
> \createmark{section}{both}{nonumber}{}{}}
> \makepagestyle{mystyle}
> \makeevenhead{mystyle}{\thepage}{\thetitle}{}
> \makeoddhead{mystyle}{}{\sectionmark}{\thepage}
> \pagestyle{mystyle}
>

\sectionmark is used internally inside \section, it is actually what you
define using \createmark{section}... so do not use it in \makeoddhead

you need \rightmark instead

You might want to check out my article in PracTeX Journal

http://tug.org/pracjourn/2008-2/madsen/madsen.pdf

Jeff Higgins

unread,
Jan 4, 2010, 3:12:19 PM1/4/10
to
Lars Madsen wrote:
> Jeff Higgins wrote:
>> Hi,

>
> You might want to check out my article in PracTeX Journal
>
> http://tug.org/pracjourn/2008-2/madsen/madsen.pdf
>

Oh, THANK you. Exactly what I was missing. Very grateful.

Gary Johnson

unread,
Jan 5, 2010, 6:02:15 PM1/5/10
to
Lars Madsen <dal...@imf.au.dk> wrote:

> You might want to check out my article in PracTeX Journal
>
> http://tug.org/pracjourn/2008-2/madsen/madsen.pdf

As a newcomer to [La]TeX, I was excited to discover The PracTeX Journal,
but then saw on the home page (http://tug.org/pracjourn/index.html) that
the current issue was published 2008-12-19 and that the next issue was
due on about 2008-12-31. What happened? Is the editor just waiting for
articles to accumulate or has the Journal become defunct?

--
Gary Johnson

Jim

unread,
Jan 6, 2010, 7:17:40 AM1/6/10
to
On Jan 5, 6:02 pm, Gary Johnson <garyj...@eskimo.com> wrote:
> As a newcomer to [La]TeX, I was excited to discover The PracTeX Journal,

They do a great job, don't they?

> Is the editor just waiting for
> articles to accumulate or has the Journal become defunct?

That I know of, the former (I have an article in the next issue).
They announced a special issue

http://groups.google.com/group/comp.text.tex/browse_frm/thread/664ead05a3d03d5c/336e811aecfba7a1?lnk=gst&q=practex+journal#336e811aecfba7a1

not too long ago. Like any volunteer effort, keeping a steady stream
must be a struggle.

Keep them in mind for the future, in case you come up with something
that they could use.

Jim

Paul Blaga

unread,
Jan 8, 2010, 3:09:44 AM1/8/10
to
On Jan 6, 2:17 pm, Jim <jim.heffe...@gmail.com> wrote:
> On Jan 5, 6:02 pm, Gary Johnson <garyj...@eskimo.com> wrote:
>
> > As a newcomer to [La]TeX, I was excited to discover ThePracTeXJournal,
>
> They do a great job, don't they?
>
> > Is the editor just waiting for
> > articles to accumulate or has the Journal become defunct?
>
> That I know of, the former (I have an article in the next issue).
> They announced a special issue
>
> http://groups.google.com/group/comp.text.tex/browse_frm/thread/664ead...

>
> not too long ago.  Like any volunteer effort, keeping a steady stream
> must be a struggle.
>
> Keep them in mind for the future, in case you come up with something
> that they could use.
>
> Jim


Dear Gary,

We are in a process of changing the format of the journal, there will
be only two issues each year. We will publish in the very next future
a special issue, that will mark the end of the former format and then
we will start the new one. The first new issue will be published,
probably, by the end of this month or in the first half of the
February. We have, already plenty of material, so don't worry, we'll
be back in business in no time.

Paul Blaga

on behalf of the Editors of TPJ

Peter Flynn

unread,
Jan 8, 2010, 5:56:33 PM1/8/10
to

Accumulating articles. One of the things we are always interested in is
the views of newcomers to TeX -- would you be interested in writing
something about your own experiences?

///Peter

Gary Johnson

unread,
Jan 10, 2010, 5:40:43 AM1/10/10
to

I'm interested, but at the moment I don't know what I would write about.
I'll give it some thought.

--
Gary Johnson

Reil

unread,
Jan 12, 2010, 4:19:33 PM1/12/10
to
On 10 jan, 08:40, Gary Johnson <garyj...@eskimo.com> wrote:
> Peter Flynn <peter.n...@m.silmaril.ie> wrote:
> >GaryJohnsonwrote:

Hi Gary and friends,

I am one of the PracTeX Journal reviewers.

For now, we will have two new issues soon.
Please, send me your e-mail to me (reinal...@gmail.com)
Thus, I will add his name to the mailing list and you will receive
an announcement as soon as the issues are ready.
By the way, if you need ideas to write about, I have lots of. :)

If you plan to submit a paper or papers
but have the difficulty to meet the new deadline,
please let me know by e-mail.

About PTJ, a format is a 6--10 page article with mostly prose,
sprinkled with figures, and with an occasional short LaTeX markup
example. The technical details can be in appendices, and longer
code samples can be linked from the article. Since we're an
online journal you should feel free to submit as many code
samples and supporting files as you wish.

Also see our guidelines http://tug.org/pracjourn/submit.html

We look forward to working with you.
Feel free to contact me if you have any questions.

Best regards,

Francisco Reinaldo
PracTeX Journal 2010-1

0 new messages