Questions tagged [line]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
4 answers
302 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?
1 vote
1 answer
48 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 \...
  • 113
0 votes
2 answers
54 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 ...
  • 437
3 votes
3 answers
337 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=...
  • 45
0 votes
3 answers
73 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 ...
0 votes
2 answers
32 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{\...
  • 21
5 votes
1 answer
150 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,...
  • 1,056
4 votes
3 answers
235 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 ...
1 vote
2 answers
49 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 ...
  • 1,056
1 vote
0 answers
18 views

CV: dates and location on the same line [closed]

i am trying to put the date and location on the same line on my CV as shown in the following pictures Mine: What I want:
  • 11
1 vote
1 answer
30 views

Thicker margin line

tell me please how to make these lines (frame) more thicker? \documentclass{article} \usepackage[margin=3cm]{geometry} \usepackage{tikz} \begin{document} \tikz[overlay, remember picture] \draw ([...
0 votes
1 answer
51 views

Drawing lines with node and text

Please can someone help me draw this in latex? My attempt is below \begin{tikzpicture}[xscale=2] \draw [thick, draw=black, *-*] (0,0) -- (7,0); \node[circle,fill=black,inner sep=0pt,minimum size=...
1 vote
3 answers
69 views

colortbl: why does a double vertical line interrupt the background color?

Feeding \documentclass{standalone} \usepackage{colortbl} \begin{document} \(\begin{array}{l|l|l||l|l|l} \rowcolor[gray]{.9} 11 & 12 & 13 & 14 & 15 & 16\\ 21 & 22 &...
user avatar
0 votes
1 answer
42 views

How to enforce constant line height?

Take this example: \documentclass[a4paper,12pt]{article} \usepackage[a4paper,landscape,textwidth=50em,tmargin=24mm,bmargin=24mm]{geometry} \usepackage{calc} \usepackage[PunctStyle=plain,...
3 votes
1 answer
63 views

Adding lines to separate table rows

Which command to use to add row separating lines as shown in the bottom most image (sample) ? I was using \hline , but in case of multiple rows it will cut the column name. I have added my code ...
3 votes
3 answers
117 views

multicolumn with vertical line in array/tabular

I would like to write equations like this: But with all the "x=" left aligned after the word "Soit" (meaning "either" in english). Here I used the following code with ...
  • 139
0 votes
1 answer
30 views

Vertical line fitted with bracket [duplicate]

How can i write the vertical line which is fitted witch the brackets. I have a big bracket because of summation and line don't look good. I tried to use \mid but it also doesn't work. Sample of my ...
  • 3
2 votes
2 answers
43 views

How to add spacings within one line?

MWE \documentclass[a4paper]{article} \usepackage{unicode-math} \unimathsetup{bold-style=ISO,sans-style=italic} \setmathfont{XITS Math} \renewcommand\baselinestretch{114514} \usepackage[fontset=none]{...
0 votes
1 answer
59 views

How can I make vertical and horizontal lines in Longtable thicker?

For the following Longtable MWE, how can I make the third vertical line and the second horizontal line thicker than the other lines? \documentclass[12pt, twoside]{article} \usepackage{longtable} \...
  • 23
0 votes
2 answers
50 views

Tikz: line ending between two rectangles

I would like to connect the east point of the diamond with the midpoint between two rectangles (Phase 2, Phase 3) using the tikz library; see the picture, please. Here is the sample code: \...
  • 229
0 votes
0 answers
31 views

inconsistent line spacing for quotes

Although I did not change anything for spacing part, line spacings are different between quotes. I can only use LaTex packages in the list of accepted packages. (https://authors.acm.org/proceedings/...
  • 1
0 votes
2 answers
45 views

How to enlarge spacing between lines (change baselineskip) in beamer?

I want spacing between lines larger in my beamer. I used to type: \renewcommand{\arraystretch}{1.25} but this seems not working in beamer
1 vote
1 answer
35 views

How to draw a closed path outward or inward, centering the line

When I have multiple shapes that are close to each other the picture is too busy to be considered "readable". I would like to shift the media point of the line outward or inward as I need, ...
  • 61
7 votes
3 answers
692 views

Using Chinese in a table

When entering Chinese in a table, despite trying to limit the column size with p{5cm}, the phrase isn't going to the line below. \documentclass{article} \usepackage{fontspec} \usepackage{array} \...
  • 81
0 votes
0 answers
53 views

Specifying a Second Line Indentation When addtocontents Entries are Long

This post asks a more general question than Formatting the Display of Multi-Lined addtocontents Entries. Consider: \documentclass{book} \begin{document} \Large \addtocontents{toc}{\protect {\textbf{I....
0 votes
1 answer
249 views

Thesis Signature Page

I must create a signature page. I have searched through this board for similar examples but I don't see any that match this type of style. Unfortunately, I'm quite new to creating my own page styles ...
1 vote
1 answer
64 views

tikz - flatten/flush line with rectangle

I drew the following picture below. To extend squares, I attached lines at the corner angles, i.ex node.45. It can hardly be seen, but they are are not exacly in one line. How is it possible to flush/...
0 votes
2 answers
281 views

How to right align the last line of a block of text?

I’m using pandoc to convert a Markdown file to a LaTeX document and then to PDF. The document I have contains some quotations. Coming from standard Markdown, they are rendered as quotation or quote in ...
0 votes
0 answers
97 views

Strange Latex page breaks (too much whitspace)

I'm having weird page break issues which look like some kind of bug to me. I added a screenshot to visualize the problem. Can someone explain, why LaTeX wouldn't add another line to the page above? It ...
18 votes
8 answers
848 views

How to draw parts of a line dotted with TikZ?

I want to create a straight line between two nodes in a tikzpicture interrupted in the middle by a dotted portion. This should work whatever the orientation of the line. Here is an expected output: ...
1 vote
1 answer
56 views

Line break Equation Tufte Latex

I want my equation in Latex with Tufte class to have 4 separate lines: The bias- and latent factor terms are updated in the following way: \begin{equation} b_{u} \leftarrow b_{u}+\gamma(e_{ui}-\...
  • 25
2 votes
2 answers
73 views

Strikeout of a table row and caption two tables separately

First question. I want to organize these two tabular as subtables (a) and (b) of a main table and share a single caption. Second question. I want to cross out the second row of the first subtable ...
1 vote
0 answers
31 views

Constrain \@ifnextchar to the same line

I need an environment that takes an optional argument between square brackets, but only when provided on the same line as the \begin{...} command. \documentclass{article} \begin{document} \...
0 votes
0 answers
294 views

'pdflatex' is not recognized as an internal or external command

I have been using Latex through Tex Live and TexStudio and every thing is working fine. Now I want to use Windows command line (cmd) to compile my tex files. I get this error: 'pdflatex' is not ...
1 vote
0 answers
545 views

Increasing line break in latex beamer

As you can see in the image, the line break with \ \ does not have any space between the two texts. On the other hand, the \newline command makes a very big jump. Is it possible to give the line break ...
  • 203
1 vote
0 answers
58 views

Fraction bar not showing with custom math font

I'm using unicode-math package to change my math font. Initially the fractions weren't rentering correctly but now I've got almost everything to look good with some adjustments using \fontdimen but ...
  • 11
0 votes
1 answer
62 views

Semantic meaning of "There's no line here to end."

I often have the experience that LaTeX returns an error message "There's no line here to end.". Then, it gives the location of the error, showing a full line of text: ! LaTeX Error: There's ...
3 votes
1 answer
119 views

how to insert DENSELY dashdotted line in math mode or equations?

\documentclass[12pt,a4paper,onecolumn]{article} \usepackage{tikz} \usepackage{caption} \usetikzlibrary{positioning,fit,calc} \begin{document} \tikzstyle{every node}=[circle, draw, fill=black!100, ...
1 vote
2 answers
77 views

drawing thick rounded corner horizontal lines that automatically fill the empty space

to make it clear, I would like to reproduce this: in a way that the lines automatically fill the space on the right and left of the word in the center (as I need to use it for several titles). Thank ...
1 vote
2 answers
46 views

How to Automatically Center the Last Line of the Contents of a Minipage for Every Minipage in a Document

Consider the following code: \documentclass{book} \usepackage{lipsum} \begin{document} \thispagestyle{empty} \Large \begin{center} \begin{minipage}{5.65in} %\leftskip\fill\rightskip-\leftskip\...
  • 6,249
0 votes
1 answer
55 views

How to place circles in between two parentheses on a line segment?

I need to place a circle in between two parentheses on a line segment. I know how to draw multiple circles on a line segment within parentheses. I have tried the following code: \begin{figure} \begin{...
1 vote
3 answers
110 views

How to draw curved line in tikz connecting north and south side of a node?

I am trying to draw a curved line connecting the north and south side of a tikz node. Currently, the code snippet below shows my rather simplistic attempt with discontinuities between the three paths. ...
1 vote
1 answer
49 views

How to change the position of the line

From the following code the line goes up to only certain height and then it does not go up or change even if I use negative vspace. I want the line to reach the top of the book. \documentclass{article}...
  • 133
0 votes
1 answer
31 views

Column line problem in tables

i'm using a lot of tables in the document I'm writing and I have a problem with some column lines. I wrote this code: \begin{table}[h!] \begin{tabularx}{\textwidth}{|p{4cm}>{\raggedright\...
1 vote
1 answer
76 views

How can I detect line wraps in XeLaTeX and change letter spacing accordingly?

I need to typeset a lot of short "phrases" (consisting of several words) strictly in one-line format (i.e., one "phrase" per line). I am also using fontspec under XeLaTeX to extend ...
2 votes
1 answer
316 views

Drawing a long dashed line

In this link here there are several styles of dashed lines. But none of them shows a long dashed format. How can I draw a long dashed line, for example, by a newcommand or TikZ? (A picture the same as ...
0 votes
1 answer
62 views

In this example, why some lines are not marked with line numbers

\documentclass[12pt, reqno]{amsart} \usepackage{ amsmath,amsthm, amscd, amsfonts, amssymb, graphicx, color} \usepackage[bookmarksnumbered, colorlinks, plainpages]{hyperref} \usepackage[running]{lineno}...
  • 149
0 votes
0 answers
30 views

(Using Overleaf) transforming operators while transforming lines behave unexpectedly

I'm going through the official guide for learning tikz, and I'm currently trying to wrap my head around the transformation operators. What I learned from the web is that "rotate" rotates ...
0 votes
2 answers
86 views

Vertical lines in table not in line

I have the following table, but there are some lines that are not in one line. What would be the reason for that? \begin{table}[htbp] \footnotesize \centering \caption{Add caption} \resizebox{...
  • 501
0 votes
0 answers
33 views

I want to know the exact text height of each line, what method can be used to achieve it?

As shown in the figure below, I want to know the height from the bottom to the top of each line of text. Is there a way to achieve this?
  • 149

1
2 3 4 5
8