{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

1
vote
1answer
39 views

IEEEtran bibliography with bibtex formating issues

I am trying to format the bibliography for the first time, I have installed the IEEEtran package and everything is working except I have a couple of issues, they can be seen in the screenshot. ...
0
votes
1answer
45 views

shifting something to the right

I want to know how I can shift something to the right. The Z_2 formula consists of 3 parts which are underneath each other. But the second and third line are a little bit more on the left. How can I ...
1
vote
1answer
83 views

What does “typeset twice” mean? [closed]

I am learning latex, and a book I am eading says that in order to renumber equations properly (after addition/removal), I need to typeset twice. Does does "typeset twice" mean? Thank you!
1
vote
0answers
43 views

Animating letters in an already animated cell (of a table)

I am a newbie to beamer. I want to animate some cells (the corner cells) of my table to become blue during a presentation. I then want some letters in those cells to be animated to green. Can someone ...
3
votes
1answer
123 views

Combining MATLAB and C++ code in Latex

I have included MATLAB code in my report with \begin{lstlisting} and \end{lstlisting} but, in the same report, I need to include C++ code. I want it to recognise the language and highlight with colors ...
0
votes
0answers
22 views

How to customize the frame background color and borderline width [duplicate]

I wish to customize the background color and the weight and color of the border using titlesec (not using mdframed). ...
0
votes
2answers
42 views

Chart Axis won't properly display the quadrant

I have a graph which has data in the 4th quadrant. Unfortunately, the visible axis orientation is such that the chart appears in the 1st quadrant. Is there any way that I can move the x-axis to the ...
3
votes
1answer
87 views

amsart option titlepage puts the address on the last page

The following code produces a title page with the title, authors, and abstract, but the addresses appear at the end of the article. Every variation I can think of produces the same problem. Putting ...
2
votes
2answers
172 views

Table example made in Google Docs - how to make (would one make) this in LaTeX?

edit -> the emphasis on Google Docs might be a bit much, basically it's just a little table thing, it's not something unique to Google Docs thats just what I happened to use to make this. I made ...
1
vote
0answers
26 views

Creating hyperlinks in TeXmacs

In TeXmacs, I'm trying to insert hyperlinks that link to urls with the command \hlink and then I fill out the appropriate name and the url. But when I try to open the link in TeXmacs it yields the ...
0
votes
0answers
24 views

`include` (and `input`) with part of a file name

Is it possible to use the \include and \input commands with only part of a file name like it is possible to skip extensions and use relative directories? I.e. \include{Part1} \include{Part2} ...
4
votes
2answers
82 views

Figure caption inside a tinted box

I would like to print the figure caption with a "tinted box" (a box with a background colour). How to achieve this? My MWE is : \documentclass{book} \usepackage{lipsum,graphics} \usepackage{caption} ...
0
votes
1answer
71 views

Section Title Style [duplicate]

I have been using the default style for section and subsection titles. I want to make some adjustment when needed. For example, right now, my titles for both a section and a subsection are appearing ...
0
votes
0answers
45 views

rewrite latex paper in different packages

I wrote an article in a latex package (amsmath) and so I can submit the paper to another magazine I have to use another template, another package (imsart). Do I have to rewrite the whole article or is ...
3
votes
1answer
42 views

Incorrect formatting when cross-referencing equations

I am having trouble correctly formatting cross-referenced equations. When I reference an equation I would like the equation number to appear on the far right-hand side of the page, just as the ...
10
votes
4answers
384 views

How to write \slashed, \mathcal and \mathring at the same time?

I need to write something like \slashed{\mathcal{\mathring{S}}}. I tried to write it in several orders, but none of them gave me the wanted result. I found out that I have to write ...
4
votes
2answers
111 views

Change from capital F in \figurename

To save some time when writing reports I usually define something like: \newcommand{\figref}{\figurename~\ref} I use the variable \figurename because I want to use the same code for writing in ...
1
vote
1answer
39 views

Changing only arrow direction on y axis

I want to change the direction of the arrow at y axis, so that 0 still starts from the top and minus increases in direction of the arrow. here is the code (I am having more charts thats why I added ...
0
votes
0answers
34 views

Images do not appear quickly in latex after compiling

My latex document contains few images. However, when I compile it to pdf, the pages containing images donot appear quickly. Code: \documentclass[journal]{IEEEtran} \usepackage[demo]{graphicx} ...
3
votes
1answer
76 views

Changing font size for one section heading

I want to have a single \subsection printed significantly larger, without otherwise changing the font. This is for a landscape page, to put a subsection title before a full-page diagram, and it needs ...
2
votes
1answer
28 views

How do I change the numbering system of table captions?

Normally when a table is captioned, it comes out as "Table 1: Blah blah...", but I want to change it to "TABLE I. Blah blah..." How do I do that? So far, I've figured out how to change the title and ...
4
votes
1answer
61 views

removing chapter title in one of my chapters?

I have written my thesis in LaTeX (xepesian) and I have customized my chapters title as follows, ‎\makeatletter‎ ‎\def\thickhrule{\leavevmode \leaders \hrule height‎ .‎5ex \hfill \kern \z@}‎ ...
6
votes
4answers
156 views

formating pgp - insert a space every four

I am an occasional latex user (means that I never used it to the point of writing a big professional text with, but wrote a few pieces for personal use) and want to create some visting cards, basic ...
5
votes
1answer
66 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
71 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
96 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
66 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
71 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
32 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
110 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
30 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
80 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
38 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 ...
2
votes
0answers
25 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
51 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
43 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
150 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
111 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 ...
3
votes
2answers
136 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
154 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} ...
2
votes
1answer
82 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
82 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
88 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
329 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
91 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
112 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
115 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
70 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
108 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 ...