{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
1answer
138 views

Debugging font shape undefined in TeXShop

I am a LaTeX newbie on a Mac running OS X Mavericks, TexShop 3.26 and MacTeX-2013. I am writing a document and I keep getting the following warning: LaTeX Font Warning: Font shape `T1/phvr/m/n' ...
10
votes
1answer
161 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} ...
1
vote
0answers
18 views

import latex longtable into lyx with format changing [closed]

I apologize if my question was asked alot previously i am generating my tables from stata into latex then i try to import those tables (longtables) inside a table float in lyx the result is a mess ...
0
votes
0answers
26 views

How can I change font? [duplicate]

How can I change font just only for one word ? I have to use Segoe WP Semibold for some words in my document.
3
votes
0answers
71 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
1answer
238 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 ...
5
votes
3answers
123 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
55 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
54 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 ...
5
votes
2answers
412 views

achemso \keyword and \abbreviation command don't work

I'm preparing a paper using the achemso package. I used it before (around 2 years ago) and everything worked fine. However, if I use the \keyword and \abbreviation commands now I don't get what I got ...
8
votes
3answers
166 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
81 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 ...
84
votes
8answers
12k views

Compile a LaTeX document into a PNG image that's as short as possible

I need to convert my LaTeX documents into PNG. The problem is, I also need the resulting image to be as short as possible (height-wise). I've tried latex followed by dvipng, but the result is always ...
2
votes
1answer
53 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 ...
20
votes
6answers
2k views

Paragraph breaks with asterisks

In many books—mostly novels—often some paragraphs will have a blank line between them to indicate a sort of 'pause' in the narration. If one of these blank lines appears at the top or bottom 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
0answers
34 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
1answer
870 views

How to use makebox in LaTeX

I try to use \makebox around the word, however, all text in the same line, why? Here is my code, would someone help me? ...
7
votes
2answers
102 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 ...
10
votes
1answer
485 views

Language sensitive italicized quotation with csquotes

In what follows: \documentclass[fontsize=11pt]{book} \usepackage{microtype} \usepackage{times} \usepackage{csquotes} \usepackage[frenchb]{babel} \frenchbsetup{IndentFirst=false} \begin{document} text ...
1
vote
0answers
69 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 ...
3
votes
1answer
78 views

How can I date my entries into a latex document? (Not just one date, but several dates)

I know the \date command inserts a date in the title, but as I keep working on this document of mine I want to be able to keep a record of what I wrote on each day. I've been simply writing the date ...
5
votes
2answers
88 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 [ ],
6
votes
4answers
712 views

Enumeration with several items per line, several lines and nicely formatted

Based on Alan's answer here, I would like to be able to create nicely formatted "inline" enumerated lists. The issue I have is that the space between items on a line is always fixed, which does not ...
6
votes
1answer
60 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. ...
4
votes
1answer
67 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
87 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. ...
11
votes
2answers
3k views

How do I get “et al.” to appear in italics when using \textcite or \citeauthor with biblatex

I'm using biblatex with the chem-rsc package option. I sometimes make use of the \textcite{<key>} or \citeauthor{<key>} commands to put the authors' name into text. When there are many, ...
4
votes
1answer
106 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
38 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
1k 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. ...
2
votes
1answer
38 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 ...
2
votes
1answer
29 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
54 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 ...
4
votes
1answer
62 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 ...
6
votes
3answers
97 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) ...
1
vote
0answers
43 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! ...
0
votes
0answers
39 views

Changing the section navigation from vertical to horizontal

I like to use the Malmoe theme in the beamer class. However, I would rather have the header navigation for the sections horizontal instead of vertical, so that it takes less space.
1
vote
0answers
63 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 ...
28
votes
3answers
1k 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?
5
votes
1answer
148 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! ...
6
votes
1answer
62 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
77 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
97 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: ...
12
votes
1answer
768 views

Realistic handwritten document

Is there a template/package that generates realistic handwritten documents? The font should preferably reflect an average handwritting (readable). Letters would follow a handwritting style but would ...
1
vote
0answers
84 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 ...
3
votes
1answer
73 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
4
votes
2answers
125 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
94 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 ...
5
votes
1answer
119 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 ...