%
%	gbb60166@gmail.com	https://unilab.gbb60166.jp/prekou/prekou.htm
%
% aspectratio= は 1610, 169, 149, 54, 32 の中から選べる（省略時は 43）
% C:\w32tex\share\texmf\tex\latex\beamer\beamer.cls
%\documentclass[17pt,dvipdfmx,hyperref={pdfpagemode=FullScreen},aspectratio=169]{beamer}
\documentclass[17pt,dvipdfmx,aspectratio=169]{beamer}
% pdfの栞の字化けを防ぐ
%\AtBeginDvi{\special{pdf:tounicode EUC-UCS2}}
% テーマ
\usetheme{Copenhagen}
% navi. symbolsは目立たないが，dvipdfmxを使うと機能しないので非表示に
\setbeamertemplate{navigation symbols}{} 
\usepackage{bxdpx-beamer,pxjahyper,minijs}
%\usepackage{graphicx}
%\usepackage{amsmath}
%\usepackage{amssymb}
%\usepackage{tkokugo,furikana,tsayusen,shiika,sfkanbun,jdkintou,plext}
\usepackage{furikana,utf,bm,type1cm}
%\usepackage{tikzsymbols}
%\usepackage[dvipdfmx]{graphicx}%
\def\pgfsysdriver{pgfsys-dvipdfmx.def}%（graphicxパッケージを使用しない場合はこの行を有効に）
%\def\pgfsysdriver{pgfsys-dvips.def}%デフォルト
\usepackage{tikz}%（これで、pgfとpgfforが読み込まれます。）
%\usepackage{tikz-3dplot}
\usetikzlibrary{calc}
%\usetikzlibrary{arrows.meta,patterns,intersections,through,backgrounds}
%\usepackage{pgfplots}
%\usepackage{animate}
%\usepackage{pgfplots}
%\pgfplotsset{compat=newest}
%\pgfplotsset{compat=newest, every axis/.append style={line width=1pt}}
%\PassOptionsToPackage{dvipdfmx}{graphicx}
%\PassOptionsToPackage{dvipdfmx}{color}
\nofiles

% フォントはお好みで
%\usepackage{txfonts}

\mathversion{bold}
\renewcommand{\familydefault}{\sfdefault}
% ■ 以前は{\bf }とかしてましたが \seriesdefault で一気に
%    変更出来ることがわかりました。2017/3/3
%    ソースも書き換えるつもりですが、見落として{\bf }が
%    残ったままになるかもしれません。
\renewcommand{\seriesdefault}{bx}
\renewcommand{\kanjifamilydefault}{\gtdefault}
\setbeamerfont{title}{size=\normalsize,series=\bfseries}
\setbeamerfont{frametitle}{size=\normalsize,series=\bfseries}
\setbeamertemplate{frametitle}[default][center]
\usefonttheme{professionalfonts}

% 参考にしたURL
% http://windom.phys.hirosaki-u.ac.jp/fswiki/wiki.cgi?page=LaTeX+Beamer%A4%C7%A5%D7%A5%EC%A5%BC%A5%F3%A5%C6%A1%BC%A5%B7%A5%E7%A5%F3

