From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: Send subheading at the end of documents preserving the numbering Date: Wed, 11 Oct 2017 10:07:54 +0100 Message-ID: <87bmlet5lh.fsf@pinto.chemeng.ucl.ac.uk> References: <87376qdsba.fsf@freegnu.noherd.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43167) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e2Czj-0007gG-5I for emacs-orgmode@gnu.org; Wed, 11 Oct 2017 05:08:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e2Czf-00030x-5S for emacs-orgmode@gnu.org; Wed, 11 Oct 2017 05:08:03 -0400 Received: from mail-wm0-x22f.google.com ([2a00:1450:400c:c09::22f]:44161) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e2Cze-0002zg-Ut for emacs-orgmode@gnu.org; Wed, 11 Oct 2017 05:07:59 -0400 Received: by mail-wm0-x22f.google.com with SMTP id 196so18930995wma.1 for ; Wed, 11 Oct 2017 02:07:57 -0700 (PDT) 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 Cc: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable 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: =2D-8<---------------cut here---------------start------------->8--- #+latex_header: \usepackage{probsoln} * first question Do something. #+begin_solution here goes your solution #+end_solution =2D-8<---------------cut here---------------end--------------->8--- =2D-=20 : Eric S Fraga via Emacs 27.0.50, Org release_9.1.2-98-g0b8316 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQSPXCedOQfhSlwpVw3IkZPY//z2fQUCWd3fagAKCRDIkZPY//z2 fTerAKCHp4c3Lga2AKwmXv6oQQCCkIGafACghRk63Ucyepv1xkGJDhj20iGJdFQ= =lWoc -----END PGP SIGNATURE----- --=-=-=--