Questions tagged [rounded-corners]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
2 answers
51 views

How to render a rotated rectangle on certain cells of a table?

I want to render a rotated rectangle over certain cells on the table. Each cell of the table contains only one digit. How to achieve this using Latex?
3 votes
2 answers
83 views

Connecting a path to the corner of a node with the rounded corners option

\documentclass{article} \usepackage{tikz} \usetikzlibrary{tikzmark} \renewcommand{\thefootnote}{\fnsymbol{footnote}} \begin{document} \Large \tikzmarknode[inner sep=2pt,draw,rounded corners]{...
4 votes
1 answer
84 views

How do I make the graph edges in TikZ trees rounded? (preserving the clean syntax)

I am a beginner in TikZ and I tried to search for a solution to the best of my ability, but it's just too obscure of a topic to have a proper answer yet. To start off, this is my code: \begin{...
  • 53
3 votes
2 answers
112 views

I can't take my shape one step further. how can I draw more

I can't keep repeating the shape in the corners. I can't issue a command like corner of the corner. I want it to continue in a loop like fractal but I couldn't make the loop. With the command I wrote, ...
  • 33
8 votes
4 answers
348 views

Rounded corners, dotted lines and shadow inline but without TikZ

I'm trying to draw rounded rectangles with solid or dotted lines and a shadow around arbitrary text in LaTeX. I was hopeful that my answer was in How to draw rounded corners around box with shadow, ...
5 votes
1 answer
177 views

How do I get the last rounding in the last corner?

Everything is in the title How to get the last rounding in the last corner in the code below? \documentclass{standalone} \usepackage{tikz} \begin{document} \begin{tikzpicture} \draw[fill,blue!50,...
  • 11.8k
2 votes
1 answer
553 views

rounded corners of an arrow in tikz

I have an arrow that looks like in this: \documentclass[tikz]{standalone} \usetikzlibrary{shapes, arrows.meta, positioning} \tikzset{every picture/.style={/utils/exec={\sffamily\...
  • 239
1 vote
0 answers
30 views

Rounded Corners via Circle that leaves a trace

In the following code, the edges do not align very well. I would like to have rounded corners. Imagine a black circle with the thickness of the line, leaving behind a trace, where the center of that ...
  • 113
16 votes
2 answers
650 views

tikz: Applying rounded corners to arcs

It seems that the option rounded corners (especially with larger radii) and arcs in TikZ do not always go well together. In general, the exact same path with rounded corners applied does not exactly ...
4 votes
1 answer
245 views

rounded corners with two 45° bends

Does a solution already exist for this feature request? I want to draw 90°-corners with two 45°-bends w/o doing it manually (quite tedious). I am looking for something similar to rounded corners like &...
  • 2,120
1 vote
0 answers
228 views

\pause with transparent rounded shadow blocks rendered incorrectly

This simple LaTeX code is not rendered as one may expect. \documentclass{beamer} \setbeamercovered{transparent} \setbeamertemplate{blocks}[rounded][shadow=true] \begin{document} \begin{frame} \begin{...
0 votes
1 answer
104 views

Slightly rounded angle brackets

How would be possible to get angle brackets with a slightly rounded angle? Here's a handwritten example of the desired result.
  • 121
0 votes
1 answer
261 views

how to round corners of shaded boxes

I have a shaded text box looking as: which is generated by the following code? \documentclass{memoir} \usepackage{titling} \usepackage{algorithm,algpseudocode} \usepackage{bm} % bold greek ...
  • 201
2 votes
0 answers
41 views

Beamer: Rounded shadows not displaying correctly in XeLaTeX [duplicate]

Yesterday I decided to install "vanilla" TeXLive after a couple of months with the Ubuntu repositories version. Everything works great, except that shadows at the corner of Beamer are not ...
8 votes
1 answer
458 views

Google forms with tcolorbox

I'm trying to recreate my Google forms in Latex like this one: You can seee that there is a color in the backgroud (can I use a minipage for this? Or another tcolorbox?) and then white background ...
  • 484
1 vote
2 answers
316 views

Edge connecting two rectangles with rounded edges without gap

I am trying to draw a line between rectangles with rounded corners. However, I'd like the line to touch the corners. What happens is that the line ends as if the rectangle did not have rounded corners....
  • 298
2 votes
5 answers
335 views

Tabular with rounded corners made with tikzpicture with overlay is not properly positioned inside table environment

My quest is to make a table which looks like this: To good thing so far: I have succeeded in making this table. The bad thing: I cannot include this in a normal \begin{table}\end{table} environment ...
0 votes
1 answer
235 views

Corners for theorems and definitions [duplicate]

I was wondering if there is any package or a simple snippet I could use to get the kind of corners shown in the picture for theorems and definitions. Thanks in advance.
4 votes
2 answers
852 views

rounded box around text

\newcommand*\round[2]{% \tikz[baseline=(char.base)] \node[anchor=north west, draw,rectangle ,rounded corners, inner xsep=5.6cm, minimum size=5.5mm, height=3.6mm, fill=#2,#2,text=white,align= left](...
3 votes
1 answer
157 views

How to get both transparency and rounded corners in tikz picture without using additional packages?

I am trying to create a tikz image that has rounded corners and transparency at the same time. The problem I face with the MWE given below is I can have either transparency or rounded corners, but not ...
  • 1,458
3 votes
1 answer
148 views

A new and better aesthetic look for figures and captions with vertical braces

Starting for the question Center a rounded square into a green line with the excellent @marmot's answer, using your MWE, \documentclass[12pt]{book} \usepackage{newtxtext} %%\usepackage{classico}%%%%%...
0 votes
0 answers
271 views

Ovalbox problem in corners, no smooth

I am using this command to make oval boxes: \usepackage{fancybox} \newcommand\codeBox[1]{ \setlength{\fboxsep}{1em} \setlength{\fboxrule}{0.01pt} \begin{center} \...
  • 369
1 vote
0 answers
55 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 ...
  • 145
1 vote
1 answer
82 views

How to stop inheritance of rounded corners into embedded node

I have a tikz-node with some text inside it and a small tikz-drawn symbol as well. When I apply rounded corners with some value to the outer node, the inner drawing inherits this attribute. \...
4 votes
2 answers
411 views

Rounded corners for a background image

Here is my MWE taken from here: \documentclass[varwidth]{standalone} \usepackage{ eso-pic,tikz, lipsum} \usetikzlibrary{tikzmark} \linespread{2} \newcommand\BackgroundPic{% \begin{tikzpicture}[...
  • 2,425
7 votes
1 answer
707 views

Center align text decoration along path

I am trying to duplicate the node highlighted in green but along a curved path. It mostly works, but when I attempt to apply the text align=center effect to the decoration, I get Dimension too large....
1 vote
0 answers
922 views

Can the command \minted and \mintinline have rounded corners without depending on the package listings? Are tcolorbox and tikz needed?

I use XeLaTeX, but I can not use both or similar or duplicate packages, because someone said it is bad idea in XeLaTeX. I would like to use only minted. Here are two answers which offer inline code ...
  • 245
0 votes
1 answer
161 views

Centralized/lateral boxes with squared/round edges

I'm trying to reproduce the boxes below exactly, i.e., a central box with round edges and a lateral box with squared edges. I've found articles teaching about coloured boxes, with shadows on the ...
  • 329
2 votes
1 answer
89 views

Box with Semicircular Parshape in a Savebox

This question is related to Box with Semicircular Parshape at Top and Bottom. Here I am trying typesetting the top portion into a \savebox using a semicircular \parshape in the MyRoundedBox* ...
11 votes
2 answers
278 views

Box with Semicircular Parshape at Top and Bottom

I am trying to design a box that has a semicircular parshape at the top and bottom as shown here: If the text is small enough then this is intended to shrink to a circle of the given \Radius (and not ...
2 votes
1 answer
2k views

rounded and not rounded blocks

I would like to know if it is possible to have to different kinds of blocks and how to do it in beamer. As an example, one rounded for examples and one not rounded for theorems. Is it possible to ...
  • 23
3 votes
1 answer
379 views

Drawing over parts of a node with rounded corners

On the left I have created two nodes (Zero Node in blue and One Node in gray) and would like to draw over the existing path from A-B-C-D (including the notches). On the right is my attempt drawn in ...
4 votes
2 answers
2k views

TikZ path with rounded corners and decorations.markings not working as expected (pos=0.0 at wrong location)

I want to put small round markings at fixed distances on a six-pointed star. There are two problems though: pos=0.0 is not at the expected location, but slightly shifted possibly due to the rounded ...
  • 261
3 votes
0 answers
156 views

How to achieve round cornered frame in titlesec package [duplicate]

Not duplicate of :How to write the "subtitle" like this? The above question wanted some of the subsections round corner framed. The answer provided requires a command which almost behaves ...
3 votes
1 answer
1k views

an edge connecting multiple nodes

I want to draw an edge that connects multiple nodes. I am able to achieve this using the ''to'' feature as shown in example below: \documentclass[convert={density=300,size=1080x800,outext=.png}]{ ...
  • 1,317
1 vote
1 answer
79 views

Table with text from side of page to the middle

I would like to place a table from the side of the page to the middle with rounded corners. For example like this: But I can't find anywhere how to do it. I can draw the image with Tikz but than I ...
15 votes
1 answer
2k views

How to draw a polygon with different line color and rounded corners?

I want to draw a polygon with different line color and rounded corners, but the corners of polygon are not rounded! \documentclass[12pt]{report} \usepackage{tikz} \begin{document} \begin{tikzpicture}[...
  • 575
10 votes
3 answers
756 views

Draw border of a line

I have a line like this: line.tex: \documentclass[12pt]{article} \usepackage{asymptote} \begin{document} \begin{asy} unitsize(1cm); defaultpen(0.5cm); draw((0,0)--(1,1)); \end{asy} \end{document} ...
  • 203
0 votes
1 answer
517 views

Rounded corners on costumized degraded frametitle in Beamer

I want that frametitles in my Beamer presentation: have a smaller width than paperwidth are horizontally degraded have rounded corners This post gave my the two first points described above. But I ...
  • 355
9 votes
5 answers
8k 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 ...
  • 385
9 votes
2 answers
1k views

TikZ: Rounded corners at the closing point of a path

It's a known problem in TikZ that artefacts are introduced when using the rounded corners option with a value that is larger than about half the distance between two corners (see e.g. Dynamic radius ...
  • 509
2 votes
1 answer
3k views

setting beamer background with rounded corner rectangle

I am trying to set my background for my beamer theme. I want a white rectangle with a rounded north east corner. I used a provided code. My outer theme looks like this: \mode<presentation> ...
0 votes
1 answer
299 views

mdframed: bug (with roundcorner) when a style for theorem is used within an environment without topline, rightline, etc

When a style for theorem is used within an environment and that this environment a line but topline=false, rightline=false, etc. then some attributes of the theorem are not used. Here, an MWE for ...
  • 6,456
3 votes
0 answers
110 views

Documentclass Standalone - Outcome with rounded corners [closed]

Is there an option that the result/ whole document of a standalone file has rounded corners? Just like rounded corners for tikz nodes.
  • 699
1 vote
1 answer
485 views

Create generic containers that dynamically expand for text

Problem: I am trying to create color containers that can hold text that vary in size. What I have not been able to figure is what method you should use in order to achieve this. Example 1: Example ...
  • 2,703
2 votes
1 answer
429 views

Pgfplots rounded corners and plot problem - part II

This is a follow-up to question Pgfplots rounded corners and plot problem. When the grid is right on the edge of the plot, it does not bend with the axes. Is it possible to apply bending to the grid ...
4 votes
1 answer
2k views

Pgfplots rounded corners and plot problem

I noticed something strange recently when trying to use rounded corners in pgfplots: it totally ruins the plot. See below without rounded corners: and then with rounded corners: Here is a minimal ...
1 vote
1 answer
551 views

Having two types of nodes

A rather beginner question. I am using someone else's code and he has defined: \tikz@node@transformations}{}{} \makeatother \tikzset{nodes={draw,rounded corners},minimum height=1.5cm,minimum width=...
  • 635
3 votes
1 answer
492 views

\frac with rounded corners

I am overwriting \frac code and making it longer and thicker. I am successful so far. Thick frac is better for printing, but it seems sharp on the edges. I want to make its edges rounded. Is there ...
0 votes
1 answer
356 views

Edit beamerbaseboxes.sty to create square corners

I came across this answer, which shows how to edit the beamerbaseboxes.sty file to increase the "rounded-ness" of the corners of boxes, when using the "rounded" boxes innertheme. In this answer, the ...