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

How to align \vrule partial vertical lines in a pgfplotstable

I had a look at this post on Misaligned multicolumn but it doesn't really solve my problem. I have the code below which is supposed to produce a table with a blue line for the first row and red lines ...
13
votes
3answers
1k views

Examples of list macros in plain TeX

I'm writing macros to typeset lists in plain TeX. Please can you suggest some examples of macros for numbered lists? I'd prefer examples from "living code", from CTAN packages and so on. But any kind ...
8
votes
2answers
1k views

Spaces behind \textgreater not working as expected

I have the following code: \textit{WMC \textgreater average} But the text looks like this: WMC >average It does not even change if I add even more spaces. So what am I doing wrong?
4
votes
1answer
2k views

Have a space after \texttrademark oder any kind of characters [duplicate]

Possible Duplicate: Spaces behind \textgreater not working as expected I am faced with the following problem. I write a document in which I refer to a registered brand and thus looks like ...
9
votes
1answer
198 views

Correct the size of < > in math mode?

I am using \left< and \right> to indicate the average in an equation. Unfortunately it looks quite strange in the following example, as the automatic size estimation is different for both sides ...
7
votes
1answer
214 views

Page Number Spacing Issue With Titletoc

I'm new to LaTeX and I could use a bit of help. I'm using the report class and I'm trying to color the chapter headings a green I have defined. I don't really want to change the default formatting, ...
7
votes
1answer
186 views

Mimic a calculator screen

It was recommended that I post this as a new question. Sometime back, this marvelous solution was posted on this site. \documentclass{article} \usepackage{tikz,xparse} \ExplSyntaxOn ...
5
votes
3answers
258 views

Making tables more prominent

I am working on a long LaTeX document with several tables, which contain mainly text, or text and numbers. The tables are a \begin{table} ... \begin{tabular} environment. It is often difficult to see ...
5
votes
3answers
11k views

Formatting table border and text alignment in LaTeX table

