Stack Exchange Network

Stack Exchange network consists of 174 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
27 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
28 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
50 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
110 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 ...
1
vote
1answer
50 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
28 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
228 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
338 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
39 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
71 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
248 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
25 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
20 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
42 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
86 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
68 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
116 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
30 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
98 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
29 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
270 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
41 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
23 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
191 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{\...
0
votes
0answers
34 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: \...
4
votes
0answers
174 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
30 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
94 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
19 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 ...
3
votes
1answer
60 views

How to produce a thinning-out line?

I'm trying to reproduce the horizontal lines that slightly thin out on both ends that are sometimes used, for example, to separate paragraphs or sections of text. Beside the usual hline, rule and ...
2
votes
2answers
69 views

How to draw a line into the center of a node?

As written in the title I need to let the lines go into the center of the circle. [Code Part at: %Pfeile von den Dots zu den K-Kreisen ] I don't want to use coordinates, only the nodes in reference to ...
1
vote
1answer
55 views

Can't locate input line for an error

I'm trying to debug my thesis and found this warning in the error log: Package hyperref Warning: Difference (2) between bookmark levels is greater (hyperref) than one, level fixed on input line 161....
9
votes
1answer
528 views

Wavy line, but “randomised“

I want to redraw this picture with TikZ: But I have problems with the line which is circled. I know how to draw “normal“ wavy lines, but that's not that what I want to achieve. Here is my MWE: \...
3
votes
4answers
355 views

Centred and flushed right on the same line [duplicate]

I'm trying to get both elements, one centered, one flushed right on the same horizontal line. I've tried \begin{center} stuff \end{center} \hfill more stuff But "more stuff" would appear on another ...
0
votes
0answers
51 views

How can i draw a complete vertical line like this?

How can i draw a complete vertical line like the image and manage the both sides texts well?
2
votes
2answers
285 views

Draw a line over a node Tikz

Can someone help me to draw a red line --- like in the photo? Thank you so much in advanced. \begin{tikzpicture} \node[draw,fill=white,ellipse,minimum height=4cm,minimum width=7cm,text width = 5cm,...
0
votes
1answer
61 views

LaTeX/plain TeX macro: style a box with custom borders and padding

I'd like to make a LaTeX environment for a styled box without using any additional packages, just defining some lines and spaces. I have already come far, but failing with the last line I imagined in ...
4
votes
1answer
195 views

How to draw line with different markers by pgfplots or tikz?

I would like to draw a line that is similar to the one shown. Now I do something like this. Can someone help me ? Thank you! \documentclass[border=3pt]{standalone} \usepackage{tikz} \usepackage{...
0
votes
1answer
61 views

\hrule length inconsistent

I'm using the tufte-book document class. When I use \hrule, sometimes it extends the text width (which I want), and other times it extends the full page width, apparently randomly. How can I get it ...
1
vote
1answer
55 views

Help with tikz package

Hello I need to write a multiple state model in latex, my code is as follows \begin{tikzpicture} % Draw the states \node[state] (aa) {Husband Alive- Wife Alive (0)}; ...
2
votes
1answer
28 views

How to arbitrarily manipulate line paths in circuitikz diagrams?

I'd like to draw this with LaTeX: This is what I have so far: %%%%%PREAMBLE%%%%% \documentclass[border=0.25cm]{standalone} \usepackage{circuitikz} %%%%%HEAD%%%%% \begin{document} \begin{...
3
votes
1answer
77 views

how to add vertical lines between bars in bar graph

I have a code adapted from this link. My problem is the adding lines and empty spaces between grouped bar graphs. This code generated bar graphs but in this bar graphs grouped bars are very close to ...
1
vote
2answers
213 views

Problem with \vline in tabular

is there a way to have the solution in the figure? without \multicolumn{}{} in every number? Thanks \documentclass[12pt,a4paper,oneside,openright]{book} \usepackage{makeidx} \usepackage{lipsum} \...
0
votes
0answers
27 views

How to create loop arrow in LaTex table [duplicate]

Hi is there a option to create diagram loop line in LaTex multirow table like in picture?
0
votes
1answer
60 views

\begin{array}{ccc:ccc} : No error, but just not working properly

I would like to add a vertical dashed line between the third and fourth column. The following is my code. This code is working well with my thesis template, but a vertical dashed line is not appearing ...
0
votes
0answers
59 views

latex line spacing and included chapters

I am compiling my thesis with latex and using the PhDthesis class from http://www-h.eng.cam.ac.uk/help/tpl/textprocessing/ThesisStyle/. I have a few objects included using input. My problem is that ...
2
votes
1answer
54 views

How to limit figure captions to one only line

I am having trouble fitting the captions to one only line. The code I am using is the standard following: \begin{figure}[h] \centering \includegraphics[scale=0.5]{images/inicio.PNG} \caption This ...
1
vote
3answers
45 views

Using \line Inside of \title

I am currently working on formatting a title page for my MSc thesis and am having a hard time getting some lines over and under my title to line up. Here is what I have so far: \linethickness{0.05cm}...
0
votes
1answer
44 views

Align only the label of a caption right

I am using caption package and wanted to set the label of a caption (which is in a different line) to be aligned right, but the main text of the caption is aligned left, something like this: How ...
1
vote
2answers
60 views

How do I create 2 lines and 3 columns in between?

It is my first time to do assignment using LaTeX. My lecturer did not give us the template for this assignment. How do I create a header like this I don't know how to create 2 lines and 3 columns ...