{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

18
votes
2answers
712 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 :) \documentclass[fontsize=13.999pt]{scrartcl}...
0
votes
0answers
22 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
168 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
63 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
127 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 ...
3
votes
1answer
45 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} \sectionfont{\fontsize{11}{15}\...
0
votes
2answers
39 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
357 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. ...
1
vote
0answers
13 views

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

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 (...
3
votes
2answers
73 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 : \documentclass[...
0
votes
1answer
61 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 ...
2
votes
1answer
19 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
27 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
72 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
48 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
77 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
615 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
59 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
35 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
629 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
47 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} \usepackage{tikz}...
84
votes
3answers
22k 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
64 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 Veiculo$,...
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
92 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
26 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} \begin{longtable}{|m{33.19mm}|m{43.51mm}...
2
votes
1answer
55 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
28 views

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

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
71 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
198 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
25 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
32 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
26 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
225 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
29 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
107 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, ...
2
votes
1answer
41 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
46 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
123 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
54 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
49 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
39 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} \...
1
vote
1answer
30 views

Intext citation in IEEE format [closed]

I am trying to change the citations of my bibliography so that it uses IEEE format for the \cite command. Currently, \cite{...} the generates output like (1) whereas I want it to appear as [1]. ...
2
votes
1answer
46 views

How to hide chapter numbers in TOC with Memoir while keeping numbers at the start of each chapter

I am using memoir and trying to hide chapter numbering in the table of contents ONLY. I wish to keep it in the \mainmatter right now I am using \chapter[Chapter 1]{} to keep the "Chapter 1" text ...
0
votes
1answer
89 views

Adding a text to LaTeX that it shouldn't read [closed]

Hi guys I have to put a tiny code in my appendix for a dissertation that I am doing which looks like this -- -- ----------------------------------------------------------------------------- -- ...
6
votes
1answer
184 views

Newline after Section number / before Section title in KOMA Script

i have to adhere to a style guide which dictates newline after a chapter/section/etc number, i.e. instead of the usual 1.2 Heading its supposed to be 1.2 Heading This has to work for both the ...
1
vote
0answers
27 views

LaTeX: Larger spacing in equations by default

I know that I can add spacings in equations using \,, \: and \;. However, by default, there is no spacing between two factors. Do I have to set every spacing manually using the above commands, or is ...