大家放松点。下面这个怎么样
\documentclass{article}
\usepackage{graphicx}
\begin{document}
If~~$\displaystyle\lim_{x\rightarrow8}\frac{1}{x{-}8}=\infty$
~~then~~$\displaystyle\lim_{x\rightarrow5}\frac{1}{x{-}5}=\rotatebox{90}{5}$
\end{document}
这使 -
有人能给我一些很好的 Tikz 或 PStricks 代码吗?
我确信那里一定有更多的乳胶幽默,即使在德国人中间也是如此;-)
答案1
怎么样:
\font\donteveruseoutsidecartoons="Comic Sans MS" at 14pt
\font\donteveruseoutsidecartoonstwo="Comic Sans MS/IB:slant=.3pt" at 22pt
\input tikz
\usetikzlibrary{shapes.callouts,positioning}
\tikzpicture[mycallout/.style={draw,ellipse callout,inner sep=1.2ex,
callout relative pointer={#1}}]
\node[mycallout={(.5cm,-.5cm)}] (ico) {\donteveruseoutsidecartoons Be rational};
\node[mycallout={(-.5cm,-.5cm)}, right=of ico] (pco) {\donteveruseoutsidecartoons Get real};
\node[below=.1ex of ico.pointer] {\donteveruseoutsidecartoonstwo i};
\node[below left=.1ex of pco.pointer] {\donteveruseoutsidecartoonstwo π\vphantom(};
\endtikzpicture
\bye
答案2
我对这个笑了好一阵子。我不得不从德语中回忆起它并翻译出来。请随意调整语言。
\documentclass[a4paper,12pt]{article}
\usepackage[margin=1in]{geometry}
\usepackage{graphicx}
\usepackage{pgffor}
\pagestyle{empty}
\parindent=0pt
\begin{document}
\large\sffamily
\resizebox{\textwidth}{!}{The first 500 natural random numbers}
\vspace{1em}
\centerline{\LARGE For easy access listed in their natural order}
\bigskip
\par\noindent
\foreach \n in {1,...,500} {%
\makebox[1.8em][r]{\n}
}
\end{document}
答案3
\documentclass{article}
\usepackage{amsmath}
\begin{document}
Expand $(a+b)^n$:
\begin{gather*}
(a + b)^n\\
(a\ + \ b)^n\\
(a\quad + \quad b)^n\\
(a\qquad + \qquad b)^n
\end{gather*}
\end{document}
编辑:致安德鲁:
\documentclass{article}
\newcount\mycntr
\begin{document}
Expand $(a+b)^n$:
\begin{center}
\mycntr=0
\loop\advance\mycntr by 1
\ifnum\mycntr<40
$(a\hskip\mycntr pt +\hskip\mycntr pt b)^n$\\
\repeat
\end{center}
\end{document}
答案4
我以前从未玩过tikz
,所以这是我的第一次尝试。我非常喜欢以下笑话:
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{decorations.pathmorphing}
\usepackage{frcursive}
\begin{document}
Find $x$.
\begin{tikzpicture}
\draw (0,0) -- (4,0) node[midway,below] {4 cm}
-- (4,3) node[midway,right] {3 cm}
-- (0,0) node[midway,left,circle,draw=blue,decorate,decoration={random steps,segment length=1pt,amplitude=0.5pt}]{$x$}
-- (4,0) rectangle (3.7,0.3)
-- cycle;
\draw (0.4,0) arc (0:30:0.5);
\draw (4,2.6) arc (270:226:0.5);
\draw (1,2.1) node []{\color{blue}\fontfamily{frc}\selectfont{It's here!}};
\end{tikzpicture}
\end{document}
结果: