Questions tagged [border]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
9 views

How make bibliographic DOIs not spill out of the margins (the right one)?

The question is: how make bibliographic DOIs not spill out of the margins (the right one)? My bibliography was not compiled directly on LaTex. I generated it in Word via Zotero. Then I copied and ...
1
vote
1answer
45 views

Gaps in table boundaries

I am using tablesgenerator to generate tables, and the effect is not bad. But there are some flaws. For example, there is a gap at the corner of the boundary of the table. And the border thickness ...
33
votes
6answers
140k views

Tabular border style

\begin{tabular}{|c|c|c|} Column 1 & Column 2 & column3 \\ \hline second row & & \\ \hline \end{tabular} How do I change the border style? Using | I can draw thin solid vertical lines ...
1
vote
0answers
33 views

Images open perfectly fine while opening online but when they are opened with Adobe Acrobat reader the borders are missing or of different thicknesses

I am in a strange situation, I have just completed the report and downloaded but when I open it with Adobe Acrobat reader some random image borders disappear. although everything seems good when I ...
3
votes
2answers
352 views

Is there a diagonal-striped `warning' border in LaTeX/TikZ?

I'm not sure what this type of border is called but you may have seen one before in the manual of a power tool or kitchen appliance. See this Breville product recall webpage for an example: https://...
0
votes
1answer
31 views

Text inside minipage doesn't touch the border of the page

I have a heading that is made out of two minipages, one with a logo on the left and one with some text to the right. Neither of them touch the borders of the page as does the rest of the text (when ...
2
votes
1answer
21 views

Beamer, four images add thick border on two, why do images move on slide

I am new to Beamer and am trying to create a slide that has four figures, and I want to emphasize two figures with a red box. This setup makes the four figures nicely, based on the accepted answer ...
0
votes
1answer
46 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....
2
votes
2answers
80 views

How to draw a diagonal border with multiple lines?

i'm trying to draw a table with the first cell splitted by a diagonal border. But since my headings have 2 lines, the other cells also have 2 lines, and then the borders are incomplete, generating &...
1
vote
1answer
18 views

How to put vlines in all xltabular except the outer borderlines in xltabular table?

I have a very long table and I use the xltabular to do so. the code '\begin{xltabular}{\linewidth}{*{5}{L}}is already without the|` so it should be without the horizontal line outside the table: ...
0
votes
2answers
50 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?
3
votes
2answers
1k views

image frame borders in pdf from latex template with pandoc, markdown

I'm using a tex template similar to https://github.com/davecap/markdown-latex-boilerplate/blob/master/template.tex How can I get a frame around images which are passed from standard markdown code to ...
4
votes
3answers
160 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 ...
1
vote
2answers
65 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}{ ...
1
vote
1answer
26 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} ...
2
votes
2answers
758 views

Discontinuous line using \multirow

I've been struggling with table editing, so I started using a website to generate tables in LaTeX. However, whenever I'm using multirow and borders, things get a little tricky. I get a discontinuous ...
0
votes
1answer
30 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
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*...
1
vote
1answer
24 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
90 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
52 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
50 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
84 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
32 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
91 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
37 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
51 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
110 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:
265
votes
7answers
373k views

How to add border for an image?

I use \includegraphics command to insert image to the document. But how can I add a border around this image w/o any margin between border lines and image? It seems to be very easy, but I can't find ...
2
votes
1answer
58 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
142 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 ...
2
votes
3answers
211 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
104 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
180 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
64 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
55 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, ...
6
votes
4answers
746 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=...
0
votes
1answer
141 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
27 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
62 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
99 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
56 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 ...
9
votes
2answers
9k views

Border with multirow and multicolumn

Following example: \usepackage{multirow} \begin{tabular}{cc|c|c|c|c|c|} \cline{3-7} & & \multicolumn{5}{c|}{something} \\ \cline{3-7} & & AAA & BBB & CCC & DDD & EEE\\...
3
votes
3answers
117 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
50 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 ...
0
votes
0answers
22 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 ...
4
votes
2answers
168 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
38 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} \...

1
2 3 4 5