Questions tagged [border]

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

Filter by
Sorted by
Tagged with
0
votes
2answers
45 views

Excel2Latex Code Borders not correct

I use Excel2latex to generate tables, and for some reason I keep getting the wrong outside borders. This is my code: \begin{table}[htbp] \centering \caption{Add caption} \begin{tabular}{|rcc|r|...
0
votes
0answers
22 views

how to create a latex equation with labels, arrows and borders

I want to create an equation of this nature: How would i add the labels above, arrows underneath and borders around?
4
votes
3answers
151 views

Latex table goes out of the page border

\begin{table}[h] \centering \caption{User-Story ID: 01} \begin{tabular}{|l|l|} \hline \textbf{User-Story ID:} & 01 \\ \hline \textbf{Title:} & Physician Registration ...
0
votes
1answer
24 views

How to avoid visual artifacts between fbox and graphics?

I'd like a simple black border around my images: \documentclass{article} \usepackage{graphicx} \usepackage{calc} \usepackage{mwe} \setlength{\parindent}{0pt} \setlength{\fboxsep}{0pt} \begin{document} ...
0
votes
1answer
27 views

Matching difficult formatting of table

I have the following table I'm trying to recreate: I'm translating the text to English and trying to obtain a similar form, but I'm having a terrible time managing the wild world of LaTeX tables! ...
1
vote
1answer
20 views

Is there a way to increase the length of dashes in \borderline{width}{offset}{dashed}?

Is there a way to increase the length of dashes in \tcolorbox\borderline{width}{offset}{dashed}? Here's some base code that doesn't work \documentclass{scrartcl} \usepackage[most]{tcolorbox} \begin{...
4
votes
2answers
85 views

Dashed border only at a corner with tcolorbox

I wonder if it is possible to create a box with tcolorbox whose border is like the following (i.e. a continuous border with a dashed segment at a specific point): The dashed part should be either at ...
1
vote
2answers
51 views

Drawing a box around an “asymmetric” diagram/figure?

I use circuitikz a lot for circuit diagrams and many of them involve some kind of a circuit element at the bottom which makes the diagram "asymmetric" or "not a perfect rectangle" (...
1
vote
0answers
46 views

Border around any general figure?

Is there is any general command to put a border around any "figure" (pictures, tables, tikz diagrams). In my case I have a document which uses some images and diagrams made using the ...
3
votes
3answers
82 views

Continuous borders through multiple blocks of a blockarray

I have this rather complicated matrix I'm trying to make with the blkarray package. \begin{figure} \aboverulesep=0pt \belowrulesep=0pt \center \begin{blockarray}{cccccccccccc} & $e_1$ &...
0
votes
0answers
28 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
90 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
33 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
48 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
99 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
51 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
134 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
62 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
193 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
86 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
176 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
49 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
51 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
121 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
53 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
92 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
50 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
21 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
45 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
167 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
33 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
69 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
237 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
26 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
47 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
33 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 @{} } \...
1
vote
1answer
77 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
103 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
41 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
49 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
40 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
122 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
36 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
258 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
34 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
38 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
102 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
116 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 ...

1
2 3 4 5