From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?SsOpcsOpbWllIEp1c3Rl?= Subject: Re: Send subheading at the end of documents preserving the numbering Date: Wed, 11 Oct 2017 11:09:17 +0200 Message-ID: References: <87376qdsba.fsf@freegnu.noherd.org> <87bmlet5lh.fsf@pinto.chemeng.ucl.ac.uk> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a114fa7a07fb605055b41c8be" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43442) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e2D1I-0008Ko-5B for emacs-orgmode@gnu.org; Wed, 11 Oct 2017 05:09:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e2D1H-00044U-4W for emacs-orgmode@gnu.org; Wed, 11 Oct 2017 05:09:40 -0400 Received: from mail-io0-x22c.google.com ([2607:f8b0:4001:c06::22c]:48256) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e2D1G-00043z-WC for emacs-orgmode@gnu.org; Wed, 11 Oct 2017 05:09:39 -0400 Received: by mail-io0-x22c.google.com with SMTP id j17so1344866iod.5 for ; Wed, 11 Oct 2017 02:09:38 -0700 (PDT) In-Reply-To: <87bmlet5lh.fsf@pinto.chemeng.ucl.ac.uk> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Jeremie Juste , emacs-org list --001a114fa7a07fb605055b41c8be Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello, Many thanks to you, Best regards, Jeremie On Wed, Oct 11, 2017 at 11:07 AM, Eric S Fraga wrote: > On Wednesday, 11 Oct 2017 at 10:03, Jeremie Juste wrote: > > Hello, > > > > I'm making some exercices with answers and I'm writing the answers just > > after the questions in the following way > > [...] > > > There is an interesting package that does something similar in latex > > https://ctan.org/pkg/probsoln. you can access it here after unzipping. > > Probably the easiest way is to use this LaTeX class and enclose the > solutions in an org special block: > > --8<---------------cut here---------------start------------->8--- > #+latex_header: \usepackage{probsoln} > * first question > Do something. > #+begin_solution > here goes your solution > #+end_solution > --8<---------------cut here---------------end--------------->8--- > > > -- > : Eric S Fraga via Emacs 27.0.50, Org release_9.1.2-98-g0b8316 > --=20 J=C3=A9r=C3=A9mie Juste --001a114fa7a07fb605055b41c8be Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello,

Many thanks to you,
=
Best regards,

Jeremie

On Wed, Oct 11, 2017 at 11:07 AM, Eric= S Fraga <esflists@gmail.com> wrote:
On Wednesday, 11 Oct 2017 at 10:03, Jeremie = Juste wrote:
> Hello,
>
> I'm making some exercices with answers and I'm writing the ans= wers just
> after the questions in the following way

[...]

> There is an interesting package that does something similar in latex > https://ctan.org/pkg/probsoln. you can access it here after un= zipping.

Probably the easiest way is to use this LaTeX class and enclose the<= br> solutions in an org special block:

--8<---------------cut here---------------start------------->8--= -
#+latex_header: \usepackage{probsoln}
* first question
Do something.
#+begin_solution
here goes your solution
#+end_solution
--8<---------------cut here---------------end--------------->8--= -


--
: Eric S Fraga via Emacs 27.0.50, Org release_9.1.2-98-g0b8316



--
J=C3=A9r=C3=A9mie = Juste
--001a114fa7a07fb605055b41c8be--