{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
2k views

amsart and titlesec - title font won't change

Ok, I am very new to LaTeX. I am using a default template. I have been trying to figure out how to change the font sizes and other formatting. Reading forums convinced me to try titlesec. All titlesec ...
8
votes
1answer
2k views

Modifying mini-toc content

I have adapted the pretty table of contents solution written by Gonzalo Medina with the modification to the "blue box style" that Stephan Lehmke helped me with to design a somewhat consistent ...
3
votes
1answer
9k views

Using quotation marks [duplicate]

Possible Duplicate: Automatically convert quotations in the form of “abc” to become ``abc" I have a Microsoft Word document whose text I have copied into a LaTeX document. One ...
16
votes
2answers
8k views

Add second enumeration item on the same line?

I'm writing a document that has a large number of lists containing short enumeration items, and I'd like to be able to [manually] put multiple items on one line. Thus, for example, I'd like to say ...
6
votes
1answer
2k views

Customizing table of contents in memoir

I have a table of contents in my memoir document, but I want to slightly alter the way it appears: 1) I want to decrease the spacing between chapters (now it looks double-spaced; I want something ...
4
votes
1answer
293 views

Format abstracts as unnumbered chapters

I'm writing master thesis and working on LaTeX template for the successors ... The standard of the university requires abstract in every language to be formed as unnumbered Chapter: ...
28
votes
1answer
6k views

Closer underline

I am currently using \underline{...} to underline text. However, I want the underline to be closer to the letters (as of now, there's too much whitespace between the letters and the line). Is there ...
2
votes
1answer
2k views

Non superscript citations for figures

Is it possible to reference figures like so taken from \emph{ref. \cite{reference}} with non superscript numbers, while leaving the rest of the references in the bulk of the document untouched? ...
5
votes
2answers
1k views

How to generate E-mail not Email in elsarticle.cls

I am using elsarticle.cls to typeset the paper. The journal requires "E-mail" not "Email". But elsarticle automatically gives "Email". I wonder how to correct it? I am using the following commands: ...
5
votes
1answer
2k views

Beamer, Singapore Theme Follow up – line above footline and hide footline for single frame

I have two follow up questions to an earlier post: Singapore Beamer Theme - add bottom bar with author info. How do I add a horizontal line just above the footline contents? If I add a footline ...
5
votes
2answers
1k views

use Times new roman font in TOC when using \usepackage{tocstyle} \usetocstyle{allwithdot}

I need my TOC all in Times New Roman but my section titles are changed when using \usepackage{tocstyle} and \usetocstyle{allwithdot} I had to try to use tocstyle because my section titles are long ...
6
votes
1answer
563 views

Modifying \answerline in the exam class

When using the exam class, is there a way to change the formatting of the item answer blanks created by \answerline? For a question, the label is 1. For a part, the label is (a) For a subpart, the ...
0
votes
0answers
45 views

Prevent listings grouping together [duplicate]

Possible Duplicate: Keeping tables/figures close to where they are mentioned I'm writing a document with a large number of code listings. Most of the time I want them to be shown on the ...
5
votes
1answer
3k views

Singapore Beamer Theme - add bottom bar with author info

I made presentation slides using the Singapore Beamer theme. I think this theme looks very professional, but it doesn't include a bottom toolbar that includes my name and institution. How do I add a ...
7
votes
2answers
567 views

Use italic ampersand in different sizes depending on environment

This is going to be a little complicated: in the spirit of Bringhurst I am trying to incorporate italic ampersands into headings. I am using a LuaLaTeX modified version of classicthesis, hence the ...
15
votes
2answers
1k views

Typesetting email with internet-style quoting using LaTeX?

I'm wondering if there exists a package, that would take so-called Internet-Style Quoted plain text of an email, and format it accordingly for a PDF output. Internet-style quoting is discussed on the ...
17
votes
2answers
2k views

Coloring chapters and sections with respect to parts

I am using the book document class and I want to produce a document with several parts, chapters, sections, sections and subsections. I would like to make it easier for the reader by coloring ...
6
votes
1answer
1k views

Biblatex's citesetup and citetext

I am using biblatex to make the citation numbers bold by redefining \citesetup to include a \bfseries: \renewcommand*{\citesetup}{% \bfseries \biburlsetup \frenchspacing} This makes the reference ...
4
votes
1answer
1k views

Navigation (Bullets) very small in custom beamer outer theme

trying to customize our university theme, I got stuck with the size of the navigation bullets (mini frame style), which are displayed as if scaled to 50% and the same with it's text. Even though I can ...
4
votes
1answer
849 views

textbf+UpperCase title

I would like to make a section title UpperCase+textbf, however, while trying to define it like this \makeatletter \renewcommand{\section}{ \@startsection {section}{1}{0mm} ...
8
votes
2answers
8k views

How do I keep a string of text together without it doing a line break?

I'm writing up a long paper, in which in prose I have various equations. However, I do not want a line break to occur within the equation - I want the equation to stick together. I want to do this ...
6
votes
2answers
2k views

siunitx rounding in table with parentheses

I'm trying to create a standard regression table with standard errors in parentheses below the coefficients, while using siunitx to align the numbers on the decimal point, and to round the numbers. ...
27
votes
2answers
3k views

Chapter Title in rotated vertical box at the margin

I am using the book document class. I would like to have Chapter name (Interduction, Results, Discussion, ...conclusion...) to appear in every page, in the right side small vertical (color filled) box ...
5
votes
2answers
2k views

Control appearance of caption when using subfigures

I am trying to style the name and text of captions so that the name ("Figure", "Table" etc) is in bold, and the title text (eg "A picture of a cat.") is in italics.Following the memoir manual I use: ...
3
votes
1answer
781 views

Making the dots in a TOC go all the way up to a number (using titletoc)

I’m using the titletoc package to create a TOC. How can I make sure that my dotted lines always touch the number? More precisely, I want the dotted lines to look as in the following image:
4
votes
1answer
3k views

Styling my section/chapter

I'm trying to reproduce this chapter/section style on LaTeX and I would like some insight on how to achieve this. I have been using the secsty package but I haven't come up with any real results. The ...
8
votes
3answers
1k views

How do I apply both \mathbf and \left to a \langle?

I want text surrounded by a bold-face \left\langle ... \right\rangle. But when I use \mathbf or \pmb, I get errors, and when I use \bm, it doesn't seem to do anything. Is there a command that does ...
7
votes
1answer
6k views

Make a LaTeX document look like it was written in Microsoft Word [duplicate]

Possible Duplicate: Making a LaTeX document appear as though it were typeset in MS Word I know this is a travesty in the world of TeX, and an affront to all decent TeX-believing people out ...
11
votes
1answer
14k views

Adding line by line comments to math proofs

Is it possible to add a line by line discussion of my proof? I'm using the harvey mudd college math template, so the least amount of packages or class editing would be great. I'm looking for the ...
5
votes
2answers
762 views

Make one author's name bold every time it shows up in the bibliography (continued)

The solution provided here Make one author's name bold every time it shows up in the bibliography does unfortunately not work, as soon as the Author's name contains special characters, e.g. Hans ...
3
votes
1answer
2k views

Grouped two column table of contents in Beamer

I am working on a beamer presentation with a quite large table of contents. Therefore I split the table into two columns with the following code: \begin{frame}{Overview} \begin{multicols}{2} ...
4
votes
1answer
1k views

Dynamically use RTF-Code in latex-document

I'm looking for a way to dynamically use Rich-Text-Format code in a latex document. The background is this: I want to paste formatted programming-source from visual studio into my latex code because ...
0
votes
1answer
732 views

Change the background color in the title

I need to set the background color in my definition of the title but I don't know how I can do. I have the next definition: \pretitle{\vspace{-90pt} \begin{flushleft} \HorRule \fontsize{20}{20} ...
3
votes
1answer
3k views

Italic citation reference for author name using natbib

I'm trying to get italics for the author name within the citation using natbib with agsm style. My MWE: \RequirePackage{filecontents} \begin{filecontents}{\jobname.bib} @BOOK{Smith2011, author = ...
5
votes
1answer
6k views

Synonyms for \bfseries and \itshape and such?

Seeing as it is quite confusing for non-TeX expert to know how to specify italic or bold font, and the names such as \bfseries are not straightforward... Is there a package that defines synonyms like ...
0
votes
0answers
52 views

How to leave underscored white space? [duplicate]

Possible Duplicate: Long underscore in LaTeX I am not even sure if there isn't a proper typographical term for this thing. I use it for a questionnaire, where I have questions like: I ...
11
votes
1answer
1k views

Code readability

I'm getting my head around LaTeX, and I find really awesome the fact that the documents are completely editable with a plain text editor, while getting a really neat and professional output. I'm ...
2
votes
1answer
72 views

Auto including the section into an (pre-defined) environment

There is a coherency problem in the following text (its typesetting). The last paragraph must not be considered as a part of subsect02. For instance it is a kind of conclusion of two approaches ...
9
votes
1answer
3k views

Changing the font for “alert” in beamer

I would like to change the behaviour of \alert so that the text is still red but now boldfaced, say. How can I do this? I have Googled, but all I can find is how to change the colour, as in Changing ...
4
votes
1answer
646 views

How to add other info to the title page (e.g. class, professor)?

I am new to LaTeX and trying to write my first paper with it. I need help on the title page. I want something that says Initial Planning Report ...
11
votes
5answers
3k views

I just want to have the text in my pdf the same way I have it in my editor

I want to paste from the clipboard a plain text copied from a text editor (line wordpad++, vim, notepad etc), and I want TeX to respect the same line break formatting that the editor has. This works ...
8
votes
2answers
8k views

TeX templates for mathematical articles

I'm currently trying to write an article on a method of finding infinite series for some known functions. However, I'm finding it very difficult to: Get a good guidance on how to structure the ...
12
votes
7answers
3k views

How do I get function argument parenthesis to position correctly?

I'm having trouble with the appearance of parentheses representing function arguments. They appear to far away from the function name. For example the code ...
3
votes
1answer
446 views

After notitlepage my abstract lost formatting

I've added notitlepage option to not get my page counter reset ( according to suggestion : http://tex.stackexchange.com/a/44955/7128 ) but my abstract lost formatting ! Now it has line spacing and ...
4
votes
1answer
2k views

Format nomencl in table style

For my thesis I wwant to format the nomencl in the same style as the rest. Simply put this means I want the nomencl to appear as follows: Symbol Quantity Unit t Time s rest ...
6
votes
2answers
937 views

Listings language definition keyword suffixes

I'm trying to create a listings language definition for ARM assembly and many of the instructions have prefixes/suffixes (i.e. BGT, BLE, BNE, BEQ branch instructions). Is there a way to define B with ...
3
votes
1answer
305 views

A way to change how the header of a AMS-LaTeX file is presented?

I'd like to change the way the header is presented in an AMS-LaTeX file... I based my file on testmath.tex. First, I'd like to allow my header, or represented by \markboth, to show up in the first ...
16
votes
2answers
15k views

Math inside tables and formatting

I'm trying to make a little summary of mathematic analysis, useful for my university, in LaTeX. I'm stuck in the problem of creating nice table, with alternate colouring containing equations with ...
13
votes
2answers
2k views

What's the proper way to write a vector with a single character subscript?

I've always(-ish) thought that the proper way to typeset a vector which is labeled by a letter with a single character subscript, like v1, was to set the arrow over just the letter, like \vec{v}_1 (I ...
3
votes
1answer
1k views

How to replace a hyphen (-) with an en-dash (–) automatically?

I would like to set up my LaTeX (XeTeX) document in such a way so that I could type a hyphen (-, the one on the keyboard) and it would get replaced with an en-dash (–, the "longer" dash) in the ...