Questions tagged [border]

For questions related to borders of boxes, minipages, pages, and other related boundaries.

Filter by
Sorted by
Tagged with
-1
votes
0answers
17 views

Page Border with colour

I was wondering how would I make a thin line to border a page (about idk like 2-3mm thick) that has changes colour from like dark purple to pink as stretches along the border ykiwm? Like it fades from ...
2
votes
1answer
81 views

Print as many images in a row as fit the page

I have a svg image for a tile in a board game. I want to print this 3 times so that I can print the page and cut out the tiles for my game. However, I cannot figure out how to print as many tiles next ...
3
votes
0answers
30 views

Remove white border in Frankfurt theme headline

I am using the Frankfurt theme with an aspect ratio of 16:10. Using a font size smaller than 11pt, there is a tiny white border that appears in the headline: In the figure it is visible above "...
0
votes
1answer
37 views

Text along all the four borders of a tcolorbox

Here is the MWE: \documentclass[table]{standalone} \usepackage{polyglossia, lipsum} \usepackage[most]{tcolorbox} \definecolor{mybrown}{HTML}{784421} \newtcolorbox{mybox}[2][]{% enhanced, before ...
4
votes
3answers
74 views

Border on table row with space between rows

I am trying to add a left border to a column in a table (tabular, longtable) but I do not want the lines to connect between cells. Rather, I want a space between the rows, like this image here:
2
votes
1answer
24 views

No right border on rows that end in multirow?

I have a table: \begin{tabularx}{\textwidth}{|>{\color{white}}>{\columncolor[gray]{0}}l X | X | X | X |} \cline{1-2} Proposal Code & \\ \hline Short Description & ...
4
votes
2answers
112 views

Table border error with \toprule \midrule \vspace [closed]

I have a table with mathematical formulas and I needed to use commands to increase the cell dimensions. However, this hinders the formation of an external border for the tables. How can I get flawless ...
1
vote
2answers
47 views

Image with border and fill

I'm trying to insert an image with a rectangular border, and that rectangular border has a gray color, something like this: This is my code: \begin{figure} \lineskip=-\fboxrule \textcolor{Orange}{ ...
2
votes
3answers
165 views

Is there a way to make cloudy tcolorbox?

What I mean is when we make tcolorboxes they are in the shape of box with straight lines by using borderline command we could change how far away it is or how it looks. For example: \begin{tcolorbox}[...
3
votes
2answers
65 views

Hot to draw a specific border around a QR-code?

As the treasurer of an association it's my duty to send out yearly invoices for membership dues. I use scrlttr2 on LuaLaTeX for that, and it's working fine. To allow for easier payment, I am using a ...
3
votes
2answers
158 views

Write a line of text just on the very bottom of the pages

I wish to write a line of (small size) text at the very lower border of the page (below the footer). Is it even possible? How? I need it for a \documentclass[titlepage,a4paper,12pt]{article}, ~700 ...
0
votes
1answer
32 views

table with optional border colors and text colors

I am trying to make a table that has a can have optional color for its borders and texts, similar to the following table taken from here. I hadn't very much luck so far modifying the snippets ...
1
vote
1answer
31 views

Table border missing when using multirow/multicolumn within tabularx

The borders of this table do not close completely when I use the \multicolumn command. Also in the last row between columns C & D, I have the same problem. I am sure there is a easy fix to this, ...
0
votes
1answer
69 views

How can I remove the border of \fbox?

I don't want to change the colors, I want to remove. Part of my code: \fboxsep=0pt \noindent\fbox{% \begin{minipage}{0.48\linewidth} \scalefont{1.1} \centering \...
0
votes
0answers
24 views

How to set borders to specific cells in array or align environment, using LyX

I was wondering if there's any possible way to set borders to specific cells in an array environment using LyX? I want to get something like this: But all I was able to do without getting dirty with ...
0
votes
1answer
39 views

Gap in border lines in longtable while using \cmidrule(r{}){}

I added two horizontal line in a longtable header using \cmidrule(r{}){} which made some gaps in border lines, would you mind telling me how I can fix it? \documentclass{book} \usepackage{amsthm,...
1
vote
1answer
76 views

Square bracket border for annotations in screenplay text [duplicate]

I would like to put a square bracketed border around some words in a paragraph and also have it around a whole centered paragraph, depending on the paragraph width. Example: Page breaks in paragraphs ...
1
vote
2answers
41 views

How to add borders with shaded environment (from the framed package)

I defined a shaded environement using the framed package (\usepackage{framed}) and I would like to add borders to the shaded area, how could I do it? For instance, how could I add borders in this ...
0
votes
0answers
19 views

URL positions getting shifted from the URL reference text after adding page borders

I am making my resume on Latex for the first time and had an issue with the placement of links getting shifted upwards after adding page borders. This is how my links look after I have added the page ...
0
votes
1answer
41 views

Question about centring text and adding borders to table of contents

I want to do two things in my document Add borders to my table of contents Centre/align the title of table to title of the page In the following image, I am only showing the contents (not the whole ...
4
votes
2answers
159 views

Table with different border style?

I need to create table like this: Is it possible, and if it is, how? Thank you
2
votes
0answers
58 views

Tikz borders not working after using the package Polyglossia

First I tried this bit of code, it's working fine, the results are as expected: \documentclass[a4paper]{scrartcl} \usepackage{tikz} \usepackage{tikzpagenodes} \usepackage{scrlayer-scrpage} \usepackage{...
1
vote
2answers
30 views

Continuous border with math markup within code/algorithm markup

I'm currently facing an aesthetic issue. The borders of my code/algorithm section are being divided by in-code math markup: Table has been generated with the following code: \documentclass{article} \...
0
votes
1answer
44 views

Highlight the border of a smaller table inside a table

Suppose I have a 4 x 4 table that was created in the tabular environment. I want to outline the borders of the 3 x 3 sub-table that sits in the lower right corner in a color that is different from the ...
2
votes
2answers
144 views

Make hyperref links only show up if they're external links?

I am trying to make a document, but I do not need hyperref to label links that are internal (since the document is only a few pages long). I would, however, like for links to show up that point ...
0
votes
1answer
23 views

Page Borders on Specific Pages, followup to an answer from another question

I tried using the answer from Adding a border on each page to create a page border, and it works, but I'm wondering if there's a way to remove the page border from certain pages? I would ask this in a ...
0
votes
1answer
40 views

Issue with the rendering of a Latex table generated from Excel

I make follow from the following post : Automatic generation of table made initially on MS word The solution that produces the best rendering and the more easily modifiable is giving by @Simon Dispa. ...
1
vote
2answers
31 views

Table borders are missing

\documentclass{article} \usepackage{siunitx,booktabs} \newsavebox{\toptabular} \begin{document} \begin{table} \centering \sbox{\toptabular}{% \begin{tabular}{ @{} l r @{\hspace{3em}} l r @{} } \...
0
votes
0answers
51 views

Drawing arcs inside a sphere as parallels (or meridians) properly

I got this code: \begin{tikzpicture} \draw (0,0) circle (3); \draw[dashed] (({3*cos(45)},{3*sin(45)}) arc (0:180:{3*cos(45)} and 0.7); \draw (({3*cos(45)},{3*sin(45)}) arc (0:-180:{3*...
3
votes
3answers
82 views

How to show border in multicolumn and multirow cells for table?

I am using the code, \documentclass{article} \usepackage{multirow} \begin{document} \begin{table} \begin{tabular}{|l|l|l|l|l|l|l|} \hline \multirow{2}{*}{Dataset} & \multicolumn{...
0
votes
1answer
40 views

How to Dash the other half of an eclipse

I have a graph like Now, I want the inner and half part of the first three eclipses(in asc order) to be dashed. How can I achieve this? Sample output: Also, I'm using arcs for the curved top and ...
4
votes
1answer
47 views

How does array.sty handle vertical rules?

Section 2.1 of the array.sty documentation explains that rules are "placed between columns or rows thereby enlarging the table". I'm interested in how it is done for vertical rules as I can'...
0
votes
0answers
36 views

borders and content missing, after LaTeX convert to word

Here is the code ! \begin{table}[h!] \centering \begin{tabular}{|c|c|c|c|c|} \hline 截面 & 边跨跨中$M_1$ & 离端第二支座$M_B$ & \makecell[c]{离端第二跨跨中及\\ 中间跨跨中$M_2(M_3)$} & 中间支座$M_c$ \\ \hline 计算跨度$...
1
vote
1answer
82 views

Controlling Border Color using pgfpages

pgfpages is a great package for, among many things, creating borders around pages. I am looking for some help to change the color of the border from black to my specified color (\definecolor{...
0
votes
1answer
25 views

How do I put a box around the figure and caption both

Background There are several questions asking how to put a box around an image, such as question 1, question 2 and question 3. Question How to create a box that includes the image and the caption ...
0
votes
2answers
123 views

Page margins and distance from the border

I have to write an official document following some precise instructions: top margin: 3; bottom margin: 2.5; left margin 2.5; right margin: 2.5; header distance from border: 1.25; footer ...
0
votes
0answers
24 views

Set right border with multirow and width of columns on table

the first thing to say is that I hate tables in latex when they are a little bit complicate. 🤦‍♂️ Then, I am trying to make a table with multirow and multicolumn. I found my questions answered ...
1
vote
2answers
37 views

Fitting a matrix inside a designated space

I put a large matrix in the documents and the matrix went beyong the border. I'm wondering how we can resize it? Here is the codes for the matrix: \[\mathcal{W}_{i,:,:}= \begin{bmatrix} \mat{W_1}[...
1
vote
1answer
86 views

How to extend the spiral to the edge of the page

How to increase the length of spirals as in the image using XeLaTeX engine: \documentclass[12pt,a4paper, openany, notoc]{report} \usepackage{tikz} \usepackage[contents={}]{background} \usepackage{...
1
vote
1answer
104 views

Background notebook template with spiral with XeLaTeX

How to inset wire-O bookbinding. I tried the answer here Background notebook template with spiral by @Gonzalo Medina but it doesn't work properly when I compile with XeLaTeX while usin an RTL ...
0
votes
0answers
30 views

Tikz Document Margin and Orientation

Here is my code: \documentclass[tikz,border=3.14mm]{standalone} \usepackage{amssymb, graphicx} \usepackage{amsmath} \usepackage{amsthm} \usepackage{float} \usepackage{enumitem} \usepackage{amsfonts,...
0
votes
2answers
102 views

Reducing the width of the “tcolorbox”

My question is related to reducing the border margins to fit into the items inside the tcolorbox. Any suggestion is much appreciated. \documentclass[12 pt]{article} \usepackage{amsmath} \usepackage{...
1
vote
1answer
39 views

Thicker border line glow for box & add labels for sub equations

I am looking to add a thicker blue line to the box (potentially with a glow like feature but not essential!) I have constructed for a box containing three split equations, as well as trying to add ...
0
votes
0answers
23 views

Page numbering is not displayed when border is added

I created a document and I needed to add border to every page. I wrote the code for the same but when I run the code, in PDF viewer the page numbering of some pages are not displayed. Can anyone help ...
0
votes
0answers
22 views

Custom pictorial border to environments

I write documents full of algorithm environments, and they got a bit boring to look at for me, lately. I've been thinking to try to render them with a custom border, something like the following proof ...
0
votes
1answer
45 views

“erroneous nesting of equation structures” , using \boxed, can't identify the problem

I want to create a frame around a piece of math notation, I'm using the \boxed{} command to do that: $$ \boxed{ \begin{align*} &p = \text{Intervallverhältnis von 1 Cent} \\ &2 = \text{...
1
vote
2answers
64 views

how to add the border for only roman numbered pages?

to all Previously asked the question how to add the borders for selected pages,i got the answer but i'm facing problem.I'm using two types of page numbering roman and Arabic.\AddToShipoutPictureBG{\...
2
votes
1answer
231 views

how to add the page border for first two pages in latex?

I'm beginner in latex. I'm trying crate a my internship report so i want to crate a page boarder for first two pages. i created the first page but at the second page is not getting boarders, it ...
0
votes
0answers
25 views

How to make a page border (like MS word) in all pages while using XePersian package [duplicate]

How to make a page border (like MS word) in all pages while using XePersian package so we can write some persian text and use \maketitle?
0
votes
1answer
39 views

How to make only the top borders in every page

Can anyone let me know how to make only the top borders (not including the bottom borders) on each page, with some names written on the top of the borders? The top borders I mean looks like this, for ...