Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

1
vote
0answers
13 views

How to correctly write the thousands separator in American English?

I am not a native speaker and I must write a scientific document in American English. How would you correctly write "10000" using LaTeX ? with a space only (10 000): $10\,000$ with a coma and no ...
1
vote
1answer
21 views

How can I make these \parbox margins wider in LaTeX

I have the below command, followed by the text that I want displayed. I've attached a display of the output. I would like the top middle text to have wider margins. I've tried tweaking the \parbox ...
1
vote
1answer
11 views

How to change paragraph parameters in a page

I'm writing a text and I would like to quote a long text from some outer source. For that I would like to have the quotet text: 1) slightly smaller, and more important: 2) with bigger margins (so ...
0
votes
0answers
19 views

Formulas in box better readable

\vspace{0.4cm} \framebox{ \parbox[c]{7cm}{ $T \;=\; periodo,\; f\; =\; frequenza\; di\; clock$ \\ $T \;=\; \frac{1}{f}$\\ $T \;=\; \frac{1}{1 MHz} \;=\; \frac{1}{10^6Hz}$\\ $T \;=\; 1 * 10^{-6} s$\\ } ...
0
votes
1answer
52 views

How to have nice-looking symbols within an \itemize environment?

I need to list some formulae within an \itemize environment, but my mathematical symbols look ugly since they are in inline math mode after each \item. How can I make them look better? As an example, ...
0
votes
0answers
10 views

Change formatting in Anki to $latexcode$ display

I am currently using Anki to revise a little bit. However, Anki, by default, displays the equations like this: However, I would really like to have it more like this: I thought that it would be a ...
2
votes
1answer
21 views

Formatting of a long list

I've been writing LaTeX now for around 10 hours since my last post a couple of weeks ago. I think I'm getting the hang of it. I am finishing up a homework assignment and my document kind of looks ...
0
votes
2answers
29 views

Multiple reference in the same brackets in Elsevier

I am using the LaTeX format of Elsevier which is available on their website. I am unable to put multiple references in the same bracket for instance, [1-5]. Do you have any idea to do it particularly ...
0
votes
0answers
27 views

Suggestions to format theorem nicely [on hold]

Does anybody have suggestions to format the theorem more nicely. I do not like the current look. \documentclass[]{article} \usepackage{amsmath} \usepackage{amsthm} \usepackage{mathtools} \newtheorem{...
7
votes
1answer
51 views

Enumerate not using the correct number format

I am using beamer to type slides. Recently, I reinstalled AucTeX and now the numbers don't look right. I use \begin{enumerate}[1.] so that it will print 1., 2., etc. instead of the numbers with the ...
0
votes
0answers
13 views

Format paragraph style to subsection style without numbering

I'm trying to format my paragraph style to look like the subsection but without numbering. Using \renewcommand\theparagraph{} deletes the numbering but I don't know how to insert blank space ...
4
votes
1answer
39 views

Tcolorbox: breakable inlined box

I'd like to have a breakable inlined box in order to emphasis some text. Any idea how to do that, if possible with tcolorbox? Thanks! MWE: \documentclass[12pt]{article} \usepackage[utf8]{inputenc} \...
0
votes
1answer
13 views

Title and text paragraph indent

I'm trying to reproduce those design decision text boxes. How do I do this? They are indented and numbered. See Design decision 5 and Design decision 6 in the attached picture.
0
votes
1answer
18 views

How to remove undesired line and add the desired one in a table?

I have a table as below:- \begin{table} \begin{tabular}{|l | c | c | c |} \hline & & 1 & 2 \\ \hline \multirow{2}{*}{$abc$} & def & \multicolumn{2}{c}{\multirow{2}{*}{klm}} \\ ...
0
votes
1answer
14 views

Add a title page to birkjour class

For some reason a journal I am submitting a paper to sent back my manuscript because I need to add a "title page." My understanding is I'm supposed to submit said "manuscript" in .tex format using ...
6
votes
1answer
77 views

Changing itemsep without using enumitem package

I know that you can change the itemsep of an itemize environment by loading the enumitem package. To the extend of my knowledge, this method has the disadvantage that every time I use an itemize/...
0
votes
0answers
53 views

How can I stop LaTeX from spacing sentences to fill the width of the page?

N.B. I'm unsure how to phrase the problem that I have, which might be why I havent found an answer yet. The bibliography for a document I am writing justifies the sentences (in order not to split ...
0
votes
0answers
24 views

Adding page to completed tex file

Is there a way to add a page to a completed tex file? I'm submitting an article to a journal and for some reason they are asking me to add a "title page" to the beginning of the manuscript. However, ...
0
votes
1answer
53 views

LaTeX automatically starting new lines and indenting

So in the accompanying image, The text "Note: The "variable of integration" is irrelevant" should be on the same line as the formula under it. In the code I have it all on one line, but it is not ...
1
vote
1answer
29 views

Optimize space usage of paragraphs

I have sometimes encountered the problem in TeX, that a paragraph does not fit on one single page and is therefore splitted over two pages. This behavior makes of course sense. However, I noticed ...
2
votes
2answers
61 views

\setlength\itemsep throwing a weird bug

I have to edit a LaTeX template for an assignment, which involves solving multiple choice questions. The code for one of these questions is as follows : \begin{list}{$\square$}{} \setlength\itemsep{-...
6
votes
1answer
35 views

How to make “IF” instead of “if” in algorithm?

I have a algorithm below, I want "if" to be "IF". See code: \documentclass{article} \usepackage[linesnumbered,ruled,vlined]{algorithm2e} \RestyleAlgo{boxruled} \begin{document} \begin{algorithm}[H] \...
4
votes
1answer
34 views

How to add an icon to a paragraph's margin?

I'd like a custom command or environment to add an image in the right margin at the top of a paragraph, which would look something like this: Here's the icon (as a PNG) I'd like to use. Related: ...
0
votes
0answers
17 views

How to make text flow like this example [duplicate]

I have a few images I've like to put on a page with text, but instead of normal figures I'd like to the text to flow around the shape of the image like so: I have no idea where to start.
0
votes
0answers
28 views

Get document format from csv

I'm trying to build a kind of document management system. Two basic elements: A csv which contains all details about companies (manly partners or prime contractor) details like: company name, ...
1
vote
1answer
32 views

Bad right margins in List of Tables and List of Figures

I have a huge problem with the right margin of my List of Figures and List of Tables. Some words ignore the right margin. Time periods, I've written like this (2071-2100) also don't appear in a ...
0
votes
1answer
56 views

Package microtype has no effect

The package "microtype" seems to have no effect, especially the tracking for small caps. I work with Texmaker. \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[ngerman]{babel} \...
3
votes
1answer
28 views

Formatting problem when using \figure and \subsection

I am trying to write a research report. In it, I want to include figures inside a \subsection. However, whenever I put the figure inside the subsection, the figure is placed outside of the subsection. ...
0
votes
1answer
38 views

Redefining \thepage and compatibility with standalone

Backstory I'm currently working on a document that has got way to big to deal with so have split the chapters into separate documents that use the standalone class. In original document I was using ...
0
votes
1answer
32 views

Box / Object moves in research article template depending on introduction length. Why?

Dear fellow LaTeX users, I am new to the field and had to start quite deep with a relatively complex document template (PNAS research article template). The respective files can be obtained at: http:/...
0
votes
0answers
28 views

Formatting requirements

I need to follow the following formatting requirements: Paperformat - DIN A 4 Edge left - 6 cm Edge right - 2 cm Edge top / bottom - 2 cm (edge includes pagenumbers) Fontsize - Times 12 pt ...
0
votes
0answers
33 views

Formatting tables without destroying siunitx alignment

I have a table that shows mean values. I would like to add ± standard deviations to the cells and highlight the relevant cells with a grey-scale background. However, right now the values are all ...
0
votes
0answers
26 views

Number sets, cannot format it in latex

I am very new to Latex so bear with me. I keep getting stuck. I am trying to type: $\mathbb{N}_{[1,3]}$; however, It does not compile it. I keep getting the message: Undefined control sequence By ...
0
votes
0answers
9 views

correct formatting when placing text next to picture

Long ago I made a CV in Latex (from a template). I used to have a rough idea how Latex works - those days are long gone but the CV is still here. I wanted to add a picture at the top, and have all the ...
3
votes
1answer
44 views

Shading Tikz Picture Layout

I am trying to plot functions and shade in between them. Here is the code: \documentclass[a4paper, 12pt]{article} \usepackage[dvipsnames]{xcolor} \usepackage{amsmath} \usepackage{pgfplots} \...
0
votes
0answers
8 views

Editing references with Chicago-style or others

I need to insert references using commas to separate arguments, and without including month and issue number of the articles in the references. I would like the references to appear as follows, e.g.: ...
0
votes
2answers
18 views

How to make text fields for signatures at the bottom of each page?

I need to make text fields for signatures at the bottom of each page. Like this (i drew it in Adobe Illustrator): How can i do this? Paper format: A4.
1
vote
1answer
47 views

Include page numbers in Roman

I am new to LaTeX. I am finding difficulty in display the page numbers in Roman numbers for VTU Certificate, certificate, declaration, acknowledgements, abbreviations, list of figures, list of tables. ...
2
votes
2answers
39 views

Problem in formatting binary trees

I am trying to create a binary search tree in LaTeX. There are two nodes that overlap "blocking" each other. Does anyone have any experience with this and know how to fix it? I will show my code ...
1
vote
1answer
56 views

TeX macro/primitive vs Plain TeX macro

I know there are TeX primitives and Plain TeX macros created (directly/indirectly) by TeX primitives. My question is are there TeX macro? E. g. I can use \break in pdfTeX without defining it and \...
0
votes
0answers
26 views

Font \U/bbold/m/n/10.95=bbold11 at 10.95pt not loadable: metric data not found or bad

I'm trying to write a book with several equations, and, for some reason, the bbold package doesn't seem to work, when compiling I get the error meesage: "Font \U/bbold/m/n/10.95=bbold11 at 10.95pt ...
0
votes
0answers
27 views

How to shorten list of backreferences

I'm using bibtex together with the hyperref package and backref option to attend to every entry of the bibliography a list of pages where the source is cited. There is a standard book that I have to ...
0
votes
0answers
37 views

How to align affiliations after the author names while using IEEEtran.cls?

The IEEEtran.cls aligns the author names in the following format. There are only two authors in the paper I'm writing but one of them has multiple affiliations. I want to keep the author names and ...
0
votes
0answers
21 views

Document Class Statsoc

I am using the document class "\documentclass{statsoc}." I have a total of 30 tables being inserted and at the 27th table the text loses its format. Any suggestions on how to change the number of ...
1
vote
2answers
45 views

Formatting text and tikzpicture

How can I bring the text and the tikzpicture appropriately placed so the the graph is slightly below the text title ? \documentclass{article} \usepackage{tikz} \usepackage{geometry} \begin{document} \...
1
vote
1answer
26 views

Toggling parts on and off

I am composing some notes for a workshop which will have a mixed audience who use different statistical software packages. For the lab sessions, I wish to create a practice that contains questions and ...
1
vote
1answer
43 views

Full-line kerning in LaTeX math mode

I have a certain mathematical formula that is long enough that LaTeX breaks it into two lines, with a mere two characters wrapping to the second line. I would like to force LaTeX to display this as a ...
0
votes
2answers
54 views

Help with formatting a predesigned resume template (changing the margins)

I have this resume template that I got from a friend who found it online on GitHub (I don't know where exactly): resume.cls and main.tex. I am very new to Latex so can someone help me align things so ...
0
votes
1answer
38 views

Algorithm - formatting

I need some help with formatting my algorithm. What I have so far is this: \documentclass[9pt]{sig-alternate} \usepackage[linesnumbered,ruled]{algorithm2e} \begin{document} \begin{algorithm} \...
0
votes
1answer
34 views

Exam.cls - Formatting points in the margin

Today, i'm writing my question with the exam.cls. I would like to format the questions like that : But unfortunately it is not possible to keep points in left margin with the \qformat command. So i ...