{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

4
votes
2answers
131 views

How to make all quotes in LaTeX italicised

I want to italicise all the quotes in my paper. By that I mean that everything in the {quotes} environment is italicised to help differentiate it from the main text. I've seen a few threads talking ...
2
votes
2answers
48 views

Moderncv: How to avoid bold lettering for recipients?

I'm using moderncv to get my cover letter. In the upper part of the document LaTeX sets up the address line of the company. The thing is that the first part of this address line has bold letters. ...
1
vote
2answers
50 views

Background margin fill for (first line of) section titles?

I'd like some of those "flaps" (how are these really called in typography, actually? Is it "thumb index"?) which is a bit of fill, extending to the margin; so that when you "bend" a book, you can see ...
0
votes
0answers
49 views

Using “newlfm” template - How to remove 2nd page and empty white space after signature block?

I have just begun using the "newlfm" template to write a cover letter but when I print the letter it generates a blank second page and leaves entirely too much white space beneath the signature block. ...
1
vote
1answer
59 views

How do I change labels of the enumerate environment?

I write \begin{enumerate} \item MMMMMM \item NNNNNNN \end{enumerate} but when I compiled appear: a)MMMMMMM b)NNNNNNNN I wish the item to appear in Arabic numerals instead of letters 1)MMMMMMM ...
15
votes
6answers
316 views

Function to autoformat string of text

I am writing a thesis that will require the reporting of the results of multiple ANOVAs. Reporting these follows the format F1,16=5.06, P=.009. I would like a tool that does this formatting for me, ...
0
votes
0answers
38 views

Pdf text looks faded both on screen and on paper [duplicate]

Looking at the pdf generated from the latex code (I am using texmaker) it looks faded with respect to other pdf files I am use to read. I mean, the words are not as dark as the ones on the other ...
3
votes
2answers
92 views

Insert text in-between rows in a table

I'm trying to achieve the following effect: +------------+---------+ | Col1 Col2 | | +------------+---------+ | Value 1 | Value 2 | | Value 3 | Value 4 | Text goes here... | Value 5 ...
4
votes
1answer
101 views

How to write in smallcaps in chead of article class?

I want to write few words in small caps. But it's not working in \chead \chead{\textbf{\textsc{\Huge Small Caps Text}}} Can you please suggest?
0
votes
0answers
39 views

LaTeX for scientific publications? [duplicate]

please excuse the noob question, but I'm pretty new to the Tex Stackexchange. I am currently working on my PhD in a biochemical engineering/nanoengineering field. I was wondering what resources would ...
1
vote
0answers
76 views

Formulas are not displayed correctly (documentclass 'simauth') [closed]

I am supposed to use the document class simauth as described here. However, the formulas and in general anything math related looks not as it is supposed to look, instead of Does anybody know ...
2
votes
1answer
40 views

How do I strike out indices? [duplicate]

I want to strike out the superscripts and subscripts for an expression like $$\Gamma^{\lambda}_{\mu\nu}$$ I tried the ulem package: \usepackage[normalem]{ulem} \sout{Hello World} and the soul ...
3
votes
1answer
32 views

How to make shure there is a “~” between all bibtex formating data and user provided stuff?

I want to make sure there is a ~ in something like \newblock {\cyr\textnumero}~{11-1 (39)}. instead of \newblock {\cyr\textnumero} {11-1 (39)}. So I have bibtex record alike this has in it a ...
4
votes
1answer
30 views

Adding “indentation markers” (similar to what some IDEs / text editors can do)

Assume I have the following code \documentclass[a4paper]{article} \usepackage{scrextend} \begin{document} \begin{addmargin}[2\parindent]{0em} expand A \begin{addmargin}[2\parindent]{0em} ...
1
vote
1answer
48 views

Creating bullets within a subsection

I'm fairly new to LaTeX, and I have no idea how to fix this. Basically I make a subsection using \section, and then create subsections using \subsectiond. Now I need to create bullets within the ...
0
votes
0answers
23 views

customized header in latex with chapter name on right side without CHAPTERNO [duplicate]

I want to put chapter name on right side of my header.I tried \leftmark but it is giving me CHAPTERNO.CHAPTERNAME format. However,I only want to have CHAPTERNAME. What can I do to suppress the chapter ...
2
votes
1answer
22 views

