{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.

learn more… | top users | synonyms

0
votes
0answers
13 views

Text formatting of document, without altering in-table text

I wish to change the font size/spacing of my text for my whole document, but keep the table text format the same as the LaTeX default. When I try implement change to the text, the same happens to the ...
3
votes
1answer
137 views

“Page intentionally left blank” article

How would I create a "page intentionally left blank" wherever I wish to put one? Specifically, I'd like to place a page like that between the title page and ToC, and between the list of figures and ...
1
vote
1answer
102 views

HZ typesetting system in plain TeX

How can I use the hz typesetting engine with plain TeX and pdfTeX? I read about it in TUG Vol 36 no.2, Peter Karow.
0
votes
0answers
19 views

Cause appendices to appear as sections in ToC, and their sections as subsections etc.

I'm trying to format the way my appendices appear in the ToC in my thesis. I'd like to have an unnumbered chapter called 'Appendices', followed by A. First Appendix and B. Second Appendix formatted as ...
1
vote
1answer
40 views

moderncv - trying to have more space in the descriptions columns

I'm using MacTex 2.7.6 I have this in my description columns I'm looking to have the Système d'exploitations and outils to go more on the left (see below) Please find my MWE (updated version) ...
5
votes
1answer
109 views

Readability of text-heavy latex file

My question is not concerned with the output, but the readability of the input. I am looking for advice for making text-heavy latex code more readable. I know there are already topics on making code ...
0
votes
0answers
26 views

moderncv - why so many files?

As a very hands-on type of person, I said to myself why not learn LaTex trying to build something out of it, in order to learn all the intricacies of LaTex. So I'm creating my cv, using LaTex and ...
2
votes
1answer
35 views

how to give horizontal offset to the section heading and align multiple tabs

I am a beginner in latex and trying to prepare my CV. the output of the following code \documentclass[11pt]{article} \usepackage{sectsty} \usepackage{amsmath} ...
0
votes
2answers
23 views

moderncv - trying to remove that bullet point and create more space

I'm very new to LaTex and even more to moderncv I'm trying to do two things removing that bullet point just before my email Put more space after programmations or Outils de marketing digital ...
3
votes
2answers
338 views

\underbrace and notes in the center environment

Here is a little snippet of my code: \begin{center} $\small \displaystyle \underbrace{(- \frac{1}{2})^0}_{\text{1st term, j = 0}} + \underbrace{(- \frac{1}{2})^1}_{\text{2nd term, j = 1}} + ...
5
votes
1answer
81 views

What are the parameters of Definition environment?

I'm trying to redefine Definition theoremstyle and I'm stuck trying to find a single webpage where I could look up the parameters of that style. I keep finding plain style, but that's not what I want. ...
0
votes
1answer
64 views

How can I format this formula?

I am new to LaTeX. How to write this formula in a proper format as an algorithm? I cannot write this formula in proper format: if (some condition) P=P+(W$i$*((W-P)/W$i$)) end
11
votes
2answers
575 views

Scrartcl 13.999 point 14.4 point but not 14 point?

Can the scrartcl class make a true 14 point type? It will produce 13.999pt, 13.9999pt and 13.99998pt, but 14pt produces 14.4 point type only. Thanks :) ...
1
vote
0answers
11 views

How to tie link formatting to text notthe bounding box in Adobe DC [on hold]

Im new to Adobe DC and having a remarkably silly problem with formatting links. Ive tried to Google this but cant get anything close, so here we are! What I want is to have the formatting for links ...
2
votes
2answers
38 views

List of listings similar to list of figures

After learning on the net I managed to get this type of list of figures : And I want exactly the same with the list of listings, but here is what I get : My code is this one : ...
0
votes
1answer
34 views

Section title with background color and line breaks in KOMA

I want my subsection title to have a colored background with support for line breaks. There are a few questions about spanning that background to the margins - that's not what I want to achieve, ...
11
votes
4answers
3k views

Writing an equation with the units positioned off right

Okay so I have a have a lot of equations in the document I am writing and I am trying to display the units of an equation off to the right. I was wondering how I can achieve this? Right now, all I ...
1
vote
0answers
22 views

