Questions tagged [line]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
2answers
29 views

How can I code a matrix multiplication in this style?

I'm new to latex and trying to code the following equation multiplication. How can I do this exactly the way it is portrayed in the picture?
0
votes
0answers
14 views

Empty line before and after two columns

I use the command sequence: \begin{Parallel}{0.48\textwidth}{0.48\textwidth} %[options]{\linewidth}{\linewidth} \selectlanguage{english} \ParallelLText{ % Text for left column. } \...
2
votes
3answers
69 views

How can I split my equation into lines and have it boxed at the same time

I want to split my equation into two lines and have it boxed at the same time. I've tried split but can't figure it out. Thanks in advance! \begin{equation} \boxed{ \int \limits_{\Omega} \...
-1
votes
3answers
95 views

How to add a Horizontal line above one sentence? [closed]

I am using the IEEE Conference Latex template. I am trying to add a line above the sponsor section like shown in the image (sorry if it is a little bit blurry). The sponsor section is NOT a footer ...
1
vote
1answer
35 views

How to draw a line before points in a tikz picture

I have a problem with drawn lines in a tikz plot. It feels like the solution should be really simple but I don't know how to solve it. When I plot data points and a line, the line is behind the data ...
0
votes
1answer
31 views

Table with a description section

Am having some problems with xltabular package when trying to draw this table, the problem when I try to make other tables the result will be like the first one, but when I delete the package from my ...
6
votes
3answers
179 views

Tabular edge-to-edge dotted line: suppress overshoot, reduce dotsize, align dots to edges

I am trying to add dotted line from left-edge to right-edge of tabular after rows. There are 3-problems with my best attempt (code & screenshot below): 1) The length of the dotted line equals ...
1
vote
1answer
41 views

How to split page into rectangles?

I am trying to make some notes for my math class, and I would like to organize them in the following way: I first want to split the page with a vertical line, and have definitions on the left, ...
0
votes
1answer
23 views

Adding Horizontal lines before and after listings frame

I have a listing, and I would like to add a hline before and after the listing. Using the frames style parameter do not work as intended for two reasons: 1. I want to keep a left bar as a separator ...
2
votes
0answers
26 views

Line segments between rnd noisy plot and another function

I am trying to draw line segments between a smooth rnd noisy function (blue) and some other function (red) at given sample positions. However the random numbers change when I revaluate the function, ...
0
votes
0answers
20 views

How to eliminate vacant rows between references and IEEEbiography

I want to eliminate vacant rows between references and IEEEbiography. How can I control the rows? \bibliographystyle{IEEEtran} \bibliography{IEEEabrv, references} \begin{IEEEbiography} [{\...
0
votes
2answers
65 views

How to draw straight line vertical middle align with text

Whenever I am using \line command or the tikz package to draw a line, it is giving me a straight line as output. But the problem is, the straight line is aligned to vertical bottom. Whereas I want it ...
0
votes
1answer
34 views

Last line overflow from PDF

I use a template of a journal. The last lines of every page overflow from pdf file. the template link is here You can see the problem of page bottom is below; How can I fix this problem?
2
votes
1answer
37 views

Tikz legend entry image - wrong line angle

I have a ybar tikzpicture with one horizontal line to mark a threshold. Unfortunately this line does not appear as a horizontal but as a somehow diagonal line in the legend. I tried some solutions by ...
-1
votes
1answer
112 views

How to draw a Silicium Lattice with TikZ (was: How to produce this image in LaTex) [closed]

Does anyone know how to code this in LaTex? I'm trying to learn the program I know I need to use the Tikz. If anyone knows how to make this, please do share your input. Thanks for any help!
0
votes
1answer
39 views

What's wrong with this Title Page?

I'm having troubles in setting up a simple title-page. Some horizontal lines aren't drawn at the proper place, one on top of the next (see the preview below). I would like to add a white border all ...
1
vote
1answer
36 views

Lyx new equation line

I have written the above expression in lyx using command+ return for new lines. But if I need only two equations as shown, how can I delete the rest 4 rows!!!
4
votes
5answers
284 views

How to change the vertical position of a horizontal line in a matrix?

I need to adjust the vertical position of a horizontal line inside a matrix. Here's a MWE code to play with: \documentclass[11pt,letterpaper,twoside]{book} \usepackage[T1]{fontenc} \usepackage{...
0
votes
2answers
24 views

Horizontal line in matrix not well balanced

I'm having troubles in drawing an horizontal line inside a matrix. As from this MWE code, the line isn't well balanced relative to the equal sign (it should be aligned, vertically), and there's a ...
2
votes
1answer
44 views

TikZ - draw angled lines until the same x-coordinate

I'm going to use an example. Consider this: \begin{tikzpicture} \draw[->] (0,0) -- ++(30:3); \draw[->] (0,0) -- ++(40:3); \draw[->] (0,0) -- ++(50:3); \draw[dashed] (2,0)...
0
votes
0answers
14 views

Vertical dotted line across page

I have to add a vertical dotted line next to a vertical text in Chinese characters. I have tried \begin{turn}{90} \dotfill \end{turn} But I guess that was a pretty stupid idea. The problem that ...
3
votes
2answers
181 views

How to get the entire equation to work correctly?

I have written the following equation: \begin{document} \documentclass[12pt]{article} \begin{align} \begin{split} \bigg \{2\rho-\bigg (2l+n-2-\sqrt{n^2-4l^2+4ln-4n+4}\bigg )\bigg\} \bigg \...
7
votes
1answer
174 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
26 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
58 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
32 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
47 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
62 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
48 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 ...
-1
votes
1answer
27 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
75 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
12 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
36 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
64 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
35 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
48 views

how to do the line split

Please help on how to do the line split
0
votes
0answers
42 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
32 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
89 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
220 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
95 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
67 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
34 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
187 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
29 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
111 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
44 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
50 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.

1
2 3 4 5