Questions tagged [border]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3
votes
1answer
46 views

TikZ: How to avoid white space when using “seam allowance”?

Assumed we have this very simple Minimum Working Example (MWE) to draw a straight line: \documentclass[tikz]{standalone} \usetikzlibrary{intersections,decorations.pathmorphing} \begin{document} \...
1
vote
1answer
36 views

How to set a default border for each cell in table?

I have a document which has some tables in it and I want to set some default border for each cell in the table. Right now I have defined a new command and I have to call that command for each cell but ...
6
votes
1answer
67 views

CircuiTikZ: How to create professional wiring diagram borders?

Assumed we have this Minimum Working Example (MWE): \documentclass{article} \usepackage{tikz} \usetikzlibrary{circuits.ee.IEC} \begin{document} \begin{tikzpicture}[circuit ee IEC] \draw (...
0
votes
0answers
31 views

draw box around every page with column reserved to grades

I want to draw a box around every page of an exam document (exam class) alongside a rectangle on the left (or right) containing grades as in the figure aside. Thanks in advance.
1
vote
1answer
43 views

Add axes all around the plot in tikzpicture

I have a figure and I have ploted some value. My issue is that I cannot seem to be able to specify that the figure should have axis on all sides. My figure: I would like to have the borders like in ...
0
votes
1answer
34 views

Removing or changing table border spacing in `longtable`

I want to remove the border spacing of a table created by longtable package. I wish to preserve the column spacing as such and wish to only remove the right side border spacing so that a two column ...
0
votes
1answer
35 views

How to make word breaking work, and have a straight line on the right?

I am new to Latex, I apologize for the very basic question in advance. I just cannot make Latex breake the words correctly, or adjust the spacement of words properly so that I have a straight line at ...
0
votes
0answers
26 views

How to get rid of white border when printing using page color and xcolor?

The most similar situation I could find was this question here. For a pdf document, I wanted to add a background colour other than white. I did this simply with: \usepackage{xcolor} \pagecolor{gray}...
1
vote
1answer
72 views

Why some sides of the border of a node are getting cropped in `standalone` class? [closed]

IMPORTANT EDIT: such output is rendered in Adobe Acrobat and TeXworks (0.6.3). If you look closely at the output, the right border is either missing or barely seen compared to the left border. What ...
9
votes
1answer
708 views

Old style “caution” boxes

Technical manuals from the 1960s and 1970s sometimes had eye-catching CAUTION boxes surrounded by wavy or curly lines. My best attempt at re-creating this is not ideal as I can't get the snake to ...
2
votes
1answer
62 views

Borders of fbox

How can we write words on a border of \fbox in LaTeX like this Hope image is clear.
3
votes
4answers
50 views

How can I draw a line around text, but open on one side? [duplicate]

I'd like to do something similar to \boxed{whatever}, but with the box open one side. Something like the following. \documentclass{article} \begin{document} \[ \overline{\underline{abc |}} \] \end{...
13
votes
6answers
822 views

How to add multiple differently colored borders around a node?

I want to draw a node to be filled with a table containing data, and it should have (three) differently colored adjacent borders around it. Couldn't find anything in the PGF manual, on the Net, nor on ...
0
votes
1answer
40 views

Tabularx Multirow has different border width

I'm creating a table using tabularx package. The problem comes when I add a multirow. The multirow borders are different (the border width is smaller) and I don't know how to fix this issue. \begin{...
0
votes
1answer
124 views

How to set page borders very basic way

I want to set page borders but is getting confused between various answers and tutorials. All I want is simple, double-lined page borders (with black color) for my page. I am also getting confused ...
1
vote
1answer
53 views

How to set a vertical and horizontal border at the same time

I'm writing a cover letter and for the template I have everything except I want to add 2 border lines: from top left to 2/3 paper height from down right to 2/3 paper length In the code I've already ...
3
votes
3answers
50 views

I want put frame with rounds corner

what is the problem? why not can a frame with round corner? \documentclass{article} \usepackage[framemethod=TikZ]{mdframed} \usepackage{lipsum} \usepackage{float} \usepackage{...
2
votes
1answer
45 views

Remove space blank in right side

I'm wanting to eliminate the space between the figure and the edge this is my code, or how do I eliminate the space? How do I eliminate the space on the right side? \documentclass[a0paper,...
1
vote
1answer
79 views

Frame around TikZ circle filled with image

I would like to draw a frame around a TikZ circle that is filled with a picture. Importantly, the code should follow the MWE below (if possible), since it is copied from a larger class definition, and ...
2
votes
1answer
64 views

Include a graphics but without modifying the layout (i.e. add an image behind text)

I'd like to define a command \mark that would add an image mark.png : on the same vertical coordinate than the current text at 1cm from left border without modifying the layout, i.e. if I remove this ...
1
vote
1answer
173 views

How to set longtable width to text width so that the text in cell wraps around automatically?

Hi I usually use tabular to create my table. However I am currently in the process of creating a unavoidable huge multi-page table in landscape more. I am using TeXstudio 2.12.10. However I am having ...
0
votes
2answers
512 views

How to insert a frame for a page in latex?

I need to create a frame for a page in a latex document. My document have frame with 3 cm of margin. It will have a text in the top, other in the center, and in the footer.
3
votes
2answers
80 views

hypersetup with no box instead of white box

I like to hide some type of links to not distract the reader. I want to hide, say, cite links but show \href type links (I consider cite links do not need to be highlighted visually because the reader ...
1
vote
1answer
119 views

Easy way of drawing 'All Borders' in tables?

I'm currently drawing borders like so: begin{tabular}{|c|c|c|} \hline a & b & c \\ \hline d & e & f \\ \hline g & i & j \\ \hline \end{tabular} However, this requires ...
0
votes
0answers
55 views

Drawing custom page border with tikz

The result I want to get is something like this I attempted to use the crop package, but I keep getting an Undefined control sequence. <argument> \trimtop error so I want to try and get that ...
5
votes
1answer
125 views

Dashed border but custom shape

I know that tcolorbox can have dashed border. However the stripes are rectangular. But is it possible to change the rectangles to parallelograms (45 angled) with inner and outer border as well, such ...
1
vote
1answer
59 views

Table wont show all borders

I have made the following table: \begin{center} \begin{tabular}{| c | c | c |} \hline \cellcolor{blue!25}$M_{\delta}$ & \cellcolor{blue!25}$t_{go}^{s}$ [sec] & \cellcolor{blue!25}\...
0
votes
2answers
96 views

Custom box environment with custom border

I try to make a kind of custom datatype which has a short ID a description and an owner comment. Using minipage with no border is not optimal because it is difficult to see the separation between ...
1
vote
1answer
67 views

unnumbered sections aligned, including pdfborderstyle, in table of contents

Thanks to this question I manged to get my unnumbered sections aligned in table of contents, but as I'm using hyperref to highlight pdfborderstyle I get an outline, or highlight, that is not indented. ...
2
votes
1answer
85 views

Missing border/vertical line on the right side of a pgfplotstable

I've tried lots of options with pgfplotstable, but am unable to generate the right-side border. (This table does have to be able to span more than one page.) Any ideas? Thx! (I am using Quick Build in ...
2
votes
1answer
277 views

How can I add some caption to parbox

I am using \noindent\fbox{% \parbox{\textwidth}{% text }% } For a box around text like this: How can I add some caption and use this caption as reference in text? Somethink like ...
2
votes
1answer
594 views

How can I make a thin border around text

I am using \noindent\fbox{% \parbox{\textwidth}{% text }% } For a box around text like this: I want to make a morest thin border. I don't know how.
1
vote
1answer
46 views

Add the source of the information in image

How can I add the font in the image footer and a top-of-the-line description?
1
vote
0answers
78 views

Add or remove borders from all tables in a document [closed]

I have a LaTeX document with several tables. All these tables do not have borders. I would like to add borders to all these tables. Adding borders one by one to each table is a daunting task. Is there ...
1
vote
1answer
344 views

Spacing for first row in a table

The submission guidelines for a conference depict following Word table: So far, I got: with following code: \usepackage{tabularx,booktabs} \usepackage{array} \begin{document} \begin{table}...
1
vote
0answers
87 views

How to draw border in TikZ? [duplicate]

I want to draw the following picture in LaTeX, and I thought that TikZ is a good thing to use. But, I have multiple problems. First is that I do not know how to draw borders like in the picture ...
4
votes
1answer
70 views

TikZ: How can I remove the undesired border of a polygon with color gradient?

folks! I want to draw a polygon with TikZ that has a color gradient from white to gray. Unfortunately, the polygon has a small gray border and I don't know why and how to remove it. This is my MWE: \...
0
votes
2answers
142 views

Removing all table border margins

I have a macro that generates a Latex table, which I need to fit inside a box (well, a Label) in Asymptote. I would like to have the bounding box edges coincide with the table edges. This does not ...
1
vote
2answers
302 views

table border missing due to multi row

Please how can i get proper table borders of table shown below. please see my code \documentclass[journal]{IEEEtran} \usepackage{multirow} \usepackage{array} \usepackage{tabu} \usepackage{multicol,...
0
votes
2answers
253 views

Top and bottom page borders

I would like to add some borders to my document similar to the image attached - one is at the top of the page and the other is around the page number. Can I have some recommendations please? I ...
1
vote
0answers
66 views

plotting sub-figures with borders in latex [closed]

I'm running the below code to plot three figures, however, the border between the two figures creates two lines in parallel and I want only one line to be in the middle of the two figures for a better ...
3
votes
2answers
569 views

Beamer Right and Left borders

I want to show a thick line on the left and right borders, i found the similar quetion here Right border but just for right border, here is my MWE: \documentclass{beamer} \usetheme[secheader]{Madrid} ...
0
votes
1answer
285 views

Adding left and top border to a section heading

I would like to have a top and a side border around my section heading like this I'm using titlesec \titleformat to define my sections. So far I've been able to add a top rule by putting a \...
8
votes
2answers
345 views

TikZ: How to set width of complicated TikZ-image to \textwidth?

I have one a bit complicated TikZ-image: As you can see, I want to put one single border around this TikZ-image. Due to optical harmony the border should have the exactly same outside dimension like \...
2
votes
1answer
159 views

Boxed text, multiline

How can I something like this (an \fbox that can span multiple lines): |--------------------------------------------- The quick brown fox |jumps over the| lazy dog. The quick ...
1
vote
1answer
166 views

ConTeXt: Style only the first body row of all xtables in a document

Background A generated document contains tables with and without headers. For the tables with headers there is no issue, as exemplified by: Problem The generated document does not include a ...
1
vote
2answers
145 views

Tikz: faded node border has spurious extra border line

I'm adding borders to some tikz drawings in my document. Some are just images inside a tikz environment and some are full on drawings. Using existing Q&A from here (most specifically Including ...
0
votes
2answers
258 views

tabular vertical borders broken

Why are the last 4 vertical lines in this table not connected to the top horizontal line? \documentclass[]{article} \begin{document} \begin{tabular}{| c | c | c | c | c |} \hline \\ ...
2
votes
1answer
1k views

Page Border for cover page in LaTeX

I am trying to make a page border for cover page only (the first page) as shown in the figure. Any ideas how to achieve this?
5
votes
2answers
464 views

Simple solution to add a shaded image border

I want to make a shaded image border. My current solution is using \shadowbox: \documentclass[12pt]{article} \usepackage{tikz} \usepackage{fancybox, graphicx} \begin{document} \shadowsize=...