Skip to main content

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
3 views

PDF Page Dimensions Wrong

I am using the geometry package to set smaller margins in my document, however the values by which I am adjusting margins seems to be making the page dimensions bigger when I download the pdf. Is ...
raynerk's user avatar
  • 63
0 votes
0 answers
20 views

How can I center my LaTeX text block in double sides printing?

I need to print double sided a5 from a translation of a book in LaTeX. Just bought an HP LAserjet 209 only to find out it does not do a5 D-S. So I need to print a5 block on a4 paper and therefore need ...
Ulf Ehrenmark's user avatar
2 votes
1 answer
70 views

How do i get a new poetry line to be hanging indented .25 inches yet in a custom blockquote format ,5 inches away from margins?

Im trying to get this doc environment which has everything in a blockquote form without hanging indentation and that will be used in a double spaced doc to get the functionality of a picture: \...
Felix Maldonado's user avatar
0 votes
0 answers
26 views

(MLA) Could someone help me know how exactly to edit fancyhdr to fit the correct style that MLA calls for heading and text to be in?

I have the following code that I am trying to get to have the correct format for the header area. \documentclass[12pt, letterpaper]{article} \usepackage[top=1.0in, bottom=1.0in, left=1.0in, right=1....
Felix Maldonado's user avatar
0 votes
1 answer
33 views

LaTeX CV: how to contain text in a ``box?''

I have this: \documentclass[a4paper,11pt]{article} %----------------------------------------------------------- \usepackage[top=0.75in, bottom=0.75in, left=0.5in, right=0.75in]{geometry} \usepackage{...
GregoryHouse's user avatar
2 votes
2 answers
36 views

Displaying a large table over several pages with text wrapping of cells in a larger document

Edit: David Carlisle identified the issue with the table being contained to one page in a comment. I removed the commands to begin and end table (leaving them in my code below with a % before them for ...
Thomas Wright's user avatar
0 votes
1 answer
20 views

How to format decision problems for algorithms?

I am aware there are several excellent packages in CTAN for typesetting algorithms. However, I often need to first describe the problem the algorithm is solving, and I can't seem to find apackage that ...
Luke's user avatar
  • 1
1 vote
2 answers
62 views

How to divide a bibliography and use \nocite{*}?

I'm writing a document with xelatex. I want to cite all the references of my bibile, even those I do not cite in the text. I have a master document file : \documentclass[12pt,a4paper]{book} \input{...
happybobby's user avatar
2 votes
2 answers
42 views

How to color only the chapter, section and subsection numbers in Table of Contents?

I would like to change the color of the chapter, section and subsection numbers in the table of contents. I am using the minimal code below. However, it only colors the first chapter number, but ...
Andris Erglis's user avatar
0 votes
0 answers
20 views

Europass CV content not fitting & exceeding page size

While making europass cv in latex i used \ecvblueitem to make two sections (section 1 and section 2). Section 1 has text around half of the page whereas Section 2 has text exceeding one page. (1) How ...
Jack's user avatar
  • 185
0 votes
0 answers
35 views

LaTeX Template for Zeitschrift fur Naturforschung - Section A Journal of Physical Sciences

I am working on a new paper to the journal: Zeitschrift fur Naturforschung - Section A : Journal of Physical Sciences The web-site for this journal does not give a LaTeX template. Is it available in ...
Sundar's user avatar
  • 725
1 vote
0 answers
67 views

How to make my tables better?

This is the result of my tables at the moment but i feel that even though it displays satisfactory ish, its not written the optimal way. I am using the array package. \documentclass[12pt,a4paper,...
chicao's user avatar
  • 39
3 votes
1 answer
148 views

How to format code in the style used in academic papers?

I came across a scientific article that features beautifully formatted code, as shown in the image below. I'm interested in using a similar style for my own article, but I'm not sure how to achieve ...
drobilc's user avatar
  • 161
2 votes
2 answers
221 views

How can I write these expressions better?

I have no idea how to make it the right way. I have this warning message "Underfull \hbox (badness 10000)" (I have no idea what it means but I guess it has to do with the successive \hfill.) ...
chicao's user avatar
  • 39
0 votes
1 answer
55 views

Chapter Formant: CHAPTER 1 -> CHAPTER ONE

The new requirement of my school is CHAPTER 1 -> CHAPTER ONE. I check the .cls file, may I know how to adjust this? I appreciate your help % Chapter formatting in TOC \renewcommand{\cftchapindent}{...
amzra10's user avatar
0 votes
0 answers
22 views

Make every element of the List Of Figures (LOF) the same size

I am writing a report and for formatting reasons I will need to have different sizes for the captions of my figures. For example, here we can see that 2.3 is smaller than the other, I would like them ...
Sam's user avatar
  • 1
9 votes
3 answers
412 views

Problem with superscripts on fractions

I am a bit of a novice with LaTeX so excuse if this is a silly question. I am writing a "common methods" booklet for my department, and one of the agreed methods is to show fractional ...
MrManderson's user avatar
0 votes
0 answers
22 views

How to get rid of indentation with trivlist continuing in a new page [duplicate]

Newbie to LaTeX. I've used \trivlist to list out my items, but as the list expands to a new page, there is some indentation which throws off the entire format of the list. Can someone please help me ...
user766320's user avatar
3 votes
2 answers
294 views

QED symbol in the last line of the formulas

\begin{proof}[Proof of Lemma \ref{dual group of product several factors}] We will induct on $n$. If $n=1$, then there is nothing to prove. Assume the result holds for $n\geq 1$ and let's prove for $n+...
RFZ's user avatar
  • 395
0 votes
0 answers
27 views

glossary-extra toggles off acronyms in Abstract for a document

I'm using the package glossary-extra in my thesis and happen to use some acronyms in my Abstract. Now, I have a code-block that prevents the hyperlink to be active on multiple occurrences of the term ...
Matteo's user avatar
  • 323
2 votes
1 answer
51 views

Tabularray: 2pt hline and vline border to one row causes other row lines to extend beyond table edge

I am working on my thesis and generated a truth table using tabularray. Everything is fine until I add an hline and vline border around the last row of the table: the hlines for all other rows extend ...
cyoung701's user avatar
3 votes
3 answers
151 views

How to format columns inside a Table row (here third)?

I want a Table that looks like this, The code that I use in Overleaf is this below, \documentclass{article} \begin{document} \begin{table}[h!] \centering \begin{tabular}{|c|c|c|c|c|} ...
Indranil Saha's user avatar
0 votes
1 answer
53 views

How to redefine chapter*

I would like to save the name of the chapter* sections to a variable and to achieve this I am trying to redefine the chapter* command, how could I do this? Any help would be greatly appreciated. \...
xyz04's user avatar
  • 137
1 vote
0 answers
21 views

Need to add another title before \begin{document} on a separate page

I am a complete beginner. I need to add another title similar to the \title but on a different page right after it. I'd appreciate it very much if anyone could me as I urgently need this. Thanks in ...
sanarazakhan's user avatar
1 vote
2 answers
73 views

Reformatting a Paragraph Consisting Entirely of Capital Letters

Consider the code: \documentclass[12pt]{book} \parskip 15pt \begin{document} \thispagestyle{empty} \large THIS IS A PARAGRAPH WHOSE SENTENCES CONTAIN WORDS COMPRISED OF CAPITAL LETTERS. THIS IS A ...
DDS's user avatar
  • 9,768
1 vote
1 answer
41 views

text-wrap within cells when using different column types with longtable

I was working on the following table and try to figure out how to wrap the text inside the last two column while keeping it aligned to the left; I also wish, to have to content of the adjacent cell ...
Matteo's user avatar
  • 323
3 votes
1 answer
35 views

Issues with siunitx, and longtable percentage column

On the line of some other tables I made, I have attempted to use the same approach for this one. However, in this case I have three columns with different type of numeric entries. The first one is a ...
Matteo's user avatar
  • 323
0 votes
1 answer
70 views

Redefine chapter* format

How can I modify the font of the chapter* command. I essentially want to keep it the same except to make the font a little smaller. How could I do this using titlesec. Also how can I redefine the ...
xyz04's user avatar
  • 137
1 vote
1 answer
37 views

Automatically aligning Roman numerals with other text within the document

I began typing my pdf file using overleaf. The material I have consists of Math MCQs. I faced many problem and decided not to continue typing before I fix these things first. However, as commented in ...
Hussain-Alqatari's user avatar
0 votes
1 answer
45 views

Automatically listing answer choices: either all in one line, or each answer choice in one line

I began typing my pdf file using overleaf. The material I have consists of Math MCQs. I faced many problem and decided not to continue typing before I fix these things first. However, as commented in ...
Hussain-Alqatari's user avatar
0 votes
1 answer
24 views

English formatting for english bibliography entries

For an upcoming thesis, my professor asked me to adhere to his reference guidelines. Among others, this includes formatting native (ngerman) entries in a different way than english publications. ...
Luap 's user avatar
  • 11
0 votes
1 answer
26 views

Problem with csvsimple and csvrerader. Not every Data type gets show

Here is my code: \begin{filecontents*}{DateTime.csv} Gruppe;Date;Time Gruppe 1;27.05.2024;13:00 Gruppe 2;28.05.2024;18:00 Gruppe 3;29.05.2024;21:00 Gruppe 4;30.05.2024;12:00 Gruppe 5;27.09.2024;22:00 \...
Roman's user avatar
  • 21
0 votes
0 answers
40 views

Math MCQs, arranging the given choices, the space between them, and some other (automatic) formatting

I am a new user of Latex, I only can write equations like in MSE, and never made a document in latex before. I wanted to create MCQs, but MicrosoftWord is not better than Latex for this purpose, where ...
Hussain-Alqatari's user avatar
3 votes
3 answers
104 views

How to make the separation between bibliography label and entry auto-adjust (BibLaTeX)

I am working in an {article}-class document with BibLaTeX used. EDIT 240526: I am working in Overleaf. I am failing to apply an automatic recalculation of my \biblabelsep. A screenshot of what I have ...
cherryPopsicle's user avatar
0 votes
2 answers
42 views

Strange Multicolumn subsection formatting

I have a single part in my document where a strange format logic appears (picture). Here is the code from this part> \section{Projektdefinition und Lernziel} \begin{multicols}{2} \subsection{...
Roman Aebi's user avatar
1 vote
2 answers
22 views

How to define a fixed space between dot and the next word of the following sentence?

The spacing between . and the next word in line differs between the lines. In this example it is the case for: . Gustav and . Carl. \documentclass[11pt]{report} \usepackage[utf8]{inputenc} \...
PeterDonut's user avatar
0 votes
0 answers
26 views

how i can make the numer of subsection in right side

\documentclass{article} \usepackage[utf8]{inputenc} \usepackage{latexsym} \usepackage{amsmath} \usepackage{amssymb} \usepackage{amsfonts} \usepackage[english, russian]{babel} \usepackage{nopageno} \...
Abdel djalil Boulebbina's user avatar
2 votes
1 answer
27 views

in lyx: preview of ert environment inside a table cell has weird bounds compared to the compiled output

In using the latest version of LyX (2.3.7) when I insert an ERT environment inside a preview, and all of that inside a table cell the output on the lyx file takes a huge part of the page length (I ...
Nate3384's user avatar
  • 197
1 vote
1 answer
54 views

Shape around empty box in every page

I want to leave an empty box of fixed dimensions in the upper right corner of every page. Something of the kind that you obtain with the following code: \documentclass[oneside,12pt]{book} \usepackage{...
brad's user avatar
  • 527
10 votes
4 answers
692 views

How to create rows that are off-centered from others

I am trying to reproduce a table that has this sort of structure: The closest I am able to get is something like this: With this code: \documentclass[margin=10pt]{standalone} \usepackage{multicol} \...
David G.'s user avatar
  • 329
4 votes
1 answer
140 views

How to change shapes and traits of horizontal lines in headers/footers?

I was just browsing through this site, searching for ways to change the shapes of horizontal lines in headers/footers out of curiosity, but I could only find questions relating to changing their color....
Atex's user avatar
  • 210
0 votes
0 answers
20 views

How can I adjust the spacing between the number and the title of each level in TOC to create automatically a nested list?

In this code, I have defined custom sectioning formats using the titlesec package. However, I'm having trouble adjusting the spacing between the section numbers and titles, especially when the section ...
Antonio Maria Di Mauro's user avatar
2 votes
1 answer
28 views

Remove "(chairman)" when using sapthesis

I'm using the sapthesis package. It allows for indicating multiple examiners via the command \examiner (e.g. \examiner{Jon Doe}). If at least one examiner is indicated, after the first one it appends ...
Luke's user avatar
  • 23
0 votes
0 answers
16 views

How to set document font to Times new roman and font size to 13 [duplicate]

I want to know how to set font of a document to Times new roman and font size to 13. I tried using the mathptmx package but I can't set font size to 13. Is there any way to have both Times new roman ...
Hồng Thịnh Phạm's user avatar
2 votes
1 answer
37 views

Footnote placement at the end of quote environment outside of quotation marks

I'm currently using the quote-environment and the footcite command, to display the citation-footnotes at the end of the quote environment. Now I have added quotationsmarks by amending the quote ...
David Zweistein's user avatar
1 vote
1 answer
50 views

Position the text on the left and the images on the right for the entire document

How can I do the following formatting for the entire document? That's what I expect to see: I tried to make it in the form of a minipage/table, but the text and pictures are not located on the same ...
Ara Ray  's user avatar
1 vote
0 answers
29 views

bold math in minipage environment [duplicate]

I looked at all questions and answers on bold math, but could not find an answer to my question. I have this code, in which the Oplus symbol in the second column comes out bold, as it should. The top ...
district9's user avatar
  • 317
4 votes
1 answer
114 views

How to have tikzpicture environment properly formatted in align environment

I've tried to figure out how to use the the tikzpicture environment within an align environment, and the closest thing to an answer I found is here: use of tikzpicture matrix in align or gather ...
Atex's user avatar
  • 210
2 votes
3 answers
44 views

Help Formatting a set with two conditions

I am trying to format the following in LaTeX: I have tried using an array, but I can't centre the left hand side and don't know how to make the big bar in the middle. Any assistance formatting this ...
Todd Burnett's user avatar
3 votes
1 answer
55 views

Overleaf designing graph question

I want to put a legend at the right-up corner, add background gridlines for every 5 units, fix the size of the picture (want to put different data in the same format so that value 30 in this graph is ...
snowman's user avatar
  • 41

1
2 3 4 5
109