Questions tagged [line]

The tag has no usage guidance.

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

Tikz renders filled lines as dashed with `Lines`

I am attempting to reproduce a pattern fill from the tikz documentation. Specifically, I run \usetikzlibrary {patterns,patterns.meta} \begin{tikzpicture} \draw[pattern={Lines[angle=45,distance={3pt/...
Seraf Fej's user avatar
  • 121
2 votes
1 answer
65 views

Changing line height and line thickness with TikZ

I would like to change the distance between successive lines (height distance here 1cm) and also the thickness of lines using the code below if that's possible. I need the reference number and page to ...
Jon's user avatar
  • 491
2 votes
2 answers
56 views

Tabularray. Need a partial vertical line at the beginning of the table

I'm trying to format a table to have an empty space in the first two rows and first column. That means no vertical line at row{1}, but the other must have. Haven't figured out how to do that. Here is ...
JJP's user avatar
  • 61
0 votes
0 answers
19 views

Table position text

I want to insert several tables into my text, so that they are in the middle of the page, centrally under the text. this works for the smaller tables, but for example with this one, the table starts ...
Sabrina's user avatar
2 votes
1 answer
83 views

Making a ruled dinkus

How can I make a ruled dinkus in LaTeX? Meaning three asterisks *** with a short line (or extending to the paragraph width) on either side of ***.
Bhanat's user avatar
  • 69
2 votes
1 answer
56 views

Making new commands

I want to write my own library. How could one define a new command equivalent to the following ? \par\noindent\rule[5pt]{\textwidth}{1pt}
Bhanat's user avatar
  • 69
2 votes
2 answers
55 views

Remove a line selectively between 2 particular cells (horizontally and vertically)

Is there a simple way to remove a line selectively between 2 particular cells. Let's say for example the vertical line between cell4 and cell5 and the horizontal line between cell6 and cell9? \...
ecjb's user avatar
  • 873
0 votes
0 answers
34 views

Reducing whitespace inside a tcb box?

How could I reduce the white space before the proof and the itemize in the tcb environments I have below? Any help would be greatly appreciated. \documentclass{book} \RequirePackage[dvipsnames]{...
xyz04's user avatar
  • 143
-1 votes
1 answer
61 views

discrete line spectrum

I want to produce this image. I have no data. This is a periodic trig function with different amplitudes. specifically I want to have sticks with "no" volume. Thank you for helping.
Sophia N.'s user avatar
0 votes
2 answers
120 views

discrete line spectrum in latex [closed]

I am trying to make this line spectrum. I found a code of this type but the tilde sign does not recognized in my latex environment. I have most updated version of latex \tikzset{ % define the bar ...
Sophia N.'s user avatar
-1 votes
1 answer
44 views

Horizontal Line with a down arrow in the center [closed]

To describe transformations from certain programming constructs into e.g. assembler I need a horizontal line with a downward pointing arrow in the center of the line. Is there also a way to achieve ...
Marcel Schaible's user avatar
4 votes
1 answer
47 views

Aligning at differents levels

I would like to know which could be the simplest way to obtain something like Where each sequence of letters represent a long expression. To be more precise I want that the sequence of b's to start ...
prosep's user avatar
  • 141
1 vote
1 answer
45 views

Extend vline slightly beyond surrounding box?

Is there a way to extend a \vline slightly beyond the boundary of the surrounding box? In the case I have in mind, I'm attempting to have a continuous vertical line between several items in an ...
joshisanonymous's user avatar
1 vote
0 answers
102 views

Arrowed lines for tablature bends in MusiXTeX

How can I insert arrowed curved lines to indicate bends in tablatures like these ones in MusiXTeX? The documentation says nothing about that.
Alberto López's user avatar
3 votes
2 answers
68 views

Continuing a line with a new line in tikz using the slope equation isn't working as expected

I have the following minimal working example: \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{calc} \begin{document} \begin{tikzpicture} \coordinate (A) at (-1, 1); \coordinate (B) at (...
Fabitastic's user avatar
1 vote
0 answers
45 views

Linenumber doesn't work? [closed]

I am using these packages to write a scientific paper. MWE \documentclass[aps,prl,twocolumn,showpacs,floatfix,superscriptaddress]{revtex4} \usepackage[]{graphicx} \usepackage{epstopdf} \usepackage{...
MementoMori's user avatar
0 votes
1 answer
44 views

Break line in bibliography for doi [closed]

I generated a bibliography with biblatex. In one reference there seems to be a problem in splitting the Doi, so now the doi goes over the line on the right side. I tried solving this problem with ...
mar123's user avatar
  • 1
0 votes
0 answers
32 views

How do I start a text from a certain distance from the right margin in the same line?

I'm trying to put together the title page for my thesis and the university has the instruction to have basically two columns of text at the bottom of the title page. Left column has to have a 4cm ...
GRacz's user avatar
  • 1
4 votes
5 answers
217 views

Adding a number in front of a vertical line in bracket equations

I want to add a number in front of this vertical line in this equation here but without it aligning to the middle of the equation, instead aligining to one of the equations. \begin{equation*} \left. ...
Cal's user avatar
  • 41
2 votes
2 answers
57 views

How to annotate some text with stacked line segments

How would I go about achieving this type of type setting?
Dave Fol's user avatar
  • 123
0 votes
1 answer
104 views

Why doesn't \textit work over multiple lines in tabbing?

If I have text in italics over two lines in the environment tabbing, only the first line is italic and the second line is upright. Also, the compilation has errors. Why is that? How can I make \textit ...
matj1's user avatar
  • 109
1 vote
1 answer
120 views

How to change the width of lines generated with `\varline` in MusiXTeX?

Does anybody know how to change the width of the line generated with the \varline command? The default width appears very thin in my document. \begin{music} \startextract% \NOTEs% \cu h\varline{3}{5\...
Alberto López's user avatar
1 vote
2 answers
109 views

Having problems wrapping text in table using NiceTabular

Edit: I have managed to resize the table to fit into one page, but for the life of me, I can't figure out why the first line is way off and gets printed into line two. I also don't understand why the ...
Ólafur Víðir Guðbjargarson's user avatar
1 vote
1 answer
28 views

Strikethrough with Color lines along rows and columns in matrices

It works like to get Can someone see how to fix this to work for both rows and columns? Here I have tried : \documentclass{article} \usepackage{amsmath} \begin{document} \[\begin{bmatrix} d_{11}\...
MKS's user avatar
  • 412
3 votes
1 answer
64 views

How to make a checklist with horizontal line connecting text to checkboxes?

With checklists, it can be hard to see what text corresponds to what checkbox. I'd like to have a horizontal line "connecting" the text to the boxes so that I can follow the text with my ...
AlphaCentauri's user avatar
2 votes
1 answer
51 views

Break a horizontal line in tikz

can someone help me to break this solid to look like the figure attached? \begin{tikzpicture} \matrix[matrix of math nodes, nodes={text depth=.25em, text height=1em}, font=\small, column 1/....
Ijuptilk's user avatar
1 vote
2 answers
57 views

Latex Exam Class: custom Line width for exam class "solutionorlines" environment

I am using "solutionorlines" environment of latex exam class for short questions (with solution) which provide lines for answers. The following code codes gives me lines for answers which ...
Tash's user avatar
  • 423
2 votes
2 answers
386 views

Change thickness of cmidrule

How can I change thickness of \cmidrule because I need it in my report.
Kaniky's user avatar
  • 69
1 vote
3 answers
54 views

How to determine the position of the third node from the position of the two nodes?

Here is the image my existing code produces: I hope that the FFFFF of the rhombus can be directly above C and directly to the right of E. How should I do it? Below is my minimal working case: \...
Zhao Dazhuang's user avatar
1 vote
1 answer
54 views

Command \fillwithdottedlines (taken from exam documentclass) does not work in a table (Tabularray). Why? Can be fixed?

I have the following document which is a table (tabularray) which I want to full with empty dotted lines. I have defined the command \fillwithdottedlines as you can see in MWE. Although the command ...
miltos's user avatar
  • 2,450
1 vote
1 answer
75 views

Chronosys box outline shows unwanted line

I'm making a timeline using chronosys package. It worked well but when I choose the box=true option in the \startchronology, a line popped just before the arrow and I can't make it disappear. Here is ...
BlueMarker's user avatar
0 votes
0 answers
159 views

How do you draw a basic line with ConTeXt and METAFUN?

I was able to draw a basic line, however I am still have this feeling of having hit another pebcak… 🤔 This is my line: \startMPcode path line ; line := (0mm,0cm)--(5cm,0cm) ; draw line ...
freezr's user avatar
  • 91
3 votes
1 answer
108 views

How to achieve line above right-aligned caption in floating figure in ConTeXt?

I would like to achieve, what in Adobe InDesign is called a paragraph rule over a figure's caption, i.e a line on top of the caption, while keeping the caption itself right-aligned (actually aligned ...
Marcus C.'s user avatar
  • 745
3 votes
1 answer
86 views

Determine whether a path in Metapost/Metafont is a line

Given an already defined path p in Metapost/Metafont: How can I determine whether a segment like subpath (0,1) of p is a line? I am aware that I can simply check if the control points lie on the line (...
Linus Romer's user avatar
1 vote
0 answers
56 views

Place a Vertical Line Between the Two Pages with pgfpagesuselayout{2 on 1}

Consider the code \documentclass[14pt]{memoir} \usepackage{pgfpages} \pgfpagesuselayout{2 on 1} \usepackage{lipsum,tocloft} \begin{document} \lipsum[1] \addcontentsline{toc}{chapter}{TOC ENTRY 1.} %\...
mlchristians's user avatar
  • 7,756
2 votes
3 answers
109 views

How to add numbers next to the frame line using mdframed

I just came across the mdframed package and found it very useful. However, I would like to add numbers next to the frame line similar to the picture I attached (See red numbers, that's how I want it). ...
falkbooks1222's user avatar
1 vote
2 answers
53 views

How can I endline in tabular environment?

How do you end line in a tabular environment so that it would stay in it's lane? I've made an improvisation but I would like it to be automated. \documentclass[12pt,a4paper,titlepage]{report} \...
Adrik Ivanov's user avatar
-1 votes
1 answer
58 views

there is no line to end [duplicate]

I've "there is no line to end" prolem at my 8th line. How to correct this. \begin{document} \title{\textbf{Aléatoire} \\\\\\\\ Introduction à la théorie \\\\ et au calcul des probabilités} \...
Fractal's user avatar
  • 365
3 votes
2 answers
161 views

How do I arrange multiple quotations (each with multiple lines) vertically (with a line through the center) so that they're side-by-side?

I created the following example in MS Word but I'm unable to recreate it in Overleaf (an online LaTeX editor): Below is the code with which I've gotten the closest to creating what I need: \...
AWriterWhoAsks's user avatar
0 votes
2 answers
110 views

How to type cancel to with a line not an arrow

I want to use cancel to but with just a line instead of an arrow
Mahmoud Tabasi's user avatar
0 votes
1 answer
92 views

new line in tikz in latex

I have wrote this code to explan determinant of matrix using tikz package. How can I write last formulas in new line? \documentclass{article} \usepackage{tikz} \usetikzlibrary{arrows.meta} \...
amir's user avatar
  • 3
2 votes
4 answers
342 views

A symbol after horizontal line

I want to write this, $\begin{tabular}{11} A &is true \\ B &is true \\ \hline A \wedge B &is true \end{tabular}$ How do add the "^I" after \hline?
Oswaldo Mobrey's user avatar
1 vote
1 answer
59 views

How to connect the broken double line?

I have the following table \begin{tabular*}{\textwidth}{@{\extracolsep{\fill}}|ccccccc|} \hline \multicolumn{1}{|c|}{} & \multicolumn{3}{c|}{} & \multicolumn{3}{c|}{} \\ \hline \...
Ynjxsjmh's user avatar
  • 113
0 votes
2 answers
74 views

Drawing lines in tikz - just like a graph, but with extended edges (?)

I am familiar with graphs in tikz and I feel like I can do some work already. But how would one reproduce extended edges? I know how to create a simple graph with edges between its nodes, but how ...
Rodrigo's user avatar
  • 471
3 votes
3 answers
443 views

Object-Z state schema notation

I'm trying to achieve something like the following with LaTeX: This is what I have so far: \documentclass{article} \usepackage[skins]{tcolorbox} \newtcolorbox{myframe}[2][]{% enhanced,colback=...
Peter's user avatar
  • 45
0 votes
3 answers
82 views

How to write in each line of system of equations after a vertical line

So I have made a system of equations and put the vertical line after it: But I need to write in each line of system after that vertical line, it should look something lake that: I don't know how to ...
Vladyslav Rehan's user avatar
0 votes
2 answers
37 views

I want to make line breaks that do not extend to the right

I am building a dictionary in which each entry is generated by \guientry command defined as follows. % #1: index, #2: orthography, #3: pronunciation, #4: part of speech, #5: explanation \newcommand{\...
Kanji's user avatar
  • 21
5 votes
1 answer
256 views

How can I change the tip of line in tikz

I want to draw following line, its tip at right), as follows: tex file: \documentclass[10pt,journal,compsoc]{IEEEtran} \usepackage{tikz} \begin{document} \begin{tikzpicture} \draw (0,0) grid (1,...
alper's user avatar
  • 1,311
4 votes
3 answers
332 views

How to Horizontally Center an Enumeration Display

MWE: \documentclass{book} \begin{document} \Huge \thispagestyle{empty} \begin{enumerate} \item[I.] Item 1 \item[II.] Item 2 \item[III.] Item 3 \end{enumerate} \end{document} Output: Instead of the ...
jean-marie's user avatar
  • 1,014
1 vote
2 answers
94 views

How can I have white column line in a table?

In a table, I have rows represented as gray and white colors using \rowcolors{3}{}{gray!20}. Here, I want to split columns using white color line instead of black. The way I created column lines using ...
alper's user avatar
  • 1,311

1
2 3 4 5
8