formatting printbibliography

I want to make a chapter where all the bibliography is printed by using the command \printbibliography The problem is that I want to give the same format to all the chapters. But when I try to do so I ...
2
votes
1answer
17 views

a boxed equation that should appear at the top of every beamer page

I have a boxed equation: \boxed{E=mc^2} and I want this to appear at the top of every page in beamer at the same height. Is there a more efficient way of doing this, rather than typing it every ...
0
votes
1answer
23 views

How to write in proper format of this code

I want to get the right hand side portion in a format. Here the format. Table[i, j] <-maximum { Table[i-1, j] AND Values[i] + Table[i-1, j – ...
2
votes
2answers
35 views

Change Algorithm caption Label color to blue and bold italics

I wanted to know how to go about changing the algorithm caption label to blue and bold italics. I have so far been able to change the caption name to blue, but I have not been able to change the ...
0
votes
0answers
40 views

How to modifier chapter*?

\documentclass{book} \usepackage[left=2cm,right=2cm,top=2cm,bottom=2cm]{geometry} \usepackage[utf8]{inputenc} \usepackage[charter]{mathdesign} \usepackage{graphicx, calc} ...
3
votes
2answers
63 views

Change format of chapter

How to change format of chapter like this photo, please? \documentclass{book} \usepackage{titlesec} \usepackage[tracking=true]{microtype} \usepackage{lipsum}% juts to generate text for the example ...
0
votes
1answer
19 views

Suppressing large text “Works Cited” in biblatex-mla `\printbibliography`

I'm trying to create an MLA citation page using biblatex-mla. However, the \printbibliography command creates a 16-point (uncertain as to exact size), left-justified, Times header "Works Cited" rather ...
3
votes
1answer
578 views

Conditional formatting, rounding and postprocessing of a column in pgfplotstable

I want to round p-values in a table to two decimals (for example 0.05), have values less than 0.05 in bold font and have values less than 0.01 to come out as '<0.01' in bold font. Like this (the ...
2
votes
3answers
57 views

How to put a colon to the left of a specific set of equations in a set of equation

Following: How to put a colon to the left of a set of equations? Currently I have the following code \begin{equation*} \begin{split} \Omega : \dot x &= \omega(b) \\ p &= \sigma(z)\\ m &= ...
2
votes
1answer
28 views

TOC - Horizontal Alignment

My currente TOC is looking like this: And here is a code sample: \documentclass[]{article} \usepackage[latin1]{inputenc} \usepackage{tocloft} %pacote para editar ToC \usepackage{titlesec} %pacote ...
6
votes
3answers
413 views

Explain formula using beamer

I am preparing a presentation on statistics. I want to include a slide on Bayes' Theorem which says: p(\theta | D) = \frac{p(D|\theta) p(\theta)} {p(D)} I want to explain each term using arrows. ...
1
vote
0answers
46 views

Center just one \section*{}

this is my document format: \documentclass[12pt,a4paper]{article} \usepackage[table]{xcolor} \usepackage{times} \usepackage{amsmath} \usepackage{pdfpages} \usepackage[utf8]{inputenc} ...
82
votes
3answers
21k views

Does it matter if I use \textit or \it, \bfseries or \bf, etc

I typically use \textit{Some italicized text} while some of my colleagues use {\it Some other text} Should I bother changing one or the other, or does it matter? Related: Is there any reason ...
2
votes
2answers
63 views

Spaces between words

I have this piece of code and I'm getting a really weird formatation. \newpage \section{Modelo Relacional} Acidente(\underline{acidenteID}, data, responsavel, custo, $veiculoID \rightarrow ...
1
vote
0answers
36 views

How to stop \begin creating a line break

Basically I've created a math theorem called definition At header of the document, declared as \newtheorem{defi}{Definition}[section] Now i've laid out some text and stuff basically what I have ...
7
votes
2answers
70 views

Fixing overfull \hbox with mdframed containing an equation

When creating a boxed environment with mdframed, I ran into an issue with a line with an equation, that also happens to be the first line of a definition. Is there a way to fix the problem ...
2
votes
2answers
24 views

removing spaces and cleaning table in latex

how to remove the spaces which i think from automatic justification in table \documentclass{article} \usepackage{array} \usepackage{longtable} \begin{document} ...
2
votes
1answer
30 views

Number formatting, addtocounter and calc package

I have been having troubles with the following issue: I am making an invoice template in LaTeX. I use \addtocounter to calculate values like subtotal, tax and total. This works fine, until the value ...
1
vote
0answers
24 views

how can i change header and footer different for even and odd pages and different for front page [on hold]

how can we change header and footer different for first page and after that from second page we need to apply odd and even pages header and footer. like on front page we want image and name of our ...
3
votes
1answer
53 views

How to format Table of Contents?

I'm relatively new to LaTeX — I haven't really gotten into formatting things too deeply until around a month ago although I've used it for longer — so I don't know how I could format a couple of ...
4
votes
2answers
179 views

Is there a way to set colors of hyperref links and urls differently in headings / sections than in the body?

I know hypersetup from hyperref needs to be added before \begin{document} but after \usepackage{hyperref} and \usepackage{bookmark}. For example, you can inject it like the following to ensure this: ...
0
votes
0answers
24 views

My pages are not the same size on the PDF for my Senior Econ paper

I don't know if a basic working example would help, as I would not be surprised if packages are conflicting or I have a typo or syntax mistake in the 10 page document. And I've no doubt made it much ...
1
vote
0answers
19 views

Merging cells of adjacent Rows

Is it possible to merge rows like we can merge columns in Latex. I want a table like following.
1
vote
0answers
18 views

line breaks and word wraps for unpredictable character strings

I am writing python to parse and process lots n lots of files to build a final report of results from information in the files. I am using python to write the latex file, then converting the latex ...
3
votes
2answers
187 views

Problem using \alert{} in Beamer title with metropolis theme

I'm trying to emphasize some words in the title of a beamer document. Ex : \documentclass{beamer} \usepackage[utf8]{inputenc} \usetheme{Warsaw}%\usetheme{m}%-->problem \usepackage{tikz} ...
1
vote
1answer
20 views

listings - How to format words of a external code file under a condition

I'm using listings to put a external code file in my document. I'm trying to customize its appearance to identify when the first character of a word is a digit and then change the color of this ...
4
votes
2answers
84 views

How do I change my Table of Contents to look like this?

The deadline for my final senior design report is a few weeks away and I'm trying to migrate away from Word (which I used to finish my previous reports) to Latex. I have most of the formatting done, ...
1
vote
1answer
21 views

Cannot include courier into latex beamer listings

I have the following set up for my listings: \documentclass[russian,pdf]{beamer} \mode<presentation>{} \usepackage[T2A]{fontenc} \usepackage[utf8]{inputenc} \usepackage[russian]{babel} ...
0
votes
0answers
43 views

Formatting a PDF page

I'm trying to add a pdf page to an appendix and I'm having some trouble. I'd like to shrink the pdf page and place it below the appendix header, but I'm ending up with extra pages. Here's the two ...
1
vote
1answer
24 views

ACM SIG Proceedings: 6 authors total- 3 shared affiliation, also 2 shared affiliation

On the website for the ACM SIG Proceedings Template, there is an example where three authors all share the same affiliation (See number 17). However, my situation is a bit different, I am part of a ...
2
votes
3answers
40 views

Abstract with custom width

I am writing a report in which the page margins have been specified as \usepackage[left=3cm,right=3cm,top=4cm,bottom=3cm]{geometry}. But for one particular section (namely the Abstract), I want the ...
2
votes
1answer
38 views

Revisiting: “Adding an [AuthorYear] block at the beginning of bibliography entries”

I am trying to achieve citations and a bibliography, that look like this: There’s a sentence, where a book of SCOTT (1991) is quoted. Then some text with STRATTON et al. 1981 in it. ...
1
vote
0answers
33 views

What is a better way to link questions and answers on a problem sheet?

I write many problem sheets. The basic structure is thus: \section{Questions} \begin{enumerate} \item Question 1 \item Question 2 \item Question 3 \end{enumerate} ...