Questions tagged [formatting]

{formatting} is for general questions about formatting document elements. Use this tag in addition to other tags specifying what should be formatted. For questions about font attributes (e.g., {bold}, {italic}, {small-caps}, {sans-serif}, {typewriter}), use the appropriate tag instead.

Filter by
Sorted by
Tagged with
0 votes
0 answers
8 views

Enforcing Custom Long/Short Versions in glossaries-extra

I've set up a custom glossaries-extra configuration. I've defined custom commands named customLongVersion and customShortVersion which are being used inside the \glsentryfmt command. However, I'm ...
Highnoon's user avatar
0 votes
1 answer
81 views

How do I put the Appendix along with the PDF on one page?

I would like to put the appendix in PDF format on one page at the top of which is written "Appendix 1" - it also needs to be in the table of contents without a number according to my ...
Pawel's user avatar
  • 1
4 votes
1 answer
209 views

How to make Dwarsligger (flipback book) in latex?

I mean a form of book in which the page of one page from a conventional book is printed across two pages, so the text appears to be parallel to the spine. Accordingly, the numbering of pages occurs on ...
Ivi's user avatar
  • 83
2 votes
2 answers
150 views

Formatting LaTEX equations

I am trying to input some equations in my latex document, the first equation is fine, and the first equation number is shown on the side but for the second equation, the equation number is out of ...
aniket32's user avatar
0 votes
0 answers
52 views

I am typsetting my thesis in late overleaf and I need help [closed]

I am typesetting my thesis in latex overleaf. I am struggling with one issue. I want to highlight my section with blue rectangular background with white color for heading as can be seen in picture. ...
Safeer's user avatar
  • 1
2 votes
1 answer
46 views

Siunitx: formatting range

Following this, I obtain \sisetup{ range-phrase=— } \SIrange{40}{50}{\liter} 40 L—50 L Is there a way that can give me output in this format? 40—50 L
user3204810's user avatar
  • 1,395
0 votes
1 answer
22 views

Change table of contents style classicthesis

How can I change the style of the \tableofcontents shown below: I want the styling to be similar to below example: Below parts of the code in my main.tex: \documentclass[11pt, a4paper]{article} \...
Apotheosis's user avatar
1 vote
1 answer
40 views

Beamer Singapore delete name of sections in navigation bar

I use the Singapore theme from Beamer with several modifications. I want to edit the preamble, so that the section names don't appear in the navigation bar and the space for the progress indicator (...
JF018's user avatar
  • 11
2 votes
0 answers
110 views

Enforcing Full Stop at the End of Hanging Captions within `xltabular`

The following posts provides a solution for adding a full stop at the end of hanging captions, but I'm encountering issues when applying this in the context of xltabular. Can I extend this ...
Highnoon's user avatar
2 votes
2 answers
61 views

Soft returns for math mode?

I have long equations in math mode (single $) that are not breaking properly to start a new line. I am using \displaystyle but that doesn't seem to have any effect on the line break. I can force the ...
user3131222's user avatar
1 vote
1 answer
34 views

Enforce Full Stop at the end of each Hanging Caption

I am trying to enforce a full stop at the end of each caption in my LaTeX document. I found this post with basically the same question, but it breaks when using \usepackage{caption} as well as hanging ...
Highnoon's user avatar
2 votes
2 answers
69 views

Lines are disorted when using \cmidrule in booktab table