\newcommand{\Slash}[1]{\ooalign{\hfil\kern-3pt／\hfil\crcr$#1$}}
\everymath{\textstyle}

\def\maruwaku#1{\begin{tikzpicture}[scale=0.6,
	baseline={([yshift=-22pt] current bounding box.north)}]
\filldraw[color=CUDBlue, line width=1pt, rounded corners=2pt] (-0.1,0)--(2.1,0)--(2.1,1.1)--(-0.1,1.1)--cycle;
\draw(1,0.5) node[white]{#1};
\end{tikzpicture}
}

\setbeamersize{text margin left=5mm,text margin right=5mm}
%\fboxrule=1pt

\makeatletter
\def\hooklen#1#2{\settowidth{\@tempdima}{\(#1\)}
%\advance\@tempdima by.3ex
% ↑ 数式モードで式の前後に入るスペースを制御したかったが、
%    難しいのでやめた。段々難解なコードになっているのでやめた方がよい？
\hbox to\@tempdima{\hfil \(#2\)\hfil}}
\makeatother

% カラーユニバーサルデザインを調べたつもりだがあまり自信がありません
% http://www.fukushihoken.metro.tokyo.jp/kiban/machizukuri/kanren/color.files/colorudguideline.pdf
% http://jfly.iam.u-tokyo.ac.jp/colorset/

% ■ アクセントカラー小面積を目立たせる高彩度色
\definecolor{CUDRed}{rgb}{1,0.2941,0}%			RGB 255,75,0
\definecolor{CUDGreen}{rgb}{0.0118,0.6863,0.4784}%	RGB 3,175,122
\definecolor{CUDBlue}{rgb}{0,0.3529,1}%			RGB 0,90,255
\definecolor{CUDCyan}{rgb}{0.3020,0.7686,1}%		RGB 77,196,255
\definecolor{CUDMagenta}{rgb}{0.6,0,0.6}%		RGB 153,0,153
\definecolor{CUDYellow}{rgb}{1,0.9451,0}%		RGB 255,241,0
\definecolor{CUDBrown}{rgb}{0.502,0.251,0}%		RGB 128,64,0

\definecolor{CUDOrange}{rgb}{0.9647,0.6667,0}%		RGB 246,170,0

% ■ ベースカラー広い面積の塗り分けに用いる低・中彩度色
\definecolor{CUDPink}{rgb}{1,0.7922,0.7490}%		RGB 255,202,191
\definecolor{CUDBrightGreen}{rgb}{0.4667,0.8510,0.6588}%RGB 119,217,168
\definecolor{CUDLime}{rgb}{0.8471,0.9490,0.3333}%	RGB 216,242,85
\definecolor{CUDCream}{rgb}{1,1,0.502}%			RGB 255,255,128
\definecolor{CUDBrightCyan}{rgb}{0.7490,0.8941,1}%	RGB 191,228,255
%\definecolor{CUD}{rgb}{}%		RGB 

\setbeamercolor{CUDBrightGreen}{fg=black,bg=CUDBrightGreen}
\setbeamercolor{CUDCream}{fg=black,bg=CUDCream}




\begin{document}

\title{プレ高数学科}\author{gbb60166}


%■■■■■■■■■■■■■　テスト領域　■■■■■■■■■■■■■■


%\end{document}
%■■■■■■■■■■■■■　完成品　■■■■■■■■■■■■■■

\begin{frame}[t]
\frametitle{gbb60166からの問題}
\centerline{三角形の決定条件}

\begin{tikzpicture}[scale=1, thick, line join=round, >=stealth,
	baseline={([yshift=-6pt] current bounding box.north)}]
\coordinate (A) at (1.3,3);
\coordinate (B) at (0,0);
\coordinate (C) at (4,0);
\footnotesize
\draw[CUDRed,ultra thick](B)--(C)--(A)--cycle;
\draw(2,-1) node{$3$辺の長さが決まる};
\end{tikzpicture}
%
\hfill
%
\begin{tikzpicture}[scale=1, thick, line join=round, >=stealth,
	baseline={([yshift=-6pt] current bounding box.north)}]
\coordinate (A) at (2.4,3);
\coordinate (B) at (0,0);
\coordinate (C) at (4,0);
\footnotesize
\draw(A)--(C);
\draw[CUDRed,ultra thick](A)--(B)--(C);
\begin{scope}
\clip (A)--(B)--(C)--cycle;
\fill[CUDRed] (B) circle (16pt);
\end{scope}
\draw(2,-1) node[anchor=center,text width=7em,align=center]
	{$2$辺とその間の\\角が決まる};
\end{tikzpicture}
%
\hfill
%
\begin{tikzpicture}[scale=1, thick, line join=round, >=stealth,
	baseline={([yshift=-6pt] current bounding box.north)}]
\coordinate (A) at (1.2,3);
\coordinate (B) at (0,0);
\coordinate (C) at (4,0);
\footnotesize
\draw(B)--(A)--(C);
%\draw[CUDRed,ultra thick](B)--(C);
\draw[CUDRed,ultra thick]($(A)!.7!(B)$)--(B)--(C)--($(A)!.75!(C)$);

\begin{scope}
\clip (A)--(B)--(C)--cycle;
\fill[CUDRed] (B) circle (16pt)
	(C) circle (16pt);
\end{scope}
\draw(2,-1) node[anchor=center,text width=7em,align=center]
	{$1$辺とその両端の\\角が決まる};
\end{tikzpicture}
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\begin{frame}[t]
\frametitle{gbb60166からの問題}
\begin{tikzpicture}[scale=1, thick, line join=round, >=stealth,
	baseline={([yshift=-6pt] current bounding box.north)}]
\coordinate (A) at (1.3,3);
\coordinate (B) at (0,0);
\coordinate (C) at (4,0);
\small
\begin{scope}[gbb/.style={fill=white, inner sep=1pt}]
\draw[dashed](B) to[out=-20,in=200] node[gbb]{$a$}(C)
	(B) to[out=90,in=225] node[gbb]{$c$}(A)
	(A) to[out=-20,in=110] node[gbb]{$b$}(C);
\end{scope}
\draw[CUDRed,ultra thick](B)--(C)--(A)--cycle;
\draw(2,-1) node{\footnotesize $3$辺の長さが決まる};
\end{tikzpicture}
\hfill
\begin{minipage}[t]{0.6\textwidth}
面積は、ヘロンの公式より\\[-5ex]

\[ \sqrt{s(s-a)(s-b)(s-c)} \]
\smallskip
\[ \left(\text{ただし} s={a+b+c \over 2}\right) \]
\end{minipage}
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\begin{frame}[t]
\frametitle{gbb60166からの問題}
\begin{tikzpicture}[scale=1, thick, line join=round, >=stealth,
	baseline={([yshift=-6pt] current bounding box.north)}]
\coordinate (A) at (2.4,3);
\coordinate[label=left:{\small $B$}] (B) at (0,0);
\coordinate (C) at (4,0);
\small

\begin{scope}[gbb/.style={fill=white, inner sep=1pt}]
\draw[dashed](B) to[out=-20,in=200] node[gbb]{$a$} (C)
	(B) to[out=90,in=200] node[gbb]{$c$} (A);
%	(A) to[out=-20,in=90] node[gbb]{$b$} (C)
\end{scope}
\draw(A)--(C);
\draw[CUDRed,ultra thick](A)--(B)--(C);
\begin{scope}
\clip (A)--(B)--(C)--cycle;
\fill[CUDRed] (B) circle (16pt);
\end{scope}
\draw(2,-1.5) node[anchor=center,text width=7em,align=center]
	{$2$辺とその間の\\角が決まる};
\end{tikzpicture}
\hfill
\begin{minipage}[t]{0.6\textwidth}
面積は\\[-5ex]

%\begin{eqnarray*}
\[ {\,1\,\over2}\!\times\!\text{辺}\!\times\! \text{辺}\!\times\!
	\sin \text{間の角度} \]
\[ ={\,1\,\over2}ca \sin B \]
%\end{eqnarray*}
\end{minipage}
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\begin{frame}[t]
\frametitle{gbb60166からの問題}
%\hspace*{-3ex}
\begin{tikzpicture}[scale=1, thick, line join=round, >=stealth,
	baseline={([yshift=-6pt] current bounding box.north)}]
\coordinate (A) at (1.2,3);
\coordinate[label=left:{\footnotesize\textcolor{CUDBlue}{$B$}}] (B) at (0,0);
\coordinate[label=right:{\footnotesize\textcolor{CUDBlue}{$C$}}] (C) at (4,0);
\small
\draw[dashed](B) to[out=-20,in=200]
	node[CUDBlue, fill=white, inner sep=1pt]{$a$} (C);
\draw(B)--(A)--(C);
%\draw[CUDRed,ultra thick](B)--(C);
\draw[CUDRed,ultra thick]($(A)!.7!(B)$)--(B)--(C)--($(A)!.75!(C)$);
\begin{scope}
\clip (A)--(B)--(C)--cycle;
\fill[CUDRed](B) circle (16pt)
	(C) circle (16pt);
\end{scope}
\draw(2,-1.5) node[anchor=center,text width=7em,align=center]
	{$1$辺とその両端の\\角が決まる};
\end{tikzpicture}
\hspace*{-5ex}
\maruwaku{問題}\quad
\begin{minipage}[t]{0.5\textwidth}
\hspace*{-2ex}
『$1$辺とその両端の角が決まったとき』の三角形の面積を出す公式を求めなさい。

\vskip5ex
\centerline{\href{http://unilab.gbb60166.jp/prekou/pdf/gbb60166_kotae.pdf}{\textcolor{CUDBlue}{答えはコチラ}\ \beamergotobutton{web}}}
\end{minipage}
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%





\end{document}

\textcolor{CUDRed}{

