0

I have checked the Miktex Package Manager and the package sourcesanspro is already installed. But when I put "\usepackage[default]{sourcesanspro}" into my code, Texmaker says: "Sorry, but miktex-makemf did not succed for the following reason: The SourceSansPro-Regular-Lf-t1-base source file could not be found. ...."

Can someone help, please?

 \documentclass[a4paper]{scrbook}


%%% === PAKETE  === %%%
%% --- Allgemein --- %%
\usepackage[utf8]{inputenc}                                                         % Sonderzeichen
\usepackage{textcomp}
\usepackage[T1]{fontenc}                                                            % westeuropäische Zeichen
\usepackage[english,german,ngerman]{babel}                                          % Rechtschreibung catalan,
\usepackage{lmodern}                                                                % Verbesserung Lesbarkeit Schrift
\usepackage{scrlayer-scrpage}       
\usepackage{microtype}                                                              % Verbesserung Schriftbild
\usepackage{ragged2e}
\usepackage[format=hang,skip=2.5pt,justification=RaggedRight,singlelinecheck=false,labelfont=bf]{caption}
\usepackage{etoolbox}
\usepackage{booktabs}
\newcommand{\tabitem}{~~\llap{\textbullet}~~}                                       % Bulletpoints in Tabelle
\newcommand\mc[1]{\multicolumn{2}{p{\dimexpr0.85\linewidth-3\tabcolsep\relax}}{#1}}
\usepackage{pdflscape}
\usepackage{lscape}
\usepackage{tabularx}
\usepackage{tabulary}
\usepackage{longtable}
\usepackage{tabu}
\usepackage{array}
\usepackage[figuresright]{rotating}                                                 
\usepackage{enumitem}

\usepackage[default]{sourcesanspro}


% -- Nummerierung/Benennung von Tabellen/Grafiken - %
    \renewcaptionname{ngerman}{\figurename}{Abb.}
    \renewcaptionname{ngerman}{\tablename}{Tab.}


%% --- Grafiken erstellen --- %%
\usepackage{fp}
\usepackage{tikz}
\usepackage{xcolor}
\usetikzlibrary{positioning,shadings}
\usetikzlibrary{arrows.meta}
\usetikzlibrary{arrows}
\usetikzlibrary{shapes}
\usetikzlibrary{decorations.pathmorphing}
\usetikzlibrary{decorations.pathreplacing}
\usetikzlibrary{decorations.shapes}
\usetikzlibrary{decorations.text}
\usetikzlibrary{calc}

\usepackage{pgfplots}
\pgfplotsset{compat=1.8}


\usepackage[active,tightpage]{preview}
\PreviewEnvironment{tikzpicture}

\begin{document}

\begin{center}
        \scalebox{3}{

\begin{tikzpicture}[domain=-500:500,smooth,node distance = 0cm, auto]


\node [anchor=center] at (0,0) {Verlust};



\end{tikzpicture}}
\end{center}
\end{document}
  • Call on a command line updmap. – Ulrike Fischer Dec 1 '17 at 17:37
  • @UlrikeFischer: Thank you very much. Now it works fine. – TRJW Dec 2 '17 at 19:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.