{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

2
votes
1answer
37 views

How to put different parts of text to a other page

I would like to take out some part of my document and put them all together at the end of my document without doing it manually. Is there a command to do that? example : blabla bla// Exercice1// bla ...
2
votes
2answers
136 views

Making row bold and keeping other formatting in pgfplotstable

I have a table where the last row needs to be bold. Currently, I can make it bold by following this question. However, when I make it bold, I lose all my number formatting. Here are the 2 images: ...
3
votes
1answer
63 views

Changing the look of the endnotes on the 'Notes' page (\theendnotes)

In the report I am writing, I am using both footnotes and endnotes; footnotes just as normal footnotes, but endnotes for citations (I don't particularly like the normal way of citing things in LaTeX). ...
5
votes
2answers
252 views

change .bst file to get journal name bold

Based on this question, I have a certain problem. In my reference list, I want to make the journal title both emphasized and bold (as opposed to only emphasized, as it currently is). Following the ...
1
vote
1answer
55 views

How to change the section's content format?

I have written a latex file including multiple layers of sectioning. What I want to do is change the tabbing/location of each layer. And maybe also change the font or something. But the problem I ...
1
vote
0answers
35 views

Creating an Elimination Matrix with strikethrough rows/columns [duplicate]

I am writing a paper, and I need to display an elimination matrix during the steps of finding a determinant. \[ A =\begin {bmatrix} a_{11} & a_{12} \\ a_{21} & a_{22} ...
2
votes
1answer
54 views

Adding signature in pdf (jpeg or png) format with a bottom border

I currently have this layout: \documentclass[11pt, a4paper]{article} \usepackage{graphicx} \usepackage{multicol} \begin{document} \begin{multicols}{2} \textbf{Position} \par \medskip ...
2
votes
1answer
38 views

Referencing a Source Code Listing

I would love my listings to look like this: With the references as shown. is this possible? Would I need to use TikZ? I have done a pretty exhaustive search but can't find out how this was ...
3
votes
1answer
31 views

How to align text and floats on the top of text line in a two column environment

I have a LaTeX document below which generates two column text. When I insert a float environment, the top line between two column is not aligned. My question is how to align them. Thanks a lot. ...
5
votes
1answer
156 views

How to reference source code listing

I am using the listings package to incorporate listings into my paper. However I'd like to reference individual parts of the code with a small circular number (such as say the number 1 in white ...
2
votes
1answer
331 views

How do I make a 7 with a horizontal line through the middle? [duplicate]

I've been trying to create the 7 I'm used to writing by hand in LaTeX with a horizontal line through the middle. This seems like it should be a simple thing to do, but I don't see any native support ...
2
votes
1answer
94 views

How to remove cell padding in longtable environment?

I have a table that spans multiple pages. So naturally I used the longtable environment in the landscape mode. The table works fine but output has large amount of vertical cell padding and sometimes ...
0
votes
1answer
58 views

How to set the fonts of the latex file?

I am a newbie in LaTeX. I am editing a paper, which is two column. The first paragraph of the paper is the abstract. I want my abstract to satisfy the following requirement: The abstract should ...
2
votes
1answer
36 views

A manually created suffix for section titles compiled using tex4ht

I am building a document that looks one way with xelatex and another plain text file appearance using tex4ht. I produce an html document that then produces a great document that can be copied into ...
3
votes
1answer
38 views

Adding subsubsection to smoothtree outertheme

I would like to make the name of the subsubsection appear in the presentation. Here is my MWE: \documentclass[dvipsnames,svgnames,table]{beamer} \usetheme{Warsaw} ...
2
votes
1answer
70 views

How to create my own bibliographic citation format?

I need to meet my university's requirements for a thesis. What I need seems to be simple but I haven't found a direct way to do it. What I need In the text, the citation must have the first three ...
4
votes
0answers
71 views

Distinguish between upper index and power [closed]

I am currently writing the scriptum of our theoretical physics lecture. I always have trouble with the notation. Our professor uses lower indices like m_i for the i-th mass, upper indices like ...
1
vote
1answer
63 views

Getting large braces in MathJax [closed]

In answering this question on math.se I used the expression {{{|}|}|} and wanted to enlarge the outer braces to show the pairing. I tried \left \{ \left \{ \{ | \} \right \} \right \} (with ...
1
vote
2answers
41 views

Put image in column

Is there a way to cover a column of a two column page with an image (all the page height, no caption)? This should leave the rest of the page as is - just move the text of the column a bit further ...
3
votes
2answers
46 views

Text too long for the cell?

I am doing this table, but my the phrases are out of the limits of the cells. How can I adjust them in two or three lines instead of one? \documentclass[12pt,a4paper]{article} ...
2
votes
1answer
40 views

format for all a table?

I have a table like this: \documentclass[12pt,a4paper,oneside]{report} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{here} \begin{document} \begin{table}[H] \centering ...
2
votes
1answer
72 views

How to add multiple authors on IJCAY format

I'm writing a paper to IJCAY conference (hopefully it will be accepted), and I'm having a bit troubles on inserting a second author. I know how to do this in general, but I must play by their rule ...
1
vote
0answers
40 views

Personalize document headerwith a table - Lyx

I am trying to put a table as header of every page of my document. This is the cose I put in the Latex preamble setting of LyX: \usepackage{eso-pic} \AddToShipoutPicture{% \AtPageUpperLeft{% ...
4
votes
2answers
81 views

Hide counter for exsheets solution environment

I am using counter-format=se.qu. for my questions which gives the following output In my case I want to hide the counters from solutions (so that I only get Lösungsvorschlag. there without the 3.1) ...
2
votes
2answers
51 views

How to get continuos line numbers for minted code blocks

I use minted in following way: \documentclass[a4paper, 11pt, twoside]{article} \usepackage{xltxtra} \usepackage{xunicode} \usepackage{polyglossia} \usepackage[svgnames]{xcolor} % Syntax higlight ...
2
votes
1answer
44 views

How to add background for texttt (and allow line breaks)

I use texttt{} to write names of software, commands etc. within the text. Sometimes the texttt text is longer and there is a line break within it. It works well, no problem here. I wish to add ...
1
vote
2answers
27 views

Minted “underfull \hbox (badness 10000) in paragraph” when using bgcolor [closed]

When I use minted to highlight BASH code like this \documentclass[a4paper, 11pt, twoside]{article} \usepackage{xltxtra} \usepackage{xunicode} \usepackage{polyglossia} \usepackage[svgnames]{xcolor} ...
1
vote
1answer
76 views

Insert two horizontal lines above and below Contents and List of Figures

I would like to know how to insert horizontal lines above and below the Contents and the List of Figures. I managed to do it for the title of the chapters but not for the TOC and List of Figures. ...
6
votes
3answers
102 views

Alphabetical ordering of items composed of macros in itemize

This is a continuation of the topic: Alphabetically display the items in itemize But sadly I don't have the necessary reputation to comment there. Method proposed by @Werner works perfect, even when ...
2
votes
2answers
83 views

Why does Latex add arbitrary spacing between equations when using multicolumn?

After using multicolumn to divide up the page into three columns, some of my equations massive space in between the texts For example: The left most column, we see that there are spaces between the ...
1
vote
0answers
36 views

Why is there a blank line at the top of the slide? [duplicate]

Currently, I have a blank line appearing at the top of the page. However, I haven't inserted anything here to produce this line, nor is it a standardized format because other slides don't have this ...
4
votes
5answers
117 views

How do I center a \Large equation in display mode?

I have an equation in display mode and would like to make it bigger using \Large, but the equation runs off the right side of the page while there is much room on the left side of the page. The ...
2
votes
2answers
166 views

how to create a triangle with text

I want create a triangle with the text inside, I'm able to the write the text but how I can create the triangle? My code for the text is \documentclass{article} \usepackage[english]{babel} ...
1
vote
0answers
50 views

Beamer citation formating in definition

I'm trying to insert a citation after a definition/theorem in the beamer class to resemble the following: Definition [1] Here is my definition. I can partially accomplish the above using ...
2
votes
1answer
25 views

Problem in the definition of a different layout style for the examples in a document

I'm writing a document in which I defined a structure for the example in order to automatically enumerate them. This is my code: \documentclass[tikz,border=10pt]{standalone} \usepackage{amsmath} ...
1
vote
0answers
47 views

Figures displacing text in two column layout

I have a two column layout (set in the document class) with text and a figure. I've stopped the abstract being split by using: \twocolumn[ \begin{@twocolumnfalse} \maketitle ...
0
votes
0answers
7 views

In the beamer presentation, how do I make a standalone line in the top of the page? [duplicate]

I want to make a single lone line in the new frame saying just "Proof:". I would like it to be blank otherwise, so then I have space to physically write down the proof. However, if I do this ...
1
vote
0answers
10 views

figures and tables in left side of report

I am new to Tex and I am preparing laboratory manual in which figures and tables should be printed in left side and theory part should be printed in right side. Please help me to do it.
2
votes
2answers
66 views

vertical space after \hrulefill

I use the following as a title for my draft document: \documentclass[12pt]{article} % Various packages \begin{document} %%% Title \begin{center} \hrulefill\\ \textit{\bfseries \Huge The name of ...
0
votes
1answer
33 views

rename theorem environment to proposition

How can I rename the theorem environment to proposition? In other words, I would like to print: Proposition 1 instead of Theorem 1/Lemma 1, etc Thanks in advance PS: I am using koma-script article ...
2
votes
1answer
47 views

Formatting S columns with percent

Why in the following tables the results of formatting of S columns are different, i.e. dependent on, where the column is in table? Consequently those tables have different width. ...
2
votes
1answer
47 views

How can I reduce references to show only subsection numbers?

I use cleveref package to format a special type of labels. Can I also use a special counter or counter formatting sequence in \cref. This is my example: \documentclass[10pt,a4paper,twoside]{article} ...
0
votes
1answer
81 views

Number formatting in the table with spreadtab

I am using spreadtab for the calculation in a table. \documentclass[a4paper]{article} \usepackage{spreadtab} \usepackage{numprint} \usepackage{xstring} \renewcommand\STprintnum[1]{\numprint{#1}} ...
2
votes
2answers
105 views

How to change column width on each row?

I am trying to create a table layout such that my first row has different column spacing than the rest of the table. It's a header (well, part of a pair of headers) for a table of names. The layout ...
2
votes
1answer
54 views

change formatting of the index

I am formatting a book which has a fairly extensive index and I am trying to figure out how to change the amount of indent that long lines wrap to. The author wants to cite entire book titles which ...
1
vote
2answers
255 views

Table of contents with visual/graphic mark reference to all pages of chapter (no numbering)

I'd like to make a table of contents that uses some visual mark that links graphically the toc to the text: with no numbering, but still having another type of reference available. The toc could use a ...
1
vote
1answer
43 views

The first page of the bibliography does not follow page number format

Apology for asking a simple question (I couldn't find a direct answer from searching). The first page number inside the bibliography looks like The other pages have the page number bolded, How ...
2
votes
1answer
95 views

How to Enter Address in LyX in this form

I am currently in article AMS document class. In LyX I'd like to enter my name and address in the following form: Note that there's not a large gap between the author's name and the address. I ...
0
votes
0answers
44 views

Why this fatal error occurs? (trying to align a text in tikzpicture) [duplicate]

I would like to print a code in my document in the format that is very common to see online in many websites like this: But when I try to compile, a fatal error occurs. The problem is in the ...
1
vote
0answers
66 views

Finding a template for Mathematical Finance journal

I am trying to find or create a LaTeX template that is the same as the one in this article: http://onlinelibrary.wiley.com/doi/10.1111/mafi.12004/epdf. Specifically, I am trying to create the same ...