双倍 \measuredangle 命令是什么?

双倍 \measuredangle 命令是什么?

双倍的命令是什么\measuredangle

谢谢

在此处输入图片描述 在此处输入图片描述

答案1

据我所知,没有预定义的符号;您可以使用picture模式获得不错的模拟。它在脚本大小方面并不擅长,但我认为您不需要它达到这样的水平。

\documentclass{article}
\usepackage{pict2e}
\usepackage{amssymb}

\makeatletter
\DeclareRobustCommand{\measuredangledouble}{%
  \mathord{\mathpalette\@measangdbl\relax}%
}

\newcommand{\@measangdbl}[2]{%
  \sbox\z@{$\m@th#1\measuredangle$}%
  \setlength\unitlength{\wd\z@}%
  \ifx#1\displaystyle
    \def\@mangle{50}\def\@mratio{0.96}%
  \fi
  \ifx#1\textstyle
    \def\@mangle{50}\def\@mratio{0.96}%
  \fi
  \ifx#1\scriptstyle
    \def\@mangle{42}\def\@mratio{0.83}%
  \fi
  \ifx#1\scriptscriptstyle
    \def\@mangle{36}\def\@mratio{0.67}%
  \fi
  \begin{picture}(1,\@mratio)
  \roundcap\roundjoin\linethickness{0.06\unitlength}
  \polyline(0.9,\@mratio)(0.1,0.03)(0.9,0.03)
  \put(0.1,0.03){\arc[-3,\@mangle]{0.4}}
  \put(0.1,0.03){\arc[-3,\@mangle]{0.55}}
  \end{picture}%
}
\makeatother

\begin{document}
$\measuredangle\measuredangledouble$

$\scriptstyle\measuredangle\measuredangledouble$

$\scriptscriptstyle\measuredangle\measuredangledouble$

\end{document}

在此处输入图片描述

答案2

由于显然没用,已被删除...

这是 TiZ 版本,目前还不完善。

\documentclass{article}
\usepackage{amssymb}
\usepackage{mathtools}

\newsavebox{\tempboxa}
\newcommand{\doubledmeasuredangle}[1][.]{%  Note: '.' is a placeholder for the current color. 
  \savebox{\tempboxa}{$\measuredangle$}%
  \resizebox{\wd\tempboxa}{\ht\tempboxa}{%
    \begin{tikzpicture}[line width=1.5,#1]
      \draw (1,0) coordinate (A) -- (0,0) coordinate (B)
      -- (1,1) coordinate (C)
      pic [draw,line width=1.5,angle radius=0.5cm] {angle = A--B--C}
  pic [draw,line width=1.5,angle radius=0.25cm] {angle = A--B--C};
      \draw (B) -- (1.2,0);
      \draw (B) -- (0.84585,0.84585);
    \end{tikzpicture}%
  }%
}


\usepackage{tikz}
\usetikzlibrary{angles}


\begin{document}

$\measuredangle$ \doubledmeasuredangle

{\large

$\measuredangle$ \doubledmeasuredangle
}
\end{document}

在此处输入图片描述

改良版

\documentclass{article}
\usepackage{amssymb}
\usepackage{mathtools}

\usepackage{tikz}
\usetikzlibrary{angles}
\def\measuredangleangle{45}

\newsavebox{\tempboxa}
\newcommand{\doubledmeasuredangle}[1][.]{%
  \savebox{\tempboxa}{$\measuredangle$}%
  \resizebox{\wd\tempboxa}{\ht\tempboxa}{%
    \begin{tikzpicture}[line width=1.75,line join=round,line cap=round,#1]
      \pgfmathcos{\measuredangleangle};
      \edef\temppgfmathone{\pgfmathresult}
      \pgfmathsin{\measuredangleangle};
      \edef\temppgfmathtwo{\pgfmathresult}
      \typeout{\temppgfmathtwo\space \temppgfmathone}
      \draw (1,0.0) coordinate (A) -- (0,0) coordinate (B)
      -- (\temppgfmathone,\temppgfmathtwo) coordinate (C)
      pic [draw,line width=1.75,angle radius=0.5cm] {angle = A--B--C}
      pic [draw,line width=1.75,angle radius=0.25cm] {angle = A--B--C};
      \pgfmathparse{tan(\measuredangleangle)};
      \edef\temppgfmathtwo{\pgfmathresult}
      \coordinate (FinalB) at (1.0,\pgfmathresult);
      \draw (B) -- (FinalB);
    \end{tikzpicture}%
  }%
}




\begin{document}
\textcolor{blue}{$\measuredangle$ \doubledmeasuredangle}

{\large
  $\measuredangle$ \doubledmeasuredangle
}
\end{document}

在此处输入图片描述

相关内容