{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
40 views

Bullet points and curly braces

I am trying to create a bit of text, where I have four bullet points, the latter three of which have a curly brace on the right } , and a line of text adjacent to the curly brace. So far, I have ...
4
votes
1answer
40 views

Writing neat equation parameter definitions with \singlespacing vs \doublespacing text

This question is based off the answer for the How to write a perfect equation parameters description? question: I would like to have the parameters defined using \singlespacing as I am currently ...
3
votes
1answer
31 views

How to add multiple affiliations in the tikzposter class?

I've been working through the tikzposter class documentation, but so far I couldn't find any hint as to how add affiliation to multiple authors. For example: Something like this isn't really working: ...
0
votes
1answer
33 views

Writing equations with neatly defined parameters [duplicate]

I have been dealing with a multitude of equations in my thesis and it gets really repetitive defining each parameter verbally after each equation; personally I find it inefficient and at times messy. ...
4
votes
2answers
49 views

change delimiter (slash) size in math mode

I use the division sign, together with an underscore and smash: $\underline{\smash{X/P}}$ The result is the following: How can I reduce the lower part of the slash, so it does not suppress the ...
3
votes
1answer
29 views

Equation Line with notes in between

Good day! How can I make an aligned equal sign even though I have notes in between the two equation lines? For example: a+b=c (some notes....) c+d=c+(a+b) Thanks
1
vote
2answers
81 views

How to draw this picture in Context?

I want to typeset a figure that expresses how some quantity consists of other quantities, and graphically depict that in a table like form. I have currently done this using a simple table format, and ...
2
votes
0answers
23 views

Small adjustments in formatting to make my work fit on an integer number of pages

Suppose I am doing some work which does not have very tight formatting restrictions. My work goes a little bit over 2 pages, but, if I change the margins from 1 inch to .97 inches, the work fits on 2 ...
3
votes
2answers
64 views

Formatting pbox in table for neat distribution of text

For the purpose of a paper I am writing I have some very big tables. I couldn't fit the numbers inside the boxes so I used pbox. The problem is that now the numbers within the box aren't distributed ...
0
votes
0answers
23 views

How to input multiple files with specific preambles?

I am finishing my thesis and I need to include all of these minor, standalone project into one pice. However, I have trouble how to bite this problem. I found many "how-to-input-files" questions but ...
1
vote
0answers
10 views

htlatex adding _ after - in URLs

I'm using htlatex on Fedora 21, texlive-tex4ht-svn33024.0-1.1 I noticed that whenever a URL has a hyphen within it, in the HTML output it's formatted with an underscore symbol following -. For ...
3
votes
3answers
28 views

Title Centering and \newpage command inside \newcommand

I wanted to create a puzzle book with 3 parts, Problems, Hints and Solutions. Both LaTeX-Community and TeX.SX have helped me in figuring that out. I want to do two things: To centre the Part ...
2
votes
1answer
38 views

Help formatting really long equations

I have some really long differential equations and I'm having trouble figuring out how to format them the way I want. I want them to look liek this: dx/dt = blah blah blah blah dx/dt = blah ...
4
votes
2answers
63 views

Dividing a page into independent parts/columns with different widths

I want to divide my page (A4 landscape) into different parts. The top should consist of four columns with different widths and no rule. For this I used vwcol but I could not figure out how to do a ...
5
votes
1answer
99 views

How to put four lists on a page, each taking one quarter of the page?

I am trying to add a SWOT analysis to my document and would like to have it set out in a 2x2 grid, where each grid space takes up 1/4 of the page regardless of the content. Is this possible with ...
0
votes
0answers
28 views

Font style and chapter style

I would like how to mimic the chapter and font style used in the following document: I would be very pleased if you help me broadly.
3
votes
2answers
110 views

Coloured swatch per chapter

I know that this should be possible, but I'm not sure how to go about it. I would like to have a small rectangle appear on each page (outside edge), which runs right up to the edge of the page, and ...
5
votes
2answers
116 views

Chapter and Section format

I want my chapter titles to look as they would with the code below. \documentclass[12pt]{book} \pagestyle{plain} \usepackage{amssymb,latexsym} \usepackage{amsmath} \usepackage{amsthm} ...
0
votes
0answers
23 views

\pause in KOMA-script scrartcl

Is there any way that I can use the command \pause in KOMA-script presentation? The \coverand \uncover commands seem to unfunctional as well. This is the template I use: ...
3
votes
1answer
54 views

Vertical strikethrough

I'm currently trying to TeX up a Sieve of Eratosthenes example on the integers 2-100. I'm already using the ulem and cancel packages to give me horizontal and diagonal strikethroughs but I need a ...
2
votes
1answer
59 views

Suggestions for nested proofs

I would like to write down my lecture notes. The proofs of the theorems in this lecture are usually really big. It usually looks like this: Theorem 1: Here comes the statement of the Theorem ...
4
votes
3answers
245 views

How to round number to two digits after the decimal place and have a comma separator?

