I have the following two .tex files which won't compile:

\documentclass[a4paper, twoside, 14pt, pdftex, pdfa]{extreport}
\usepackage{comment, amsmath, amsthm, amssymb, multicol, graphicx, caption}
\usetikzlibrary{angles, quotes}


\caption{Výpočet odchylky dvou vektorů pomocí kosinové věty}


and man.tex:

\coordinate (o) at (1,1);
\coordinate (u) at (3,3);
\coordinate (x) at (6,1);
\draw[-latex] (o) -- (u);
\draw[-latex] (o) -- (x);
\draw[-latex] (x) -- (u);
\draw[color=black] (3,1.2) node {$\vec{v}$};
\draw[color=black] (4.92,2.2) node {$\vec{w}$};
\draw[color=black] (1.7,2) node {$\vec{u}$};
\path pic[draw=teal, angle radius=8.5mm, teal, angle eccentricity=1.04]{angle=x--o--u};
\draw[color=teal] (1.49,1.22) node {$\varphi$};

If I compile man.tex separately (with proper preamble), it works fine. Anyone able to spot the problem?

  • 5
    the "proper preamble" doesn't contain \usepackage[czech]{babel} ... (you need to disable the shorthands or use \usetikzlibrary{babel} Aug 3, 2023 at 11:07


You must log in to answer this question.

Browse other questions tagged .