Abstand vor und nach section ändern!?
Gern würde ich die Abstände vor und nach einer section ändern. Hab u.a. hier und hier was gefunden. Ein Minimalbeispiel:
Code:
\documentclass[a4paper,12pt]{scrartcl}
\usepackage[ngerman]{babel}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{blindtext}
\RedeclareSectionCommands[beforeskip=-.5\baselineskip,afterskip=.25\baselineskip]{section}
\begin{document}
\section*{Stifter}
\blindtext
\section*{Broch}
\blindtext
\section*{Musil}
\blindtext
\end{document}
Gibt leider u.a. die Fehlermeldung
Code:
Undefined control sequence. \RedeclareSectionCommands
Illegal unit of measure (pt inserted). ...ectionCommands[beforeskip=.2\baselineskip,a
Missing number, treated as zero. ....2\baselineskip,afterskip=.25\baselineskip]
Illegal unit of measure (pt inserted). ....2\baselineskip,afterskip=.25\baselineskip]
Was ist denn da los!?
Liste der Anhänge anzeigen (Anzahl: 1)
Ok, hab den CV mal hinter die letter Umgebung gesetzt. Jetzt hat sich u.a. noch eine Frage zum Abstand um eine \minisec{Überschrift} ergeben. Hier ein "Minimalbsp" (Bild im Anhang):
Code:
\documentclass[12pt,ngerman]{scrartcl}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{booktabs}
\usepackage{babel}
\usepackage{graphicx}
\usepackage{csquotes}
\usepackage{paralist}
\usepackage{xcolor,blindtext}
\usepackage{graphicx}
\usepackage {picins}
\usepackage{hyperref}
\usepackage{ltablex}
\usepackage[left=2.5cm,right=2cm]{geometry}
\usepackage[fromalign=right,fromphone,fromemail,frommobilephone,fromurl]{scrletter}
\begin{document}
\setkomavar{fromname}{Thorsten Köhler}
\setkomavar{fromaddress}{Zeppelinstr 78\\4600~Krems--Land \\AUSTRIA}
\setkomavar{fromphone}{+43 1 586947}
\setkomavar{frommobilephone}[Mobil: ]{+43 660 9213786}
\setkomavar{fromemail}{thorsten.koehler@mailbox.com}
\setkomavar{fromurl}[Internet: ]{www.thorstenkoehler.com}
\setkomavar{place}{Krems--Land}
\setkomavar{subject}{Bewerbung um die Stelle als Sales Manager, Ref.--Nr. 0123-4567}
\begin{letter}{Schmidt GmbH \\ Industriesteig 1 \\ 2705~Wiener Neustadt}
\opening{Sehr geehrte Damen und Herren,}
Brieftext...
\closing{Mit freundlichen Grüßen,}
\end{letter}
\clearpage
%----------------------------------------------------------------------------------------
% Lebenslauf
%----------------------------------------------------------------------------------------
\pagestyle{empty} % Removes page numbering
\parpic[r]{\includegraphics[width=4.5cm,height=6.5cm]{picture}}
\par{\noindent {\Huge Thorsten \textsc{Köhler}}\bigskip\par}
%----------------------------------------------------------------------------------------
% Persönliche Daten
%----------------------------------------------------------------------------------------
\minisec{Persönliche Daten}
\begin{tabular}[t]{rl}
Geburtsdatum: & 20. Mai 1988\\
Geburtsort: & Hamburg \\
Anschrift: & Bahnhofstr. 6\\
& 6900 Bregenz\\
Telefon: & +43 5574 32589\\
Mobil: & +43 0681 7130045\\
E--Mail: & \href{mailto:thorsten.koehler@mailbox.com}{thorsten.koehler@mailbox.com}\\
Staatsangehörigkeit: & Schweiz
\end{tabular}
%----------------------------------------------------------------------------------------
% Berufserfahrung
%----------------------------------------------------------------------------------------
\minisec{Berufserfahrung}
\begin{tabularx}{\textwidth}{@{}rX@{}}
01/2014--heute & \textbf{Assistent Project Manager} (Teilzeit) bei der Müller GmbH \\
& \footnotesize{Verantwortlich für Projektmanagement}\\
\addlinespace
%------------------------------------------------
02/2010--01/2013 & \textbf{Assistent Project Manager} bei der Schmidt GmbH \\
& \footnotesize{Unterstützung der Projektleitung bei der erfolgreichen Auslieferung von Kasperletheater. }\\
\addlinespace
%------------------------------------------------
06/2000--11/2011 & \textbf{Praktikant} bei der Fischer GmbH \\
\addlinespace
%------------------------------------------------
04/2008--09/2008 & \textbf{Studentische Hilfskraft} am Institut für Orientalistik\\
& \footnotesize{Tätigkeit als Tutor in der Lehrveranstaltung Jüdische Religionsgeschichte}\\
\addlinespace
%------------------------------------------------
06/1998--09/2002 & \textbf{Reitprofi und Reitlehrer} \\
& \footnotesize{Teilnahme an Spring--Derbys im In-- und Ausland. Ausbildung zum Pferdewirt und Tätigkeit als selbsständiger Reitlehrer.}
\end{tabularx}
%---------------------------------------------------------------------------------------
% Ausbildung
%---------------------------------------------------------------------------------------
\minisec{Ausbildung}
\begin{tabularx}{\textwidth}{rX}
04/1904--heute & \textbf{Doktorand} der Fakultät für Orientalistik an der der Universität Tübingen\\
& \footnotesize{Dissertation zum Thema: Verfassung und Verfassungsvertrag. Konstitutionelle Entwicklungsstufen in den USA und der EU}\\
\addlinespace
%------------------------------------------------
03/2011 & Abschluss als \textbf{Master of Science} an der Universität Wien (Gesamtnote 1,7) \\
& \footnotesize{Thema der Masterareit: \glqq{} Identifizierung und Isolierung neuartiger Oxygenasen aus Anreicherungskulturen mittels innovativer Screeningmethoden\grqq{}.}\\
\addlinespace
10/2002--03/2011 & \textbf{Masterstudiengang Maschinenbau} an der Uni Graz \\
& \footnotesize{Studienschwerpunkte in der numerischen und angewandten Bienenzucht.}\\
\multicolumn{2}{c}{} \\
\addlinespace
%------------------------------------------------
04/2014--07/2014 & Abschluss als \textbf{Bachelor of Science (B. Sc.)} an der an der Uni Graz im Studiengang Maschinen mit dem Schwerpunkt Dynamik und Schwingungslehre (Gesamtnote 2,0)\\
& \footnotesize{Thema der Bachelorarbeit: \glqq{}experimentelle Untersuchung der Schräganströmung von Störchen\grqq{}.}\\
\addlinespace
%------------------------------------------------
04/2008--03/2011 & \textbf{Bachelorstudium Maschinenbau} an der TU Graz mit der Studienrichtung Luft-- und Raumfahrttechnik. \\
\addlinespace
%------------------------------------------------
05/2007 & \textbf{Zeugnis der allgemeinen Hochschulreife} am Goethe--Gymnasium Wien
\end{tabularx}
%----------------------------------------------------------------------------------------
% EDV-Kenntnisse
%----------------------------------------------------------------------------------------
\minisec{EDV--Kenntnisse}
\begin{tabularx}{\textwidth}{rX}
Textverarbeitung & Microsoft Word (sehr gute Kenntnisse), \LaTeX{} (Grundkenntnisse) \\
\addlinespace
Präsentationsprogramm & Microsoft PowerPoint (sehr gute Kenntnisse)\\
\addlinespace
Tabellenkalkulation & Microsoft Excel (einschließlich VBA--Programmierung), LibreOffice Calc (gute Kenntnisse)\\
\addlinespace
Programmierkenntnisse & Java, MATLAB (gute Kenntnisse)\\
\addlinespace
Simulationssoftware & ANSYS Fluent, OpenFOAM (sehr gute Kenntnisse) \\
\addlinespace
CAD-Software & Solid Edge (sehr gute Kenntnisse)\\
\end{tabularx}
%----------------------------------------------------------------------------------------
% Sprachkenntnisse
%----------------------------------------------------------------------------------------
\minisec{Sprachkenntnisse}
\begin{tabular}{rl}
English, Thai (sehr gut) & \\
\end{tabular}
%----------------------------------------------------------------------------------------
% Hobbys und Interessen
%----------------------------------------------------------------------------------------
\minisec{Hobbys und Interessen}
\begin{tabular}{rl}
Oldimerrennen und Kochen & \\
\end{tabular}
\vspace{2cm}
\noindent
Musterstadt, \today
\end{document}
Der Abstand zwischen \minisec{Persönliche Daten} und tabular
Code:
\minisec{Persönliche Daten}
\begin{tabular}[t]{rl}
Geburtsdatum: & 20. Mai 1988\\
Geburtsort: & Hamburg \\
usw.
ist etwas kleiner als der Abstand zwischen einer \minisec{Überschrift} und einer darauffolgenden tabularx
Code:
\minisec{Berufserfahrung}
\begin{tabularx}{\textwidth}{@{}rX@{}}
01/2014--heute & \textbf{Assistent Project Manager} (Teilzeit) bei der Müller GmbH \\
& \footnotesize{Verantwortlich für Projektmanagement}\\
\addlinespace
usw.
Wie das Problem elegant lösen? Hab schon versucht aus der ersten tabular eine tabularx zu machen...
Abstand vor und nach section ändern
Hi,
im Original ist der Abstand 5px.
Somit würden 6px nicht wirklich viel Sinn machen.
Trage bitte mal folgenden Code in die additional.css ein und passe den Pixelwert entsprechend an.
Ich habe hier mal 14px eingetragen, damit ein signifikanter Unterschied zu bemerken ist
Code: