emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Not LaTeX now, trying to use org-mode


From: Thomas S. Dye
Subject: Re: [O] Not LaTeX now, trying to use org-mode
Date: Wed, 03 Dec 2014 11:01:36 -1000

Nick Dokos <address@hidden> writes:

> The italic paragraph spread over two lines will work, but if you spread
> it over three lines, it won't. You can tweak this (and other emphasis
> settings) by changing org-emphasis-regexp-components, but that's a
> somewhat hazardous and error-prone process - search the list for more.

Another approach might define a LaTeX environment for this, then use
blocks in Org mode.

The following four line paragraph gets set in italics.

,------------------------------------------------------------------------
| #+LATEX_CLASS: article                                                 
| #+LATEX_HEADER: \newenvironment{myitalics}{\itshape}{\par}             
|                                                                        
| * Italic blocks                                                        
| #+BEGIN_myitalics                                                      
| The italic paragraph spread over two lines will work, but if you spread
| it over three lines, it won't. You can tweak this (and other emphasis  
| settings) by changing org-emphasis-regexp-components, but that's a     
| somewhat hazardous and error-prone process - search the list for more. 
| #+END_myitalics                                                        
`------------------------------------------------------------------------

hth,
Tom

-- 
Thomas S. Dye
http://www.tsdye.com



reply via email to

[Prev in Thread] Current Thread [Next in Thread]