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

Setting Entries of List of Listings in LaTeX. Package Listings

I'm trying to put an hyphen after the entries of the "List of Listings" as follows: List of Codes Code 1 -- First Code ................................ 7 Code 2 -- Second Code ...
2
votes
2answers
94 views

bibtex - Change format of urldate

I have the problem that I use the citation manager Citavi and it can only export in the format urldate = {dd.mm.yyyy}. However Bibtex needs the format urldate = {yyyy-mm-dd}. It is not really ...
6
votes
2answers
97 views

Modify ToC Backmatter Entry Distance

I created a simple document using memoir class as follows: \documentclass[12pt,a5paper]{memoir} \renewcommand\thepart{\arabic{part}} % modify ToC part \renewcommand{\cftpartaftersnum}{.} ...
3
votes
1answer
123 views

Combining MATLAB and C++ code in Latex

I have included MATLAB code in my report with \begin{lstlisting} and \end{lstlisting} but, in the same report, I need to include C++ code. I want it to recognise the language and highlight with colors ...
2
votes
1answer
41 views

Change Section names on side into the title of the section

I was using package etoolbox, but I want to change the section numbers into titles instead but been having a hard time since i am not familiar with the code. Clickable chapters on the right side of ...
0
votes
0answers
24 views

How to even out margins around a border?

Any ideas as to why the document seems to shift up and to the right on the page? I've tried using {anysize} and {geometry} to adjust the borders but I've had some issues. With {geometry} the margin ...
1
vote
2answers
66 views

How to deal with very long formulas

I have a very long formula that does not fit in the page. What should I do? Here is the code: \listfiles \documentclass[oneside,12pt]{scrartcl} \usepackage[ngerman]{babel} %\usepackage{amsmath} ...
4
votes
2answers
82 views

Figure caption inside a tinted box

I would like to print the figure caption with a "tinted box" (a box with a background colour). How to achieve this? My MWE is : \documentclass{book} \usepackage{lipsum,graphics} \usepackage{caption} ...
2
votes
1answer
72 views

How to format the header in Tufte Handout?

I would like to use the librecaslon package with tufte-handout. I have encountered a problem in which my headers are printed entirely in lowercase. I believe this occurs because librecaslon has no ...
4
votes
1answer
72 views

Remove color of acronyms used in an equation

I use the acronyms package to define mathematic symbols like this: \begin{acronym}[long] \acro{v}[$\vec{v}$]{View direction vector} \end{acronym} I do this with lots of others where it is faster to ...
0
votes
0answers
24 views

Change format of character inline

Is it possible to change the format of characters in a line of text: Example: CHARACTER NAME: (include a space) Dialogue and more dialogue and yet more dialogue ...
1
vote
1answer
122 views

Rotated Text in Table Extending into Rows in Lyx

I'm trying to create a table with some rotated text in it, but the rotated text is extending into the rows below the cell, as shown here: Here is what my screen looks like in Lyx: I've tried ...
3
votes
1answer
53 views

Vertical space around table

I'm using tabu to create a table. I wish this to be center-displayed, so I am using it as follows: Body of text preceding table. \begin{center} \begin{tabu}{llX} text & text & text ...
0
votes
1answer
100 views

Section titles without numbers in non-starred version

I am trying to format the section title in the memoir class, so there is no section numbers in it, and I don't want to use the \section*command because it makes it more cumbersome to make it show up ...
3
votes
1answer
45 views

Add asterisk in Exam class

I am writing some exercise for students using exam class. I want some question to be after-class exercise and indicate that by putting an asterisk after the question number, something like (a)*. I ...
1
vote
0answers
43 views

Animating letters in an already animated cell (of a table)

I am a newbie to beamer. I want to animate some cells (the corner cells) of my table to become blue during a presentation. I then want some letters in those cells to be animated to green. Can someone ...
38
votes
4answers
5k views

Will two-letter font style commands (\bf , \it , …) ever be resurrected in LaTeX?

I understand that \bf and \it are now obsolete in LaTeX and that \textbf and \textit are proper, as they produce more sophisticated (in particular, cumulative and properly kerned) changes to font ...
1
vote
1answer
114 views

Beamer customization - itemize not changing color

I am trying to recreate this presentation in beamer. I finally made a proper header, but for some reason my itemize items won't change color. Here is a code sample %&latex ...
4
votes
1answer
40 views

termcal not creating correct dates / days

