Questions tagged [rounded-corners]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
4answers
115 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
1answer
30 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.
3
votes
2answers
64 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
1answer
53 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 ...
2
votes
1answer
86 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
0answers
48 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} \...
1
vote
0answers
44 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 ...
1
vote
1answer
33 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
2answers
151 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}[...
5
votes
1answer
132 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 ...
1
vote
0answers
159 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 ...
0
votes
1answer
63 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 ...
2
votes
1answer
49 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
2answers
184 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 ...
1
vote
1answer
401 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 ...
3
votes
1answer
120 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
1answer
509 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 ...
3
votes
0answers
65 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
1answer
513 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
vote
1answer
61 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
1answer
1k 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}[...
10
votes
3answers
419 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} ...
0
votes
1answer
251 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 ...
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 ...
9
votes
2answers
506 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 ...
2
votes
1answer
2k 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
1answer
120 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 ...
1
vote
0answers
77 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.
1
vote
1answer
282 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
votes
1answer
278 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 ...
3
votes
1answer
872 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
1answer
327 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=...
3
votes
1answer
366 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
1answer
173 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 ...
4
votes
3answers
785 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
2answers
932 views

rounded rectangle with tikzpicture: oval not round

here's my MWE: \documentclass{book} \usepackage{lipsum} \usepackage{fmtcount} \FCloadlang{ngerman} \usepackage[many]{tcolorbox} \usepackage{calc} \usetikzlibrary{positioning,shapes.misc,calc} \...
7
votes
1answer
516 views

Combine rounded corners and arc

Is there a way to combine rounded corners and arc? If I try it like this, I always get "additional lines". I need the black shape (without lines on both corners) and the 180 degree rotated version. \...
9
votes
2answers
2k views

Rounded corner for the code listing

Is it possible to make a rounded corner for the tex code listing? Given: \documentclass[10pt]{article} \usepackage[usenames,dvipsnames]{xcolor} %used for font color \usepackage[utf8]{inputenc} %...
2
votes
0answers
258 views

{tabular} styled like blocks in beamer.cls based upon booktabs.sty markup [closed]

beamer tables In Table looking like a block, two methods are shown to give tables a look similar to the block environment in the beamer class. Both require that header and content rows are split: the ...
8
votes
1answer
1k views

tikz clip rounded corners

How to apply this Tikz solution (Rounded corners on only one side of a TikZ node) to have the same effect on clipping? I want to clip things (images) using that rectangle with differently rounded ...
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, ...
10
votes
3answers
1k views

Rounded box with image and text

I'm trying to create a rounded box with both text and image. The desired result is as this: Where the image is rounded at the left edges. I have managed everything except the the image part using ...
7
votes
1answer
1k views

Can I manipulate the rounded-ness of blocks?

I'm creating a beamertemplate (for beamerposter, actually) and I want to increase the radius of a block. According to the beamer manual (12.3) I can pass the [rounded] option to a block or the ...
5
votes
1answer
3k views

rounded corners using the framed package

Is it possible to create a frame, using the framed package, with rounded corners? I know for a fact that there are other packages such as the mdframed package but what I am looking for is an ...
18
votes
3answers
6k views

Color box with rounded corners around a fragment of a formula

Is there any way in TeX to highlight some part of a formula with a box having colored background and rounded corners? At present, I need to export such formulas into an image, add those highlight ...
9
votes
2answers
457 views

Rounded corners as a tangent in the right direction

I want to split a path into two branches as in the following MWE. \documentclass{article} \usepackage{tikz} \usetikzlibrary{positioning} \begin{document} \begin{tikzpicture} \node (A) [rectangle] {...
5
votes
1answer
389 views

Harsh corner on a shape drawn with rounded corners

I'm trying to create a custom shape surrounding some nodes. I have used a \path to draw the shape but I don't get a rounded corner where I begin drawing the shape. Here's my MWE: \begin{tikzpicture} ...
2
votes
0answers
508 views

Rounded and shadow for block [closed]

I have style for my block: \setbeamertemplate{block begin}{ \vskip.75ex \begin{beamercolorbox}[leftskip=1em,colsep*=.75ex]{block title}% \usebeamerfont*{block title}\insertblocktitle \end{...
7
votes
1answer
1k views

Rounded corners not working in \mdf@singleextra using mdframed with TikZ

I am creating new framed environments using the mdframed package (along with TikZ) based on the digression example given in mdframed-example-texsx.tex. My code is the following: \documentclass{...
5
votes
2answers
1k views

Table with shaded transitition, rounded corners and shadow (like a block of the theme)

this is my first question here. I want to make my table look like the block to have a consequent style. Questions: How to create that shaded transition from the table headline to the body (like the ...