I have the following table in the .tex file: \documentclass{article} \usepackage{booktabs} \begin{document} \begin{table}[htbp] \centering \caption{Distribution of Number of Injured ...
10
votes
1answer
223 views

Putting marks for split footnotes

Say, that you have a footnote which is printed in page 1 and 2. How can you put a mark, say $\rightarrow$ at the end of the footnote text in page 1 and at the start of the footnote text on page 2, ...
9
votes
1answer
192 views

Align/avoid numeration and labels in a custom biblatex format

I need list references with a custom format, with a label showing the type of entry (@article, @book, etc.) and labeling fix/variable fields in a tabular environment. I have successfully obtained ...
20
votes
3answers
3k views

How to set superscript footnote mark in the text body but normalsized in the foot?

I want the footnote mark to be superscripted in the text body (e.g. Footnote mark²), but normalsize in the foot, to be shown like: ________________ 2. Some footnote text Also, it would be nice if ...
3
votes
2answers
133 views

How to include a long underscore before the \question command?

i am working with a simple question but i can't include underline before the \question. Code documentclass{myclass} \newcommand{\line}{\begin{tabular}{p{2cm}} \\[-.35em] \hline \end{tabular} } ...
15
votes
2answers
7k views

KOMA-Script: change font of sectioning headings to serif

How to change the default KOMA-Script font that is used for chapter/section headings etc. to the Computer Modern font that is used in text body?
2
votes
2answers
4k views

Set default Koma script font to Times [duplicate]

Possible Duplicate: KOMA-Script: change font of sectioning headings to serif I am using scrbook document class but want to change the default font to Times. However when I add: ...
5
votes
1answer
1k views

bigger parentheses in equations

I have the following TeX equation: r = (I_n - (.85) M^T)^{-1} (\frac{1 - (.85)}{5}) \cdot 1 \\ I want bigger parentheses around the term (1-(.85)/5), how can I achieve this? How can I get large ...
5
votes
1answer
1k views

Formatting – title with underline and box around paragraph

Can you help me please with formatting? I like this format: How can I define this title with grey underline (width of all page)? Font is sans serif (Arial). And how can I make grey box around some ...
3
votes
0answers
543 views

Is it Possible to Obtain Rudin-Style LaTeX Document Format? [closed]

I'm trying to obtain some format settings (or copyable code) for LaTeX documents. Above is a screenshot of Walter Rudin's Principles of Mathematical Analysis (a book I'm sure many people here have ...
6
votes
1answer
2k views

Outlined characters in Beamer

Following Outlined characters, you can make selectable outlined text using the contour package. For example, the following writes "Text text text contour text", with "contour" in green with a red ...
5
votes
2answers
862 views

Troubles with number formatting in groupplots

This question has already been answered for axis here but I have troubles to apply the approach to groupplots (please see %additional code in MWE). If I uncomment the %additional code the code is ...
7
votes
1answer
294 views

How to highlight important pages in glossaries page number list

In some books, the keywords page not only has a list of pages the keyword was referenced, it also bold or emphasize page numbers where the keyword was defined or explained. How do I do that with ...
8
votes
1answer
238 views

How do I adjust the placement of descriptions I've made alongside enumerated statements within a boxed theorem environment?

Basically, what I'd like is to have an elegant command that would enable descriptions (commutativity, associativity, etc.) made alongside enumerated statements to be aligned to the far right side of ...
4
votes
2answers
366 views

Font setup in header (ConTeXt)

I use \setupheadertexts [][section][chapter][] to get the section- and chapter-title in the header of the odd- and even pages. How to change the font, like its size, or making it bold or italic? ...
0
votes
2answers
537 views

Formatting LaTeX-dump from Mathematica equations for A4-paper without manual adjusting?

I asked this question here in Mathematica.SE but they encouraged to ask also on this site. How can make this writing process easier from Mathematica to LaTeX? Please, note that I have a lot of ...
3
votes
1answer
730 views

pgfplotstable selecting numeric columns or multiple columns by index

Hi two questions in one: I haven't been able to figure out the answer from the manual: I have a table of data with strings in the first column: I'd like to apply some key-values (e.g. fonts by ...
1
vote
1answer
2k views

Formatting apalike-url.bst link to reference

I am using apalile-url.bst to get APA references formatting, but I want to format the reference link when I am using a URL, for example when I reference a URL I get. this is a url reference ...
3
votes
1answer
119 views

Prevent odd break line in pagenotes

Using memoir class, pagenotes package. Here is a screenshot of the problem: Number 6 should follow the rest of the text, hence be in the following page. This is the code I'm using: % Document ...
5
votes
3answers
273 views

Possible CSS type features?

Hi I am doing a project for my 10th grade Graphic design class and we have to make up an inspirational type thing with the emotion words Bold, in a bigger size and capitalized and I was wondering if ...
3
votes
1answer
396 views

fixed leading 0's with pgfmath

I want to calculate a time being printed using pgfmath. I have some code similiar to this: \pgfmathparse{int(mod(\x,60))}\pgfmathresult O'clock but if the result is between 0 and 9 my time being ...
4
votes
1answer
184 views

How do I format the document? [closed]

I have a document. This is my code \documentclass[a4paper, 12pt]{article} \usepackage{fouriernc} \usepackage{amsmath,amsfonts,enumerate,tabularx,calrsfs,esvect, multicol} \usepackage{graphics} ...
11
votes
1answer
481 views

Text in an equation

This is best explained by example. Suppose I have the following: \[ \begin{align*} C_3 \rightarrow 6 automorphisms\\ C_4 \rightarrow 8 automorphisms\\ C_5 \rightarrow 10 automorphisms ...
2
votes
0answers
73 views

How to acknowledge LaTeX and its community in a report/manuscript/dissertation/book? [duplicate]

Possible Duplicate: What is best way to mention that a document has been typeset with TeX? I did my thesis with LaTeX, even the figures, they were all done with TikZ !! I would like to ...
2
votes
1answer
956 views

Homework template

I've been using this homework template I found online that is pretty light. I am very new to using LaTeX, and although I find writing basic mathematical expressions easy, some of the cooler more ...
13
votes
2answers
49k views

How do you make numbered equations in latex?

I would like to put in a code that automatically assigns a number to the equations in my documents preferably aligned on the right hand side. How can I go about this? ...
4
votes
2answers
6k views

Displaying three graphics on one line

I am trying to display 3 graphics on one line (3 cycle graphs each with a caption underneath). How can I do this? Currently I have: \begin{figure}[h] \includegraphics[width =3cm]{c3.jpg} ...
5
votes
1answer
730 views

Generate box with content in header

Halo everyone, I intend to create the one as shown in the attached photo as the header of my document using TeX but I can't seem to get it right. Either my box are distorted or they can't be balance ...
1
vote
1answer
151 views

Aligned equations

I want to have aligned equations going vertically down a page. How do I get this style? Instead of the following: \[ x_1 + x_2 + x_3 x_2 + x_4 + x_5 \] What how should I do this?
8
votes
1answer
527 views

Row with invisible cells

Is there any easy way to obtain something like this in LaTeX? My guess was to try to make the first and third cell of the first row invisible, but then I lose the right and left border of the Main ...
6
votes
1answer
2k views

Biblatex - \DeclareFieldFormat

I'm writing a thesis in french law and I was able to, after many, many hours of hard work, customize some entry type to fit my needs. Here is my example of my @BOOKLET that I use for legislation: ...
1
vote
1answer
356 views

How to split with chapter, section, … Titles in the index part?

Maybe the title isn't clear. In fact, I'm taking note during my course, and sometimes, teachers said that a thing is a pipe (tip, stuff to know) for the examination. Since the tex have a few of ...
7
votes
1answer
316 views

What is a good practice to achieve vertical placement? (e.g. a Titlepage)

My titlepage looks right now like this: using this code: \documentclass[a4paper,11pt,oneside,titlepage,german,final]{scrreprt} \usepackage{babel} \usepackage[latin1]{inputenc} ...
3
votes
2answers
154 views

How can I customize this code for signature line to fit a specific format?

Found a nice piece of code here dynamic signature/date line and modified it to this: \newcommand*{\DateAndSignature}[1]{% ..\newline \par\noindent\makebox[2.25in]{Musterstadt, den}{\hrulefill} ...
5
votes
1answer
7k views

sets and enclosing braces

How can I denote a set of numbers with curly braces around them (curly braces are usually the standard for sets in mathematical textbooks). I tried the following: $d={3, 2, 2, 1, 1, 1}$ Tex ...
6
votes
1answer
744 views

Multi line header for pgfplotstable

I have a dataset in csv file format that I'm loading into pgfplotstable. I can't change the format of the original csv, and being financial data it has a column of item names and two or three ...
5
votes
3answers
5k views

How do I insert a border below text?

I want to emulate a feature from a few word processing programs (e.g. Microsoft Word, LibreOffice Writer) where I could (somewhat) arbitrarily insert a bottom border below any text/paragraph. How can ...
4
votes
1answer
2k views

achemso single-column-abstract and Helvetica captions

I am currently writing a paper with the achemso style package, as required by the American Chemical Society. I can produce the very nice two-column format by just doing ...
0
votes
0answers
61 views

How to format a block of source code? [duplicate]

Possible Duplicate: Package to indent and syntax highlight C++ code I want to format a block of C source code using TeX, how can I accomplish this work? for example: int main() { ...
5
votes
3answers
2k views

How to make an observation numbering in bold?

I'm writing a paper in LIPIcs template. \newtheorem{observation}[theorem]{\textbf{Observation}} \newcommand{\robs}[1]{Observation~\ref{#1}} \newcommand{\rfig}[1]{Fig.~\ref{#1}} ...
7
votes
2answers
275 views

Consistent formatting of short index page ranges

MakeIndex allows for special formatting of ranges of two, three, or more than three consecutive pages within index entries. One may (with the help of .ist style files) change the range delimiter (by ...
1
vote
1answer
1k views

Prevent the overflow of text

I'm having some Yiddish text overflow it's box in a XeLaTeX document. I suspect there is a simple command to stop this from happening. Does anyone know an easy solution or do I need to make and post a ...