I would be really glad if someone could help me out. Im using the following code to generate a table: \begin{table} \centering \begin{tabular}{ccccccccccl} \toprule & \multicolumn{2}{...
Crea Teeth's user avatar
0 votes
0 answers
28 views

How to make a non numbered section to appear in the summary in lyx?

I am trying to input the non numbered section bibliography in my summary in a document using lyx, but it has been appearing only if I number the section. Is there an alternative ?
Hugo sanchez de araujo's user avatar
0 votes
1 answer
56 views

How to redefine \section to include "long-title" in the ToC?

OBS: I've made a previous post about my problem, but I was not clear enough. Therefore I will try again! I'm working on a math lecture notes template, and have the following: \section[Lecture \...
JokingGold0's user avatar
0 votes
0 answers
29 views

Biblatex Customization for TV-Series and Episodes in Overleaf

I'm having difficulties customizing my Biblatex style in Overleaf to format series and episodes in my bibliography. I'd like the series name to appear in small caps and have fields like "Director,...
Line's user avatar
  • 15
0 votes
1 answer
24 views

Proof appearing in the middle of the equations

Does anyone know why this could be happening? \begin{proof} \begin{aligned} \bar{p} \cdot \bar{x} & =\bar{p}^\mu \bar{x}_\mu \\ & =\Lambda^\mu{ }_\nu p^\nu \Lambda_\mu{ }^\rho x_p \\ & ...
Orion Pax's user avatar
0 votes
1 answer
42 views

How to use addcontentsline{}{}{} inside the index?

I want to add the abstract with its original Roman number. I have the Abstract in the IV page, something like this: \addcontentsline{toc}{chapter}{Abstract}. ` 1 2 But in the index the Abstract ...
NovaR's user avatar
  • 3
-1 votes
0 answers
40 views

Writing windows path in a document [duplicate]

We want to print a windows path in LaTex without having to replace every "\" with "\symbol{47}". Something like the url userpackage would be nice. \documentclass[12pt]{article} \...
Håvard's user avatar
0 votes
0 answers
19 views

Need help to put the second image in the second column

Hi, I need to move the second image in the second column with the command \twocolumn. How can i do it?
er_fero_e_freddo's user avatar
0 votes
1 answer
23 views

Reduce vertical space between acronyms in printed glossary

I would like to reduce the whitespace between the acronyms in a printed glossary. In the below example, there is a lot of whitespace between "DD domain decomposition" and "PDE partial ...
Jared Frazier's user avatar
0 votes
0 answers
17 views

LATEX: how to change the positon of author affliation to the bottom of first page

The affliation will be placed under authors. How can i make it to the bottom of the first page not as footnote, but show like in the picture? \documentclass[a4paper, 10pt,twoside, ]{article} \...
ZHENLI YANG's user avatar
0 votes
1 answer
27 views

xindy with arbitrary locations (not page numbers): no sort, no ranges, hyperlinks

I'm trying to write an index using "locations" that are not page numbers but some kind of sections (not with proper sectioning commands either). These locations are just numbers with ...
Jellby's user avatar
  • 3,283
0 votes
1 answer
39 views

Title of the document on the same page as the document

I want to achieve the following look: If I use \title, the title will take up the whole page, if I use \section it will be numerated. This is the code which i am using: \documentclass[11pt]{article} \...
100xln2's user avatar
  • 103
0 votes
0 answers
56 views

Altering a lualatex code to apply \smash to letters with descenders and math automatically

I am studying the solution provided in this Stack Exchange thread: Is there a way to automatically smash all inline maths (but only vertically)?, which was originally answered by user Mico. I've ...
wrb98's user avatar
  • 842
1 vote
2 answers
53 views

How to format tables with multiline cell values by incorporating word wrap?

I am trying to make a table with multiline values in a cell. Following is the MWE: \documentclass[12pt]{article} \usepackage[a4paper, total={170mm,262mm}, left=20mm, top=20mm]{geometry} \usepackage{...
TRK's user avatar
  • 389
1 vote
0 answers
102 views

Issue with Vertical Spacing in LaTeX Box

I am currently working on a document in LaTeX and have encountered an issue with the vertical spacing within my custom box environment. I am using the tcolorbox package to create a custom box for ...
wrb98's user avatar
  • 842
0 votes
1 answer
42 views

Reference with no new lines breaks internal links

I'm trying to use natbib and have the references in a paragraph, instead of a list with one reference per line. The example below achieves this goal, but it breaks internal links between the text and ...
astabada's user avatar
  • 206
1 vote
2 answers
41 views

help with text alignment within table cells

im using tabularx and have my tables formated to the size i want but the text in each cell is alligned kinda weird - words are spilling over to a new line but I would rather the whole word go on a new ...
Haim Kalsi's user avatar
0 votes
1 answer
19 views

Revtex4 separate title and abstract page

I am writing a paper using Overleaf and Revtex4. However, I need the title and the abstract to have their own separate pages. I have a very bashy solution of adding \vspace{30cm} before the abstract ...
codingfan109's user avatar
0 votes
0 answers
59 views

How to render a PDF with selectable indentation whitespace for a code block?

I'm trying to create a PDF that will contain code snippets, and since they will mostly be in Python, the indentation is important. I found the fancyvrb package, which looks great in the PDF, but my ...
vee's user avatar
  • 1
2 votes
1 answer
48 views

Integral bottom limit overlaps adjacent delimiters [duplicate]

When using \limits on an integral, the bottom limit can overlap a delimiter (although the top limit seems to behave fine): \[\left|\int\limits_{x = 100000}^{1000000}\right|\] What is the easiest way ...
Chris Jones's user avatar
0 votes
0 answers
41 views

How can I duplicate the chapter heading on another page without calling \chapter again?

I basically want to reprint the chapter heading with all the same formatting/spacing/etc and have it print onto the next odd page. I sort of hacked together the spacings and everything with vspace ...
J M's user avatar
  • 1,102
0 votes
1 answer
38 views

Using throughout numbering for sections, statements, displays, tables, figures, itemize items, etc. and referring to them

I find most easy to navigate through a text which has numbering like this (3) Section title Lots of explanations blablabla ... (3.5) Subsection title tratatata because (3.5.1) \emph{If $X=Y$ then $Z=T$...
მამუკა ჯიბლაძე's user avatar
0 votes
1 answer
109 views

Wiley Latex Template Abstract goes of the page

I am using the official Latex Template for Wiley managed journals in overleaf, see the template here. However, if I extend the abstract too much (with for example lorem ipsum, lipsum package), the ...
CaipiDE's user avatar
  • 41
0 votes
2 answers
49 views

Two texts with the same width on two different lines, but with different font sizes

I want to create a new command for a template cover, and I think a specific type of formatting would look great, but I'm having trouble implementing it. Essentially, what I want to do is have a title ...
Jimeens's user avatar
  • 617
0 votes
0 answers
37 views

How to use styling file (abstract.sty) in latex?

I'm new to LaTeX. What I need to do is to write an A4 pdf abstract of my research using LaTeX. The format is given. What I only have is abstract.sty file. Following the tutorial https://www.youtube....
Ori's user avatar
  • 1
0 votes
1 answer
23 views

Big curly parenethesis on the right of a table [duplicate]

I recently asked help for the command \left and now I'm here to request your help with \right. I don't understand how I should use it, since output is as required but the engine gives me some errors. ...
DonPiero's user avatar
0 votes
0 answers
74 views

Adding "Relevant Courses" Section with proper formatting to Jake's Resume Template

I am a beginner in Latex, and am trying to create a resume using the "Jake's Resume" template (https://www.overleaf.com/latex/templates/jakes-resume/syzfjbzwjncs). I am currently trying to ...
Yash 's user avatar
1 vote
1 answer
112 views

\left can only be used in math mode

I'm encountering a problem with \left because the engine says that it must be used within $...$, but if i use the math mode everything screws up. Do you guys have suggestions on how to fix the problem?...
DonPiero's user avatar
2 votes
1 answer
18 views

PGFPlots: Make Tick Labels Small Caps

MWE: \documentclass{standalone} \usepackage{pgfplots} \begin{document} \begin{tikzpicture} \begin{axis}[ ybar, title={Test}, symbolic x coords={SmallCaps, MoreSmallCaps}, xtick=data, ] ...
Craig's user avatar
  • 623
0 votes
1 answer
46 views

Literary quotations

I am writing a paper which I want to start with a literary quotation. How do I do this? It should probably appear above my name and the title. It is not "To be or not to be" but for the ...
IanM's user avatar
  • 41
2 votes
0 answers
41 views

How to repeat part of the last (first) line of the previous (next) page in LaTeX?

For example, Is there a way to do this automatically in LaTeX?
Tee's user avatar
  • 21
0 votes
2 answers
47 views

Inserting ties in Chinese documents

I've been following Knuth's advice in the TeXbook about inserting ties (i.e. non-breaking spaces) between words and formulas in appropriate places. However, when I typeset a Chinese document (using ...
pzq_alex's user avatar
0 votes
1 answer
36 views

Color Each Line of `align` Environment with a Different Color

I am trying to have different colors to different lines within an align / aligned environment. It seems the & symbol is causing some issues. I want to color each line of the following: \begin{...
Royi's user avatar
  • 233
1 vote
1 answer
50 views

Indent all but first line of text in Bibliography section

I am writing a review in Latex and I'm writing the references directly into the Bibliography section in the main.tex file without using BibTex or bibitems or anything like that. I want to indent all ...
Violet's user avatar
  • 13
0 votes
0 answers
25 views

Difficulty Placing Table in its indended place in my LaTeX Document

I'm struggling with placing a table in my LaTeX document where I intend it to be. I've tried using the table environment with [h!t] placement, but the table doesn't seem to position where I want it to....
Bryan C's user avatar
2 votes
1 answer
79 views

How do I highlight text or formulas?

I want to highlight newlined sentences and formulas. The following code will allow me to highlight newlined sentences, but I get an error if they contain quotations (\cite) or formulas (\begin{...
ayato kanada's user avatar
0 votes
2 answers
53 views

Please help to rectify the cover pages for thesis related documents

I need to attach the supporting documents related to the thesis, each category under a separate title cover page. I have tried to make a basic format, however, it is not looking good. My code is dirty,...
Bukaida's user avatar
  • 597
3 votes
1 answer
200 views

Draw lines to divide pages in 2, 3, 4, .... equal parts

Following the topic to divide a page in two equal parts, I can't figure out how to draw a line at the quarter of the page. My goal is to create some multiple short tests on the same page that I'm able ...
Piroooh's user avatar
  • 1,197
1 vote
0 answers
59 views

Lots of Unnecessary White Space

EDIT: I have a smaller MWE. I have a document that has lots of footnotes. These footnotes——I believe——have caused unnecessary white space and have made the document quite ugly. Is there a way to get ...
ceramicquasar88's user avatar

1
2 3 4 5
107