emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <esflists@gmail.com>
To: Jeremie Juste <jeremiejuste@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Send subheading at the end of documents preserving the numbering
Date: Wed, 11 Oct 2017 10:07:54 +0100	[thread overview]
Message-ID: <87bmlet5lh.fsf@pinto.chemeng.ucl.ac.uk> (raw)
In-Reply-To: 87376qdsba.fsf@freegnu.noherd.org

[-- Attachment #1: Type: text/plain, Size: 794 bytes --]

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 194 bytes --]

  reply	other threads:[~2017-10-11  9:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-11  8:03 Send subheading at the end of documents preserving the numbering Jeremie Juste
2017-10-11  9:07 ` Eric S Fraga [this message]
2017-10-11  9:09   ` Jérémie Juste

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

  List information: https://www.orgmode.org/

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

  git send-email \
    --in-reply-to=87bmlet5lh.fsf@pinto.chemeng.ucl.ac.uk \
    --to=esflists@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=jeremiejuste@gmail.com \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).