Questions tagged [line]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
6
votes
1answer
107 views

Drawing custom node on line

Hello helpful community I am trying to create a custom node to use in industrial drawing symbolizing interrupted parts looking like that : Here is my MWE : \documentclass[tikz,border=5pt]{...
1
vote
1answer
19 views

Centered text, but at almost equal line lengths

My goal is to typeset a short, centered text in a way that the difference in line lengths is minimal. Or, to put it differently: In a way that the width of the block is minimal without increasing its ...
1
vote
1answer
35 views

Place chapter title between 2 thick lines

I'm new to Latex, and I've been trying to style my chapter title. This is similar to what I'm trying to achieve: I've been googling around, checking the Latex Wikibook (https://en.wikibooks.org/wiki/...
0
votes
0answers
30 views

how can I draw just a part of table line in a table in Latex like shown in the picture?

\documentclass[12 pt]{book} \usepackage{amsmath} \usepackage[table]{xcolor} \begin{document} \begin{table} \caption{Definition of Linear Finite Difference Operators}\label{Table1} ...
0
votes
0answers
44 views

`\multicolumn` did not produce correct output

I am using \multicolumn in the following code. But it is not producing proper output, please see the output attached. Where is the problem? \documentclass{article} \usepackage{etextools}% for ...
1
vote
2answers
56 views

how to do a horizontal line with “=” between it?

i can not find how to connect 2 variables with a horizontal line with a "=" inbetween.
0
votes
3answers
28 views

I don't know how to create a Horizontal blank spaces starting a new line

I want to create a line which exists horizontal blank spaces at start of the line. The effect like this: However, the line must have one character when use \hfill like this: a\hfill Your-name-here ...
0
votes
1answer
24 views

Line-spacing in a matrix [closed]

I put this code: $$\begin{pmatrix} 1 &1 &1 \\ 4 & 0 & 1 \\ 0 & 4 & 2 \end{pmatrix}$$ But the line-spacing is exaggerated, how can it be solved?
3
votes
1answer
65 views

How to change the tip of line in tikz

I want to change the tip of a line in latex. For example consider the following MWE: \documentclass{article} \usepackage{tikz} \begin{document} \begin{center} \begin{tikzpicture} \draw[yscale=5,thick,...
0
votes
0answers
10 views

lstlisting long line wrapping [duplicate]

I would like to wrap "2cf24dba5fb0a30e26e83b2ac59e29e1b161e5c1fa7425e73043362938b9824" into the frame of lstlisting. \documentclass[conference]{IEEEtran} \usepackage{xcolor} \usepackage{amsmath} \...
0
votes
0answers
24 views

How to draw the line containig the points origin and $(\sqrt{3},0)$

How to draw a line whose coordinates contain irrational numbers like square root of non perfect suare numbers $\sqrt{3}$, $\pi$, etc. In tikz environment
2
votes
0answers
32 views

Tikz: Line trajectory joining two nodes

I am drawing a line linking two nodes. I do not understand the strange behavior of the line. Why the line pass the arrival point and then back to the final point? \documentclass{article} \usepackage{...
2
votes
3answers
34 views

Diagonal dashed line in array

I would like to have a diagonal dashed line in an array cell. In the example, it should replace \ddot. For me, \ddot is inconvenient since I already use dots with different meaning. \documentclass{...
0
votes
1answer
33 views

How to make wavy lines when connecting points?

My professor wrote a proof about Prim’s algorithm in LaTeX, and used a graph to illustrate how cuts are made, etc. What I’m curious about is how he did the wavy lines coming out of the circle in the ...
0
votes
1answer
46 views

how to do the line split

Please help on how to do the line split
0
votes
0answers
29 views

Stop superscript affecting line spacing

I was wondering whether there was a way to stop the superscript and subscript affecting the line spacing, any help would be much appreciated. \documentclass{article} \newcommand{\ordtext}{Ordinary ...
0
votes
1answer
26 views

How can I remove horizontal line under summary?

\documentclass[letterpaper,10pt]{article} \usepackage{latexsym} \usepackage[empty]{fullpage} \usepackage{titlesec} \usepackage{marvosym} \usepackage[usenames,dvipsnames]{color} \usepackage{verbatim} \...
1
vote
3answers
77 views

how to draw special line in latex

I want to draw a line between two text paragraphs, I try many ways but no one is ok, anyone know how to draw line like this?
3
votes
2answers
106 views

How to draw a line?

Here is a page that is US letter size, in landscape orientation. There is a single line going from (0,0) to (11in, 7.5in). Is this possible to do in TeX? Here is what I have so far: \documentclass{...
0
votes
3answers
63 views

Need to draw a flowchart as in the image below with some arrows

I have problem with the feed back from bottom block to on top of top block. Can anyone help?
0
votes
0answers
39 views

TikZ messing up page size

I am having a hard time with LaTeX. I am working on a book with specific sizes and margins. At the same time, I need to change the aspect of \chapter and \part, adding an horizontal and a vertical ...
2
votes
0answers
48 views

bmatrix lines too thick compared to another matrix

Here's a MWE showing a column matrix and a line matrix. Both are nice to my eyes, except that the first one has thick vertical lines, while the second has small thin vertical lines: \documentclass[...
0
votes
0answers
31 views

How to make a line (a horizontal line) in an expression in LaTeX?

My question regards something like in integral with a horizontal line in the middle of an integral sign, but I want to make this horizontal line inside some an expression (or being more specific ...
1
vote
2answers
145 views

How to draw such complicated Markov Chain diagram? [closed]

I am working on a paper which needs such a graph like the following picture. but It seems like very complicated, I have no idea how to draw it easily, my supervisor told me Inkscape or xfig can be ...
1
vote
1answer
28 views

How can I have extra space for x axis in this line plot?

I am trying to construct a line plot as follows. I need extra space for the symbolic x axis so that I can add notation $\tau=\bar{Y}{1,1}-\bar{Y}{1,0}$ next to the brace. is there anyway to do this? ...
1
vote
1answer
81 views

Adaptive justification for the last line of a paragraph

is it possible to condition the justification parameters of the last line of a paragraph according to the length of the paragraph? If yes, how? Actually, there are three problems in one. Let me ...
0
votes
1answer
42 views

Plot a line over a bar chart from a data table

i have the following code: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{pgfplots} \usepgfplotslibrary{statistics} \bein{document} \begin{figure} \centering \makeatletter \...
1
vote
1answer
42 views

How to draw this cross?

The image below is used for factoring quadratic polynomial. How to draw it in Latex (only the part enclosed by the red rectangle)? Thank you.
0
votes
1answer
32 views

How to create negative vertical space in tabbing environment?

I am working on my CV and using a tabbing environment for this. I want a horizontal line between two sections that are in the same tabbing environment. Right now what I have is the code below, but the ...
2
votes
2answers
64 views

How to insert empty line in array environment with custom delimiter `@{…}`?

I am using the array environment with \begin{array}{l@{::=}ll} to typeset a formal grammar: How can I insert an empty line without my delimiter ::= appearing there? Minimal working example: % !TeX ...
5
votes
2answers
128 views

Stopping a line at a certain point in tikz

I have made the following figure in Tikzpicture: \newcommand{\yggDra}[3]{ \draw[ultra thick, xscale=#1, yscale=#2, rotate=#3] ({cos(-44.8)*3.92},{sin(-44.8)*3.92}) .. controls ({cos(-55)*4},{sin(-55)*...
4
votes
2answers
61 views

Count the number of lines of a long title with a specific line width

I am working on an effect of automatically fit an arbitrary long title to multi-lines with a specific line width. The title has no explicit new line(s), and is only a regular string. Currently, I have ...
3
votes
4answers
1k views

How to draw a line graph

How to draw a graph like below and where should I start from? \documentclass{article} \usepackage{tikz} \usepackage{pgfplots}
0
votes
1answer
26 views

Thesis title page: how can I write my name and my supervisor's name on the same line?

I've written my thesis title page in this simple way, but I'd like to have the words "Supervisor" and "Student" on the same line (of course one on the left and one on the right side of the page but on ...
2
votes
1answer
115 views

Tikz “restrict y to domain” is not working as intended

I'm trying to draw a plot with Tikz. I need to put a label on my line, preferable on the top right corner of the plot and over the line with the same slope. \documentclass[border=10pt]{standalone} \...
0
votes
2answers
105 views

Long horizontal line between words

I want to make a table with several columns, two of them are long horizontal lines, as appears in the image. Could anyone help me?
0
votes
1answer
69 views

How can I solve this end of line?

If is possible without leaving the equation environment \begin{minipage}{.5\textwidth} $\displaystyle\text{Se sabe del T. de Cauchy:}\\\\\oint_{\gamma}\frac{f(z)}{(z-z_0)}dz=(2\pi i)f(z_0)\\\\ \...
2
votes
1answer
155 views

LaTeX: Inline image, but preserving line height

I'd like to include an inline image (to typeset hieroglyphic inscriptions) but I don't want it to stretch the line height, even if the image is too tall to fit. I don't mind it colliding with the line ...
1
vote
1answer
78 views

How to correct the indentation of line numbers of algorithm2e package when used with beamer class?

When using the algorithm2e package with the beamer class I get a different indentation for the line numberings than when using it with other classes. With beamer class they look like this: \...
2
votes
1answer
36 views

axis x line* = top with axis line on the bottom

My question is almost the same as this, but in the linked question the user (an the answer) manually drawn the bottom line of the axis. The problem with that is that the tick marks aren't drawn as ...
3
votes
1answer
110 views

How to smooth spectra plotted with Tikz?

I want to smooth these spectra which were plotted from lab experimental data, with more than 1000 point for every spectrum. I tried to control smoothing using tension=1, or "each nth point", niether ...
1
vote
1answer
65 views

drawing a line with varying colors

My goal is to draw a line in different colors and not start a new line, so this produces a line and is working: \documentclass[tikz=true,border=0pt]{standalone} \begin{document}% \begin{tikzpicture}[...
2
votes
1answer
50 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
17 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
37 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{...
4
votes
2answers
76 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
82 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
98 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
22 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 ...

1
2 3 4 5