{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
5answers
95 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
130 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
28 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
23 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
34 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
41 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
25 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
28 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
45 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
50 views

Number formatting in the table with spreadtab

I am using spreadtab for the calculation in a table. In the same time, I use numprint package for number formatting as advised in the documentation of spreadtab. To get thousand separator as , and ...
2
votes
2answers
59 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
49 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 ...
0
votes
2answers
217 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
39 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
72 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
43 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
51 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 ...
4
votes
1answer
40 views

Formatting Large Equations with Matrices

I am currently working with some pretty big matrices and was wondering how I could better format them to make my final proof appear less sloppy. What formatting techniques can I use to better present ...
1
vote
0answers
289 views

LaTeX vs InDesign [closed]

I've been using LaTeX for a while (even tough I'm far from being a pro), and I would like to ask expert users whether they prefer LaTeX or InDesign. Obviously, one is open source and the other not. ...
2
votes
1answer
49 views

Equation align left instead of right? (not what has been answered before)

I am absolutely blown away. I have spent a month on and off looking for a solution to this extremely obvious issue and it has not be addressed anywhere that I can see. When using align for equations, ...
4
votes
3answers
69 views

Getting rid of bullet point and indentation in itemize

I'm writing my resume in LaTeX and am using itemize to list my employment history. Example: \begin{itemize*} \item \headerrow{\textbf{Google}}{\textbf{Cambridge, MA}} \headerrow{\emph{Software ...
2
votes
1answer
68 views

Text turned into squares [closed]

I finished a previous LaTeX session with correct working file. When I opened it in the next time, all letters turned into squares. There is no .bac file in the directory. Is it possible to turn back ...
0
votes
0answers
19 views

Embolden multiple author names in BibTeX controlled by list in .tex file

I would like to embolden certain author names in a BibTeX reference section. The list of highlighted authors should be controlled from the .tex source file. This solution shows how to do this for a ...
2
votes
1answer
40 views

Suggested objects permitting table-like-column formatting and page breaks amidst long lists of breakable content

My preferred way of structuring and formatting large lists of content is with longtable. Some of my cells contain a lot of text, both in paragraph and itemize or enumerate environments. For reasons ...
1
vote
0answers
41 views

Exporting Eclipse language highlighting

Does anyone know how to insert verbatim code from Eclipse? Not just how to include a file but also keep it's highliting, I use some not-so-widespread languages so exporting it directly would be neat ...
1
vote
0answers
103 views

My professor don't want I use low-level formatting in LaTeX, what can't I use? [closed]

I don't understand the statement, I can use $...$ or \textit{...}, \[---\]?. Thanks
2
votes
1answer
26 views

How can I change the layout of comment in a pseudocode?

I'm writing a pseudocode with algorithm package. Now algorithmicx package produce a comment with the triangle on the right of the line which is referred (this is the default layout). I need to change ...
1
vote
1answer
31 views

Indented math definition?

How can I format a math equation for a graph definition so that it has an intended "body" as in the following example? graph2 = ( {c1, c2, ..., c8}, {e1, e2, ..., e12} ) I tried using the ...
4
votes
1answer
67 views

Table formatting issues

I am new to LaTeX and I am having trouble formatting my table to fit nicely onto the page. It does not have to all fit onto one page length wise just width wise. Thank you for the help! ...
0
votes
1answer
46 views

How to underline the section to the end of line?

I am using the following code taken from online to underline the section title \makeatletter \sectionfont{\ulemheading{\uuline}} \let\oldsection\section \def\section{\@ifstar\s@section\@section} ...
2
votes
0answers
20 views

\mintinline expands to a single newline

I'm using Minted 2.1, that I have installed through tlmgr, and Texmaker 4.1. Compiling the following piece of code (straight from the documentation) : \documentclass{report} ...
2
votes
1answer
50 views

Why CAPS LOCK in AMS mode in LyX?

