{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

1
vote
1answer
59 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) ...
0
votes
2answers
33 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 ...
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
64 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
51 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, ...
18
votes
2answers
703 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}...
4
votes
3answers
138 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
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
26 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 – ...
0
votes
0answers
46 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
74 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 ...
2
votes
2answers
60 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 ...
2
votes
3answers
58 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
33 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 ...
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
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}...
2
votes
2answers
25 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
46 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
27 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
63 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 ...
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
29 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
25 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 ...
4
votes
2answers
192 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: ...
7
votes
2answers
85 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
1answer
35 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} \...
4
votes
2answers
100 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
28 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 ...
0
votes
0answers
45 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
81 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 ...
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} \...
2
votes
3answers
50 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
45 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
26 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 ...
2
votes
1answer
45 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 ...
2
votes
1answer
25 views

Formatting File Names re' \addchap input

I have a list of \addchap commands, each of which calls a file that is named as e.g. C001 My File.tex. The title contains capitalised words and a single space separating them. When the Main File.tex ...
1
vote
3answers
54 views

Can someone help me out with odd spacing in a multicolumn multirow table using siunitx?

I wanted to put my data in a multi column and multi row table, whilst aligning the entries by decimal point. For that I am using the package siunitx. There problem lies within the formatting of the ...
1
vote
1answer
24 views

Wrong column span with multicolumn

I have a four columns array or tabular. In the first row the second cell should span two columns, while in the second row both the first and the second cells should span two columns. The result is ...
0
votes
1answer
27 views

Format Equation: Add information left of the equation number

I want to write an equation and put some additional information in the equation but left of the equation number, thus \tag{} does not work. Furthermore, I would like to have the description flushed ...
1
vote
0answers
22 views

How do I print multiple authors correctly using BibTeX bibliography?

So I've been looking for an answer to my question on here for quite some time now, but nobody seems to be having the same problem as me: I'm using BibTeX and my makefile does latex latex bibtex latex ...
2
votes
2answers
39 views

Minipage reset indent. How can i set again to standard?

I have the following code. \documentclass[a4paper, titlepage, 11pt]{article} \begin{document} \section{Introduzione all'astrofisica} \begin{minipage}{12cm} In astrofisica, differentemente ...
5
votes
1answer
43 views

How do I strike through the first text on a line using the cancel module?

I'm new to latex so please be gentle. I installed cancel using this command: tlmgr install cancel Then I created a test file called test.tex with the following content: \documentclass[12pt]{...
2
votes
1answer
36 views

Place two flow charts side by side

I've read some of the other posts regarding placing figs side by side and I don't think this is duplicate because flow charts are not figures. Essentially I said my goal in the title, I want to place ...
1
vote
0answers
69 views

How to change the header in memoir

How can I do the following in page headers in memoir (without changing anything else): remove "Chapter" (and the chapter number) from page titles. (So only chapter title remains). Make the title and ...
2
votes
2answers
65 views

Script to embrace Greek passages

I'm working on a document that has many short Greek passages in it, as well as single words and expressions. It is impractical to embrace all of those with \gr{...} (defined with \...
2
votes
1answer
88 views

How to change row height within xtable environment?

I would like to change row height such that all rows except the header row will have fix height x and the header row will have eight y. I would like to do this within xtable environment because I ...
3
votes
2answers
48 views

Section headings in a separate column

I'm interested in achieving a two-column layout like the following, where the columns are flush with the left and right margins of the page: | section heading | lorem ipsum lorem ipsum lorem ipsum ...
12
votes
3answers
1k views

How to write bold, italic and sans-serif at the same time?

My title is bold and sans-serif right now but two words in the title have to be italic in addition (scientific name of bacterium). Currently I'm using \selectfont to make the whole thing sans serif ...
1
vote
1answer
58 views

How to stop LaTeX stretching my footnote

I've ran into a problem I can't seem to fix. So I've been working on a document, everything is as it's supposed to be, apart from one small detail. I referenced certain parts of my text with \...