First time posting here, so hopefully I do this correctly. This semester I teach a late start class (it is a Tuesday / Thursday class that runs from Thursday, March 12, 2015 until Tuesday, May 12, ...
2
votes
1answer
89 views

Handling long equations with multline

So I'm writing a report for my final year engineering project. I've got some very long equations that I'm having to handle and I'm fairly new to LaTeX. The equation I'm trying to split is: ...
2
votes
1answer
97 views

description, enumitem, beamer

I am looking for a similar solution as here Description list with aligned descriptions except that I want to use it with beamer. If I use enumitem with beamer, inner theme is replaced by enumitem. I ...
2
votes
1answer
79 views

Get unicolor background navigation bar in Beamer's singapore theme

I would like to get the background color of the navigation bar in a single color rather than the default color gradient. Is there any way to do this?
0
votes
0answers
42 views

Add vertical space after section only if at top of the page (documents requiring titlesec)?

Sometimes one needs to change the vertical space after a given \section, but only if the section starts at the very top of a page. How could that be done automatically, when the document requires the ...
5
votes
1answer
57 views

Add vertical space after section only if at top of the page?

Is there a way to automatically add a \baselineskip after a given \section, only if that section starts at the very top of a page (see MWE below)? Note: The MWE does not include \titlesec. For ...
1
vote
1answer
81 views

Chapter styles catalog

There are many questions in this forum regarding how to produce one or another chapter/section format. However, I can't find a comprehensive catalog of styles (examples with code), something like the ...
2
votes
0answers
51 views

Formatting Versions of the same Document

So I have a puzzle here that my Google-Foo is insufficient to handle. I've written my dissertation in Lyx with one master-document and a pile of child-documents for each important chapter or logical ...
3
votes
2answers
131 views

Formatting a specific cell in a table

I am trying to format a table with no success. I basically trying to add a line after the case 3 (first set). There should basically be a separation between the first set of cases (after -7) with the ...
1
vote
0answers
48 views

Combining multiple documents

I've searched and have not been able to figure out how to do this any other way, so I'm asking here to see if any of you have any ideas. Basically, I'm trying to combine separate LaTeX files, but ...
1
vote
1answer
37 views

IEEEtran bibliography with bibtex formating issues

I am trying to format the bibliography for the first time, I have installed the IEEEtran package and everything is working except I have a couple of issues, they can be seen in the screenshot. ...
1
vote
1answer
83 views

What does “typeset twice” mean? [closed]

I am learning latex, and a book I am eading says that in order to renumber equations properly (after addition/removal), I need to typeset twice. Does does "typeset twice" mean? Thank you!
0
votes
1answer
45 views

shifting something to the right

I want to know how I can shift something to the right. The Z_2 formula consists of 3 parts which are underneath each other. But the second and third line are a little bit more on the left. How can I ...
2
votes
2answers
171 views

Table example made in Google Docs - how to make (would one make) this in LaTeX?

edit -> the emphasis on Google Docs might be a bit much, basically it's just a little table thing, it's not something unique to Google Docs thats just what I happened to use to make this. I made ...
0
votes
0answers
22 views

How to customize the frame background color and borderline width [duplicate]

I wish to customize the background color and the weight and color of the border using titlesec (not using mdframed). ...
0
votes
2answers
42 views

Chart Axis won't properly display the quadrant

I have a graph which has data in the 4th quadrant. Unfortunately, the visible axis orientation is such that the chart appears in the 1st quadrant. Is there any way that I can move the x-axis to the ...
3
votes
1answer
86 views

amsart option titlepage puts the address on the last page

The following code produces a title page with the title, authors, and abstract, but the addresses appear at the end of the article. Every variation I can think of produces the same problem. Putting ...
1
vote
0answers
26 views

Creating hyperlinks in TeXmacs

In TeXmacs, I'm trying to insert hyperlinks that link to urls with the command \hlink and then I fill out the appropriate name and the url. But when I try to open the link in TeXmacs it yields the ...
0
votes
0answers
24 views

`include` (and `input`) with part of a file name

Is it possible to use the \include and \input commands with only part of a file name like it is possible to skip extensions and use relative directories? I.e. \include{Part1} \include{Part2} ...
0
votes
1answer
71 views

Section Title Style [duplicate]

I have been using the default style for section and subsection titles. I want to make some adjustment when needed. For example, right now, my titles for both a section and a subsection are appearing ...
0
votes
0answers
45 views

rewrite latex paper in different packages

I wrote an article in a latex package (amsmath) and so I can submit the paper to another magazine I have to use another template, another package (imsart). Do I have to rewrite the whole article or is ...
10
votes
4answers
383 views

How to write \slashed, \mathcal and \mathring at the same time?

I need to write something like \slashed{\mathcal{\mathring{S}}}. I tried to write it in several orders, but none of them gave me the wanted result. I found out that I have to write ...
4
votes
2answers
110 views

Change from capital F in \figurename

To save some time when writing reports I usually define something like: \newcommand{\figref}{\figurename~\ref} I use the variable \figurename because I want to use the same code for writing in ...
3
votes
1answer
42 views

Incorrect formatting when cross-referencing equations

I am having trouble correctly formatting cross-referenced equations. When I reference an equation I would like the equation number to appear on the far right-hand side of the page, just as the ...
1
vote
1answer
38 views

Changing only arrow direction on y axis

I want to change the direction of the arrow at y axis, so that 0 still starts from the top and minus increases in direction of the arrow. here is the code (I am having more charts thats why I added ...
0
votes
0answers
34 views

Images do not appear quickly in latex after compiling

My latex document contains few images. However, when I compile it to pdf, the pages containing images donot appear quickly. Code: \documentclass[journal]{IEEEtran} \usepackage[demo]{graphicx} ...
6
votes
4answers
156 views

formating pgp - insert a space every four

I am an occasional latex user (means that I never used it to the point of writing a big professional text with, but wrote a few pieces for personal use) and want to create some visting cards, basic ...
3
votes
1answer
74 views

Changing font size for one section heading

I want to have a single \subsection printed significantly larger, without otherwise changing the font. This is for a landscape page, to put a subsection title before a full-page diagram, and it needs ...
2
votes
1answer
28 views

How do I change the numbering system of table captions?

Normally when a table is captioned, it comes out as "Table 1: Blah blah...", but I want to change it to "TABLE I. Blah blah..." How do I do that? So far, I've figured out how to change the title and ...
2
votes
0answers
30 views

Small adjustments in formatting to make my work fit on an integer number of pages

Suppose I am doing some work which does not have very tight formatting restrictions. My work goes a little bit over 2 pages, but, if I change the margins from 1 inch to .97 inches, the work fits on 2 ...
4
votes
1answer
71 views

Writing neat equation parameter definitions with \singlespacing vs \doublespacing text

This question is based off the answer for the How to write a perfect equation parameters description? question: I would like to have the parameters defined using \singlespacing as I am currently ...
4
votes
2answers
162 views

ragged-right text and preserve paragraph indentation

I want to justify my text to left without losing the paragraph indentation. I tried ragged and flushleft, although both justify the text and the next paragraph. So I am losing intendation. I do not ...