{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
2answers
38 views

Right justify number with filler periods

How do I duplicate this in LaTex?
0
votes
1answer
47 views

Controlling properties of sections and subsections

\documentclass[12pt, a4paper]{article} \usepackage[ top=3.5cm, bottom=2cm, left=3.5cm, right=2cm, headsep=1.5cm, ]{geometry} \usepackage{fancyhdr} \usepackage{sectsty} \pagestyle{fancy} ...
0
votes
0answers
35 views

Need help in formatting my document

I am typing my document using Texstudio and have landed up with 2 difficulties. How to copy a table from MS Word to my Texstudio working space ? I have created a table (suppose) in texstudio and ...
2
votes
1answer
65 views

How to Use ModernCV Icons with Classic Style CV

I really like the style of this CV -- I am not sure if the style has a name, but I have seen it many times. Here is the source code for my CV: \documentclass[margin,line,pifont,palatino,courier]{res} ...
3
votes
1answer
45 views

Create three column layout with large text in the middle and annotations in right column

I am trying to create a page layout which looks like this quick sketch I have done with Apple Pages: In the left column there should be some headings of the paragraphs printed in the middle column. ...
2
votes
1answer
41 views

Navigating latex packages for their options

I'm trying to find all the different font options available in the package devanagari for typesetting hindi. I found a template online, whose reduced working form is \documentclass{article} ...
0
votes
0answers
35 views

How to contain the Program Listing in the Appendix within the margin?

I have added the Code Listing using - Insert -> File -> Child Document
1
vote
2answers
36 views

Format table column widths to fit single column of twocolumn document

I am using a two column format, and I would like the following table to fit in one column, along with text wrapping on the title row. How do I do this? Thanks. \documentclass[10pt,twocolumn]{article} ...
0
votes
0answers
16 views

\otoprule not appearing

I am using a two column format, and for the following table the \otoprule line after the first row is not appearing. \documentclass{sig-alternate} \usepackage{array,graphicx} \usepackage{booktabs} ...
3
votes
1answer
64 views

Beamer ToC Advanced Overlays

I want to have a Table of Contents in my Beamer presentation, but I want it to be laid out in an apparently particular way. For the first section, what I want is an overlay for each section (I ...
0
votes
0answers
13 views

How to format labels of user interface elements?

I am writing a document using LaTeX which describes an application I have developed. I refer to some buttons or sections of my application in the document and I want to format them in a special way. ...
7
votes
2answers
113 views

Aligning equations in matrix with outside character

I would like to align these equations on the equals sign (so that the curly braces are flush) and also align the 'ranges' on the RHS side on the 't'. Can anyone help? \begin{equation} ...
5
votes
2answers
75 views

Align left and align right across lines

I am new to latex and I want the following format but simple things like \hfill does not help here. Name:XX Email: abc@example.com Work:YY ...
1
vote
1answer
52 views

Simple signatures style

I would like to make signatures on my document like this. I'm using \documentclass{article}
2
votes
1answer
67 views

Singapore Beamer Template: Add numbering in Bibliography

I'm using the Singapore beamer theme. Using "thebibliography" I noticed that there is no numbering for the bibitems. For printing purposes this is very annoying. Tried using \bibliographystyle but ...
5
votes
1answer
159 views

Different shape of parentheses

While correcting a thesis of a colleague I found this: As you can see, the parentheses around the first and the second item differ, however, they're implemented in the exact same manner (see code ...
2
votes
3answers
47 views

What does it mean to be a cell based table without being vertically merged?

I am given these requirements and I am not really sure what they mean. I need some help figuring out what they mean in terms of Latex code: -Tables must be cell based; do not merge rows. - ...
1
vote
1answer
49 views

Format date {yyy-mm-dd} as “mmm 'yy”

I have been struggling with this for some time, with combinations of the isodate and datetime packages, without success. I would like to create a macro that receives an input in the format ...
4
votes
1answer
64 views

Font size inside subequations environment!

How I can change the font size inside the subequations environment? See below: \begin{equation} \textstyle \xi_{1} = A + B + C; \end{equation} The command \textstyle works fine inside the ...
4
votes
2answers
306 views

Fast way to start a new line

I have quite a few equations in a latex document that are similar to this one here: \mathbb{E}(\cos^2) = \frac{\pi \left(\beta \left(8 \left(2 \alpha ^2+2 \alpha +1\right) \beta ^2-12 (2 ...
5
votes
4answers
154 views

Center text over multicolumn in table

I have created a table that is the width of my page, but when trying to center the text in the top row over the merged cell, the text is not centering with respect to the entire length of the cell. ...
3
votes
2answers
46 views

Appendix with a colon causing problems in list of figures

I have added a colon to Appendix in the toc using the following command. \apptocmd{\appendices}{\apptocmd{\thesection}{:}{}{}}{}{} Due to this, in the list of figures section, I am getting ...
2
votes
2answers
62 views

Text to wrap around informational box

I'd like to have an informational box placed to the edge of a page of text, and have the text wrap around it, like so: How should I go about doing this?
3
votes
1answer
68 views

Force format not to be overwritten by the environment

I have the following macro defined \newcommand\ve[1]{\ensuremath{\mathrm{\textbf{#1}}}} which produces a bold non-italic letter in math-mode. The ensuremath ensures that it will behave the same in ...
0
votes
0answers
55 views

How can I get the form of Crux Magazin like this? [duplicate]

I want to format my document with font like Crux Magazine. How can I get it?
0
votes
0answers
99 views

“Pretty” LaTeX Documents

I've been looking around but I don't really know what to search for. How do you usually write a LaTeX document so that anyone else reading it won't have such a hard time? I've been indenting and ...
1
vote
1answer
43 views

Formating single entry on table of contents

How to format a single entry in the table of contents? For example, how to add some horizontal space to indent some specific line, including the section number? ps: I know that I can edit the toc ...
3
votes
1answer
70 views

How do i add a blue box around the section number?

I vant to make the section design like shown on the picture below. So far i have managed to get the section numbering in the margin, but I have no idea how to make the box (or change the fonts in ...
5
votes
3answers
116 views

Modify abstract appearance

there's two tweaks I don't know how to perform: 1. I'd like to remove the small indentation at the beginning of each paragraph. 2. Increase the paragraph break separation. ...
3
votes
1answer
90 views

Appending a full version of a document

I have a document written in tex, although it is a shorter version of a larger document. For example, my short document is 10 pages, and once I elaborate on some parts in the shorter document, it ...
3
votes
1answer
44 views

Remove page number on first level in index

I am using imakeidx to create an index for my recipe book. I would like to have the index show the following level-wise: Appetizers Recipe 1, pagenumber Recipe 2, pagenumber ...
3
votes
1answer
109 views

How best to differentiate questions and answers in a document without compromising on typesetting and readability?

Preliminary note: I don't think this question is completely or even to a large extent subjective, as it seeks how to achieve objective utilitarian goals. Please read: I am solving my QFT assignments ...
0
votes
0answers
29 views

Run-in heading on condensed bibliography

I am writing a grant with a rather strict page limit and have used run-in headings as implemented in titlesec. included in preamble: \usepackage{titlesec} \titleformat{\section}[runin] ...
2
votes
1answer
42 views

Defining a command for changing the line width or the right and left margins?

I am trying define a multi-parameter command which would break up the text to be only 34 characters per line or I suppose another way to look at it would be to have a left margin of 2.7in (1in more ...
5
votes
2answers
276 views

Is there a way to make the \not slash strike in the direction of this: \ and not this: /?

I would like to use \not, but let the slash strike backward \, not forward /. How can achieve this?
4
votes
2answers
91 views

Calculator and calculus package: result [.] dot instead [,] comma

My codes, \documentclass{article} \usepackage{calculator} \usepackage{calculus} \newcommand\teo{3} \newcommand\job{,5} \begin{document} \MULTIPLY{\teo}{340}\W \MULTIPLY{\job}{5605}\WW ...
0
votes
0answers
27 views

How to handle log data within documents (articles)?

I have to add the log-output of a program to the appendix of my article. A verbatim-block was my first choice, but the single lines are to long (far more than 80 characters) and therefore the lines ...
1
vote
1answer
46 views

Modify appearance of Part Title in the table of contents

I want to divide my thesis into two parts: a background part and the thesis part. In the table of contents, I want the formatting of the parts to differ from the rest: I want the parts to be bigger, ...
2
votes
1answer
40 views

How to change text arrangement on page

Currently I'm using pdflatex to print content on page with width of 6 in and height of 9 in. It's printing in standard print orientation as mentioned in the diagram below "Current Printing format". ...
2
votes
1answer
52 views

Wrapping lines of an equation with \left and \right parentheses

I am having trouble formatting the following mathematical expression: \begin{align*} A &= \left(\left(\frac{1}{2},\frac{1}{2}\right) + \sqrt{2}Rot_{-\pi/4}\left\langle 0, \frac{1}{2} ...
1
vote
1answer
27 views

Is there a way to display a specific command and hide the rest

I would like to use the same Latex source file for both my document and the accompanying slides. When creating a document it's easy to hide the slide sections by doing this: \newcommand{\slide}[1]{} ...
1
vote
1answer
53 views

change the equations fonts automatically

In my document, I have several equations. What I need is to change their font automatically to mathrm. I can change each equation separately (\mathrm{....}), but this will be so tedious for me. So how ...
0
votes
1answer
26 views

Italicize environment and comment package

I used the comment package to includecomment/excludecomment an answer environment. This way I can print questions, and then later print the questions and answers together. The problem I'm trying to ...
1
vote
1answer
58 views

Theorem numbering: use dash instead of period

In the following code, my theorem head looks like this: 1.1 Theorem I want it to look like this: 1-1 Theorem MWE: \documentclass{report} \usepackage{amsthm} \newtheoremstyle{theorem} {1em} % ...
1
vote
0answers
52 views

Justification isn't done in this part of my document

\documentclass{article} \usepackage{amsmath} \usepackage[spanish]{babel} \usepackage{graphicx} \usepackage{graphics} \usepackage{times} \usepackage{color} \usepackage{float} \usepackage{multicol} ...
1
vote
1answer
30 views

Line of dots in a Section with Text at the end

I'm having a section in which i need to append dotted line till the line end. At the end i need some text. Exactly like the below Healthcare ...
1
vote
1answer
52 views

does wrapfig package conflicts with OSX 10.9.5?

I used once the wrapfig package on a windows machine. but on the mac it holds whitespaces beneath the wrapped figure and in this case look of the document is completely insufficient anymore! please ...
1
vote
1answer
56 views

Missing dots in ToC for chapters

I am using the starred version of \chapter and \section to avoid the numbering of chapter and section. To have the title of chapters in ToC I use \addcontentsline{toc}{<xxx>}. This results in ...
2
votes
1answer
35 views

formatting a proof justification with smaller font

I need help formatting proof justifications. In the past, I have used \quad\text{some short justification}. Now, I have a longer justification -- still only one sentence but with the above approach it ...
1
vote
1answer
32 views

bad generators of keys in a particular bst style

I have the following the .tex file: \documentclass{article}[10pt] \usepackage{jucs2e} \usepackage{url} \begin{document} \title{Title} \maketitle cite~\cite{EnviroTrack} \bibliographystyle{jucs} ...