Skip to content

Commit 6a566cc

Browse files
solved 1
1 parent 8a1de51 commit 6a566cc

3 files changed

Lines changed: 30 additions & 0 deletions

File tree

preamble.tex

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
\usepackage{amsmath}
2+
\usepackage{amssymb}
3+
\usepackage{amsthm}
4+
\usepackage{tikz-cd}
5+
\usepackage{tikz}
6+
7+
\usetikzlibrary{positioning}
8+
\theoremstyle{definition}
9+
\newtheorem{exc}[section]{Exercise}
10+
\newcommand{\exn}[1]{\setcounter{section}{#1}\addtocounter{section}{-1}\exc}
11+
\newcommand*{\ExcNum}{28}

solutions.tex

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
\documentclass[a4paper,12pt]{exam}
2+
\input{preamble}
3+
\begin{document}
4+
5+
\foreach \c in {1,2,...,\ExcNum}{%
6+
\IfFileExists{solutions/\c.tex} {%
7+
\exn{\c} \input{solutions/\c.tex}%
8+
}%
9+
}%
10+
\end{document}

solutions/1.tex

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
\quad
2+
\begin{center}\begin{tikzcd}
3+
B \arrow[r, "g"] &
4+
A \arrow[r, "h"]
5+
\arrow["f_1"', loop, distance=2em, in=125, out=55]
6+
\arrow["f_2"', loop, distance=2em, in=305, out=235] &
7+
C
8+
\end{tikzcd}\end{center}
9+
Let there be two such morphs $f_1$ and $f_2$, such that for all $g$, we have $f_1 g = g$, particularly $f_1 f_2 = f_2$, and we also have $h f_2 = h$, particularly $f_1 f_2 = f_1$. Obviously, we would have $f_1 = f_2$.

0 commit comments

Comments
 (0)