public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: Bastien DUMONT <bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org>
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Re: alternating numbering
Date: Sun,  8 May 2022 12:16:19 +0000	[thread overview]
Message-ID: <Yne0k+fmdU4+UeC5@localhost> (raw)
In-Reply-To: <562ec38a-203c-4294-b40b-77d536181de5n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>

Ok, so forget about twoside. What happens if you add the following to "header-includes" in the metadata?

\usepackage{titleps}
\renewpagestyle{plain}{
  \sethead{}{}{}
  \setfoot[][][]{}{}{\thepage\ifodd\thepage\else\hfill\fi}
}
\pagestyle{plain}

(Adapted from https://tex.stackexchange.com/questions/443344/page-numbering-left-and-right)

Le Sunday 08 May 2022 à 04:08:30AM, qql 78 a écrit :
> Thanks for your response, 
> 
> 'twoside' option adjust the text to left and right (not what I'm looking for
> though). I just need to have the page numbers alternating from left to right. 
> 
> niedziela, 8 maja 2022 o 12:24:16 UTC+2 Bastien Dumont napisał(a):
> 
>     If you don't specify --pdf-engine, you are exporting to PDF via LaTeX, so
>     you can set "classoption" to "twoside" in the metadata.
> 
>     Le Sunday 08 May 2022 à 02:45:21AM, qql 78 a écrit :
>     > pdf
>     >
>     > sobota, 7 maja 2022 o 22:38:54 UTC+2 Julien Dutant napisał(a):
>     >
>     > Which output format?
>     >
>     > On Saturday, May 7, 2022 at 6:22:52 PM UTC+1 karol...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote:
>     >
>     > hello,
>     >
>     > I don't seem to find a solution to get alternating page numbers
>     > (alternating form left and right side). 
>     > I hope I'm clear enough. 
>     >
>     > Thanks a lot. 
>     >
>     >
>     > for example:
>     > number "2" on page 2 is on left side of the page
>     > number "3" on page 3 is on the right side of the page 
>     > and so on 
>     >
>     > --
>     > You received this message because you are subscribed to the Google Groups
>     > "pandoc-discuss" group.
>     > To unsubscribe from this group and stop receiving emails from it, send an
>     email
>     > to [1]pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>     > To view this discussion on the web visit [2][1]https://groups.google.com/
>     d/msgid/
>     > pandoc-discuss/d5176bdb-8abb-4a9e-942a-e5949045abd6n%[2]
>     40googlegroups.com.
>     >
>     > References:
>     >
>     > [1] mailto:pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>     > [2] [3]https://groups.google.com/d/msgid/pandoc-discuss/
>     d5176bdb-8abb-4a9e-942a-e5949045abd6n%40googlegroups.com?utm_medium=email&
>     utm_source=footer
> 
> 
> --
> You received this message because you are subscribed to the Google Groups
> "pandoc-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an email
> to [4]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To view this discussion on the web visit [5]https://groups.google.com/d/msgid/
> pandoc-discuss/562ec38a-203c-4294-b40b-77d536181de5n%40googlegroups.com.
> 
> References:
> 
> [1] https://groups.google.com/d/msgid/
> [2] http://40googlegroups.com/
> [3] https://groups.google.com/d/msgid/pandoc-discuss/d5176bdb-8abb-4a9e-942a-e5949045abd6n%40googlegroups.com?utm_medium=email&utm_source=footer
> [4] mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> [5] https://groups.google.com/d/msgid/pandoc-discuss/562ec38a-203c-4294-b40b-77d536181de5n%40googlegroups.com?utm_medium=email&utm_source=footer

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/Yne0k%2BfmdU4%2BUeC5%40localhost.


  parent reply	other threads:[~2022-05-08 12:16 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-07 17:22 qql 78
     [not found] ` <d1bc8fc9-d1c2-42be-9c57-241a2b36f86cn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2022-05-07 20:38   ` Julien Dutant
     [not found]     ` <a25106d6-c7d7-4324-8325-320614b5e4a4n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2022-05-08  9:45       ` qql 78
     [not found]         ` <d5176bdb-8abb-4a9e-942a-e5949045abd6n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2022-05-08 10:24           ` Bastien DUMONT
2022-05-08 11:08             ` qql 78
     [not found]               ` <562ec38a-203c-4294-b40b-77d536181de5n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2022-05-08 12:16                 ` Bastien DUMONT [this message]
2022-05-08 13:05                   ` qql 78
     [not found]                     ` <7d649510-4264-4f9e-8dd8-00641b4c7ebbn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2022-05-08 13:21                       ` qql 78

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Yne0k+fmdU4+UeC5@localhost \
    --to=bastien.dumont-vwifzpto/vqstnjn9+bgxg@public.gmane.org \
    --cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).