Added function to next and previous section in latex-mode

clean_emacs
TuDatTr 2017-12-29 01:46:15 +01:00
parent 8d258d8382
commit f28c0f281c
15 changed files with 49 additions and 11 deletions

View File

@ -48,7 +48,7 @@ hyperlinks = true
#foreground_bold = #ffffff
# 20% background transparency (requires a compositor)
background = rgba(63, 63, 63, 0.8)
background = rgba(63, 63, 63, 0.4)
# If unset, will reverse foreground and background
#highlight = #2f2f2f

12
.emacs
View File

@ -49,6 +49,13 @@
((= 16 opt) "s"))))
(insert (shell-command-to-string (concat "xsel -o -" opt))))))
;; Latex
(fset 'next-section
(lambda (&optional arg) "Keyboard macro." (interactive "p") (kmacro-exec-ring-item (quote ("\\sec " 0 "%d")) arg)))
(fset 'prev-section
(lambda (&optional arg) "Keyboard macro." (interactive "p") (kmacro-exec-ring-item (quote ("\\sec " 0 "%d")) arg)))
;; Theme
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
@ -67,6 +74,7 @@
'(font-latex-bold-face ((t (:foreground "brightcyan"))))
'(font-latex-sedate-face ((t (:foreground "brightcyan"))))
'(font-lock-comment-face ((t (:foreground "color-142"))))
'(font-lock-doc-face ((t (:foreground "color-242"))))
'(font-lock-keyword-face ((t (:foreground "brightcyan" :weight bold))))
'(font-lock-type-face ((t (:foreground "green")))))
@ -83,6 +91,10 @@
(setq TeX-auto-save t)
(setq TeX-parse-self t)
(setq-default TeX-master nil)
(eval-after-load 'latex
'(define-key LaTeX-mode-map (kbd "C-c n") 'next-section))
(eval-after-load 'latex
'(define-key LaTeX-mode-map (kbd "C-c p") 'prev-section))
;; Tex To PDF
(require 'tex)
(TeX-global-PDF-mode t)

View File

@ -1,2 +1 @@
cc-mode
c-lang-common

Binary file not shown.

View File

@ -2,10 +2,9 @@
# name: fsrtable
# key: fsrtable
# --
Abstimmung
\\\\
\begin{tabular}{ccc}
\toprule
Ja & Nein & Enthaltung \\\\\midrule
3 & 1 & 9 \\\\\bottomrule
\end{tabularx}
0 & 0 & 0 \\\\\bottomrule
\end{tabular}

View File

@ -47,21 +47,48 @@
\subsection{Eröffnung der Sitzung / Feststellung der Beschlussfähigkeit}
\begin{itemize}
\item anwesende Fachschaftsräte:
\item anwesende Fachschaftsräte: % Nach dem FSR 2017/18
\begin{itemize}
\item
\item Jens-Rene Giesen
\item Nicolas Hasselhuhn
\item Ella Pohl
\item Johannes Waltmann
\item Mady Reimers
\item Annika Bendel
\item J\"oran Hesse
\item Marcel Zutter % Marecel Zutter
\item Hilal Bektas
\item Sebastian D\"omckes
\item Marvin Prochzka
\item Tobias Braun
\end{itemize}
\item abwesende Fachschaftsräte:
\begin{itemize}
\item
\item Niemand
\end{itemize}
\item anwesende Helfer:
\begin{itemize}
\item
\item Sarah Delfing
\item Roman Heger
\item Christoph Anders
\item Jana Schmitz
\item Tobias Vennemann
\item Trutz Beckerpape
\item Markus Heikamp
\item Tim-Dennis Slotta
\item Tim Karbe
\item David Steimel
\item Tobias Stottrop
\item Stefan Lewin
\item Jan Sellerbeck
\end{itemize}
\item anwesende G\"aste:
\begin{itemize}
\item B\"arserker \heart
\end{itemize}
\item Die Beschlussfähigkeit wurde festgestellt.
\end{itemize}

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
*~
\#*\#
*.log
fsrtemplate