{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

0
votes
0answers
45 views

Writing formula in LaTeX

How can I write the formula shown below? I am new to LaTeX and I found how to write upper bounds but it is getting really complicated writing it as a whole.
0
votes
1answer
25 views

I have a problem in the output PDF margins

I have a problem in latex template of Circuits, Systems, and Signal Processing journal the output file has not equal margins from left and right, and has a large margin from bottom of the page. I ...
3
votes
4answers
53 views

How to draw straight lines to indicate repeat values in merged table cells?

Can you help me the following working: I'm looking to indicate that the value 2.00 is repetitive vertically through a straight line like in this sketch (the result should be a solid, continuous line, ...
4
votes
1answer
15 views

How to change the format of the “and” bibstring using xpatch?

When using biblatex's textcite command with a two-authored reference I want the "and" between them to be in italics. I managed to get the same for the "et al." \bibstring using the following code ...
1
vote
0answers
32 views

Group functions or something like that

So basically I am writing a thesis in Latex. I want to declare a group of functions exclusive for A3 pages. Can you guys give a tip how to declare such group? class? object? or whatever its called ? ...
0
votes
0answers
30 views

Equivalence Conditions in a Theorem

If I want to write a math paper with a theorem of the form If A and B are real numbers, then the following conditions are equivalent: 1. A = -B; 2. -A = B; 3. A + B = 0. Furthermore, the ...
1
vote
0answers
15 views

Generating an IEEE bibliography with book series in parentheses using BibTeX and IEEEtran

The IEEE citation reference and style manual both list the following two bibliography examples for books: [4] M. Abramowitz and I. A. Stegun, Eds., Handbook of Mathematical Functions (Applied ...
3
votes
1answer
35 views

section head two environment with different size boxes

I have two arguments in section and how to print the second optional argument in the same boxes. How do increase the box width should be upto paperwidth. My MWE is: \documentclass{book} ...
1
vote
1answer
26 views

section head box different font-size and two arguments in a level section

I'm expecting the below section heading is different box and section number is different box. After A level section default 4 icons need to print below (please refer screenshot). My MWE is: ...
1
vote
0answers
25 views

Problem with answers using hyperlinks and tbox

I have minor problems with the solutions shown in Hyperlink with answers package I wanted to make a macro which takes solution and exercise as arguments, uses a button like mutual reference, and ...
0
votes
2answers
39 views

I want to get two side by side horizontal lines as shown in the figure

\documentclass[12pt, a4paper]{article} \usepackage{booktabs} \begin{document} I want them on the same row, side by side. \vspace{0.5cm} \begin{tabular}[t]{@{}p{0.45\textwidth}@{}} \toprule ...
1
vote
1answer
48 views

Flowchart Formatting - corrections

I am trying to come up with a flow chart as shown below: I tried as follows: \documentclass[border=10pt]{standalone} \usepackage{tikz} \usetikzlibrary{arrows,positioning,shapes.geometric} ...
1
vote
2answers
75 views

Formatting Question

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 ...
3
votes
2answers
29 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
3
votes
1answer
34 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
13 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
61 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
117 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
37 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
51 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
39 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
32 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
33 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
53 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
60 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
156 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
41 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
42 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
56 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
302 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
58 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
53 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
42 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
67 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
112 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
88 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 ...