Comments (5)
@VHarisop Oh, for this you could draw the bubbles yourself, they are basically just an ellipse
\documentclass{standalone}
\usepackage{tikzducks}
\begin{document}
\begin{tikzpicture}
\duck[]
\fill[gray!30!white] (-1.2,1.8) ellipse (1.4 and 0.5);
\fill[gray!30!white] (-0.2,1.54) -- (0.2,1.35) -- (0.0,1.6) -- cycle;
\node at (-1.2,1.8) {Quack! Quack!};
\end{tikzpicture}
\end{document}
Or you could use the tikz shapes.callouts
library:
\documentclass{standalone}
\usepackage{tikzducks}
\usetikzlibrary{shapes.callouts}
\begin{document}
\begin{tikzpicture}
\duck
\node[ellipse callout, draw,callout relative pointer={(0.5,-0.8)}] at (-0.5,2.5) {Quack! Quack!};
\end{tikzpicture}
\end{document}
from tikzducks.
What is the status of this? Until autoscaling is properly implemented, is there a way to resize speech/thought bubbles manually?
from tikzducks.
@VHarisop Thanks a lot for your comment! I'm still unsure what the best course of action is for the scaling of text. On the one hand site automatically scaling looks very convenient, on the other hand I'd like the user to have as many possibilities as possible to choose a suitable font size (which makes the text easier to read at small sizes than just scaling the normal sized text down) and yo apply other text formatting like parboxes or minipages for multiline text.
Here are a few suggestions for manual resizing of the text:
\documentclass{standalone}
\usepackage{tikzducks}
\begin{document}
\begin{tikzpicture}
\duck[speech={Quack!}]
\end{tikzpicture}
\begin{tikzpicture}
\duck[speech={\tiny Quack!}]
\end{tikzpicture}
\begin{tikzpicture}
\duck[speech={\scalebox{0.5}{\tiny Quack! Quack! Quack!}}]
\end{tikzpicture}
\begin{tikzpicture}
\duck[speech={\scalebox{0.7}{\parbox{1.7cm}{\vspace*{-0.3cm}\flushleft \tiny Quack! Quack! Quack! Quack!}}}]
\end{tikzpicture}
\end{document}
If these suggestions don't work for, please feel free to show a short example what you are trying to do and I'll try to come up with something.
from tikzducks.
@VHarisop FYI: your avatar inspired my to draw https://github.com/samcarter8/tikzzoo/blob/master/pingu.tex :)
from tikzducks.
@samcarter8 Thanks for the quick reply! I think I misspecified my problem: I'm preparing a presentation on beamer, so instead of making the text small I would rather make the speech bubble bigger, so that the text remains visible.
from tikzducks.
Related Issues (20)
- Documentation: Link not working HOT 1
- pgfonlayer HOT 2
- Milkshake Duck
- tikzducks v0.5 is incompatible with LuaLaTeX and XeLaTeX HOT 6
- Rounded corners do not scale well
- Ducktor HOT 3
- Monet and Surfer HOT 3
- FaceMask HOT 1
- More accessories/shoes HOT 1
- Tikzducks-generic file missing? HOT 6
- Document how to use /fill with a selected duck HOT 2
- Avoid name clashes with the figchild package HOT 1
- Does not always work on TexpadTex HOT 8
- Tikz library `ducks` is not portable
- Broom duck doesn't work - PGF Keys error HOT 3
- Scale scales y and x shift HOT 2
- Pirate duck
- more hairstyles HOT 1
- `\selectcolormodel{gray}` does not work for `\path[fill=<some pure color>]` HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tikzducks.