Questions tagged [fancybox]
The fancybox tag has no usage guidance.
46
questions
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
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}
%\...
0
votes
1
answer
127
views
How can I draw this using TikZ?
I want to make these boxes. Thank you in advance.
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 ...
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 ...
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 ...
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{...
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 ...
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 ...
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 ...
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 ...
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,...
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 ...
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.
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 ...
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 ...
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 ...
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 ...
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{...
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{...
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. ...
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
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, ...
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}
\...
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 ...
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}
\...
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}
\...
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 ...
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'...
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]{...
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? ...
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, ...
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[...
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 ...
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{\...
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[\...
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, ...
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){ ...
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 ...
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 ?
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 ...
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 ...
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}
...
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,...
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]{...
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 ...