Questions tagged [fancybox]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
3 answers
443 views

Beamer fancy boxes

[I am trying to add ovalbox to my text but not getting it properly. The remaining text that should be in the oval box but it is not seen on the screen. Please help. .com/WgMw6.png
Arfaat Hashmi's user avatar
2 votes
1 answer
120 views

How to redefine the commands of the alertmessage package?

How to redefine the commands of the alertmessage package? package link: https://www.ctan.org/tex-archive/macros/latex/contrib/alertmessage \documentclass{book} \usepackage{alertmessage} %\...
Mamoun Mohammed's user avatar
0 votes
1 answer
127 views

How can I draw this using TikZ?

I want to make these boxes. Thank you in advance.
Karim's user avatar
  • 67
3 votes
2 answers
433 views

Fancy boxes with a border

I have tried to find a good fancy box which would get me a background color and also a boundary color, but I seem to have trouble doing it. My output looks like this: But the output I want looks like ...
Sudarshan's user avatar
1 vote
1 answer
485 views

How to get a rounded-corner box

I'm dealing with a document where I need to write some text within a box. The current code I'm using was kindly suggested by @campa. It ensures the following features: The box adapts itself to the ...
Catarella's user avatar
  • 351
0 votes
0 answers
458 views

Is it possible to add padding within a figure?

In my document, I have this code: \begin{figure}[h] \centering \Ovalbox{\includegraphics[width=0.75\textwidth]{sym_transistors}} \caption{} \label{sym:transistors} \end{figure} It yields this ...
bos's user avatar
  • 275
1 vote
0 answers
474 views

Getting ! Dimension Too large when knitting a rmarkdown file to a pdf

I am receiving the following error when trying to knit my rmarkdown file to a pdf: ! Dimension too large. \fb@put@frame ...p \ifdim \dimen@ >\ht @tempboxa \fb@putboxa #1\fb@afterfra... l.4878 \end{...
QMan5's user avatar
  • 111
0 votes
0 answers
45 views

Yellow colored LaTeX boxes [duplicate]

Can someone tell me how to replicate this style of boxes in LaTeX, that is, to make a box of that color and style? I do not want the Remark command too. I just want a code that makes a box of that ...
olajideolatunji69's user avatar
5 votes
1 answer
612 views

Questions about fancyboxes in ConTeXt with MetaFun

I'm trying to reproduce something like that with MetaFun: For now with these links, I managed to get that: \definecolor[darkblue][r=20,g=30,b=50] \startuseMPgraphic{MPTheoremFrame} % Useful ...
user avatar
0 votes
0 answers
239 views

Fancy colored boxes in ConTeXt MKIV [duplicate]

Can someone explain how to create fancy boxes like this in ConTeXt MKIV and probably with MetaFun? According to @JairoADelRio link and MetaFun manual it is easy to change title text, to round and to ...
dgdkhB62's user avatar
2 votes
1 answer
507 views

How can I use \dbox in a caption? [duplicate]

I’m trying to use a \dbox from the dashbox package in the caption of a figure, like this: \documentclass{article} \usepackage{dashbox} \begin{document} \begin{figure} \centering Imagine ...
Roman Langrehr's user avatar
0 votes
2 answers
113 views

Centralizing tikzpicture environment "inside" a minipage, both horizontally and vertically

Honestly, I do not know if tex.stackexchange.com already exists a similar or exact answer to this question but I'll leave it here and if there is any solution already posted I'm waiting to be notified,...
Yaacov NNNNM's user avatar
0 votes
1 answer
163 views

Unwanted different fancypages [closed]

Would someone please check following code and let me know why there is different page style in pages. In fact, I want to whole pages be like the third page but I don't know why I have narrower box in ...
Majid's user avatar
  • 203
1 vote
1 answer
2k views

How to create an article summary template?

I would like to create a box so that the summary is inside, the detail of the box is that it has a detail in the lower right corner.
Itamar Barbosa de Lima's user avatar
4 votes
2 answers
230 views

Framed text with semi-circular ends

I want to have boxes with semi-circular ends, which can reduce to simple circles when they are short enough. I would also like the height of such surrounding frames to be constant. Using the fancybox ...
André's user avatar
  • 2,325
2 votes
1 answer
812 views

\Chapter heading style

Yesterday , I saw a post about a chapter heading style which I liked. And I Was wondering if you could help me achieve the same model (although there are certain differences in the one I want). Thank ...
Alexia Colaud's user avatar
2 votes
1 answer
748 views

Inserting small icon or figure in the margin left to some desired title in mdframed and mdfsetup

I need to insert some small icon or picture adjacent to a fancybox designed using mdframe as provided by @Tom in textblog.org using mdframe and tikz. I could insert image using includegraphics inside ...
Deb bijan's user avatar
  • 131
6 votes
1 answer
906 views

Draw box for text

i would like to replicate this box from a french physics book. I've tried mdframed, tcolorbox, fancybox packages without success. May someone help me please? this is waht i've tried so far: with ...
Prof de Physique-Chimie's user avatar
1 vote
1 answer
1k views

Command \mybox already defined

The following code fails with the error ! LaTeX Error: Command \mybox already defined. Or name \end... illegal, see p.192 of the manual. \usepackage[most]{tcolorbox} \newtcolorbox{...
Student's user avatar
  • 1,118
0 votes
2 answers
721 views

Is it possible create an oval and colored boxed using fancybox?

I would like my red box to be oval. Here is my code : \documentclass[12pt,a4paper]{article} \usepackage[latin1]{inputenc} \usepackage[T1]{fontenc} \usepackage[french]{babel} \usepackage{...
Jean Lallemand's user avatar
0 votes
1 answer
90 views

headers footers

How to have a full box that covers the edge of a paper instead of having to define \lhead{} \chead{} \rhead{}, \lfoot{} \cfoot{} \rfoot{}. Also the foot is not at the edge of paper neither the head. ...
Houda Araj's user avatar
3 votes
1 answer
822 views

Fancy container - Fancy box

Please, I would like to know how can I produce this type of fancy container in latex. Do I have to use fancy box or something like that? Thanks in advance for any help
Amar Mouhamadou's user avatar
3 votes
1 answer
597 views

Specific type of box around equation

When I write notes by hand, if I want to box an equation, I usually do it in the following way. I find the lowest (highest) point of the equation, I go a little bit higher (lower) and take a line, ...
Rrose Sélavy's user avatar
2 votes
0 answers
133 views

Include icon as default in mdframed

Problem: Not being able to create a generic solution that includes a Font-Awesome icon as default for a frametitle using mdframed. Minimal Working Example (MWE): \documentclass{scrreprt} \...
kexxcream's user avatar
  • 2,765
2 votes
2 answers
158 views

fancybox causes deprecated font warning in minted/pygments

I use minted package for syntax highlighting. It generates code like this. I recently added the fancybox package and immediately all my minted statements yield this warning in abundance: Class ...
spraff's user avatar
  • 1,531
2 votes
1 answer
880 views

Border around each of two columns in landscape

I am trying to create a document in landscape with two columns (portrait) and borders around each column. Here is what I am using \documentclass[12pt,landscape,twocolumn,letterpaper]{article} \...
Laura Croyle's user avatar
6 votes
3 answers
4k views

Theorem environment and Fancybox

I would like to define my own theorem and to capture it around a double (or oval) box as it specified in fancybox package. Here is a MWE \documentclass{article} \useackage{amsmath,fancybox} \...
Yorgos's user avatar
  • 2,684
4 votes
3 answers
771 views

No border on first page when using \fcolorbox and \fancypage

I'm using \fcolorbox (from xcolor) within \fancypage (from fancybox) to get a coloured page border. Unfortunately the first page does not show a border, even though the box itself is drawn. How can I ...
ctef's user avatar
  • 355
12 votes
5 answers
2k views

How to draw a partial or incomplete box around one or more words within a paragraph

I am trying to draw a partial box around one or more words within a paragraph--that is, a rectangle with one or more sides missing. I have read the documentation for the fancybox package and it doesn'...
twoblackboxes's user avatar
4 votes
3 answers
710 views

Custom enumerate environment inside Fancybox

I would like to put a enumerate environment (customized with the enumitem package) inside of a shadowbox created from the Fancybox package. Here's my MWE: \documentclass[letterpaper,10pt,american]{...
EthanAlvaree's user avatar
  • 1,337
2 votes
1 answer
2k views

Left Justified Fancy Section Headings

With a slight modification to the code found here developed by Gonzalo Medina, how to keep the section and subsectioning numbering justified to the left and still have the colored boxes and line? ...
Joe's user avatar
  • 9,032
2 votes
1 answer
621 views

use \boxput (fancybox) as reminder: is there a way to change the relative coordinate system to the top of the box?

I use the fancybox's \boxput command to create reminder boxes in my documents. I like the fact about \boxput, that it lets you place a label above the box. This label is placed like a water mark, ...
Wamseln's user avatar
  • 717
6 votes
1 answer
3k views

Arguments in a tcolorbox

Following with the answer for this question Create a color box? given by Gonzalo Medina I just made a few arrangements for a list of exercises the code is this \documentclass{article} \usepackage[...
Very23's user avatar
  • 949
13 votes
1 answer
12k views

Create a color box?

anyone can help me with latex code how to create a box as the following figures? the second box is I tried to use package{tcolorbox}, but not succeed. I would like to create a box exactly as in ...
Vũ Võ's user avatar
  • 465
2 votes
1 answer
82 views

fancybox's bug: a colorful cross-page environment make the frame colored

\documentclass{article} \usepackage[papersize={75mm,100mm}, margin=20pt]{geometry} \usepackage{enumitem,xcolor,lipsum} \usepackage{fancybox} \fancypage{% \setlength{\fboxsep}{12pt}% \setlength{\...
Tony Pierre's user avatar
3 votes
2 answers
2k views

How to center 2 boxes with minipage side by side inside shadowbox

I have two boxes with minipage side by side with different height inside of \fbox, and they are centered each other \documentclass{article} \usepackage{fancybox} \begin{document} \noindent \makebox[\...
Gitano's user avatar
  • 1,369
1 vote
1 answer
730 views

Center caption in boxed listings object

I have put some pseudocode in a listings object, with a caption and box around it. I have used the fancybox solution to listings objects suggested here: How to center a lstlisting Everything is fine, ...
fifthace's user avatar
  • 197
3 votes
1 answer
2k views

"! LaTeX Error: There's no line here to end." with the \boxput* function

I am trying to put some boxes on the second with the paquage \usepackage{fancybox} My code looks like that \documentclass{article} \usepackage{fancybox,color} \begin{document} \boxput*(-0.4,1.1){ ...
Fug134's user avatar
  • 33
2 votes
3 answers
329 views

why first line is missing using fancybox BVerbatim?

Why is defining a new name for environment for a command produces different result than when using the environment directly without defining a name for it? Here are 2 examples, one uses a name for ...
Nasser's user avatar
  • 20.1k
3 votes
3 answers
4k views

How to make a fancy exam at LaTeX?

I'm very interested make a fancy exam at LaTeX? , You can see this example like this : But, i don't know How to start it ? Can you explain How to make it ? or What is the package at LaTeX ?
Hirwanto's user avatar
  • 1,335
1 vote
1 answer
871 views

Customise bullet points inside shadowbox

I'm writing a report and using shadowbox for some important points. I have used the code below and it is working fine. However, when I tried to use the bullet points an extra space is added to the ...
EngS's user avatar
  • 837
2 votes
2 answers
214 views

Working with leaflets

i am making a menu, and i've stumble on a formatting issue. The way it works now is that "Name (empty space) price" I would like it to be "Name.......Price" still taking up the same width as ...
Steffen Hvid's user avatar
4 votes
2 answers
6k views

Restricting the background color to an ovalbox

The snippet \documentclass[png,convert={density=600}]{standalone} \usepackage{times,fancybox,varwidth,color} \pagecolor{cyan} \cornersize{1} \begin{document} \ovalbox{\large Hello} \end{document} ...
Calaf's user avatar
  • 1,451
3 votes
1 answer
3k views

Warning: \oval, \circle, or \line size unavailable

I have been trying to have a border for a whole page I am trying to write in LaTeX and I have used the following two lines: \thisfancyput(3.25in,-4.5in){% \setlength{\unitlength}{1in}\fancyoval(8.2,...
Faiz Lotfy's user avatar
9 votes
2 answers
2k views

Defining a centered shadowboxed listings environment

I'm trying to define a environment for code listings wrapped in a shadowbox and centered in the line. Using this code, I can generate the kind of output that I want: \documentclass[twocolumn]{...
Joshua Taylor's user avatar
7 votes
1 answer
338 views

mdframed conflicts with \setmainlanguage{arabic}

I hope someone can help me with my problems. In the code given below, the mdframed width is exceeding the page width. This problem is due to \setmainlanguage{arabic}. If I set the main language as ...
user31697's user avatar