Questions tagged [line]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
19 views

Reduce length of vertical line between two minipages

Consider the following example \documentclass{article} \usepackage{lipsum} \begin{document} \begin{minipage}{.45\linewidth} \lipsum[1] \end{minipage}\hfill\vrule\hfill% \begin{minipage}{.45\linewidth} ...
2
votes
1answer
22 views

How put text above line

I would like to be able to put the letter k on top of a line that a t and t′ as shown in Figure. With \xrightarrow you can but I don't want the arrow to be there someone knows how?.
0
votes
1answer
30 views

Expand a vertical line in Latex to fit 40 observations

I have 40 observations, how to draw a horizontal line to fit all of those observations my code: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{float} \usepackage{tikz} \begin{...
2
votes
2answers
38 views

How can I put only the left and right lines in red in a command?

I have successfully managed to get my subssubection between two lines. Now I want the two lines to be red, while the text remains black. I have tried to put \textcolor{red} in various parts of the ...
0
votes
1answer
24 views

Height/vertical distance between baseline and descenderline: how to measure?

Do someone know, how to measure the space between the baseline and descender line? And in general, is there a list with all those kind of measurements?
1
vote
1answer
40 views

Is there any way to increase the line thickness of the circles when using the 'circledsteps' package?

Is there any way to increase the line thickness of the circles when using the circledsteps package? @leandriis Thank you for your response using \thicklines and \linethickness{}. Apologies for not ...
2
votes
1answer
36 views

Latex: How to add dashed lines for matrix?

In a $4\times5$ matrix, \documentclass{article} \usepackage{amsmath,amsfonts,bm,mathdots} \begin{document} $$\left(\begin{matrix} 1 &2 &-1 &3 &4\\ 0 &1 &3 &-2 &...
2
votes
1answer
62 views

LaTeX story/myth: Package with line made out of superimposed letters of author’s name?

I’m trying to track down and verify an amusing LaTeX anecdote that I read or heard a while back: There was some graphics/diagrams package, and some commonly-used command from it, where what looked ...
10
votes
2answers
346 views

Horizontal Line in Array

Good evening, I'm trying to achieve following picture in latex, but i can't do it. Can someone help me? This is what I have so far: \documentclass[a4paper,12pt]{scrartcl} \usepackage{booktabs} \...
2
votes
2answers
50 views

Line over multiple rows

Does anyone know, how to create something like this? I think it could work with tables, but I do not know if the lines will align that perfectly.
2
votes
2answers
67 views

How to solve mismatch of thick curves in tikz?

Consider following MWE: \begin{tikzpicture} \draw (0,0) -- (1,1) -- (2,0); \draw plot [smooth, tension=1.5] coordinates{(0,0) (1,-1) (2,0)}; \begin{scope}[xshift=3cm] \draw[line width=1.5] (0,0) --...
0
votes
0answers
23 views

Mixing lines and bar charts with data-points on every sub-bar

I'm looking for a way to create a bar/line plot very similar to the following (taken from this question): \documentclass[border=1cm]{minimal} \usepackage{pgfplots} \usepackage[utf8]{inputenc} \...
0
votes
1answer
48 views

expl3: How to display the line number in a warning message

Beginning with LaTeX3, I would like to log this warning Package foo Warning: blablabla on line XXX I suspect \msg_line_context would help but how to use it ? In the next MWE, it is not expanded \...
0
votes
1answer
45 views

Drawing lines in polar coordinates (polaraxis)

I am trying to draw a picture of a line but using a polar coordinate system: \begin{center} \begin{tikzpicture} \begin{polaraxis}[ xticklabels={,0,$\frac\pi6$,$\frac\pi3$,$\frac\pi2$,$\frac{2\pi}3$,$\...
1
vote
0answers
33 views

TikZ grid lines shifted slightly

I know that this is not really important, but it bothers me that I do not know if is an internal rounding error, or there are some offsets I do not know about!? The lines of a grid are shifted ...
4
votes
2answers
54 views

Why does the head line disappear under the logo?

I hope somebody can help me with my problem. I created a document as described in the last edition of the "KOMA-Script" book by Markus Kohm. My problem is that the line under the logo is ...
0
votes
0answers
33 views

Indents and spacings starting a line are ignored in parbox

When inside a \parbox, indents and spacings (like \indent, \quad, \hspace{}, etc...) are ignored when starting a line. For example, this code: \parbox[t]{10cm}{ \indent indent does not work \\ ...
4
votes
3answers
102 views

How to fix small offsets on the plot?

Let's consider this code: \documentclass[dvipsnames]{article} \usepackage{pgfplots} \usetikzlibrary{babel,calc,backgrounds,quotes,angles,patterns,decorations.markings,intersections,arrows,arrows.meta} ...
0
votes
1answer
72 views

changing length of line, tikz

In the code below, I want to change the length of the bottom line- the red arrow, see image attached. I am aware how to do this in a usual line of code, but this piece of code (copied and pasted to ...
0
votes
1answer
20 views

How to shift dashed pattern in pgfplots using “dash phase” : only in the plot, not in the legend

As mentioned in this question, one can use dash phase to shift the position of the blanks between the dashes of a plot. However, this also shifts the blanks in the legend. Is it possible to shift the ...
0
votes
0answers
36 views

Drawings curves with varying thickness

I would like to create a command that produces a tikz drawing (examples below) of a curved path (input would be a series of inflection points), but I'd like to vary the thickness such that the base is ...
0
votes
1answer
29 views

Get linebreaks at a long list

How can I get linebreaks at a very long list like 1,2,3,...? \documentclass[a4paper]{article} \usepackage{tikz} \begin{document} \let\mylist=\empty \foreach \k in {1,...,44}{ \ifx\empty\mylist{} \...
0
votes
1answer
32 views

Creation of a table with writings centered both vertically and horizontally

I would like to create a table in which I have all the writings centered, both in row and in column. \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{multirow} \usepackage{tabularx} \...
1
vote
2answers
35 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
17 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
78 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
151 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
36 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
33 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
204 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
46 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
25 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
21 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
82 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
35 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
43 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
116 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
42 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
45 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
360 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
25 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
47 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
15 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
183 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
248 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
60 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
33 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
2 3 4 5 6