Linked Questions

3
votes
0answers
4k views

TikZ rectangle single rounded corner [duplicate]

How to round just one (or two, or three) corners of a TikZ rectangle? I can only get none or all rounded! \documentclass[tikz]{standalone} \begin{document} \begin{tikzpicture} \node [fill=red, ...
1
vote
1answer
602 views

How to create a colorbox with only one rounded corner [duplicate]

is there any posibility of creating a coloured text box with only one rounded corner? (Maybe using tikz) Thank You
37
votes
2answers
22k views

TikZ rectangular node with different rounded corners

This is my minimal example: \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture} \node[rounded corners=3pt, draw, fill=red!20]{Hallo!}; \end{tikzpicture} ...
22
votes
3answers
4k views

Rounded corners in TikZ trees.

When I use TikZ tree with nodes with rounded corners, the connecting lines do not touch the nodes (near corners) but end where would rectangle end. Is there an easy way around it? \documentclass{...
7
votes
5answers
4k views

tikz: Draw rectangle with rounded corners only north/south?

I'm trying to draw two rectangles (using \fill and a cycle) where only the north/south corners are rounded. I want the blue rectangle below to have rounded corners only on the top, and I want the red ...
11
votes
2answers
3k views

How to control borders of intersected nodes (rectangles)

I am trying to superpose 2 rectangles; one blue, one red, and have the intersection area with a mix of blue and red. I have problems with the borders though. I am not getting the thickness of the ...
14
votes
1answer
2k views

Table with rounded corners

I've taken an example of a very cool table from here and I've made some changes to suit my needs, the problem is that the table it's not correctly rounded: Unfortunately it doesn't seem to exist a ...
4
votes
3answers
836 views

tikzpicture: “rounded corners” and “west arc=none”

here's my MWE: \documentclass[a5paper]{book} \usepackage{tikz} \usetikzlibrary{positioning,shapes.misc,calc} \begin{document} \begin{tikzpicture}[overlay,remember picture] \node[ ...
3
votes
1answer
262 views

How to make single edges rounded with tikz?

I am not good with tikz. I know that this question has already been answered in general (like, for example, here), but I was not able to transfer it to my example. I have the following code: \...
4
votes
2answers
236 views

Colored background with rounded corners for a text fragment preventing an overflow over the end of line

I have already found some similar solutions, but I was not able to adapt them to my requirements: A text fragment (e.g., source code) surrounded by other text should be highlighted with a background ...
1
vote
0answers
48 views

Anchored path compiling indefinitely

I want to make rounded corners on one side only like this: \tikz{ \fill[red] (0,0) +(8pt,8pt) arc (0:-90:8pt) -- (0,1) arc (90:0:8pt) } The points (0,0) and (0,1) in the above are placeholders. I ...