From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Feature Proposal: Titled Paragraphs Date: Wed, 23 Oct 2019 18:44:40 +0200 Message-ID: <87k18v5s3r.fsf@nicolasgoaziou.fr> References: <3eb58af3-c03b-4225-ec31-15321c05ceff@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:51722) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iNJke-0006V8-Cv for emacs-orgmode@gnu.org; Wed, 23 Oct 2019 12:44:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iNJkc-0007kq-TH for emacs-orgmode@gnu.org; Wed, 23 Oct 2019 12:44:47 -0400 Received: from relay7-d.mail.gandi.net ([217.70.183.200]:53307) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iNJkc-0007hX-NP for emacs-orgmode@gnu.org; Wed, 23 Oct 2019 12:44:46 -0400 In-Reply-To: <3eb58af3-c03b-4225-ec31-15321c05ceff@gmail.com> (Christoph Michelbach's message of "Wed, 23 Oct 2019 15:13:09 +0200") 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: Christoph Michelbach Cc: emacs-orgmode@gnu.org Hello, Christoph Michelbach writes: > I often write documents in org mode that are going to be exported to > PDF via LaTeX and find myself writing something like > > \paragraph{Lorem Ipsum} Duis ac nibh cursus, elementum ipsum quis, > faucibus sapien. > > \paragraph{Interdum} Cras volutpat, sem eu semper ultrices, risus > lacus tempor erat, eu pulvinar magna arcu sit amet massa. > > a lot, therefore mixing very simple Latex into my org documents simply > because I want titled paragraphs. This comes with the further > disadvantage that there is no syntax highlighting for it while > editing. There is nothing wrong with using simple LaTeX in Org files, if you intent to export to PDF. Org doesn't provide equivalents for \bigskip, or \vspace, or \hfill=E2=80=A6 Anyhow, you could use a macro, if you want to make it look more Org-ish, or try to use keywords, e.g., #+attr_latex: :title Whatever Foo... Changing the syntax is the very last thing to consider, IMO. Regards, --=20 Nicolas Goaziou