emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Converting a Dissertation Template from docx to .org to use for LaTeX
@ 2015-05-04 15:58 Paul Harper
  2015-05-04 16:17 ` Rasmus
  2015-05-04 16:20 ` Ken Mankoff
  0 siblings, 2 replies; 7+ messages in thread
From: Paul Harper @ 2015-05-04 15:58 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 1688 bytes --]

To All,

I am doing an online MA in War in the Modern World from Kings College London
<http://www.kcl.ac.uk/sspp/departments/warstudies/study/wsonline/programmes/wimw.aspx>.
Due to my masochism and a desire to learn about reproducible research I
have been learning to use Org-Mode for writing papers. I can now write my
regular essays complete with working Biblatex bibliographies (which eluded
me for ages).

Apparently I am not the only military history person who has done their
dissertation in LaTeX
<http://airminded.org/2005/11/18/latex-the-pain-the-pleasure/>but perhaps a
rarity.

My problem is that creating an essay template was easy. The Kings College
London Dissertation has very specific requirements. One of the more
difficult for me is getting a preamble with "Dissertation submitted to the
Department of War Studies, School of Social Science and Public Policy,
King’s College London" above the Title. I've tried some improvisations
using the title  but they have ended up a bit odd.

I tried using writer2latex to make some LaTeX to use in the Org-File. I
guess I need some pointers.

How do I get the preamble above the title?

How do I make the fonts smaller in the title?

I need some items to appear on a page of their own. (ie. Ethical Approval,
Abstract, Declaration, Table of Contents.) How do I do that?

I'll attach my Org-File, the Kings Cross Dissertation Template and a .pdf
generated from Latex.

Thanks for nay suggestions.

-- 
Regards,


Paul

about.me/pauljamesharper

GnuPG ID:0x058884CC

Women and cats will do as they please, and men and dogs should relax and
get used to the idea."

Robert Heinlein

[-- Attachment #1.2: Type: text/html, Size: 2253 bytes --]

[-- Attachment #2: Disseration.org --]
[-- Type: application/octet-stream, Size: 6876 bytes --]

#+Title:Dissertation submitted to the Department of War Studies, School of Social Science and Public Policy, King's College London, as partial fulfilment of the requirements for the degree of MA War in the Modern World/Airpower in the Modern World \textit{(delete as appropriate)}. 
#+DATE:
#+OPTIONS:  toc:nil skip:nil ^:nil   author:nil timestamp:nil
#+LATEX_CLASS: article
#+LATEX_CLASS_OPTIONS: [12pt, a4paper]
#+LATEX_HEADER: \usepackage[scaled=.875]{inconsolata}
#+LATEX_HEADER: \usepackage{lipsum}
#+LaTeX_HEADER: \usepackage{fancyhdr} %For headers and footers
#+LaTeX_HEADER: \pagestyle{fancy} %For headers and footers
#+LaTeX_HEADER: \usepackage{lastpage} %For getting page x of y
#+LaTeX_HEADER: \usepackage{url} %Formatting of yrls
#+LaTeX_HEADER: \lhead{}
#+LaTeX_HEADER: \chead{}
#+LaTeX_HEADER: \rhead{}
#+LaTeX_HEADER: \lfoot{}
#+LaTeX_HEADER: \cfoot{}
#+LaTeX_HEADER: \rfoot{\thepage\ of \pageref{LastPage}}

# Set the spacing to double, as required in most papers.
#+LATEX_HEADER: \usepackage{setspace}
#+LATEX_HEADER: \doublespacing

# Fix the margins
#+LATEX_HEADER: \usepackage[margin=1in]{geometry}

# This line makes lists work better:
# It eliminates whitespace before/within a list and pushes it to the left margin
#+LATEX_HEADER: \usepackage{enumitem}
#+LATEX_HEADER: \setlist[enumerate,itemize]{noitemsep,nolistsep,leftmargin=*}

# I always include this for my bibliographies
#+LaTeX_HEADER: \usepackage[british]{babel}
#+LaTeX_HEADER: \usepackage{csquotes}
#+LaTeX_HEADER: \usepackage[backend=biber,style=apa,url=true, doi=false, isbn=false, eprint=false, maxbibnames=10, maxcitenames=3,language=british]{biblatex}
#+LaTeX_HEADER: \DeclareLanguageMapping{british}{british-apa}
#+LATEX_HEADER: \bibliography{/home/felixdz/Dropbox/bibliography/references}

#+BEGIN_LaTeX
\setlength{\parindent}{0em}
#+END_LaTeX

#+BEGIN_LATEX

{\centering\bfseries
[Your Title - Without Brackets]
\par}

{\centering
[Firstname] [Lastname]
\par}

{\centering
[\href{mailto:email.address@kcl.ac.uk}{email.address@kcl.ac.uk}]
\par}

{\centering
Word count: [ \ \ ] (15,000 maximum)
\par}

{\centering
Submitted: \today
\par}

{\centering
Supervisor: [Your supervisor]
\par}


\bigskip


\bigskip


\bigskip
#+END_LATEX

#+BEGIN_LATEX
\clearpage

#+END_LATEX

#+BEGIN_LATEX
\clearpage
\clearpage{\bfseries
Declaration}

    a) I confirm that my research [title of dissertation] did or did
    not {(delete as appropriate)} require ethical approval. (If your
    research did require approval, please copy and paste the text of
    the email granting you approval below. Be sure to include your REC
    reference number.)


    b) I confirm that all research records (e.g. interview data and
    consent forms) will be held securely for the required period of
    time (12 months) and then destroyed in accordance with College
    guidelines.




    Yes [ ]      No [ ]