I have the following function: % Formats inputed number with 2 digits after the decimal place \newcommand*{\formatNumber}[1]{\FPround{\cost}{#1}{2}\cost} % \cost goes through some calculations ...
2
votes
2answers
70 views

How to remove period after part number in TOC (KOMA used)

How to remove period after part number in TOC (KOMA used)? My solution was to set tocloft package, which is provide command \cftpartaftersnum but I do not want to use it for some compatibility ...
4
votes
1answer
41 views

How to indent bibliography items using a bibtex bibliography?

I have seen an excellent answer for adding an indent to the bibliography here Indent second line of a bibliography and wish to replicate that for my example using bibtex rather than putting the ...
0
votes
0answers
20 views

Remove square brackets from bibliography list [duplicate]

I have seen that BibLaTeX bibliography without square brackets provides an answer to how to remove square brackets in this example. However, I do not know from that answer where those adjustments can ...
2
votes
1answer
55 views

The RTL beamer Warsaw theme

I have asked a question in RTL tableofcontents) in arabic (or polyglossia package) beamer and gotten my answer well by Seloumi. After thank him, I have another question. How I can change position ...
2
votes
1answer
49 views

Arrows to text above and below line

I have been searching for an answer for some time but have not come across a solution. I am taking some notes from a programming course and need to take a line of code and identify each individual ...
3
votes
0answers
74 views

Changing top margin for second page only? \vspace inserts extra whitespace

I am trying to format a LaTex template for pandoc output from .md to pdf. The document is for lengthy university papers requiring very specific layout. The majority of the paper has 1 in margins all ...
0
votes
0answers
27 views

included pdf files, shift to the left [duplicate]

I'm totally new and hope that this isn't a stupid question... Anyway I downloaded this template and used it to write my thesis but at the end I wanted to add some pdf files as annexes. So in my annex ...
2
votes
1answer
71 views

How to change the color of header?

I downloaded a Radboud University Beamer (version 1) and try to change the color of left part of header from black to blue. i.e., How to change the black to another color as shown in the following ...
7
votes
1answer
97 views

Why are default LaTeX TOP and BOTTOM margins so big?

In the question Why are default LaTeX margins so big?, it is explained very well why the side margins have the large size they have (compared to most Word processors): The smaller line width provides ...
2
votes
1answer
64 views

Requesting a symbol, please assist

I hope it's not out of the line to ask for a symbol like this, but I've been looking for a very simple symbol that I just can't find anywhere! I want it to be like ⊣ but instead of the | at ...
2
votes
1answer
33 views

Verses not ragged right

When I use the verse package, a single verse will not be ragged right if it is broken at the end of the line. How do I change it to being ragged right? \documentclass[twocolumn]{scrartcl} ...
3
votes
1answer
32 views

Theoremstyle : adding dots

I need an extra dot in the format of \theoremstyle, for example; 2.1.3. Theorem 2.1. Lemma I use : \documentclass{article} \usepackage{amsthm} \swapnumbers \newlength{\spacelength} ...
1
vote
1answer
37 views

Formatting columns with multicols and lstlisting

I want to get the code displayed in the picture below to come after the title I have for it. I know I have previously asked this question but it was detailing with enumerated items. Can I get some ...
1
vote
1answer
71 views

Stating linear program

i want to formulate a linear program. But all i found is not what i am looking for. It should look similar to this picture: The main difference is that i want on right sight automatic numbering ...
2
votes
2answers
41 views

Theoremstyle; leaving vertical space between the theorem header and the body of the theorem

I'm trying to write a thesis. There, they want a completely blank line after theorem, lemma, proposition, etc.. name. How can I leave such a vertical space between Theorem Head and the body of the ...
0
votes
0answers
36 views

Help with making a package

I'm trying to design a package so that I can 'theme' a document quickly. I've done this, but as a sort of academic exercise I'm trying to design an option compact that adjusts margins, title, and ...
6
votes
2answers
314 views

Matrix Inverse symbol

Is there a symbol for the inverse? I have been using X^{-1} for my matrix inversions, but this results in the -1 being rather large and taking up almost as much room as another symbol. Is there a ...
0
votes
0answers
74 views

Formatting like this sample

I'm writing my dissertation and have difficulties in producing the same formatting as in the sample. Can anyone help? There are several requirements here: CHAPTER NUMBER: TITLE (in captions and in ...
1
vote
3answers
84 views

How to setup a cheatsheet with a table-based layout?

I have lots of data, with small records and a relatively small amount of fields; for the sake of this example imagine that I have a database of x-thousand people were I just save relatively short ...
3
votes
2answers
40 views

Revisions of a theorem where numbering goes 2.0, 2.1,2.2

I would like to give different equivalent versions of the same theorem, eventually proving the last version. The first time I state the theorem, I would like it to have the number 2.0. Each successive ...
3
votes
1answer
40 views

Formatting Enumerated columns

I am using writelatex.com to type my homework. The problem that I am having is that I can not format the two columns below as I want. what is happening is that all the information that comes after the ...
7
votes
2answers
245 views

Is there a way to create elements that looks like tags?

How can I style some element that looks like stackoverflow tags?
1
vote
1answer
87 views

Format painter feature in LaTeX

I wish to know if there is any short cut in LaTeX to suffix and prefix $ symbol for math text. Say I have to write many times some variables such as x, y, and z. I wish to type them normally, and at ...
2
votes
1answer
80 views

Multiple Altconditions within LaTeX Document

The question refers to this solution and trying to modify the code to support multiple altconditions in my document. The problem is to allow two sets of alternative conditions within the same ...
2
votes
1answer
75 views

pgfplots significant figures

I'm trying to work out how to change the number of sig figs in the axis labels. I.e., I want the graph to display 0.0, 1.0, etc. Any ideas? \documentclass{memoir} \usepackage{pgfplots} ...
6
votes
2answers
163 views

Fractured line drawing in LaTeX

whenever i try and draw a slanted vector or a line in the picture environment, I get this broken line output. Does anyone know how to fix this?
5
votes
1answer
148 views

How can I automatically prepend a prompt (e.g. $) to each line of a listing?

I have something that looks as follows: \documentclass{article} \usepackage{listings} \lstnewenvironment{shellsession}[1][] {\lstset{language=bash, basicstyle=\small\ttfamily, numbers=none, ...
5
votes
2answers
91 views

Enhanced fill-in-the-blank document

I am about to improve my lecture slides from last semester. Specifically, I would like to add a fill-in-the-blank option. I found this code suggestion (from here): \documentclass{article} ...