Questions tagged [border]

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

Filter by
Sorted by
Tagged with
1
vote
1answer
41 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
24 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
16 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
38 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
147 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
57 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
26 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
38 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 ...
1
vote
2answers
84 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
19 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
36 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
29 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
42 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
77 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
38 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
40 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
35 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
48 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
23 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
73 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
20 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
27 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
73 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
86 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
29 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
67 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
26 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
22 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
41 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
61 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
132 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
23 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 ...
0
votes
1answer
67 views

Text running through the line

I am quite not sure how to create something like this: text across a line border on latex. Edit1: \begin{tcolorbox}[enhanced,title=My title, attach boxed title to top center={yshift*=-3mm}, boxed ...
0
votes
1answer
67 views

ConTeXt: Overlapping Frame Border Glitch

I'm seeing some subtle glitches at two-and-three-line intersections where the unopposed line extends slightly beyond the intersection. See the image. Similar artifacts in Evince and Foxit. Since they ...
1
vote
2answers
66 views

TikZ-cd: How can we draw a border around multiple nodes?

I am wondering if there is a way of drawing a border around a selected set of nodes in tikz-cd. There are some past threads for TikZ, and they are too complicated for me to comprehend. I would like to ...
0
votes
0answers
106 views

Add a logo to tikz fancyhead and footer

USING OverLeaf I would like to add a Logo at right top corner in the header. 1 cm from the right edge. And a text in the footer 1 cm from the left edge. I tried using rhead. But I am very new to ...
1
vote
1answer
81 views

Borders on all pages

I am working on a report and I want a border on all pages. I have managed to have a border by using the solution provided here: https://tex.stackexchange.com/a/808/205277 But it won't work on all ...
4
votes
3answers
594 views

How to get rid of vertical white lines in a table?

When coloring rows of my table with a dark color, I get these white vertical lines where borders would normally be. How can I get rid of them? \documentclass[11pt, a4paper]{scrbook} \usepackage[left=...
1
vote
1answer
73 views

Highlight inline formulas

I need either to add a color background or border around each inline formula. How? I want to ensure every formula is no more wide that about the 1/2 of the width of text, in order to publish them in ...
2
votes
1answer
132 views

Remove tikz borders in standalone figure

When creating a simple square with lines, standalone adds some white space (borders) because the line width exceeds the fill limits. \documentclass[tikz]{standalone} \usepackage{tikzpagenodes} \...
3
votes
2answers
160 views

Standalone graphic has still borders left and right

I am working with small graphics which must not have any border. Surprisingly for me this code produces small (1-2mm) borders left and right. Could you enlighten me? This code... \documentclass[tikz=...
0
votes
1answer
299 views

Custom Page Border

How can i create a page template that looks like this: Where the default paper is A4 and I want my ctext to be located in the big rectangle? The distances represent how far away it should be from the ...
2
votes
2answers
59 views

how to give a border frame around the contents of a page

\documentclass[letterpaper,10pt]{report} \newenvironment{packed_enum}{ \begin{enumerate} \setlength{\itemsep}{1pt} \setlength{\parskip}{0pt} \setlength{\parsep}{0pt} }{\end{enumerate}} \begin{...
2
votes
1answer
77 views

How could I create a black border around the title area?

How could I create a black border around the title area? I have this code so far: \documentclass[answers]{article} \usepackage[utf8]{inputenc} \usepackage[framemethod=TikZ]{mdframed} %Textbox \...
2
votes
1answer
133 views

Replicating a fancy bordered text style in LaTeX

I am looking to replicate the following artwork with LaTeX: A border resembling a pencil runs along the left-hand side. The pencil is divided into coloured sections corresponding to different pieces ...
0
votes
1answer
161 views

Border around compiled pdf using bioinformatic documentclass

I'm a complete beginner in writing academic paper with latex, and I'm a bit confused with the compiled result of my test.tex file. I'm using custom documentclass provided by Oxford academic's ...
2
votes
1answer
474 views

Using graphics as tabular borders—ornaments around boxed contents

I have done some searching already, but did not find anything on the topic and I'm not sure where to even really begin looking for this. As the title suggests, I was wondering if it was possible to ...
0
votes
1answer
34 views

Need border or underline Heading/Section

I am using the article class and need to underline or put a box around the section. It's a resume heading so it needs to be neat. \documentclass{article} \usepackage[a4paper,bottom = 0.6in,left = 0....