当我运行这两个时,出现此错误:未找到文件“pullquote.sty”。
\documentclass{article}
\usepackage{lipsum}
\usepackage[latin]{babel}
\usepackage{graphicx}
\usepackage{pullquote}
\begin{document}
\begin{pullquote}
{image={Esperanto_star.png},imageopts={scale=0.1},shape=image}
\lipsum[1-4]
\end{pullquote}
\end{document}
\documentclass{article}
\usepackage{tikz}
\usepackage{lipsum,xcolor,graphicx}
\usepackage{booktabs}
\usepackage[latin]{babel}
\usepackage{pullquote}
\usetikzlibrary{shapes,backgrounds,calc}
\makeatletter
\tikzset{circle split part fill/.style args={#1,#2}{%
alias=tmp@name,
postaction={%
insert path={
\pgfextra{%
\pgfpointdiff{\pgfpointanchor{\pgf@node@name}{center}}%
{\pgfpointanchor{\pgf@node@name}{east}}%
\pgfmathsetmacro\insiderad{\pgf@x}
\fill[#1] (\pgf@[email protected]) ([xshift=-\pgflinewidth]\pgf@[email protected]) arc
(0:180:\insiderad-\pgflinewidth)--cycle;
\fill[#2] (\pgf@[email protected]) ([xshift=\pgflinewidth]\pgf@[email protected]) arc
(180:360:\insiderad-\pgflinewidth)--cycle; }}}}}
\makeatother
\def\addquote
{%
\Large
\begin{tabular}[b]{p{5cm}}
\midrule
\textit{Wir m\"ussen wissen.}\\
\textit{Wir werden wissen.}\\
\mbox{}\hfill\large\textsc{David Hilbert}\\
\midrule
\end{tabular}%
}
\def\alicegraphic
{%
\begin{tikzpicture}
\clip (0,0) circle (2.7cm);
\node (0,0) {\includegraphics[width=5cm]{alice}};
\end{tikzpicture}%
}
\def\alicetext
{%
They were indeed a queer-looking party that assembled on the bank--the birds with draggled feathers, the animals with their fur clinging close to them, and all dripping wet, cross, and uncomfortable.
The first question of course was, how to get dry again: they had a consultation about this, and after a few minutes it seemed quite natural to Alice to find herself talking familiarly with them, as if she had known them all her life. Indeed, she had quite a long argument with the Lory, who at last turned sulky, and would only say, `I am older than you, and must know better'; and this Alice would not allow without knowing how old it was, and, as the Lory positively refused to tell its age, there was no more to be said.
At last the Mouse, who seemed to be a person of authority among them, called out, `Sit down, all of you, and listen to me! I'll soon make you dry enough!' They all sat down at once, in a large ring, with the Mouse in the middle. Alice kept her eyes anxiously fixed on it, for she felt sure she would catch a bad cold if she did not get dry very soon.
`Ahem!' said the Mouse with an important air, `are you all ready? This is the driest thing I know. Silence all round, if you please! "William the Conqueror, whose cause was favoured by the pope, was soon submitted to by the English, who wanted leaders, and had been of late much accustomed to usurpation and conquest. Edwin and Morcar, the earls of Mercia and Northumbria--"'
`Ugh!' said the Lory, with a shiver.
`I beg your pardon!' said the Mouse, frowning, but very politely: `Did you speak?'
`Not I!' said the Lory hastily.
`I thought you did,' said the Mouse. `--I proceed. "Edwin and Morcar, the earls of Mercia and Northumbria, declared for him: and even Stigand, the patriotic archbishop of Canterbury, found it advisable--"'
`Found what?' said the Duck.
`Found it,' the Mouse replied rather crossly: `of course you know what "it" means.'
`I know what "it" means well enough, when I find a thing,' said the Duck: `it's generally a frog or a worm. The question is, what did the archbishop find?'
The Mouse did not notice this question, but hurriedly went on, `"--found it advisable to go with Edgar Atheling to meet William and offer him the crown. William's conduct at first was moderate. But the insolence of his Normans--" How are you getting on now, my dear?' it continued, turning to Alice as it spoke.
}
\def\circlegraphic
{%
\begin{tikzpicture}
\huge
\node[name=s,
shape=circle split,
draw=gray!40,line width=2mm,
circle split part fill={blue!50,red!50}
] at (5,5) {Big text\nodepart{lower} very big lower};
\end{tikzpicture}%
}
\begin{document}
\begin{pullquote}{object={\includegraphics[width=3cm]{mill}}}
\lipsum[1-3]
\end{pullquote}
\begin{pullquote}{object=\addquote}
\lipsum[1-2]
\end{pullquote}
\begin{pullquote}{shape=circular,object=\alicegraphic}
\alicetext
\end{pullquote}
\begin{pullquote}{shape=circular,object=\circlegraphic}
\lipsum[1-3]
\end{pullquote}
\begin{pullquote}{shape=image,image=alice.png,imageopts={width=5cm}}
\alicetext
\end{pullquote}
\begin{pullquote}{shape=image,image=duck1.pdf,imageopts={width=5cm}}
\lipsum[1-3]
\end{pullquote}
\end{document}
我想要一张自动环绕的照片。