I cannot seem to get a part of moderncv's example template to render in my preexisting CV

I am a beginner at LaTeX and have been plodding along mostly by adapting snippets I find online. I'm trying to build a cover letter for a CV using the moderncv package. In the letter example, the ...
0
votes
0answers
43 views

How to justify one part of a line left and the other on the right hand side

I was wondering if it was possible to have two sections of text, on the same line be both left justified and right justified. For example doing this: {\itshape{\begin{flushleft}I'm on the ...
-1
votes
1answer
115 views

how can I create a chapter heading like this?

Hi I want to format my chapter of my thesis as shown in the figure. How can I do it? Can you suggest me some fancy latex templates for a phd thesis?
1
vote
0answers
18 views

Matching a single lines style with moderncv

I'm pretty much brand new to LaTeX and and wanted to update my resume. I'm currently using moderncv banking style to do this. In moderncv there is a style called \cventry: ...
2
votes
2answers
39 views

How to redefine \emph to have bold text with bold math?

This question explains how to redefine the \emph command so that the text is bold. When mathematical text is included with emphasized text, I have been using the following solution: ...
0
votes
0answers
44 views

Listing authors sequentially with affiliations without 'and' operator

I'm having problems listing authors in a way that doesn't cause a strange 'and' operator to appear between names, as well as names to appear on completely different lines. Sometimes it goes away and ...
0
votes
0answers
39 views

lmodern and italics or and bf coding not working in body of document, working in footnotes

I have just changed from using palatino package to lmodern. I noticed that now \italics (or \itshape) or \textbf do not appear to be active in the body of my document but work (!?) in the footnotes. ...
2
votes
1answer
37 views

Issues when formatting a picture within a footnote

Hi all I am attempting to create something along the lines of: But so far the closest that I can get is: My code is: \footnote{\begin{wrapfigure}{l}{0.1\textwidth} \vspace{-15pt} \centering ...
0
votes
1answer
32 views

\autoref{} printed “Theorem 2.1” instead of “Lemma 2.1”. How to change? [duplicate]

I labeled my lemma with \label{lem1} and referred to it later using \autoref{lem1}. However, what was printed was "Theorem 2.1" where it should really say "Lemma 2.1". How do I fix this? ...
4
votes
1answer
27 views

Correct appendix numbering

I am trying to obtain specific page numbering in my appendix. Currently my appendix page numbering in the appendix is Alph. I want to obtain page numbering that is consistent with the appendix title. ...
7
votes
2answers
791 views

What is the use of @{}?

Can someone explain the use of @{} in table formatting as in: \begin{tabular}{@{}cp{0.45\columnwidth}p{0.25\columnwidth}@{}}
1
vote
1answer
54 views

How to set the counter for examples to continue from theorems?

I have the following lines: \documentclass[a4paper, 12pt, twoside]{thesis} \usepackage{verbatim} \usepackage{amssymb,amsmath} \usepackage{amsthm,amsfonts,amscd,amsrefs} ...
1
vote
0answers
30 views

Formatting Appendix Title

I'm having a heck of a time trying to get the \chapter titles in my appendix section formatted correctly. My goal is to make it look something like this : I am able to change Appendix to Annex by ...
2
votes
2answers
84 views

How can I create a double border/table around every page of the document excluding the headers/footers?

I am a newbie to LaTeX... Outside of the title page and ending pages, I am trying to create a fixed size border/table that will be around every page (excluding the headers/footers) of the document. ...
1
vote
1answer
38 views

Flushleft deletes the space between paragraphs

I would like to use \begin{flushleft} and \end{flushleft} to begin and end to align paragraphs to the left in ShareLaTex. However, I notice that when use those commands, they delete the blank space ...
0
votes
2answers
32 views

Title format and unnumbered sections

I'm writing a report that requires a particular style for titles as given by: \titleformat{\chapter}{\fontsize{22pt}{0}}{}{0em}{\bf\LARGE\thechapter\\ ~} This shows up as intended below: ...
1
vote
1answer
36 views

How can I force an abstract to fit on the title page (if there is space) using the AASTeX package?

I am trying to format a paper using the AASTeX package. When I typeset the paper with the title, authors, authors' information, and the abstract, the abstract is automatically forced to the second ...
0
votes
1answer
28 views

Asterisk in Title Issue

I'm using overleaf for a paper and I'm using a journal template with the following in the preamble: % \documentclass[% reprint, amsmath,amssymb, aps, ]{revtex4-1} \usepackage{float} ...
1
vote
1answer
20 views

Hiding page numbers for in-line citations

When I create citations, I use the \cite[p.<somenumber>]{myCitation} format as it allows me to track where the information came from if I need to go back and reference it. I find it quite ...
4
votes
1answer
84 views

Recreating formatting of an Excel table using simplecsv

I'm trying to recreate a wholesale price list in LaTeX so that the data can be updated automatically from CSV files. I'm able to import data using \csvautolongtable but I'm struggling with the ...
0
votes
1answer
85 views

Putting titles in color boxes [duplicate]

I'd like to know how I can a Chapter title into a color box and change the style and personalize it. The only thing I could do, at the moment, is... What I like to do is change the style of the ...
0
votes
1answer
29 views

Centering caption in wrapfigure environment

\documentclass[11pt,a4paper]{article} \usepackage{amssymb,amsmath,amsthm} \usepackage[dutch]{babel} \setlength{\parindent}{1cm} \setlength{\parskip}{0cm} \usepackage{relsize} \usepackage{graphicx} ...
3
votes
1answer
36 views

inconsistent hyperref appearance control in tex4ht

Using the \hypersetup{} of \usepackage[tex4ht]{hyperref} (as seen in the MWE below) I am trying to format the hyperlinks of links such as glossary entries so they are less noticeable. On two ...
4
votes
1answer
51 views

Using Rowstyle with S-column of siunitx

Is it possible to use a rowstyle with S-column provided by sinuitx? When I try the following the S-column does not allign the numbers (they are not even recognized as actual numbers): ...
0
votes
1answer
71 views

colorbox doesn't wrap the text correctly [duplicate]

There is a problem with using \colorbox command. As you can see in the example and its output, the statements in the \colorbox doesn't correctly wrapped. Is there any suggestion for that? ...
6
votes
1answer
112 views

How to Simplify Writing a Book of Poetry

I will write a Book of Poetry, written by many authors. I hope that each author will write a poem in a plain text file. So far, I wrote a master file BookOfPoetry.tex \documentclass{article} ...
0
votes
1answer
57 views

Change font spacing and size of bibunits \putbib

In the following example I would like to force my references section to be typeset in a smaller font with single (more condensed) spacing. My commands (a spacing environment call and a font small ...
2
votes
1answer
65 views

Problem with table formating

I'm trying to make a table with the cells centered vertically. Any solution I've found is giving me errors or not working. Here is a minimally working version of my code: ...
4
votes
3answers
151 views

How to make a framebox around paragraph title

I would like to have a framebox around some paragraph titles. Something like the diagram below. I would like the framebox to have a background color (e.g. cyan), round corners, and shade if possible. ...
4
votes
1answer
41 views

How can i make (force) a paragraph to be justified and have a specified number of lines

How can i make (force) a paragraph to be justified and have a specified number of lines? Intra-line spacing is not important, but the paragraph should be completely rectangular. Below is a minimal ...
3
votes
1answer
103 views

Using tikz to create section “bars” and “markers”

Based upon this original post include section name, as well as number in mdframed (theorem) header, I am using tikz to create a series of bars and markers (e.g. Topic No, Summary, topic summary), ...
1
vote
2answers
28 views

Breaking the line

I have the following code: \listfiles \documentclass[oneside,12pt]{scrartcl} \usepackage[ngerman]{babel} %\usepackage{amsmath} \usepackage[fixamsmath,disallowspaces]{mathtools} \begin{document} ...
2
votes
1answer
69 views

Adjustment of text inside \tcolorbox and getting rid of ident after box

I have following chunk of text: \begin{tcolorbox}[boxrule=0pt,arc=0pt,colback=gray] tar: Ignoring unknown extended header keyword 'SCHILY.fflags'\\ tar: Ignoring unknown extended header keyword ...
6
votes
1answer
82 views

Insert arbitrary date

I want to simply insert an arbitrary date (in my case March 16, 2015) in a way that does not hard code the date format. That is, I want something like \insertdate{<year}{<month>}{day} For ...