Note that the department will assume responsibility for this if you send
your research records to us. For KCL guidance on research data
management, please see:
\url{http://www.kcl.ac.uk/library/using/info-management/rdm/res-guide.aspx}
#+END_LATEX

#+BEGIN_LATEX
\clearpage{\bfseries
Abstract}

[Summary of your dissertation, stating the main argument and describing
content, no more than 300 words]

#+END_LATEX



#+BEGIN_LATEX
\clearpage{\bfseries
Declaration}

This dissertation is the sole work of the author, and has not been
accepted in any previous application for a degree; all quotations and
sources of information have been acknowledged.

Signed\ \ [\ \ ]\ \  Date\ \ [\ \ ]

{\itshape
(A typed signature is acceptable for electronic submissions.)}


\bigskip
#+END_LATEX

#+TOC: headlines 2

* Introduction
* Theory
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec
hendrerit tempor tellus. Donec pretium posuere tellus. Proin quam
nisl, tincidunt et, mattis eget, convallis nec, purus. Cum sociis
natoque penatibus et magnis dis parturient montes, nascetur ridiculus
mus. Nulla posuere. Donec vitae dolor. Nullam tristique diam non
turpis. Cras placerat accumsan nulla. Nullam rutrum. Nam vestibulum[1]
accumsan nisl.

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec
hendrerit tempor tellus. Donec pretium posuere tellus. Proin quam
nisl, tincidunt et, mattis eget, convallis nec, purus. Cum sociis
natoque penatibus et magnis dis parturient montes, nascetur ridiculus
mus. Nulla posuere. Donec vitae dolor. Nullam tristique diam non
turpis. Cras placerat accumsan nulla. Nullam rutrum. Nam vestibulum
accumsan nisl.[2]


* History
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec
hendrerit tempor tellus. Donec pretium posuere tellus. Proin quam
nisl, tincidunt et, mattis eget, convallis nec, purus. Cum sociis
natoque penatibus et magnis dis parturient montes, nascetur ridiculus
mus. Nulla posuere. Donec vitae dolor. Nullam tristique diam non
turpis. Cras placerat accumsan nulla. Nullam rutrum. Nam vestibulum
accumsan nisl.\textcite{schneier_secrets_2004}[fn:2]

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec
hendrerit tempor tellus. Donec pretium posuere tellus. Proin quam
nisl, tincidunt et, mattis eget, convallis nec, purus. Cum sociis
natoque penatibus et magnis dis parturient montes, nascetur ridiculus
mus. Nulla posuere. Donec vitae dolor. Nullam tristique diam non
turpis. Cras placerat accumsan nulla. Nullam rutrum. Nam vestibulum
accumsan nisl.

* Case Study
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec
hendrerit tempor tellus. Donec pretium posuere tellus. Proin quam
nisl, tincidunt et, mattis eget, convallis nec, purus. Cum sociis
natoque penatibus et magnis dis parturient montes, nascetur ridiculus
mus. Nulla posuere. Donec vitae dolor. Nullam tristique diam non
turpis. Cras placerat accumsan nulla. Nullam rutrum. Nam vestibulum
accumsan nisl.[3]

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec
hendrerit tempor tellus. Donec pretium posuere tellus. Proin quam
nisl, tincidunt et, mattis eget, convallis nec, purus. Cum sociis
natoque penatibus et magnis dis parturient montes, nascetur ridiculus
mus. Nulla posuere. Donec vitae dolor. Nullam tristique diam non
turpis. Cras placerat accumsan nulla. Nullam rutrum. Nam vestibulum
accumsan nisl.

* Conclusion
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec
hendrerit tempor tellus. Donec pretium posuere tellus. Proin quam
nisl, tincidunt et, mattis eget, convallis nec, purus. Cum sociis
natoque penatibus et magnis dis parturient montes, nascetur ridiculus
mus. Nulla posuere. Donec vitae dolor. Nullam tristique diam non
turpis. Cras placerat accumsan nulla. Nullam rutrum. Nam vestibulum
accumsan nisl.



* Bibliography
\printbibliography [heading=none]

* Footnotes

[1] \textcite{schneier_battle_2013}

[2] \textcite{singer_cybersecurity_2014}

[3] \textcite{schneier_liars_2012}



[-- Attachment #3: Disseration.pdf --]
[-- Type: application/pdf, Size: 88938 bytes --]

[-- Attachment #4: DissertationTemplate2.docx --]
[-- Type: application/vnd.openxmlformats-officedocument.wordprocessingml.document, Size: 14774 bytes --]

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

end of thread, other threads:[~2015-05-08 19:06 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-04 15:58 Converting a Dissertation Template from docx to .org to use for LaTeX Paul Harper
2015-05-04 16:17 ` Rasmus
2015-05-04 16:20 ` Ken Mankoff
2015-05-05 21:18   ` Paul Harper
2015-05-06 10:28     ` Rasmus
2015-05-06 13:07       ` Ken Mankoff
2015-05-08 19:05       ` Eduardo Mercovich

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