The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [line]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
21 views

Extra blank line when using setspace, wrapfig, and pgfplotstable

New to LaTex here. I'm sorry if my example text isn't the most minimum it can be. I need to be able to write documents that are doublespaced, have tables that are single spaced which are inputted ...
0
votes
0answers
9 views

Writing text over a horizontal line [duplicate]

So I have a problem and I can't find the answer. I'm writing a contract and I need to be able to write text over a line. Some words... born in.\hrulefill\\ when.\hrulefill living in.\...
2
votes
1answer
24 views

How to add a vertical dashed line into table?

I need to draw a table in Latex with a dashed line between the columns Dep and No Coda. I've tried with arydshln, but it doesn't work. \documentclass[12pt]{article} \usepackage{dingbat} \usepackage{...
3
votes
2answers
63 views

How to perfect the line joins?

I'd like to perfect my linejoins. How can I accomphish this? I tried line join=round in the \begin{tikzpicture} environment, like so \begin{tikzpicture}[line join=round], but it didn't solve the issue....
0
votes
2answers
44 views

Managing text within table cells

When creating a table in latex and inserting a text inside a specific cell, if the text is long, this is the result: Even if there is enough space in the cell to contain the whole sentence. Moreover, ...
0
votes
0answers
29 views

Fillable line above the date

I'm trying to create a fillable line in a document. I only have this so far: \documentclass[a4paper,10pt]{} \begin{document} \begin{Form} \begin{tabbing} xxxx: \= \kill Lima, \> \TextField[name=...
1
vote
2answers
44 views

Problem with drawing a straight line using the picture environment in LaTeX

I am new to learning LaTeX, and I am using WinEdt 10 as the editor. I have an encountered a problem when trying to draw a right angle triangle of sides 40,30 and 50. I am using picture environment ...
0
votes
0answers
17 views

How to do \hline in lttjext-tabular

luatexja provides redefinitions of environments such as tabular for vertical typesetting. With \begin{tabular}, the direction of text in tables can be controlled no matter what outside. However, it ...
19
votes
2answers
2k views

How many lines of code does the original TeX contain?

I am currently implementing a non-trivial software component (not related to typesetting), and would like to compare it to other components both from the same field and from other fields, including ...
0
votes
0answers
24 views

How to change line spacing to 1.15 lines? [duplicate]

How do i change the line spacing of my entire document to 1.15 lines?
0
votes
1answer
34 views

Longtable: Vertical Line not complete

I am using the longtable LaTeX package to create a multi-page table with three columns, one of which contains only images. However, the vertical line between the middle and right column does not ...
0
votes
1answer
46 views

Argument Spacing When Using lw Option for causes Compile Error with Tikz-Network Package

Writing the code with no spaces between the arguments of "\Edge[h local options i](Vertex i)(Vertex j)" normally handles processing: \documentclass{article} \usepackage{tikz-network} \thispagestyle{...
0
votes
1answer
51 views

how to create a table that repeats in every page with fixed size?

https://ibb.co/zH7L8kj I've uploaded the image, I have this table to be repeated for 30 pages the size is fixed as well. The page should have margins of 2.5 cm from the left/right and 2 cm on top/...
4
votes
1answer
77 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} \...
7
votes
2answers
330 views

Remove intersect line for one circle using venndiagram2sets

Problem: I wish to remove the intersecting line for circle A (left). Minimal Working Example (MWE): \documentclass{article} \usepackage{tikz} \usetikzlibrary{backgrounds,positioning} \usepackage{...
2
votes
0answers
75 views

Typesetting a crossword puzzle in LaTeX

I've been trying to typeset a simple crossword in a nice way in LaTeX, using the cwpuzzle package, but I keep having issues. Namely, lines around the cells seem "doubled" or overlapping. What could ...
1
vote
1answer
42 views

Horizontal and vertical lines in pmatrix

I am trying to replicate the following matrix in TeX: So far, I have this (the elements in my TeX are supposed to stay in that way): \documentclass[11pt,a4paper]{article} \usepackage{amssymb, ...
0
votes
0answers
54 views

Making Horizontal Lines Longer?

I'm trying to use a resume template and my current problem is once I modified the page margins to 1.0in all around, the horizontal lines don't reach my location/dates on the right side like they used ...
3
votes
2answers
45 views

Line breaks and alignment in table cells with math environment

I am trying to build a table which has math environments and forced line breaks. I've found some solutions that come close to what I desire. Effectively, I am working on something like this: \...
3
votes
3answers
44 views

Table vertical lines missing

Hi the vertical lines of the table (of the right side) are missing (photo below). I would like to know what's wrong with my code: \begin{table*}[t] \centering \begin{tabular}{|c c c|} \hline \\ ...
2
votes
2answers
59 views

Drawing a horizontal \rule through the middle of a line

How can I do something like \noindent\rule{\linewidth}{0.25mm} but in a way that doesn't leave a big gap before it? Currently it's kind of like \bottomrule, almost as if it skips a line. I want it to ...
1
vote
1answer
25 views

Lines and positioning of tables

I need to create this table This is what I have done so far \begin{table}[h!] \begin{center} \begin{tabular}{|l|c|r|} % <-- Alignments: 1st column left, 2nd middle and 3rd right, with ...
0
votes
0answers
27 views

Table Cell Problem

I'm working on a table and I try to plot bold line in order to highlight a specific column. However, my lines are cutted before to reach the full cell (horizontal lines...). Someone can help ? \...
0
votes
1answer
49 views

How to edit this map?

I wanted to make a similar line graph as below, but I just want to replace the letters and numbers with words. Is there a possible way? Simple line with dots, known coordinates This is the original ...
0
votes
0answers
34 views

algorithm with vertical line

i created the following algorithm but i am not satisfied with the output.So i was wondering is there a way to add vertical lines in my algorithm but also keep the same structure and be able to put it ...
0
votes
2answers
34 views

How to create horizontal dashline length of page inside description environment

I want to create a horizontal dashline with the length of page margin using the arydshln package. I've read this but when using \hdashline[1pt/2pt] I get an error. How should I implement \hdashline ...
0
votes
1answer
295 views

please how do I create this declaration page on latex, the major challenge is inserting the lines though

please I need assistance in inserting a line for signature/date in the declaration page of a research document using latex! assistance would greatly be appreciated
2
votes
1answer
34 views

How to add custom line and improve this code?

I have work from my campus, but, not all is learned, so I must develop this script, so, I have problem about text and table. I need to compile like this. I have use \hline but that will line ...
0
votes
0answers
452 views

Line spacing - equivalent to MS Word 1.5 spacing

I am writing my thesis, somewhere towards the end of it, but also the time is tight, so I'd appreciate some help. I have to use 1.5 line spacing. However, I read somewhere that \onehalfspacing of the \...
0
votes
2answers
53 views

Rotating a segment along a line

I would like to draw a line, something like \coordinate (A) at (0.42,0.5); \coordinate (B) at (0.98,0.44); \draw[ultra thick] (A) -- (B); and draw a sequence of small segments on this line where ...
3
votes
2answers
64 views

Hiding Certain Lines on Table

I made the following table: \documentclass{article} \usepackage{multirow} \usepackage{multicol} \begin{document} \def\arraystretch{1.5} \begin{tabular}{|c|c|ccc|} \hline & & \...
3
votes
1answer
80 views

TikZ: How to clip out random coil fragments?

Based on this answer from marmot I am thinking about how to design a turbulent flow regime along a stream line within coarsed soil. Minimum Working Example (MWE): \documentclass[border=5mm]{...
0
votes
0answers
52 views

Thin Lines from PDF Figure in Latex get thicker when exported to final PDF [duplicate]

To have the best quality of figures in my document I'm using pdf images. But it seems that when the pdf images have very thin and/or transparent lines the final figure in the pdf gets messy, basically ...
0
votes
2answers
53 views

How to align the lines on the left

Consider the code \begin{align*} (pq+q-3)^2-(3pq+p+q-6)(pq+q-3)+2(p^2q^2+p^2q+pq^2-7pq+p+q+2)\\ =&\;(p^2q^2+q^2+9+2pq^2-6q-6pq) +(-3p^2q^2-p^2q-pq^2+6pq-3pq^2-pq-q^2+6q+9pq+3p+3q-18)\\+2(p^2q^...
0
votes
0answers
13 views

How to get line number within minted using Verbatim figure environment? [duplicate]

I noticed that using Verbatim to use minted within a figure environment removes the line number, compare the following: 1) the figure environment: \begin{figure}[htp] \centering \...
2
votes
1answer
290 views

Is it possible to draw vertical lines in algorithm (not algorithm2e) package?

My question is if it is possible to draw vertical lines in the algorithm package. I have seen the following question: Vertical line for pseudo code But I don't want to use algorithm2e because it ...
1
vote
2answers
145 views

How to make a single line in latex to have more line space?

In the following code, due to the shape of Q in "Qualification", the upper side of "L" in "Language" stick with the underline of "Further Qualification". Would it be possible to make the line space of ...
5
votes
1answer
151 views

context: line between margin and text

I work with ConteXt. Here at StackExchange I found a code for LateX to put a line between the text and the margin/marginparagraph. This line is visible in the image below. After that, I switched to ...
2
votes
4answers
90 views

Draw vertical line down aligned equation

How do I go about drawing a line vertically down aligned equations like this: I attempted using a tabular environment but some of the spacing is too much. This is what I have so far: CODE \...
0
votes
0answers
49 views

Vertical line in chapter name

I added the vertical line after chapter number with following comma nds: \usepackage{titlesec, blindtext, color} \newsavebox\theCT \definecolor{gray75}{gray}{0.75} \newcommand{\hsp}{\hspace{20pt}} \...
2
votes
1answer
70 views

Diagonal line through whole table

I am trying to set up an intercorrelation table showing results of two samples. However, for better visuals, I want to split this table into two parts by adding a diagonal line through whole table (...
1
vote
1answer
180 views

How do I remove this line from the bottom of the page? [duplicate]

% $Id: template.tex 11 2007-04-03 22:25:53Z jpeltier $ \documentclass{vgtc} % final (conference style) %\documentclass[review]{vgtc} % review %\documentclass[...
0
votes
2answers
89 views

Coordinate/node command doesn't work with \draw to?

I want to draw a curved line between two points but I can't define coordinates if I'm not using --. Is that deliberate or am I doing something wrong? So, to explain better. If I use the following ...
4
votes
1answer
131 views

What is the cleanest way to ensure that a string all appears on the same line, unless it is too long?

In the following text we want all instances of "BACON" to appear on the same line. Lorem ipsum dolor sit amet, BACON BACON BACON BACON. Mauris sit amet laoreet ante. That is, we want to ...
2
votes
1answer
81 views

my toprule and bottomrule width are different?

I may have change something before at the macro level by accident with some code I got online. How could I set it back? Now I am facing this problem where when I put: \setlength\heavyrulewidth{0.14em}...
1
vote
1answer
115 views

avoid line overflow in algorithm

How can I stop lines of my algorithm to be overflowing as shown in the picture below, I would like to break the lines that are too long into 2 lines and just go down to the next line if one line ...
6
votes
3answers
423 views

Two equations on the same line

I have seen some posts close to what I need, but not quite what I need. I would like to produce two equations on the same line with one equation number adjusted to left and one to the right. Both ...
8
votes
3answers
569 views

Commenting an equation with a vertical bar

I want to use a vertical bar to comment on solving a simple equation. Do you know a way to do that with LaTeX ?
1
vote
1answer
41 views

pgfplots line doesn't reach axis

Here is the code: \documentclass{standalone} \usepackage{pgfplots} \begin{document} \begin{tikzpicture} \begin{axis}[ width=500, height=500, axis lines = center, ...
3
votes
1answer
152 views

\pdfminorversion on the command line?

Is it possible to set the pdfminorversion on the commandline when calling pdflatex, instead of using \pdfminorversion=... in the tex file ?