{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

5
votes
2answers
116 views

Formatting *** in a regression result table

I have a code as given below: \documentclass[10pt]{article} \usepackage{ltablex} \begin{document} \begin{tabularx}{\textwidth}{@{}rr@{}} A & $0.11^{***}$\\ & (-12.112) \\ B & ...
4
votes
1answer
90 views

Where I can get the chapterx package?

I was viewing a good page where Yiannis Lazarides show how to use chapterx and put it on google drive but right now it does´t exist, some one have it o know how to get it? Thank you in advanced
3
votes
1answer
75 views

LaTeX template for 3 ring binder tabs

I have a three ring binder and it has eight page dividers. On each page divider is a clear slot to enter a tab for the name of the subject. The tabs are 0.5 inches by 1.5 inches. Is there a way to ...
0
votes
0answers
38 views

How LaTeX format paragraph [duplicate]

When I write document I get always Underfull and Overflow warnings. I know what's does means this warnings. I want to know what LaTeX (TEX I guess) does to format a paragraph. I mean how it decides ...
2
votes
2answers
57 views

justify text and preserve paragraph indentation

I want to justify my text to left without losing the paragraph indentation. I tried ragged and flushleft, although both justify the text and the next paragraph. So I am losing intendation. I do not ...
1
vote
1answer
63 views

Adding graphics and fixing reference problems

I have two problems in a academic resume. First attach a picture on the top right and second fixing some problems in references. The template can be found in here the code is given here: ...
1
vote
1answer
25 views

Make page numbers distinct in index produced by bibleref package

I'm using the the bibleref package, along with the attrib, verse, and multind packages, to cite verses from the bible and produce an index at the end of the document with the verse list and ...
0
votes
0answers
28 views

How to set single line spacing in TeXmacs? [duplicate]

I only saw options with fn unit. How much fn has identical effect as single line spacing.
3
votes
3answers
112 views

Custom Date on Latex

I have the following code: \shortdayofweekname{<day>}{<month>}{<year>}. Packages: \documentclass[a4paper]{article} \usepackage[english]{babel} \usepackage[utf8]{inputenc} ...
3
votes
1answer
91 views

“Big Question” slide in beamer (Malmoe)

I'm using Malmoe, but this should be a general question. Typically, when I set a title for a slide, it gets special formatting. In Malmoe, that would be big, blue and fat. Say I want to have a slide ...
7
votes
1answer
220 views

Tufte style table of contents in article class

I want to create a tufte-book style ToC, very similar to how Gonzalo Medina made something in this request: Pretty Table of Contents So far this is what I got: \documentclass[letterpaper]{article} ...
0
votes
1answer
40 views

print the chapter number as name in class file latex

I am using a Duke University LaTeX template for master thesis, the template print chapter headers as follows: Chapter 1 chapter name but I want to print it as follows Chapter one: ...
0
votes
1answer
122 views

Best practices for using MATLAB images in LaTeX?

I am writing a paper currently using PDFTEX, and I make heavy use of MATLAB figures. The problem is that when I make a MATLAB figure, I can adjust it to any size, before saving it. When I save it, I ...
2
votes
1answer
91 views

Formatting help: vertical rule, headers

I am trying to reproduce the famous employee handbook from Valve. It looks like this: I'm making progress, but am stumped on three issues. 1) How to make my vertical line separating pages continue ...
5
votes
1answer
146 views

80 column rule for tex

In many other computing language, we still have reasons to stick into 80 column rule. e.g., easy to print out for checking, convenient for debugging etc. I am not sure if you also use 80 column rule ...
3
votes
1answer
52 views

How to make a blank underline? [duplicate]

I'm looking to produce something like this: blah blah ____ blah blah But with a solid line. Thanks in advance.
6
votes
3answers
193 views

Set author's name in small caps the first time it appears in the text

I would like to set author names in small caps the first time they appear in the text. \documentclass{article} \usepackage[T1]{fontenc} \newcommand{\authorname}{?} \begin{document} When the name ...
2
votes
0answers
59 views

How to get “and,” “with,” “for,” etc. to print small and with diagonal banners behind

There was a typography contest from which an answerer featured these diagonal instances of "and," "with," "for," etc. which were slightly tilted and had banner-like symbols behind them. How can I do ...
4
votes
2answers
92 views

Horizontal space before block of text

Hi, I wanted to create column of text after bolded "Lorem Ipsum 1.", which has no specified linebreaks. This space before text (marked on image with red line and question marks) should have exact ...
2
votes
0answers
26 views

Reflect line of text about y axis [duplicate]

Is there an easy way (i.e. without using TikZ, say) to write a line of text backwards? By which I roughly mean, the entire text is reflected about the y axis. I only need it for a Beamer heading, not ...
9
votes
2answers
107 views

Follow-up: Underline + strike-through using soul

This is a follow-up question to Mixing underline and strike-out. This time, I'm specifically interested in an implementation using soul (that doesn't require multiple compilations to stabilize). I ...
1
vote
1answer
41 views

