emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* how putting \begin{document} at the right place to export a specific latex class ?
@ 2018-06-11 12:42 Joseph Vidal-Rosset
  2018-06-11 14:01 ` John Kitchin
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Joseph Vidal-Rosset @ 2018-06-11 12:42 UTC (permalink / raw)
  To: emacs-orgmode list

Hello,

Here  is my  problem: for  a specific  latex class  (xxllp.cls), I  have
difficulties  to get  the \begin{document}  at the  right place  in this
add-to-list:

(add-to-list 'org-latex-classes
             '("xxllp"
               "\\documentclass\[oumk,xs]\{xxllp\}
 [NO-DEFAULT-PACKAGES]
 [NO-PACKAGES]
\\usepackage{amsmath}
\\usepackage{amssymb}
\\usepackage{blabla}
\\usepackage{blablabla}   
\\pagestyle{myheadings}\\markboth{Author}{Title of the paper}
	       \\LaLPonline{??} \\setcounter{page}{1} \\thispagestyle{LLPrrobezissn} \\label{p}
\\AuthorTitle{Joseph Vidal-Rosset}{\\uppercase{Title of the paper}}" 
               ("\\section\{%s\} . \\section*\{%s\}")
               ("\\subsection\{%s\} . \\subsection*\{%s\}")
	       ))


For this class, the \begin{document} should be just after
\\pagestyle{myheadings}\\markboth{Author}{Title of the paper}
and just before 
 \\LaLPonline{??} \\setcounter{page}{1} \\thispagestyle{LLPrrobezissn}
\\label{p}

but because I do not understand  clearly the syntax of the function, I
do not succeed and the export does not work correctly. 

Any suggestion? 

-- 
Joseph 

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2018-06-12  7:08 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-11 12:42 how putting \begin{document} at the right place to export a specific latex class ? Joseph Vidal-Rosset
2018-06-11 14:01 ` John Kitchin
2018-06-11 14:16   ` Joseph Vidal-Rosset
2018-06-11 14:23     ` John Kitchin
2018-06-11 15:29       ` Joseph Vidal-Rosset
2018-06-11 16:51         ` John Kitchin
2018-06-11 19:17 ` Nick Dokos
2018-06-11 22:58 ` Tim Cross
2018-06-12  7:08   ` Joseph Vidal-Rosset

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).