Tagged Questions

{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
22 views

Formating Quesiton

It has been sometime since I have used LaTeX, and I have a formatting question. Well, it would be better if I just show my code and ask why the format is messing up when I call in cases! What can I do ...
2
votes
2answers
27 views

how to raise superscript inside overline?

I want to N squared inside overline. The superscript in $\overline{N^2}$ is too low. How to raise superscript higher? Thanks
2
votes
1answer
30 views

reduce the white space before and after new

How do I reduce the white space before and after the \begin{mq} … \end{mq} block in the following code? Ideally, I would like the white space between the environment and the preceding and succeeding ...
1
vote
1answer
12 views

Copyright notice overlapping with text in Lyx [duplicate]

I have a copyright notice on my IEEE Journal that is overlapping with my text while using Lyx and I am not sure why it is happening or what I can do to fix the problem. I have tried looking up ways ...
2
votes
1answer
51 views

Removing red boxes around references

I have seen some solutions on here to problems regarding removing red boxes from hyperlinks, but I have an issue with red boxes around references. Whenever I use the commands \eqref{} or \footnote{} ...
3
votes
3answers
107 views

Enclose Code in Latex with single user-defined command

I am using the following to enclose my code in a box and I like the formatting but I have the problem that everytime I have to write a lot of stuff. Before the begin{document} I have defined: ...
1
vote
2answers
34 views

Right justify number with filler periods

How do I duplicate this in LaTex?
0
votes
1answer
46 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
34 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
46 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
38 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
39 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
30 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
30 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
15 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
50 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
103 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
69 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
51 views

Simple signatures style

I would like to make signatures on my document like this. I'm using \documentclass{article}
2
votes
1answer
56 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
151 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
40 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
38 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
53 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
298 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
146 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
39 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
56 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
66 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
52 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
97 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
41 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
65 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
109 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
87 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
39 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
96 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
27 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
38 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
275 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
79 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
26 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
44 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
38 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
42 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
50 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
54 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} % ...