Questions tagged [fancybox]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
2answers
36 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
1answer
129 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
1answer
146 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
2answers
75 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
1answer
138 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
1answer
160 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
1answer
431 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
1answer
321 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
2answers
156 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
1answer
63 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
1answer
254 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
1answer
251 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, ...
1
vote
0answers
73 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
2answers
71 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
1answer
324 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
3answers
1k 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} \...
3
votes
2answers
288 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
5answers
720 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
3answers
482 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
1answer
948 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
1answer
354 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
1answer
1k 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[...
11
votes
1answer
4k 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
1answer
65 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
2answers
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
1answer
459 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
1answer
386 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
3answers
251 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 ...
2
votes
3answers
2k 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
1answer
430 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
2answers
144 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
2answers
4k 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
1answer
2k 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
2answers
1k 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
1answer
292 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 ...