Questions tagged [border]

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

Filter by
Sorted by
Tagged with
3 votes
3 answers
157 views

Adding a Border to an Oval-Shaped Cropped Image

Consider the code \documentclass{book} \usepackage{graphicx} \usepackage[abs]{overpic} \usepackage{tikz} \definecolor{Gold}{RGB}{228,168,73} \begin{document} \thispagestyle{empty} \begin{center} ...
  • 6,281
0 votes
0 answers
19 views

How to remove the thin border around image (png, made from "save as picture" in powerpoint) in LATEX?

I insert a few subfigures into powerpoint and group them together, then I apply "save as picture" to save the composite figure as a png image. But when I include this png image into latex ...
  • 1
3 votes
4 answers
141 views

Creating a payoff table of size 3x3

I was trying to use another question found on the website to build a table of size 3x3 to represent payoffs in a multiple player game. I used as an example the answer given in this question Creating a ...
  • 33
3 votes
1 answer
83 views

Top border of table is not drawn

I built a table using www.tablesgenerator.com, selecting that all borders must be added. However, when I insert the code and compile it, the top border is not properly drawn (see in Figure): Here is ...
1 vote
2 answers
25 views

MIssing border in table with multicolumn and multirow with hyphenated column headings

I am missing the right border in one the columns where there is a multirow. Have tried a bunch of things. Here is an example. \documentclass[10pt]{article} \usepackage{array} \usepackage{multicol,...
0 votes
1 answer
46 views

How to get a subscript in an integral bound in LaTeX?

How to get a subscript like v_0 in \int_{v0}^v v dv in LaTeX? \int_v_0^v v dv gives an error
  • 1
4 votes
3 answers
178 views

Adding vertical space inside a table

I need some extra top padding for the row below header: \documentclass{article} \usepackage[a5paper]{geometry} \usepackage{xcolor, booktabs, tabularx, colortbl} \begin{document} \noindent\begin{...
  • 3,891
5 votes
1 answer
175 views

How to Make an Ordinary Page Border Resemble This Tcolorbox

I know that I can produce (ordinary) page borders, for example, as follows: \documentclass{article} \usepackage[margin=.75in,paperwidth=16cm,paperheight=24cm]{geometry} \usepackage[a4,frame,noinfo,...
  • 6,281
1 vote
0 answers
13 views

Double page borders when printing two pages side by side

I want to print two A5 pages on one A4 sheet. In order to differentiate between the two A5 pages, I decided to add a thin black border around each one of them, as described here. Following this answer,...
  • 474
0 votes
0 answers
33 views

Unwanted grey border around the whole page

I notice that LaTeX is putting this grey border around the whole document page. How do you get rid of it? Here is my code: \documentclass{article} \usepackage[paperheight=110pt,paperwidth=110pt,margin=...
0 votes
2 answers
27 views

Missing column border due to multirow

I have an issue with multirow. Some of the borders in my table are missing since I added one column at the end, but I can't get why. Any help is appreciated! \begin{table} \centering \begin{tabular}{|...
  • 127
1 vote
1 answer
30 views

How to center merged cells vertically in a table and stretch the merged border to cover all of the cell?

I am using the code: \definecolor{atlas}{RGB}{11,128,195} \newcolumntype{C}[1]{>{\centering\let\newline\\\arraybackslash\hspace{0pt}}m{#1}} \begin{table}[H] \centering \begin{tabular}{| l | C{2cm} ...
2 votes
1 answer
20 views

Wider double border of a node in a tree environment

My question is pretty simple: I would like to draw a double border node in a tree environment as follows: With the current code I've got, my output is the following: We can see u has a double border ...
  • 437
0 votes
0 answers
53 views

How to get a frame like in the image

I am preparing a math test. How can I get frames like in the image?
0 votes
1 answer
69 views

PDF missing border

I have a table which look like this on overleaf editor. When I download the file as a pdf I get something like this, where borders are missing. My code is as follows: {\rowcolors{2}{cyan!10}{white} ...
1 vote
1 answer
86 views

Adding a Colored Frame to a Do-It-Yourself Lettrine

This question is an extension of the one posed a while back in Adding a Letter to an Image in a Do-It-Yourself Lettrine Consider the MWE \documentclass{book} \usepackage{lettrine} \usepackage{xcolor} ...
  • 6,281
1 vote
1 answer
50 views

How to Eliminate an Unseemly Seam in a Psvectorian bi-Colored Pspicture

In the following code, I am trying to color the LHS of a psipicture blue and the RHS yellow; however, an "unseemly" seam appears down the middle of the picture. \documentclass[12pt]{book} \...
0 votes
0 answers
115 views

Create Page Border in LaTeX

I am trying to make a page border as shown in the figure. Any ideas how to achieve this?
  • 1
0 votes
1 answer
93 views

Drawing an HS tableau

I want to draw a tableau like this picture. OT tableau package is not helpful in this case. Don't care about the phonetics symbols. Just write it with a,b,c and 1,2,3 the columns and rows.
  • 1
0 votes
0 answers
34 views

Border Overlapping issue in Latex

I'm trying to create a MATH work sheet in which I need border for every page but when I use \Huge for some eqn (which are really small if I didn' use this code) then the equations overlap on border ...
0 votes
0 answers
48 views

How to Produce a Page Border That Resembles These Little Blue Boxes

I would like to produce a page border that looks something like this: What I have so far is this: \documentclass{book} \usepackage{xcolor} \usepackage{tikz} \usetikzlibrary{calc} \begin{document} \...
0 votes
1 answer
80 views

fcolorbox without borders

I'm using \fcolorbox (from xcolor) to get a coloured page. However, I was wondering whether it is possible to hide/remove the border keeping the page coloured. This is the command I'm currently using ...
  • 3
3 votes
3 answers
132 views

Multirow Table borders are miss aligned

I am using Overleaf to draw a Table that contained multirow cells, I am facing a problem with the right border, there are missing lines, I am using the code below, what I am missing? \begin{table}[ht!]...
  • 87
0 votes
0 answers
46 views

add text on top and bottom page border

How can I add text on the top and bottom border as seen in the image below?
1 vote
1 answer
53 views

add thin border for (image and number)

I have layout (icon and number). Now i want to add very thin border for each (icon and number) and i used frame but don't luck. \frame{ \begin{center} ...
0 votes
1 answer
174 views

Remove border page

how can i remove border in allpage? Thank you Original Code: repeat image but number don't repeat (ascending count) \documentclass[oneside,10pt]{article} \usepackage[a3paper,landscape,left=0.0cm,...
3 votes
2 answers
261 views

Holes in tabular borders

I don't understand why but my tab has holes on the right border, and overlaps on the left one and I don't know how to fix this. \documentclass[a4paper, 12pt]{article} \usepackage{multicol} \...
2 votes
2 answers
138 views

Grey border around the whole page

I am typesetting novels in Latex and I would like to include a 'if you like this, why not try' section at the back. Such sections are normally formatted like this: With a nice grey border around the ...
  • 437
0 votes
0 answers
23 views

How to fix: Table goes beyond page border [duplicate]

I want to make a table of small height, but it goes beyond an a4 paper size. The desired result is as in the below image \documentclass{article} \usepackage{array} \usepackage{multirow, ...
  • 101
1 vote
0 answers
93 views

How can you add borders to internal links whilst having urls and citation numbers coloured?

I'm using the hyperref package to colour my labels, citations and urls. Initially I had borders around the urls but I started used hypersetup because I wanted to remove the boxes and give the urls ...
1 vote
1 answer
132 views

dashed border for beamercolorbox

Is it possible to draw a beamercolorbox with a dashed border? I cannot find in the Beamer documentation the possibility of such kind of decoration.
  • 291
1 vote
2 answers
53 views

beamer: uncover table by row when number of cells is not constant

The first row of the table has one cell, but the second row has 2. \documentclass{beamer} \RequirePackage{array} \begin{document} \begin{frame} \begin{tabular}{|c|c|} \cline{1-1}% a \\ \cline{1-2}% \...
1 vote
1 answer
76 views

LaTeX - Create a table from a CSV file with borders

As many of you, I wanted to automate as many things as possible when creating my files. I have to create tables often, so I figured that loading from a CSV file would be the most comfortable for me. (...
  • 13
2 votes
1 answer
48 views

Remove borders, center a pgfplot both vertically and horizontally and fill the available space

I would like to create a memory card game for my pupils and generate quadratic cards of 6cm width and height which are then embedded in a master file which puts the cards into a grid. A single card ...
  • 177
2 votes
3 answers
85 views

Remove or Change Color of a Pspicture Border

Consider the code (which compiles with XeLaTeX): \documentclass[a5paper,12pt,onecolumn,openany,final]{book} \usepackage[hmargin=0.7in,vmargin=0.75in]{geometry} \usepackage[usenames,dvipsnames,svgnames,...
2 votes
1 answer
35 views

how to suppress a line segment along left-hand side edge of a tabular environment?

I do not want the extra line above the "Websites" cell, (circled in red). How do I remove this? Here are my LaTeX commands: \setlength{\arrayrulewidth}{0.5mm} \setlength{\tabcolsep}{18pt} \...
1 vote
1 answer
158 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 ...
  • 331
1 vote
0 answers
48 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
2 answers
456 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://...
2 votes
1 answer
43 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 ...
  • 158
2 votes
2 answers
139 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
2 answers
150 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 ...
1 vote
1 answer
30 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
2 answers
108 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|...
4 votes
3 answers
671 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
1 answer
31 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} ...
  • 5,222
0 votes
1 answer
46 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
1 answer
71 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{...
  • 135
4 votes
2 answers
304 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 ...
  • 511
1 vote
2 answers
144 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
2 3 4 5