von Ashriel » Sa 24. Jun 2023, 11:52
Hey ich bin gerade meine Bachelorarbeit am schreiben und habe ein Problem mit der Formatierung.
Ich habe praktisch eine Vorlage von meinem Institut bekommen.
Nach dem ich sämtliche Fehlermeldungen beseitigt habe funktioniert alles, jedoch gibt er mir in der pdf alle Umlaute ganz komisch aus.
Ich benutze Texmaker und Miktex.
Hier sind einmal die Inputs vor Dokumentbeginn, ich hoffe das reicht. (Ich hab auch geguckt, mein Texmaker ist auf Utf8 convertiert)
\documentclass[a4paper,DIV18,BCOR=0mm,twoside=false,12pt,parskip=half,headsepline,headings=normal,headinclude]{scrbook}
\usepackage[ngerman]{babel}
\usepackage[Utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[plainheadsepline]{scrlayer-scrpage}
\usepackage{pdfpages}
\usepackage{graphicx}
\usepackage[labelfont=bf]{caption}
\usepackage{hyperref}
\usepackage[all]{hypcap}
\usepackage[autostyle]{csquotes}
\usepackage{listings}
\usepackage{amsmath,bm,amssymb,amsfonts,amsthm,amsbsy,nccmath}
\usepackage{dsfont}
\usepackage{trfsigns}
\usepackage{eurosym}
\usepackage{color}
\usepackage{xcolor}
\usepackage{tikz}
\usepackage{pgfplots}
\usepackage{booktabs}
\usepackage{changepage}
\automark{chapter}
\pagestyle{scrheadings}
\renewcommand*{\chapterpagestyle}{plain}
\clearscrheadfoot
\ihead{\headmark}
\ohead[Page \pagemark]{Page \pagemark}
\pgfplotsset{compat=newest}
\pgfplotsset{plot coordinates/math parser=false}
\newlength\figureheight
\newlength\figurewidth
\usetikzlibrary{plotmarks}
\usetikzlibrary{matrix}
\setlength{\tabcolsep}{5pt}
\renewcommand*{\arraystretch}{1.2}
\setlength{\itemsep}{0ex plus0.2ex}
\setlength{\parindent}{0ex}
\setlength{\belowcaptionskip}{0.4cm}
\setlength{\abovecaptionskip}{0.4cm}
\newcommand{\un}{\underline}
\newcommand{\bg}[1]{\mbox{\boldmath$#1$\unboldmath}} % Fette Griechen
\newcommand{\pppp}[1]{#1\,\ddot{}\;\,\ddot{}}
\newcommand{\aktbild}[2]{\includegraphics[width=#1\columnwidth]{graph/{#2}}}
\newcommand{\bild}[2]{\includegraphics[width=#1\columnwidth]{graph/{#2}}}
\lstdefinestyle{MyLatex} {
% language=[LaTeX]TeX,
language=[AlLaTeX]TeX,
breaklines=true, % sets automatic line breaking
basicstyle=\ttfamily,
texcsstyle=*\color{red!50!black},
morekeywords={frontmatter, phantomsection, pdfbookmark, tableofcontents, bild}, % if you want to add more keywords to the set
alsoletter={!},
moretexcs={!},
% moredelim=*[s][\color{black}]{[}{]},%
%% moredelim=*[s][\color{red}]{\\[}{\\]},%
moredelim=*[s][\color{black}]{\{}{\}},
tabsize=1, % sets default tabsize to 2 spaces
breakatwhitespace=false, % sets if automatic breaks should only happen at whitespace
% frame=single, % adds a frame around the code
keepspaces=true,
showspaces=false, % show spaces everywhere adding particular underscores; it overrides 'showstringspaces'
showstringspaces=false, % underline spaces within strings only
showtabs=false % show tabs within strings adding particular underscores % keeps spaces in text, useful for keeping indentation of code (possibly needs columns=flexible)
}
Ich hoffe mir kann hier wer helfen und ich habe alles entsprechend der Richtlinen hier gepostet.
Mit freundlichen Grüßen,
Maximilian Pawlak
Hey ich bin gerade meine Bachelorarbeit am schreiben und habe ein Problem mit der Formatierung.
Ich habe praktisch eine Vorlage von meinem Institut bekommen.
Nach dem ich sämtliche Fehlermeldungen beseitigt habe funktioniert alles, jedoch gibt er mir in der pdf alle Umlaute ganz komisch aus.
Ich benutze Texmaker und Miktex.
Hier sind einmal die Inputs vor Dokumentbeginn, ich hoffe das reicht. (Ich hab auch geguckt, mein Texmaker ist auf Utf8 convertiert)
[code]\documentclass[a4paper,DIV18,BCOR=0mm,twoside=false,12pt,parskip=half,headsepline,headings=normal,headinclude]{scrbook}
\usepackage[ngerman]{babel}
\usepackage[Utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[plainheadsepline]{scrlayer-scrpage}
\usepackage{pdfpages}
\usepackage{graphicx}
\usepackage[labelfont=bf]{caption}
\usepackage{hyperref}
\usepackage[all]{hypcap}
\usepackage[autostyle]{csquotes}
\usepackage{listings}
\usepackage{amsmath,bm,amssymb,amsfonts,amsthm,amsbsy,nccmath}
\usepackage{dsfont}
\usepackage{trfsigns}
\usepackage{eurosym}
\usepackage{color}
\usepackage{xcolor}
\usepackage{tikz}
\usepackage{pgfplots}
\usepackage{booktabs}
\usepackage{changepage}
\automark{chapter}
\pagestyle{scrheadings}
\renewcommand*{\chapterpagestyle}{plain}
\clearscrheadfoot
\ihead{\headmark}
\ohead[Page \pagemark]{Page \pagemark}
\pgfplotsset{compat=newest}
\pgfplotsset{plot coordinates/math parser=false}
\newlength\figureheight
\newlength\figurewidth
\usetikzlibrary{plotmarks}
\usetikzlibrary{matrix}
\setlength{\tabcolsep}{5pt}
\renewcommand*{\arraystretch}{1.2}
\setlength{\itemsep}{0ex plus0.2ex}
\setlength{\parindent}{0ex}
\setlength{\belowcaptionskip}{0.4cm}
\setlength{\abovecaptionskip}{0.4cm}
\newcommand{\un}{\underline}
\newcommand{\bg}[1]{\mbox{\boldmath$#1$\unboldmath}} % Fette Griechen
\newcommand{\pppp}[1]{#1\,\ddot{}\;\,\ddot{}}
\newcommand{\aktbild}[2]{\includegraphics[width=#1\columnwidth]{graph/{#2}}}
\newcommand{\bild}[2]{\includegraphics[width=#1\columnwidth]{graph/{#2}}}
\lstdefinestyle{MyLatex} {
% language=[LaTeX]TeX,
language=[AlLaTeX]TeX,
breaklines=true, % sets automatic line breaking
basicstyle=\ttfamily,
texcsstyle=*\color{red!50!black},
morekeywords={frontmatter, phantomsection, pdfbookmark, tableofcontents, bild}, % if you want to add more keywords to the set
alsoletter={!},
moretexcs={!},
% moredelim=*[s][\color{black}]{[}{]},%
%% moredelim=*[s][\color{red}]{\\[}{\\]},%
moredelim=*[s][\color{black}]{\{}{\}},
tabsize=1, % sets default tabsize to 2 spaces
breakatwhitespace=false, % sets if automatic breaks should only happen at whitespace
% frame=single, % adds a frame around the code
keepspaces=true,
showspaces=false, % show spaces everywhere adding particular underscores; it overrides 'showstringspaces'
showstringspaces=false, % underline spaces within strings only
showtabs=false % show tabs within strings adding particular underscores % keeps spaces in text, useful for keeping indentation of code (possibly needs columns=flexible)
}[/code]
Ich hoffe mir kann hier wer helfen und ich habe alles entsprechend der Richtlinen hier gepostet.
Mit freundlichen Grüßen,
Maximilian Pawlak