Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [line]

The tag has no usage guidance.

1
vote
1answer
14 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
20 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
48 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
20 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
23 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
62 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
31 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
108 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
49 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
61 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
73 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
40 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
42 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
10 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 \...
3
votes
1answer
154 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
58 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
130 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 ...
0
votes
0answers
13 views

Get rid of line above manuscript using [journal]{vgtc} class option

I would like to get rid of this line, that is on the bottom left of the first page of a document of this class: \documentclass[journal]{vgtc}: I already managed to get rid of the text under it, by ...
2
votes
4answers
55 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
38 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
45 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
75 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
0answers
31 views

How to remove line at the bottom of my page?

I'm using IEEE TVCG Conference template .. any idea how to remove this line? :
0
votes
2answers
70 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 ...
5
votes
1answer
119 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
64 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
59 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
301 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
500 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
40 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
106 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 ?
5
votes
2answers
252 views

Generic Symmetric Drawing

I'm trying to prove something and I need a clear drawing to be able to derive the angles and so on. So I thought why not draw it LaTeX ! Okay so my drawing is as such Those are the cases of 8/6 and ...
2
votes
1answer
33 views

Fill left and right of table cell with horizontal line aligned at vertical middle of cell

Right now the following code achieves the desired result: \begin{tabular}{ccc} 1. & Lorem ipsum dolor sit amet & 10\tabularnewline 2. & \textemdash \textemdash \textemdash \textemdash \...
1
vote
1answer
23 views

How to generate a matrix in a box with lines separating the lines and columns?

This is what I'm trying to do, can anyone help?
1
vote
1answer
50 views

second title in table and vertical line

I would like to add two things in my table: First, in the left side of the table, the results are posted for Risk aversion c = 0.5. The right side of the table shows results for c = 2. I want to ...
2
votes
1answer
200 views

Drawing lines on top and bottom on figures

I would like to create a figure with one line on top of it, and another one at the bottom, that separate the figure form the text. I have tried using the following code: \begin{figure}[h] \par\...
0
votes
1answer
87 views

Drawing two straight lines with different slopes

I wanna to draw a simple figure (attached figure) of two lines with different slopes on which two simple equation is written. any suggestion? thanks
3
votes
4answers
140 views

Horizontal line without indenting

This is the result I want to have (I want to obtain the result that most resembles this mathematical expression): What I have tried is this: \[ \begin{aligned} 01\: 1011 \: 0110\\ 11\: 0001 \...
1
vote
1answer
36 views

Custom Footer Line for fancyhdr (2)

So I need a different line above the footer for every page in the fancyhdr package. It has to look something like This is what I did to create the line \rule{\linewidth}{3pt} \vspace{-0.85\...
1
vote
2answers
341 views

How to draw vertical line in precise position

Please help: I want to draw 2 vertical lines: one line at 148 cm & one line at 160 cm \usepackage[a4paper,landscape,left=0.5cm,right=1cm,top=1cm,bottom=1cm]{geometry} Thanks
1
vote
1answer
69 views

Custom Footer Line for fancyhdr

I'm looking to change the way the footer line looks for fancyhdr to something like this : \usepackage{xcolor} \newcommand\shadowfill{% \leavevmode\leaders\hbox{\ooalign{% \vrule height ...
4
votes
2answers
314 views

Shadowed Horizontal Line

I'm looking to insert a \hrulefill line with a shadow. Something that looks like this: Help would be much appreciated.
3
votes
1answer
50 views

Marks in a line interval

I'm trying to create a line interval with some annotations, but found myself tinkering too much with nodes and positions. Is there any smarter way to do this kind of work? Also I'm very annoyed by the ...
1
vote
1answer
32 views

Line numbering doesn't work as expected

I'm currently working on a large document and want to add line numbers for proofreading purposes. I'd like to reset the current number after every new chapter/section/subsection. To achieve this I ...
2
votes
2answers
198 views

How to quote what's left of the remaining horizontal space?

I'm trying to come up with my own command to fill what's left of the horizontal space with dots but I want the dots slightly lowered relative to the text. Here's my code : \newcommand\ansfill{\...
1
vote
1answer
64 views

Put horizontal lines above and below tabbing and prohibit page breaks between the lines and the tabbing contents

I wish to put a horizontal line above tabbing and another one below it in such a way that there are no page breaks between the tabbing contents and the two lines. Here is what I tried so far: \...
9
votes
2answers
404 views

What's the dotted line equivalent of \rule?

I'm looking for the dotted line equivalent of : \rule[<height>]{<width>}{<thickness>} Something that looks like : .........................
1
vote
2answers
31 views

Lowering horizontal line relative to some text

Here's what I currently have : Code is : \begin{center} \makebox[0.7\linewidth]{\Large{Name :} \hrulefill \ }\makebox[0.25\linewidth]{\Large{Class :} \hrulefill} \end{center} What I'm trying to get ...
2
votes
1answer
134 views

sketching a polar curve using tikz and orientation counterclockwise

I would like to modify the code below so that Can I indicate the counterclockwise directions with arrow -- from O to B -- from B to A -- from A to O Also, 2. Can we indicate theta_1 and theta_2 ...
1
vote
1answer
27 views

How to position a line the whole width of a page on a line of text, but not over text?

I am in the midst of creating my own custom latex class for a CV layout and am wondering how to do so. Here is a picture of what I'm talking about that I created in a word document: Specifically, how ...