Add paragraphs
This commit is contained in:
parent
ae421a2701
commit
67611045ed
@ -12,7 +12,7 @@
|
||||
#+LATEX_CLASS: scrreprt
|
||||
#+LATEX_CLASS_OPTIONS: [a4paper, twoside, 11pt, onecolumn, bibliography=totoc, openright, appendixprefix=true]
|
||||
|
||||
#+OPTIONS: num:t toc:nil ':t *:t -:t ::t <:nil author:t date:t tags:nil todo:nil |:t H:2 title:nil
|
||||
#+OPTIONS: num:t toc:nil ':t *:t -:t ::t <:nil author:t date:t tags:nil todo:nil |:t H:4 title:nil
|
||||
|
||||
#+SELECT_TAGS: export
|
||||
#+EXCLUDE_TAGS: noexport
|
||||
@ -45,10 +45,18 @@
|
||||
("\\chapter{%s}" . "\\chapter*{%s}")
|
||||
("\\section{%s}" . "\\section*{%s}")
|
||||
("\\subsection{%s}" . "\\subsection*{%s}")
|
||||
("\\subsubsection{%s}" . "\\subsubsection*{%s}")
|
||||
("\\paragraph{%s}" . "\\paragraph*{%s}")
|
||||
))
|
||||
|
||||
|
||||
;; Remove automatic org heading labels
|
||||
(defun my-latex-filter-removeOrgAutoLabels (text backend info)
|
||||
"Org-mode automatically generates labels for headings despite explicit use of `#+LABEL`. This filter forcibly removes all automatically generated org-labels in headings."
|
||||
(when (org-export-derived-backend-p backend 'latex)
|
||||
(replace-regexp-in-string "\\\\label{sec:org[a-f0-9]+}\n" "" text)))
|
||||
(add-to-list 'org-export-filter-headline-functions
|
||||
'my-latex-filter-removeOrgAutoLabels)
|
||||
|
||||
;; Remove all org comments in the output LaTeX file
|
||||
(defun delete-org-comments (backend)
|
||||
(loop for comment in (reverse (org-element-map (org-element-parse-buffer)
|
||||
@ -57,8 +65,6 @@
|
||||
(setf (buffer-substring (org-element-property :begin comment)
|
||||
(org-element-property :end comment))
|
||||
"")))
|
||||
|
||||
;; Add to export hook
|
||||
(add-hook 'org-export-before-processing-hook 'delete-org-comments)
|
||||
|
||||
;; Use no package by default
|
||||
@ -151,6 +157,10 @@
|
||||
* Introduction
|
||||
* Test
|
||||
\minitoc
|
||||
**** Abstract
|
||||
|
||||
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
|
||||
|
||||
** Test
|
||||
A list:
|
||||
- acronyms acrshort:nass acrshort:mimo acrshort:lti [[acrfull:siso][Single-Input Single-Output (SISO)]]
|
||||
@ -163,13 +173,19 @@ A definition list:
|
||||
|
||||
Some Footnote[fn:1]
|
||||
|
||||
** blabla
|
||||
*** sdlfk
|
||||
** Section
|
||||
*** Sub section
|
||||
|
||||
*** sldkjf asdf
|
||||
**** lksdfjasd
|
||||
This is a sub section.
|
||||
|
||||
*** Sub section
|
||||
Start of the sub section
|
||||
**** Paragraph
|
||||
This is a paragraph
|
||||
**** lksdfjasd
|
||||
|
||||
**** lksdfjasd
|
||||
|
||||
** blabla
|
||||
* Source Blocks
|
||||
\minitoc
|
||||
|
14
readme.org
14
readme.org
@ -6,14 +6,16 @@
|
||||
* Todos
|
||||
|
||||
- [X] Title page
|
||||
- [ ] subfigures
|
||||
- [ ] tables
|
||||
- [ ] Full horizontal table
|
||||
- [ ] example file with everything
|
||||
- [X] Appendix
|
||||
- [ ] Understand why =usepackage{biblatex}= is automatically aded
|
||||
- [X] list of publications
|
||||
- [ ] abstract for each chapter
|
||||
- [ ] subfigures: make nice template for easy insertion [[file:~/.config/literate-dotfiles/emacs-snippets.org::*Subfigure][Subfigure]]
|
||||
- [ ] tables: make nice template for easy insertion [[file:~/.config/literate-dotfiles/emacs-snippets.org::*Table][Table]]
|
||||
- [ ] example file with everything
|
||||
- [ ] Understand why =\usepackage{biblatex}= is automatically added
|
||||
- [X] abstract for each chapter
|
||||
- [ ] Custom abstract for each chapter
|
||||
- [ ] TikZ config. Share variables/colors with manuscript?
|
||||
- [ ] Nice/Coherence color scheme
|
||||
|
||||
* Installation
|
||||
** Fonts
|
||||
|
14
setup.org
14
setup.org
@ -129,11 +129,7 @@ Use these with the proper bracket in order to ensure that they scale automatical
|
||||
\setkomafont{caption}{\small}
|
||||
\setkomafont{captionlabel}{\usekomafont{caption}}
|
||||
|
||||
|
||||
% Large number for chapter
|
||||
\renewcommand*{\chapterformat}{%
|
||||
\fontsize{50}{55}\selectfont\thechapter\autodot\enskip
|
||||
}
|
||||
\setcounter{secnumdepth}{\subsubsectionnumdepth}
|
||||
#+end_src
|
||||
|
||||
Improve chapter font colors and font size.
|
||||
@ -141,7 +137,9 @@ The following commands make chapter numbers BrickRed.
|
||||
#+begin_src latex
|
||||
\makeatletter
|
||||
\renewcommand*{\chapterformat}{ \mbox{\chapappifchapterprefix{\nobreakspace}{\color{BrickRed}\fontsize{40}{45}\selectfont\thechapter}\autodot\enskip}}
|
||||
\renewcommand\@seccntformat[1]{\color{BrickRed} {\csname the#1\endcsname}\hspace{0.3em}}
|
||||
% Section with color
|
||||
% \renewcommand\@seccntformat[1]{\color{BrickRed} {\csname the#1\endcsname}\hspace{0.3em}}
|
||||
\renewcommand\@seccntformat[1]{{\csname the#1\endcsname}\hspace{0.3em}}
|
||||
\makeatother
|
||||
#+end_src
|
||||
|
||||
@ -242,6 +240,10 @@ Also reduce the font-size
|
||||
Note that this is marked as deprecated for koma-script.
|
||||
#+begin_src latex
|
||||
\usepackage{minitoc}
|
||||
% Change section font
|
||||
\renewcommand{\mtcSfont}{\small}
|
||||
% Change indentation
|
||||
\setlength{\mtcindent}{0pt}
|
||||
% \usepackage[nottoc]{tocbibind}
|
||||
#+end_src
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user