What to do if \clearpage does not flush the floats exactly?

Consider this MWE: \documentclass[% 12pt, journal, onecolumn, twoside, draftcls, letterpaper, ]{IEEEtran} \usepackage{tikz} \usetikzlibrary{calc} \usetikzlibrary{positioning} \usepackage{adjustbox} ...
4
votes
2answers
152 views

Fixing a messed table

I am trying to make a table in Latex. Now I have combined most of my Latex experience in making this (I am still new) and I thought I was making good progress until I saw the end result. The problem ...
2
votes
2answers
93 views

Summation as exponent

x^{\displaystyle\sum_{k=1}^n {n \choose k}p^k + 1} How can I make the exponent look smaller?
4
votes
1answer
84 views

Apply Chapter heading style to table of contents/bibliography heading

I am using the following fancy styles for chapter headings \documentclass[12pt]{report} \usepackage{graphicx} \usepackage{natbib} \usepackage[hidelinks]{hyperref} \usepackage[% ...
3
votes
0answers
36 views

Code in listing not formatted correctly [duplicate]

My preamble is as follows: \documentclass{llncs} \usepackage{xcolor} \usepackage{harvard} \usepackage{listings} \usepackage{chngcntr} \makeatletter \lst@InstallKeywords ...
3
votes
0answers
53 views

Format Name of Video codecs

I'm currently writing my Masterthesis for a german University. I used a few different codecs in my work (like H.264). What is the correct/sensible way to write them in my Latex Document? Examples of ...
4
votes
3answers
156 views

How do I split large numbers into groups of five digits? [duplicate]

I need to split a number of 27 digits into groups of 5 digits. I already had a look at siunitx, telprint and numprint. But these just allow me to generate groups of two or three digits. Is there any ...
0
votes
1answer
112 views

Beamer (Latex) Customized Formats [duplicate]

I hereby attached a pdf snapshot of a sample Beamer Copy Will you please suggest me how to get this output in Latex I am looking forward to your support. Thank you
5
votes
2answers
95 views

add () around \ref{}

How can I add [ and ] around \ref{myref} so that I get something like this: [1.1] This does not work: \documentclass{article} \usepackage[colorlinks=true,allcolors=blue]{hyperref} \let\oldref\ref ...
0
votes
0answers
40 views

Formatting is changing spacing

I'm currently working on my thesis, and have come across little problem. If you take a look at the attached images below: Here you can see, that there is clearly a problem in the first one, with ...
3
votes
2answers
126 views

How to format this formula, in particular, the parentheses better?

$$\mathrm{err} \left( h(\vec{\theta}, \vec{x}), y \right) = \delta_{0y} ~ H \left( h(\vec{x}; \vec{\theta}) - \frac{1}{2} \right) + \delta_{1y} ~ H \left( \frac{1}{2} - h(\vec{x}; \vec{\theta}) ...
7
votes
1answer
106 views

Mixing underline and strike-out

Word allows for all kinds of font formatting: The above example combines strike-through/strike-out (like this) and underlining. I'd like to be able to do the same, but neither ulem nor soul allows ...
2
votes
0answers
39 views

“latex missing } inserted” error message in equation [closed]

I have a slightly complex, long section of equations in my latex document, but from what I can see I think it is programmed correctly. When I compile the document, I get the error ...
5
votes
1answer
33 views

Dealing with Images in a Multiple Column Environment, The Idiomatic Method?

I've been using multiple column formats for a while now. Sometimes it's through the multicol package, sometimes it's using the twocolumn option for the document class. In both cases, dealing with ...
3
votes
0answers
42 views

Condensing everything to force fit a page?

I have a math exam I can use three pages of notes for and I was thinking, is there a way to type a document in LaTeX that will auto adjust to fit three pages or should I just play with the font sizes ...
4
votes
2answers
72 views

Add text before “part” number in table of contents

I would like to add "Partie" before the part's number it only appears in the text and not in the table of contents. It works for sections, subsections etc. but not part with renew command. This is ...
2
votes
1answer
88 views

how to avoid a line overflow in the margin?

Here is my problem, an overflow in the right margin, due probably to existing - at this location: I have tried solutions depicted here, but the result is unchanged: \emergencystretch=1em in the ...
4
votes
1answer
82 views

glossaries package - How to format the positions of the columns and width of the glossary?

I am very fond of the glossaries package, since I am able to use multiple glossaries with different styles and so on. However, I have a problem with formatting it. I would like to use the predefined ...
9
votes
3answers
222 views

A phantom-like command that instead replaces the text with a horizontal line?

I'm trying to find a way of replacing part of text with a horizontal line. I'd like it to behave like the phantom command which replaces the text with an empty box of the correct width (and height), ...
0
votes
0answers
20 views

How to place text on the same page as title page [duplicate]

\documentclass[12pt,titlepage]{article} \usepackage{setspace} % Single-spacing, double-spacing, e.g., \setstretch{1.0} \usepackage{ifthen} \usepackage{booktabs} \usepackage{array} ...
4
votes
1answer
98 views

How to remove image of tree in beamer progressbar theme

When I run: \documentclass[color=option]{beamer} \mode<presentation> \usepackage[english] {babel} \usepackage{amsmath, amsfonts, graphicx} \usepackage{bibunits, tikz} \usetheme{Antibes} ...
3
votes
1answer
147 views

Change the style of chapter in LyX

I'm trying to change the style of chapter using LyX 2.1.0. Like this style (I have the code TeX but I failed to execute): The class of my document is report. here is the code for the chapter ...
1
vote
1answer
41 views

How to force single word spacing in section headings for two-column articles

I do not know how to force a single space between the words "Discussion" and "and" in the section heading below. \documentclass[12pt,twocolumn]{article} \begin{document} \hyphenation{Conclusion} ...
4
votes
2answers
100 views

Can I change the overall width of the invoice package's table?

I'm using \usepackage{invoice}, and I'm wondering if I can adjust the width of the table? \documentclass{article} \usepackage{invoice} \date{September 1994} \begin{document} \begin{invoice}{USD}{0} ...
1
vote
0answers
42 views

How to change the default top margin for an invoice?

Here is what I've got: \documentclass{letter} \newcommand*{\BottomLeftX}{1.0in+\hoffset+\oddsidemargin}% ...
5
votes
1answer
106 views

How do I remove parentheses from theorem optional argument?

This is a MWE: \documentclass[12pt]{article} \usepackage{amsfonts, amsthm, amsmath, amssymb} \theoremstyle{definition} \newtheorem{Theorem}{Theorem}[section] \newtheorem*{Pythagorean ...
5
votes
2answers
66 views

Missing $ inserted when printing numerical phrase

Thanks for taking the time to reply, I did already search the forums and google and know this is a common problem but none of the suggestions I found worked. When trying to use latex to print the ...
13
votes
5answers
348 views

LaTeX Tables: Cell value color based on its sign / conditional cell color

I've a long LaTeX document with many tables. Now I want to show negative values in cell in red color. I wonder how to do globally. My MWE is below: \documentclass{article} \begin{document} ...
2
votes
1answer
77 views

beamer: Text indentation within blocks

I want text indentation within blocks. My MWE is below: \documentclass{beamer} \usetheme{Warsaw} \usepackage[english]{babel} \usepackage{lipsum} % For global Justification \usepackage{ragged2e} ...