
LaTeX에서 무정부 상태 기호(원으로 표시된 'A')를 생성하는 것이 가능한지 궁금합니다. "라텍스 무정부주의자"에 대해 인터넷 검색을 해봤지만 상품과 포르노 외에는 아무것도 얻지 못했습니다. 불평은 하지 않았지만또한무정부 상태의 상징을 원했습니다.
답변1
무정부 기호에 대한 유니코드 코드 포인트는 다음과 같습니다. 그러나 동그라미 A는 전혀 유쾌하지 않습니다. 어쩌면 다운로드해야 할 수도 있습니다.시원한 폰트.... 나는 당신이 존재하는 것과 그것을 사용하는 방법을 볼 수 있도록 이것을 게시했습니다.
% arara: lualatex
\documentclass{article}
\usepackage{fontspec}
\usepackage{fontawesome}
\usepackage{booktabs}
\newcommand{\test}[1]{#1 & \setmainfont{#1}\symbol{"24B6} & \setmainfont{#1}\symbol{"2605} & \setmainfont{#1}\symbol{"2691}}
\begin{document}
\begin{tabular}{lccc}\toprule
Font& A & Black Star & Black Flag\\\midrule
\test{Symbola.ttf}\\
\test{Quivira.otf}\\
\test{Xits-regular.otf}\\
\test{Code2000.ttf}\\
\test{DejaVuSans.ttf}\\
Font Awesome&&&\faFlag\\\bottomrule
\end{tabular}
\end{document}
Kormylo 씨의 의견에서:
% arara: pdflatex
\documentclass{article}
\usepackage{marvosym}
\begin{document}
\CircledA
\end{document}
그리고 마지막으로, 여기에는Wikipedia의 기호(가로 막대를 확대했습니다). 귀하의 질문은 방법이었습니다생산하다무정부 상태의 상징에 대해 조금 설명하겠습니다. Wikipedia에서 제공하는 것과 같은 곳에서 SVG 파일을 다운로드하여 Inkscape에서 엽니다. 추가 기능을 설치해야 합니다.inkscape2tikz
. Inkscape에서 당신은 선택합니다
확장 -> 내보내기 -> TikZ 경로로 내보내기.
나머지는 명확해야 합니다.
% arara: pdflatex
\documentclass{article}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[y=0.5pt, x=0.5pt,yscale=-1]
\path[cm={{0.0,-1.0,1.0,0.0,(0.0,0.0)}},fill=black,rounded corners=0.0000cm]
(-360.0000,49.3220) rectangle (-296.0000,557.6695);
\path[fill=black] (300.0000,0.0000) .. controls (135.0000,0.0000) and
(0.0000,135.0000) .. (0.0000,300.0000) .. controls (0.0000,465.0000) and
(135.0000,600.0000) .. (300.0000,600.0000) .. controls (465.0000,600.0000) and
(600.0000,465.0000) .. (600.0000,300.0000) .. controls (600.0000,135.0000) and
(465.0000,0.0000) .. (300.0000,0.0000) -- cycle(300.0000,64.0000) .. controls
(431.0000,64.0000) and (536.0000,169.0000) .. (536.0000,300.0000) .. controls
(536.0000,431.0000) and (431.0000,536.0000) .. (300.0000,536.0000) .. controls
(169.0000,536.0000) and (64.0000,431.0000) .. (64.0000,300.0000) .. controls
(64.0000,169.0000) and (169.0000,64.0000) .. (300.0000,64.0000) -- cycle;
\path[cm={{-0.90631,-0.42262,0.42262,-0.90631,(0.0,0.0)}},fill=black,rounded
corners=0.0000cm] (-328.0631,-404.1956) rectangle (-264.0631,95.8044);
\path[cm={{-0.90631,0.42262,-0.42262,-0.90631,(0.0,0.0)}},fill=black,rounded
corners=0.0000cm] (-279.6533,-657.7666) rectangle (-215.6533,-157.7666);
\end{tikzpicture}
\end{document}
답변2
TikZ의 멋진 무정부 상태:
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{decorations.pathmorphing}
\tikzset{mydeco/.style={decoration={random steps,segment length=.6,amplitude=.5},decorate,line cap=round}}
\tikzset{anarchy/.pic={
\draw[ultra thick,mydeco,decorate,red,fill=red](0,0)--(1,.3)--cycle;
\draw[ultra thick,mydeco,red,fill=red](.2,-.3)--(.5,.7)--cycle;
\draw[ultra thick,mydeco,red,fill=red](.5,.7)--(.8,-.3)--cycle;
\draw[red,ultra thick,line cap=round,mydeco](.5,.15) circle(.4);
}}
\begin{document}
Some real \tikz\pic{anarchy};narchy
\end{document}
또한 더 확장 가능한 방식으로(확장되지 않음 \tiny
)
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{decorations.pathmorphing,positioning}
\tikzset{mydeco/.style={decoration={random steps,segment length=.08em,amplitude=.05em},decorate,line cap=round}}
\tikzset{anarchy/.pic={
\draw[line width=.1em,mydeco,decorate,red,fill=red](0em,0em)--(1.2em,.3em)--cycle;
\draw[line width=.1em,mydeco,red,fill=red](.2em,-.3em)--(.5em,.7em)--cycle;
\draw[line width=.1em,mydeco,red,fill=red](.5em,.7em)--(.8em,-.3em)--cycle;
\draw[line width=.1em,red,line cap=round,mydeco](.5em,.2em) circle(.6em);
}}
\newcommand{\anarchy}{\tikz\pic{anarchy};}
\begin{document}
\scriptsize Some real \anarchy{}narchy
\footnotesize Some real \anarchy{}narchy
\small Some real \anarchy{}narchy
\normalsize Some real \anarchy{}narchy
\large Some real \anarchy{}narchy
\end{document}
답변3
tikz
더 긴 수평 막대가 있는 변형 :
\documentclass{article}
\usepackage{tikz}
\newcommand*{\AnarchySymbol}[1][50pt]{%
\tikz[
x=\dimexpr(#1)\relax,
y=\dimexpr(#1)\relax,
radius=\dimexpr(#1)\relax,
line width=\dimexpr.2\dimexpr(#1)\relax\relax,
]
\draw
circle []
(90:1) -- (235:1)
(90:1) -- (305:1)
(185:1) -- (-5:1)
;%
}
\begin{document}
\AnarchySymbol
\end{document}
답변4
다음은 제가 대규모 프로젝트의 일부로 그린 확장 가능한 TikZ 변형입니다.
\documentclass[tikz,border=5pt]{standalone}
\usetikzlibrary{through,arrows.meta,calc}
\begin{document}
\tikzset{
anarchy/.pic={%
\draw [line width=.1*#1, {Round Cap[length=.025*#1]}-{Round Cap[length=.025*#1]}, pic actions] (-.5*#1,-.1*#1) -- (.6*#1,.1*#1);
\draw [line width=.1*#1, line join=bevel, {Round Cap[length=.025*#1]}-{Round Cap[length=.025*#1]}, pic actions] (-.25*#1,-.475*#1) -- (0,.5*#1) coordinate (-vertex) -- (.35*#1,-.525*#1);
\node [draw, line width=.1*#1, anchor=center, align=center, pic actions] at (0,0) [circle through={($(-vertex) + (-.15*#1,-.125*#1)$)}] {};
},
}
\begin{tikzpicture}
\pic [red] {anarchy={50pt}};
\end{tikzpicture}
\end{document}
그러므로 원한다면 다음과 같이 말할 수 있습니다.
\begin{tikzpicture}
\path pic [red!50!black] {anarchy={25pt}} -- ++(30pt,0) pic [red] {anarchy=50pt} -- ++(60pt,0) pic [black] {anarchy={75pt}};
\end{tikzpicture}
획득하다