{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

3
votes
0answers
324 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 ...
5
votes
3answers
239 views

Table and caption formatting

I'm having some problems getting my table and caption formatting to look right. Below is a sample of the code from my thesis. I've included all the packages that I'm using in my thesis, so that you ...
2
votes
0answers
121 views

Latex formatting entire document for spacing after full stop and comma

I am writing a long document in latex. I want to make sure that through out the document the following thing is maintained: no space before and one space after "." (full stop) at the end of a ...
2
votes
1answer
1k views

Formatting of heading List of Acronyms and list of tables glossaries package

I am using glossaries package and making List of Acronyms as well as List of Symbols. I got everything working except one formatting issue. The heading of my above two lists have a different ...
2
votes
1answer
103 views

Separately annotate parts of a fraction

I'm trying to create the following image in TikZ as part of a handout explaining blood pressure to patients in a clinic. I am unsure how to annotate a fraction in tikz. I know of the example using ...
8
votes
3answers
208 views

Align matrices problem

I have an equation of matrices and I want to align the dimensions of the matrices below the equation of matrices. However, I produce something very ugly. Can someone advise how to make it look better ...
4
votes
1answer
209 views

How to change the font of a cross reference made using \ref

I am using the Cambridge University Press book class cambridge7A (available at http://authornet.cambridge.org/information/productionguide/laTex_files/ and much used by CUP authors) A minimal example ...
2
votes
1answer
97 views

How can I reorder elements of title when using `titling`

By default, it seems that* \maketitle processes first the title, then the author, then the date. So what do I do if I want to put the author and date on the top of the page (on opposite sides of the ...
0
votes
0answers
25 views

Problem in .cls file [duplicate]

! LaTeX Error: File `Thesis.cls' not found. I am using Kile editor. If the above error appeared in the log file then how to correct it?
1
vote
1answer
450 views

Problem in Kile editor so LaTeX file is not running

EDITED post: In the following Template http://www.latextemplates.com/template/masters-doctoral-thesis \documentclass[11pt, a4paper, oneside]{Thesis} % Paper size, default font size and one-sided ...
1
vote
0answers
92 views

How to add supporting material link together with cited reference when using bibtex?

I am going to cite a research article which also has useful supporting data by authors in their website. How can I add the link into Bibtex? Or do I have to cite the supporting data link as an ...
1
vote
0answers
280 views

How do I italicise book titles rather than underline them?

I've been editing a bst file and want to italicise the titles of books, I tried the suggestion in this thread Is it possible to italicize journal names and book titles through the .bst file? , but I ...
7
votes
2answers
216 views

Remove text formatting from chapter title

I'm having a problem with the chapter headings formatting. I would like to change only the first letter of each chapter, but for the lists of figures and tables chapters it's not working. Here is ...
6
votes
1answer
88 views

Suppress something if at the end or beginning of a page

I would like to suppress the horizontal rule between the mdframed boxes if it occurs at the top or bottom of a page. I found this partial solution which makes use of \cleaders. But it is nor working. ...
5
votes
2answers
446 views

How to change the style of the braces around equation numbers in the align-environment

I would like to change the braces in the align-environment from the normal braces ( ) to rectangular braces [ ],
10
votes
1answer
387 views

Color box issue

Here is my MWE (minimal working example): \documentclass[]{article} \usepackage{fancyhdr} \usepackage{graphicx} \usepackage[usenames,dvipsnames]{color} \begin{document} \begin{center} ...
5
votes
1answer
123 views

Chapter title formatting

I'm working in memoir class and would like to format my chapter headings like this: The author's name and years of birth-death are at the top, then a horizontal line the length of the above details, ...
4
votes
0answers
176 views

Nomenclature, acronym or glossary?

This isn't a technical or LaTeX code question, but more of a "what should I be using for X?" question. I am writing up my PhD. It is an Engineering PhD and I have mostly abbreviations (i.e. ...
4
votes
1answer
235 views

pgfplot number format: scientific notation on ticks, without factor 1

I have a pgfplot that is supposed to give me only a colorbar, no other plot. My code was inspired by this question. The logarithmic colorbar code was recycled from this answer and this answer. The ...
1
vote
0answers
41 views

Latex : Three authors with two affiliations [duplicate]

I have three authors associated with a paper. All of them share the same university, but the second one also has an extra university address. I would like something like the following :
2
votes
1answer
47 views

Changing output font style of a referred label

In of the bulleted list of my MWE below, I'd like the label ("Item a") to be of bold font weight, the output of \ref{itm:one} to be in normal font weight. Unfortunately, neither the placement of ...
0
votes
0answers
180 views

Paragraphs new lines or indent

I am writing an article with for springer lncs. My problem is that sometimes new paragraphs are separated by a new line, and sometime just by indentation. I would like to force only indentation. I ...
1
vote
1answer
70 views

How to suppress the hanging-over text part of a section title within the table of contents?

My question is, if there exists a method to suppress hanging-over text elements in the table of contents. Below you will find my MWE. Thanks a lot for your solutions and comments! ...
6
votes
3answers
234 views

Interline spacing with different fonts

What Latex command can I use so that the space between interlines remains the same when I use two different fonts simultaneously? For example, (1) \huge{\textbf{Dunt venim dolorerosto do odit}} (2) ...
6
votes
1answer
81 views

Font formatting order

I want to set my chapterprefix font for scrbook class. This is what I want to do: \setkomafont{chapterprefix}{\centering\Huge\rmfamily\mdseries\scshape} However, as I was writting it, I asked ...
2
votes
1answer
43 views

How to add another \cc tag in a letter class?

I need to create a legal document similar to a letter for a bussiness. I use the stardar class letter for be the best that fit at my needs. In fact I need to create a formal document but I need to ...
1
vote
0answers
133 views

Overall formatting in LyX

I could not find a previous question that dealt with this topic, and much of the guidance is one-off. I am creating a paper and I want the text to be double spaced but not section headings, the ...
4
votes
1answer
28k views

How to set document font to times new roman by command

I wanted to know how to set font of a document to Times New Roman and size to 12 for text and for Chapter Heading 14 only, for the whole document. I don't want to use the fontspec package for this. ...
6
votes
1answer
139 views

seqsplit - keep spaces

Hey im looking to create a text wrap command to be used inside a table for long word wrapping. so far i have this: \renewcommand{\seqinsert}{\ifmmode\allowbreak\else\-\fi} ...
4
votes
1answer
213 views

amsbook-class with small caps

Is it possible to tweak the amsbook-class such that the uppercase headings (e.g. Chapter 1) are changed to small caps? Are there any "typographical objections" in doing so?
2
votes
1answer
343 views

How to change format of Appendix page name?

This is a followup question to How to add cover pages to appendices? . This screenshot shows the school requirements. This minimal example comes from Ruben's solution to the previous problem: ...
5
votes
1answer
312 views

Minimum space between last word and page number in the table of content

y question is, whether there is a solution to define a minimum blank space (length: three dots) between an entry's last word and the its page number within the table of contents? Thanks a lot! ...
31
votes
5answers
11k views

Date format: YYYY-MM-DD

Currently I put the date in my document using: \date{\today} How do I display the date in the YYYY-MM-DD format?
1
vote
0answers
182 views

\to or \longrightarrow and \mapsto or \longrightarrow in functions? [closed]

I'm typing up a research project and I am not sure which ones I should use when I'm defining functions. I personally prefer \longrightarrow and \longmapsto but I see a lot of people use \to and ...
4
votes
1answer
2k views

How can I insert a subject line in a letter?

I am writing a letter and I would like to insert a subject line above or below the \opening. How should I do this? I prefer not to use scrlttr2 or KOMA
5
votes
2answers
340 views

Increasing space between columns in a list of acronyms

For my List of Acronyms page, I'd like the explanation of the acronym (i.e. "List Abbreviations Here" in the example below) to be a bit more on the right. I'm using a thesis template, which ...
5
votes
1answer
241 views

Vertical spacing in multi-line title

Using LyX I have set the document to 1.5 spacing and it is applying to my title causing a weird space since my title goes into a second line. Other places in the document changing the paragraph ...
6
votes
1answer
853 views

Does pgfplots ignore the minor grid?

I'm trying to plot an easy function and I would like to enable the minor grid. But it seems that this instruction is ignored. I used the grid=both option but it has no effect. The only grid I can see ...
4
votes
1answer
297 views

thmbox with normal font and section numbering

How can i use "normal font" for definitions and "italic" for remarks (and similar environments like them) in thmbox environment declaring some commands. Also i need numbering as "section" or ...
3
votes
4answers
302 views

Text going to next line - how to keep on same line?

My cover for my thesis looks like this: The relevant MWE looks like this (I am using a template) \begin{minipage}{0.4\textwidth} \begin{flushleft} \large \emph{Author:}\\ John \textsc{Smith} % ...
0
votes
1answer
111 views

How to Format Text Automatically

In most scientific journals, articles that contain foreign words or sentences, should be written in italic. In this case, I wrote an article in Indonesian, while the foreign word or phrase is the ...
2
votes
1answer
127 views

How do I enumerate sections with numbers and subsections with letters like this

How do I enumerate sections with numbers and subsections with letters like this: This is a section A. This is a subsection B. This is another subsection. Thanks
0
votes
0answers
551 views

Formatting a collection of .docx document to LaTeX document

I define a general format in a LaTeX document (title, name, etc.) and the space for the document paragraphs. To this, I want to process all the .docx files (Word Documents) and generate the formatted ...
3
votes
2answers
261 views

\underbrace and notes in the center enviroment

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}} + ...
8
votes
2answers
128 views

Turn marginpar into a regular paragraph

I'm writing notes for a university course. My content goes into a file called content.tex and then use two other files (called notes.tex and kindle.tex) to define styles and use the LaTeX import ...
20
votes
1answer
341 views

How to I force a word to move to the end of the line?

How do I force my document to pull selected words to the end of each line (and to hyphenate them as well, if needed)? I have an old document. I know the page size and I think I've found the ...
18
votes
3answers
435 views

Typeset text immediately before \lettrine dropped capital

How do I add 'sidebar' text? I'm aware that 'sidebar' is likely the wrong word to use. Please let me know what the correct term is. I'm referring to the text to the left of the dropped cap ("The ...
5
votes
1answer
152 views

Footnotes are formatted wrong/messy

I have a problem with formatting my footnotes. They look very messy and just wrong. I could not find a way to change that, but I assume it is some kind of property, like with a \usepackage[] commant ...
6
votes
1answer
203 views

How to prevent distributing vertically over whole page in Lyx?

I work with the documentclass book (koma-script) in Lyx. In the final pdf, all text, pictures, etc., are distributed vertically over the whole page. I prefer to put them on the page from the top with ...
1
vote
0answers
53 views

Indicating that the adjustwidth environment should be placed around text

I've been trying to work out a solution to this question about changing margins for body text without changing header/footer placement. Using the changepage package, I was able to work out the ...