{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

7
votes
4answers
679 views

Apply formatting to outermost parentheses

I have some text information where I need to apply a text format to all the outer most parentheses such as making them larger and/or bold. In a sense I want to process text like ^(...(...(...)...)......
0
votes
1answer
166 views

Environment to use locally the Skeetch font [duplicate]

Possible Duplicate: How do I use a particular font for a small section of text in my document? For pedagogical reasons, I would like to produce exercises using a text displayed like if it was ...
5
votes
3answers
3k views

How to cite authors in small cap with \citet?

I followed Natbib reference sheet and \citet works as expected. I would like the author's name to appear in small caps, how can I do that? I guess I should do: Define \citenumfont to be a font ...
6
votes
0answers
126 views

Writing clean long underscores [duplicate]

Possible Duplicate: Long underscore in LaTeX I'm writing a document in which I encourage the reader to "fill in the blanks" in order to be actively engaged with the proof. Is there any way to ...
13
votes
2answers
2k views

What is the LaTeX convention for typing “xy-plane”?

I want to type "xy-plane" in a document so that it "looks right" when I print the document. (1) xy-plane does not look right to me. (2) $xy-$plane looks bad. (3) $xy$-plane looks ok, but I feel ...
64
votes
5answers
3k views

underline omitting the descenders

I'm very well aware that it is considered best practice not to use underlining other than on typewriters and in handwriting. But sometimes it is needed nonetheless. In my opinion the typographically ...
7
votes
4answers
435 views

Rule before one new section

I use rule so as to separate the differents sections. I would like to automate this so as to use the following syntax : \section*{One day} \noindent\lipsum[1] \section*{Another day} \noindent\...
10
votes
1answer
4k views

hyperref: how to format text in a forms text-field

I would like to pre-format the text in a form text-field, e.g. make it bold, italic or use a specific font. The following code generates a simple text-field: \documentclass{scrreprt} \usepackage{...
36
votes
1answer
39k views

Formatting section titles

Forgive the stupid simplicity of this question, and please feel free to refer me to an older answer. I'm not quite familiar enough with LaTeX terminology to have found it. All I want to do is set a ...
3
votes
1answer
2k views

How to typeset variables and other code?

The variance of the signal sig3 is 43.2. How should I typeset the above in LaTeX?
5
votes
3answers
245 views

French internationalisation, override babel default spacing

I'm writing my thesis paper in French. In the document I use the name of the ISO27001:2005 norm name, and by babel conventions this is rewritten as ISO27001 :2005 with a extra space before the ...
8
votes
2answers
1k views

Four Language Parallel Column Book

I am trying to format a four column parallel text in four different languages to display on two pages with two columns per page. I have tried using ledpar and parallels but I cannot get it to work. ...
3
votes
1answer
716 views

Trouble with the showkeys package

I am using showkeys package in LaTeX so my labels inside \[ \] math statements show up. Usually \[ \] does not show any numbering, I both want to use \[ \], and numbering, this was the only solution ...
29
votes
2answers
52k views

How to change the nested itemize bullet characters?

When creating a nested itemize environment in LaTeX as follows: \begin{itemize} \item one \dots{} \begin{itemize} \item Language Models \item Vector Space Models \end{...
3
votes
2answers
445 views

TikZ draw-Putting old calendar style date in left margin

I'm working on the formatting of a text book. The following picture shows the first thing I would like to do. There are two things to achieve : I would like to "draw" the date using TikZ so as to ...
15
votes
1answer
6k views

Formatting back references in bibliography

I would like to change the way the back references are shown in the bibliography, such that they are all shown within parentheses. So I would like to see (page x, y, z) after my bibitems. This ...
4
votes
1answer
562 views

ntheorem style change for heading

Im using the packages ntheorem and framed to create boxes like 1. Does anyone know how to change the heading to the following order: name. counter: parameter For example: Erg. 2: Erwerbshierarchie ...
7
votes
1answer
3k views

A layout for writing a budget?

I have to write the costs of a project in a budget. I would like to learn a fancy way to do it in LaTeX. Does anyone know where to find a layout for that? :)
10
votes
2answers
13k views

How to create a signature, date page?

I need to create a signature page as shown in the image below in LaTeX. I have no clue on where to start and the commands that I would need. Could someone please help me.
12
votes
3answers
10k views

Formatting the title of the TOC

I would like for example to have a bold Arial like font and a red color for the title of the table of contents, and also I would like to change this title to for example "Another title for the table ...
7
votes
1answer
966 views

Easy way to remove formatting (e.g. linebreaks)

I have defined the following shortcut for some text \newcommand{\sometext}{text\\text\\text} Now I would like to use this in some other place but with the linebreaks removed. So is there an easy ...
4
votes
2answers
1k views

How to replace chapter boilerplate with full-page image?

Let's say I am producing a book (using \documentclass{book}) where instead of displaying the chapter name textually, I am inserting an image that includes the chapter text. How can I still start a ...
187
votes
4answers
11k views

Pretty Table of Contents

I would like to know if it's possible to have a Table of Contents looking like the following, where the number of the page is the big number on the left. The sections could look like in the ...
7
votes
2answers
3k views

Customized table of contents

I need to format the table of contents for a compilation of articles in a very specific format: About this volume Author 1 Preface........................first page-last page Articles Author 2 ...
11
votes
5answers
227 views

Best way to have two kinds of formattings for my documents?

I would like to produce two kinds of formattings for my documents. The 1st formatting will use colors. This is typically for reading on a screen. The 2nd formatting will use gray colors for printing....
26
votes
2answers
3k views

CSS based LaTeX formatting?

I've done ab bit of web-searching and found nothing. Are there any attempts on using CSS for LaTeX formatting? For example: body { font-family: Helvetica,Arial,sans-serif; } section { font-size: 16pt;...
4
votes
6answers
12k views

How can I auto adjust a equation to appear in the entire page? (Scale to equations, is this exist?)

If I have a document like this: \documentclass[landscape, 12pt]{report} \usepackage[landscape]{geometry} \usepackage[utf8x]{inputenc} \usepackage[T1]{fontenc} \usepackage{amsmath, amssymb, ...
2
votes
1answer
634 views

siunitx - Decimal points not present

Trying to use siunitx to make my columns look all nice and so such. However, The decimal points are absent... Example: Code: \documentclass[letterpaper,twoside,12pt]{article} %%% PACKAGES \...
11
votes
1answer
445 views

When should math be upright?

Is there any standards for when math is supposed to be upright? E.g. The f in f(x) is in italics but cos in \cos x is upright. As I see it, both are functions? \int f(x) \, dx OR \int f(x) \, ...
1
vote
1answer
1k views

Position of Exponent Relative to Base

I'm having a problem in that the position of an exponent, relative to the base, is too low. For example, with capital letters or mathbb the top of the exponent is almost in line with the top of the ...
11
votes
3answers
7k views

Mirror effect in documents

The following example (links to pdf) in the TeX Showcase has no provided source. The book Fearless Symmetry by Ash and Gross seems to use a similar style. Where can I find hints for typesetting ...
1
vote
2answers
2k views

Creating Table of Contents / Section Headings

I found this article and would like to know how can one create a template (generic) to accomplish this. It would be great to implement a (generic) template to be able to make it for a table of ...
9
votes
1answer
2k views

Footnote mark in regular or other font styles

Within my text, I use \footnote to place text. This places a small superscripted number within the text as well as a number at the bottom of the page followed by the data within the footnote. How ...
3
votes
1answer
256 views

Ledmac - suppresing bold in lemma note

I am typesetting my thesis, an edition of a Latin text with Spanish translation. Bible quotations in the main text are in bold letters. However, when I make a lemma footnote I do not want the bold ...
63
votes
7answers
7k views

How to add some visual style and pizzazz to course notes?

LaTeX is wonderful for writing mathematical papers, but while the output is perfectly typeset it is not visually very exciting. And although it may just be "familiarity breeds contempt", I am ...
5
votes
1answer
2k views

Biblatex: How to insert dots into abbreviated journal names in bibliography

For example: "Philos Trans R Soc" should become "Philos. Trans. R. Soc."
27
votes
1answer
4k views

How to place a shaded box around a section label and name

In working with a publisher, I need to format section headings like this (using ASCII art): +-----+-------------------------------------+ | 1.2 | Section name | +-----+---------...
5
votes
2answers
2k views

List of symbols with glossaries — problem with using \underline

I'm having a weird problem with glossaries (TeXLive 2011, glossaries v3.01), illustrated by the following example: % compile this with % pdflatex example.tex % makeindex -s "example.ist" -t "...
13
votes
3answers
8k views

Two column code listings in appendix in a one column report

How do I place a two column appendix in a single column report? I want it so that at the beginning of the appendix I'm in single column mode, then I want to place some source code listings in 2 column ...
5
votes
1answer
7k views

Fortran syntax highlighting in listings

I've got some Fortran 90 source code I want to put into my thesis appendix. For this I'm using the listings package. Is it possible to have colored syntax highlighting for the Fortran code?
5
votes
2answers
515 views

Two column trouble - positioning of figures and text

I have following trouble in LaTeX and I need some help. I am preparing a document which has this TeX code: \documentclass [12pt]{article} \usepackage{graphicx} \usepackage[usenames,dvipsnames]{color} ...
5
votes
1answer
251 views

Changing the font for a custom environment

I can't figure out how to embed a command like \textbf or something in a newly created environment, I have: \newenvironment{definition} {\begin{quote}} {\end{quote}} I want to customize my ...
32
votes
2answers
49k views

set the font family for lstlisting

I have the following set up for my listings : \lstset{basicstyle=\footnotesize,breaklines=true} \lstset{framextopmargin=50pt,frame=bottomline} I would like to change the font family to Courier. ...
7
votes
1answer
12k views

Setting font family for the whole document

This looks like the basic question but it seems like the hardest thing to me. I need to set the whole document's font style as follows : Font Family: Times New Roman or GoudyOlSt BT Font ...
4
votes
3answers
332 views

How to typeset my research publication?

I have the content for a small research publication ready. I have noticed that the formatting of most of the research papers looks the same. How can I quickly convert my text to a research formatting?...
52
votes
6answers
11k views

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

I'm working on a CV. I'd like to highlight my name in every entry in the bibliography. I've tried simply replacing {myname} with {\bf myname} or {{\bf myname}}, but they fail with various errors, ...
5
votes
1answer
751 views

Can you invoke stylizing commands in a .bib-file when using the BiBLaTeX apa package?

This question has been heavily rewritten. That's why some of the comments and answers might be a little bit odd (they were responses to earlier versions of the question). I'm using the BiBLaTeX apa ...
5
votes
1answer
5k views

Easily aligning 'from' and 'to' address fields in LaTeX letters

When you write a letter in LaTeX, you can add your address with the \address block, while you have the possibility of adding the recipient address after the \begin{letter} statement as an extra ...
6
votes
1answer
9k views

Color text in LyX?

I'm trying to color specific text in LyX, wondering how to do that with the graphical user interface (shortcut or something of sorts).
18
votes
4answers
584 views

Frame with only crosses in two opposite corners

Is there one package to produce frames looking like the one above in the following ASCII example ? I don't want dashed lines. | ...