I am trying to use the AMS article in LyX. I want my output to look like the following (note margins are the same for the entire paragraph and not all letters are capitalized): Here is my source ...
1
vote
1answer
55 views

numerating chapters in book- format

I would like to have the following formatting in the table of contents: 1. Chapter 1 1.1 Section 1 1.2 Section 2 And also I want to use \chapter but instead of appearing. Chapter 1 Chapter 1 I ...
1
vote
1answer
26 views

Style surname according to keywords field

How do I make surnames in a bibliography small caps, except for 'author' when the keyword is 'primary'? Yes, I know I could just \textsc{…} them all, but I'd like this to be automated. I suppose the ...
1
vote
0answers
41 views

Formatting latex code in lyx

I have been using lyx and have run into text formatting issues when using math inline formulas. For example, the code bellow: is converted to: How can I make the formula fit the numbered list?
3
votes
1answer
172 views

How to change Figure 1: to bold Fig.1. in latex

I am using default setting in LaTeX that show Figure 1: Caption.... Now, I am following the format of Magnetic Resonance Imaging journal that require Fig. 1. Caption I tried to add the below ...
1
vote
1answer
43 views

Command to Strikeout text and citation?

I am making major edits (a hack and slash) to a big document, want to do a word count on what's there (hence texcount), and, while I'm editing and we are reviewing, I want to retain what I'm removing ...
1
vote
1answer
37 views

Chapter header spacing, spacing after sections

I am trying to create double spacing throughout this document - after "Chapter 1" and "after Dimension Reduction in Symmetric Spaces", etc. I also want a top margin of an 1 inch. Can anyone tell me ...
5
votes
2answers
86 views

Formatting longitude with siunitx

My question follows this one about formatting coordinate using \ang{} command of the siunitx package. When listing coordinate on a map, it is required to use two digits for minutes and seconds. As ...
1
vote
0answers
39 views

Set a \mbox to pagewidth [closed]

I am doing a major edit on a document and want to use a new macro to comment out lines, strikethrough them and remove them from a word count but I am having trouble with citations so I am trying to ...
2
votes
1answer
40 views

Appendix Numbering Format: Dash instead of Dot after (alphabetic) number of appendix

How can I change the dot after appendix's numbering (A.) to dash (A -)? MWE \documentclass[a4paper,12pt]{article} \usepackage[utf8]{inputenc} \usepackage{standalone} \usepackage{wallpaper} ...
1
vote
1answer
71 views

Typesetting Hermann-Mauguin notation correctly

Hermann--Mauguin notation is used to define a naming scheme for three-dimensional space groups (aka crystallographic groups). A list of these groups together with their names can be found here. I ...
0
votes
0answers
49 views

Astronomy and Astrophysics Class Modifications

I'm using the Astronomy and Astrophysics class file (class file link here, page which class file comes from and shows an example here) to write a report and there are some modifications to the class ...
2
votes
0answers
58 views

thesis formatting

I have a thesis template using the fancyhdr package in which the chapters and titles are written bold and have large margins. Since I am doing my thesis, my school formatting requires center page ...
4
votes
1answer
64 views

Why is it impossible to format items of a LaTeX3 comma list?

Trying to adapt the 1st code of this answer in order to format (say in bold) items of a LaTeX3 comma list, I stumbled upon an unexpected error: the following MWE works like a charm: ...
1
vote
1answer
37 views

How to avoid italicised text following \sigma?

I am trying to include the symbol \sigma into a document of mine but I find that every time I use it, the text following it is in italics, e.g. \sigma{\textsubscript{\emph{x}}} is used to Produces: ...
2
votes
1answer
34 views

Adjust variable height in formula

I want to write the following expression \documentclass[12pt, a4paper]{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[english,ngerman]{babel} ...
3
votes
1answer
89 views

Automatically add \noindent for short paragraphs

Is there a way to activate \noindent to each line which is so small that there is no line break in the paragraph? An example: The code This is a long paragraph: Lorem ipsum dolor sit amet, ...