{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
0answers
16 views

How to put a number in a circle using grbbrige package

I am using grbbridge package for writing my bridge notes. According to package's documentation, you can denote the first card played by a player, by simply putting an "underling" mark in his/her card. ...
1
vote
0answers
23 views

Latex, moving specific parts of texts to column / forcing not to skip to new page

probably a stupid question, but something I haven't really been able to find a solution to. I've been working on a project and I can't seem to be able to get it to display how I want. Is there any way ...
0
votes
1answer
81 views

TOC Indent CHAPTER past PART

I'd like to figure out how to indent Chapters in my TOC past the Parts headings. I'd like to do this to improve legibility. This is how my document is laid out in main.tex \documentclass[oneside,11pt,...
1
vote
1answer
85 views

How to install the tkz-euclide package to use with Miktex? [closed]

I use Miktex 2.02, 64 bit. When I compile (Latex - PDF) \documentclass{article} \usepackage{fourier} \usepackage[usenames,dvipsnames,svgnames]{xcolor} \usepackage{tikz} \usepackage{tkz-euclide} \...
1
vote
0answers
36 views

How to stop \begin creating a line break

Basically I've created a math theorem called definition At header of the document, declared as \newtheorem{defi}{Definition}[section] Now i've laid out some text and stuff basically what I have ...
2
votes
1answer
44 views

Parshape doesn't work

I know that wrapping picrures is frequent question here, and all of my quetions here are about it. But new day is a new probem. Look at the screenshots... You will get this if you run my code ...
-3
votes
1answer
151 views

How to insert picture here?

I want text to flow picture, as it is in the book: And with advice of @Johannes_B I did it with help of minipage, but It doesn't suit me at all things. See this. First page of my document. Do ...
1
vote
1answer
66 views

Macros just for certain number of lines

I want to write a macro that will do certain things with a fixed number of lines coming after this macro. For example, how to apply \rightskip=2cm to the first four lines of a paragraph How to ...
7
votes
1answer
109 views

bold just one line inside of lstlisting

How can i bold just one line in this code? \begin{lstlisting} //Algoritmo 2 int f2 ( n ): local i , j , r =0; para i = 1 a n -1 para j = i +1 a n r = r + 2; ...
0
votes
0answers
26 views

Double spacing, not in titles [duplicate]

I aim to write paragraphs with double spaces lines, so I decided to use the setspace package : \usepackage{setspace} \doublespacing But the result is that even in titles, figures, nearly ...
0
votes
1answer
42 views

Compiling a file with repetition of the same document

What I am trying to do is to implement an option on my tex file that allows me to choose how many times the document I wrote is repeated in the compiled pdf. The reason is that I need the pages to ...
1
vote
1answer
61 views

Formatting with fancyhdr [closed]

I need a special formatting for my document which it class is (article). The first page has: special header and NO footer header contains image on the right and text on the left and both on the ...
1
vote
0answers
14 views

How to put address and email after authors not at the end of the document

I am using the BMC tex template, and I am trying to put the address and email of an author at the beginning of the document (right after the author names) and not at the end. Is this possible?
1
vote
1answer
47 views

Small caption under a tikzpicture or image

I have a document and what I want is below every single tikz or image to have a small caption "source: ....". What would be the most convenient way to do that? Code is: \documentclass[12pt]{...
1
vote
1answer
47 views

How can I make this tree shrink to fit standard page?

\documentclass{article} \usepackage{tikz} \usetikzlibrary{trees} \begin{document} % Set the overall layout of the tree \tikzstyle{level 1}=[level distance=3.5cm, sibling distance=3....
5
votes
1answer
116 views

\textsc does not make small caps

I try to produce small caps for abbreviations like "AM" or "PM". However, this code \documentclass{article} \begin{document} The flight to Krakow departs at 6:30 \textsc{AM}. \end{document} yields ...
2
votes
0answers
47 views

Is there a way to make a block wrap from the column 1 to the column 2?

I am formatting a poster for my thesis presentation. It is in a beamer documentclass, and I am using blocks within a column environment to split up the information so that it looks nice. I have ...
2
votes
1answer
24 views

Badboxes when using \underline

I have the following: \documentclass[10pt,twocolumn]{article} \usepackage{XCharter,amsmath} \usepackage[T1]{fontenc} \usepackage[right=1cm,left=1cm,top=1cm,bottom=2cm]{geometry} \setlength\...
0
votes
1answer
31 views

Copying a URL into latex

I have a URL(below) that I want to put into latex as a reference but as it has % symbols in then it gets commented out. Is there a way to do this so it displays normally? Thanks http://ned.ipac....
2
votes
0answers
28 views

Creating a line between one paragraph and the next

I just want to make it such that there is a line between my current and my next paragraph but also to have no indentation on the second paragraph.
3
votes
1answer
50 views

Change main text font only

I am writing a book and I use \usepackage{charter}, but this changes the font of the main text too. How do I keep the font for Chapter title, Section title, header, footer etc of this package and use ...
1
vote
0answers
26 views

Adding bullet in the end of a remark or an exmaple [closed]

I’d like to add a bullet at the end of an example associated with my thesis. For instance, how can i achieve that in the last statement here ?
0
votes
0answers
24 views

Page content formatting

So have found some issues with page content placing. It never happen to me before. So I have 3 pages of text and one table (which is 1 page length). These all pages are two sections. First section is ...
1
vote
0answers
28 views

Positions of variable indices: use of package “subdepth”

For some reasons I like to align top of indices regardless if variable has exponents or not and if exponent is a, 1 or g, p, q, y. With use of package [low-sup]{subdepth} the aligning is improved, ...
3
votes
2answers
265 views

Date formatting — changing from web format to another format

I have two different dates in my latex document which is not current dates (dates which come in my latex template from the web form). They look like this: 2016-03-31, but I want these dates be in the ...
1
vote
2answers
62 views

how to increase Bracket size in Variance formula?

I want to increase the size of the bracket to display more nicely the output, but I didn't find out how. $$s^2 = \frac{1}{n-1}[\sum\limits_{i=1}^n x_i^2 - \frac{(\sum\limits_{i=1}^n x_i)^2}{n}]$$ ...
8
votes
1answer
414 views

How to wrap pictures in lists in theorems with formulas?

I want text to flow pictures. @Bernard adviced me this way of doing it with formulas and theorems. Thanks him, it works great in many cases better than any other variants I have ever seen. I have ...
2
votes
1answer
65 views

Specific chapter page formatting

I bought a recent math book, and it was clearly made using TeX. Here's an example from the chapter page: I wanted to reproduce this chapter style for other texts I'm working on (same fonts, sizes, ...
0
votes
1answer
62 views

Standard way of typing a set of equations in math mode involving two relations, for example: $=$ and $<$ [closed]

When typing a set of equations in math mode, is it better/clearer/standard to type, for example, how Rudin types this equation (pg 15 'baby Rudin'): Notice, how the third line changes to $\le$ and ...
2
votes
1answer
84 views

\setindent hack and alignment between parallel paragraphs with reledmac

Based on David Carlisle's answer here, I've defined a macro that stores the length of the last line of the current paragraph. But when using it with reledmac and -par, it messes up the alignment ...
2
votes
1answer
31 views

Macro to store the length of a paragraph's last line

Based on an answer here, I've defined a macro that should store the last line of the current paragraph without producing any output. But the code below produces the expected result only the first ...
3
votes
2answers
111 views

How can I change a specific page number to bold?

As an ester egg I would like to change the formatting of only one page number and leave all other as they are. I am using the article document class with page number on the bottom of the page in the ...
1
vote
0answers
20 views

Getting the length of the last line of paragraph w/o producing vertical space [duplicate]

Can I use $$\predisplaysize$$ to record the length of the last line of a paragraph without producing any output (vertical space)? \documentclass{article} \usepackage{lipsum} \newdimen\lastline \...
4
votes
3answers
86 views

Remove cross-reference to a footnote, but keep the footnote

I would like to achieve this: Where I can cross-reference a footnote without it showing up as a superscript. However, I don't want to change the behavior of \footnote globally, I just want to be ...
3
votes
1answer
150 views

Overlapping numbers and titles in toc

How can i change formatting of the table of contents to avoid section numbering and section title to overlap? Document: \documentclass[10pt,oneside,notitlepage]{book} % Use Heuristica Font \...
2
votes
0answers
33 views

Numbers in reference list shown without square brackets

I am using \documentclass[smallcondensed,singlecolumn]{svjour3} \usepackage[square,numbers]{natbib} \begin{thebibliography}{99} \harvarditem{Boriah et al}{2008a}{agr:one} Boriah S, Kumar V, ...
1
vote
2answers
26 views

Using fancyhdr, how to bump up minipage beneath line and more evenly extend line?

I have a resume that looks pretty good with exception to the header, and the header code is below. Basically, it's a name over a line, with address under the line on the left and contact info under ...
2
votes
0answers
31 views

using moderncv, how can I get rid of an empty line below address [duplicate]

I am using moderncv 2.0.0 2015-07-28 to build my resume, but I got an empty line below address, how can I get rid of it? \documentclass[11pt,a4paper,sans]{moderncv} \moderncvstyle{banking} \...
3
votes
1answer
58 views

How can I make “headings” inside a figure?

I have a figure that is built up of multiple parts and I want each part to have a "title". How can I do that in a way that looks nice? Right now I am just using \textbf for the "titles" and everything ...
2
votes
1answer
24 views

How to list all items defined in a predefined enviroment

Code is: \documentclass[12pt]{article} \usepackage{amsmath} \usepackage{fancyhdr} \usepackage{pgfplots} \usepackage[letterpaper,left=2.5cm,right=2.5cm,top=2.5cm,bottom=2.5cm]{geometry} \usepackage{...
1
vote
1answer
58 views

Insert a special character at each end of line in a paragraph

I would like to add a character (e.g. $\hookleftarrow$) at the end of each line in a paragraph, in particular in a tabular cell, only if the paragraph has more than one line. How can this be coded?
3
votes
1answer
49 views

Formatting a Custom Sidebar dimensions to avoid clipping

I'm trying to create a custom sidebar to have in parts of my presentation, and would like to get some help sorting out some of the problems I've encountered. First, the yellow box there is where the '...
3
votes
1answer
62 views

BibLaTeX - old style number for page(s), and keeping “p.” and “pp.” in bibliography

As mentioned in title, any way to make page number old-style, and keeping the pagination ("p." and "pp.")? This is I have done so far: My MWE code: % !TEX program = xelatex \documentclass{article} ...
1
vote
1answer
39 views

inline and vertical enumeration in the same document

I want to implement both inline and vertical enumeration in my document. I know that inline enumeration can be achieved using inline option of enumitem package. In addition, I found this question (...
1
vote
2answers
54 views

spacing between rows in a table

I have a table here. But it does not look right. First thing is regarding the spacing between rows. I need to increase the spacing. Second thing is at row 25, the number somehow exceeds the column. ...
3
votes
1answer
110 views

Bibliography formating

I have a question regarding bibliography. I am not a LaTeX pro, It doesn't matter for me at the moment if I have to use embedded bibliography or bobtex. The question is, how can I accomplish the ...
1
vote
2answers
79 views

Fit an equation into an element of a vector on one page pleae

I am trying to fit the equations into a vector called Fs I can not view all the equation on one pdf page \begin{eqnarray*} \mathbf{Fs} &\mathbf{=}& \\ &=&T^{-1}\left[ \begin{array}{...
0
votes
0answers
32 views

create a “notes” page in article document class

I am wondering if it is possible to place my footnotes not at the end of a page (as usual) but in a separate page at the end of my whole document. I am writing my report using article document class ...
0
votes
1answer
56 views

How to use .sty in writting in latex?

I need to write my thesis in latex for which we got .sty file (I didn't write it myself). I have no clue what I need to do to or need to write in .tex file to ''activate'' those styles. If I ...
3
votes
1answer
59 views

Extra word spacing in the caption of a figure

I cannot figure out why there is extra word spacing in the caption. Possibly because of subfigures? Thanks for any help. \begin{figure}[H] \centering \begin{subfigure}[h]{.45\textwidth} \centering ...