Questions tagged [gap]
The gap tag has no usage guidance.
46
questions
0
votes
0
answers
20
views
Addressing Formatting and Figure Alignment Issues in Project on Overleaf
I'm have two issues with my project on Overleaf. First, there is a gap between sections or paragraphs, as seen in the image. Here's how it is written in LaTeX:
\setlength{\parskip}{1em}
Figure \ref{...
1
vote
0
answers
32
views
Reducing the size of title and author
Below you see the code of the tex file. I would like to make the following changes:
How to change the size of author and title?
You see there is a gap between the title and the top of the first page....
1
vote
0
answers
30
views
Spacing Issues with Use of Abbrevs Package
Consider the code:
\documentclass[12pt]{book}
\usepackage{abbrevs}
\begin{document}
By 2100 \BC, almost universal corruption prevailed.
\end{document}
which produces
QUESTION: How may I adjust (...
2
votes
2
answers
101
views
Gap inside parshap in one line
General overview
I try to put a custom lettrine with \parshape command and I get the following rendering:
The problem
But, the hand of the goddess Hator fall under the baseline of the N wile the text ...
1
vote
0
answers
41
views
How can I remove gaps in histogram comparing graphs?
If possible I want to draw following simple histogram, where there is no much gap in between.
When I try (original code is taken from: PGFPlots histogram not showing all series):
\documentclass{...
2
votes
2
answers
148
views
\cellcolor color fill in \tabular has vertical gap for cells separated with cmidrule
Experimenting with the solution presented in https://tex.stackexchange.com/a/613957/144487 I find that the cells of the table are not completely filled with color:
\documentclass[12pt,
a4paper,
...
1
vote
1
answer
69
views
Unwanted row breaks in references bibliography
Full Minimal Example Zip File
it's the first time I'm working with LaTex and I have some issues with the bibliography. For some references but not for all, the doi is strangely presented in a new row ...
1
vote
2
answers
65
views
Items of an Enumerate Environment in Paragraph with Adjustable Gaps
Consider the code
\documentclass{book}
\begin{document}
\parindent 0pt
\begin{enumerate}
\item[I.] The first item. \item[II.] The second item. \item[III.] The third item.
\end{enumerate}
\vspace{15pt}
...
3
votes
2
answers
232
views
how to write powers in texttt
I'm trying to write
\texttt{gap> M:=Group(r*u^2*d^-1*b*d^-1);}
exactly this way. But latex return an error because of the powers.
How can I fix this?
0
votes
1
answer
67
views
Inkscape words too close together in pdf_tex export
I'd like to have the following text written in Inkscape and exported to pdf_tex:
erfasste
Regelgröße $x_{\mathrm{r}}$
But the result after running the pdf_tex in Texmaker looks like this:
Why is ...
1
vote
1
answer
35
views
How to reduce the gap between a table (CO Mapping table) and /fbox environment (for instructions)?
The gap between the table and instructions is too much. I would like to reduce it significantly. Kindly help.
\documentclass[12pt,a4paper,addpoints,answers]{exam}
% import packages
\usepackage[utf8]{...
0
votes
0
answers
55
views
how to fix these strange gaps?
I can't fix words that run out...I also need everything to be there centered like on this table:
My code:
\documentclass[13pt, a4paper, twoside]{scrartcl}
\usepackage[left=20mm,right=20mm,top=...
0
votes
1
answer
50
views
How to Specify the Gap Between Index Entries
The code
\documentclass{book}
\usepackage{imakeidx}
\let\cleardoublepage\clearpage
\makeindex
\usepackage[itemlayout=singlepar]{idxlayout}
\begin{document}
\LARGE
This is the first paragraph.\index{...
1
vote
0
answers
107
views
The gap between IEEE bibliography and main text
So this is the code I have:
\documentclass[journal,twoside]{IEEEtran}
\begin{document}
\section{Acknowledgements}
\label{sec:acknowledgements}
The authors would like to thank....for their ...
1
vote
1
answer
228
views
tcolorboxes and align
While using tcolorboxes I found something strange. If the content of the box begins with the center-environment, minipage-environment or simply text, everything looks fine. But if the content begins ...
2
votes
2
answers
117
views
Unwanted space around hline introduces gaps in the table
I am using a latex template of a journal on Overleaf to prepare an article. The template adds spaces around the \hline so that the following code:
\documentclass[draft]{agujournal2019}
\begin{...
0
votes
1
answer
426
views
remove the gap between uppercase letter in math mode
In tex equation mode,I want 3-var MNP as a product:
\begin{equation*}
N\equiv R_1\alpha NP+R_2\beta MP+R_3\gamma MN(\bmod\;MNP)
\end{equation*}
But the product MNP leaves obvoius spacing to each ...
1
vote
1
answer
153
views
Vertical gap appearing in the second column of a multicolumn environment (oxford bioinformatics template)
I have a problem with a vertical gap appearing in the second column of the second page, instead of text/figure. This problem is not exclusive to the pages near the bibliography because this gap also ...
0
votes
1
answer
375
views
Why is Latex creating in certain situations a huge gap between the title and the text?
I am new to Latex and quite confused why the gap between the title and the text has on certain pages a higher distance as usual.
I don't think its a good idea to show you the entire code. Here is an ...
1
vote
2
answers
112
views
How can I change the space between a table title and its page number in the list of tables?
In the list of tables, I have to change the space between a table title and its page number. I was able to change the space between the table number and the table header thanks to the codes I found ...
1
vote
1
answer
50
views
Decreasing gap size of equation and centering the "text" in first row of table
I want make a table as @Zarko's answer in Reduce Space Before Table and Between Table to New Section. But I have a problem:
The "text" in first row does not center of cell. This is the code:...
2
votes
1
answer
172
views
Automatically obtaining QPA quivers in tikz via Sage
I use the GAP-package QPA to obtain quivers (which are just directed graphs) and the QPA-output of a quiver looks for example as follows:
["v1","v2","v3","v4",&...
1
vote
1
answer
375
views
How to have the abstract and introduction on the same page in IEEETran format?
I am using ieeetran format for an article. It makes a break between the abstract and the rest of the paper. How I can remove that gap?
\documentclass[journal]{IEEEtran}
\usepackage{blindtext}
\...
7
votes
4
answers
2k
views
How to change space between columns in matrix
Im trying to write 2 matrices in Jupyter Notebook Markdown but I can't figure out how to make the 2 matrices to have the same size. I don't know if I can change the whole size or reduce the space ...
0
votes
1
answer
339
views
Gap in border lines in longtable while using \cmidrule(r{}){}
I added two horizontal line in a longtable header using \cmidrule(r{}){} which made some gaps in border lines, would you mind telling me how I can fix it?
\documentclass{book}
\usepackage{amsthm,...
0
votes
1
answer
146
views
Closing the spacing for \sum_{\substack{}}\cdots\sum_{\substack{}}
Here is the code I have that produces the output below. I wanted to learn if there is a way to close the gap around '\cdots'. And similarly between '=' and '\sum' on left, 'sum' and '\mathbb{P}' on ...
6
votes
4
answers
265
views
Obtaining a matrix from GAP directly in TeX
In GAP one obtains a matrix in the following way as an output:
[ [ 0, 0, 0, 1 ], [ 0, 0, 1, 0 ], [ 0, 1, 0, 0 ], [ 1, 0, 0, 0 ] ]
This matrix is given as a list of lists (which are the row vectors).
...
0
votes
1
answer
79
views
How do I get dashundergaps to go to the end of line?
I am using the dashundergaps package to print fields to be hand-written. Is there a way to have the dots or dashes to fill the full line ?
4
votes
1
answer
339
views
Horizontal gap between side-by-side tcolorbox environments
I'm trying to create a modern layout for my CV using the tcolorbox package. Here's what I've accomplished so far:
\documentclass{article}
%%%
\usepackage{geometry}
\geometry{
paperheight=842pt,
...
1
vote
1
answer
55
views
Indentation in align-environment
How do i get a symmetric separation of this equation:
I don´t want to have this gap in front of the first less than or equal sign. I currently use an align-environment, but I´m not sure if this is ...
4
votes
1
answer
255
views
Translating GAP-output into latex
I wonder whether it is possible to translate an output from the computer algebra system GAP automatically into a nice latex form.
I have no experience with programming in latex so Im not sure whether ...
1
vote
1
answer
181
views
Dashundergaps package: How do I change the underline thickness? How do I raise or lower the underline?
Dashundergaps package: How do I change the underline thickness? How do I raise or lower the underline?
\documentclass[]{article}
\usepackage{dashundergaps}
\dashundergapssetup{
,gap-number-format ...
4
votes
1
answer
94
views
TikZ: How to avoid white space when using "seam allowance"?
Assumed we have this very simple Minimum Working Example (MWE) to draw a straight line:
\documentclass[tikz]{standalone}
\usetikzlibrary{intersections,decorations.pathmorphing}
\begin{document}
\...
0
votes
0
answers
22
views
Gap appears in Longtable once copied into main document [duplicate]
I created a longtable in a test file and made it work the way I want it. I then pasted that table in my main document, a two column book.
Although the longtable was looking good in my test document, ...
2
votes
1
answer
269
views
Splitting a function prototype of two lines
I am trying to write a function in pseudocode that does not seem to appear properly due to its length. Is there a way to split the function prototype over two lines so that there is no gap as shown in ...
0
votes
1
answer
127
views
Spacing problems when using align equation [closed]
I am writing a report, and when I use in my subsection the \begin{align}, there is a great gap created between the subsection title and the first paragraph, when I remove it, the gap is removed.
So I ...
1
vote
1
answer
158
views
Reducing the gap around the frames of longtable
When creating a long table, The following conflict occured in line of tables.
I need to fix it and make it a complete frame around the table.
I used the following codes in order to make a longtable. ...
1
vote
0
answers
82
views
Section caption and figure gap problem!
I have following codes:
\begin{document}
\appendix
\input{appendix1/appendix1.tex}
\input{appendix2/appendix2.tex}
\end{document}
And appendix 2 includes following codes:
\chapter{APPENDIX B }
\...
0
votes
0
answers
194
views
How to reduce the gap in my document? [duplicate]
I have got random weird gaps in my overleaf report like this
Unfortunately I can't give you the full document because it is my dissertation. However, below is my document set-up (according to the ...
1
vote
2
answers
78
views
Gap under the title row when designing a table with diagonale title
I'm trying to make a table with diagonale titles.
For this, I used some functions from the answer from Heiko Oberdiek in the post
Special Table with Diagonal lines
I create the following functions ...
2
votes
2
answers
773
views
Text with gaps and white text
I have a kind of learning document with exercises. In this document I have texts with gaps. The gaps are currently filled by dots. I am using the following commands for this purpose:
\newcommand{\...
1
vote
1
answer
66
views
Different gaps using math mode in tabular
See the following MWE:
\documentclass[a4paper,DIV=15,oneside,12pt]{scrartcl}
\usepackage[ngerman]{babel}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{amssymb}
\usepackage{...
0
votes
1
answer
62
views
Making sure that chapter headings appear at top of page with least gap
I was told by my supervisor to insert this:
\titleformat{\chapter}[display]%This puts chapter titles right at the top and changes line spacing
{\normalfont\huge\bfseries}{\chaptertitlename\ \...
2
votes
2
answers
461
views
Remove line spacing between variable columns
I am using the following code which is resulting in line spacing problem. The first four may be long so they are separate but I need the last four in two columns. The problem is line gap between these ...
0
votes
1
answer
2k
views
Sub caption of table produces large white gap
For tables I need a caption above, and sub captions beneath the table, to define all abbreviations used in the tables.
The solution I'm using so far results in a large white space after the table/ ...
3
votes
1
answer
427
views
Knurled or broken brackets and braces
Why are my brackets with gaps and sometimes even knurled shape?
How can I solve this issue without having to draw the forms with another tool (Broken matrix - gaps in brackets (solved with Tikz))
...