Questions tagged [format]
The format tag has no usage guidance.
32
questions
2
votes
1
answer
23
views
How to bring left right text to the above line?
My code looks like this:
% Source: http://tex.stackexchange.com/a/5374/23931
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[margin=1in]{geometry}
\usepackage{...
3
votes
1
answer
147
views
Automatic number formating in a table
How can I apply the "\num{}" formatting to all numbers in a table without retyping the command each time? I am using Arial font, so the numbers look different compared to when I use the \num{...
0
votes
0
answers
33
views
The PDF generated by the journal LaTeX template downloaded through IEEE Template Selector does not meet the requirements of the journal
such as IEEE Transactions on Affective Computing format is shown below,
The PDF generated by the template obtained through IEEE Template Selector is not in this format. How do I get the right ...
1
vote
0
answers
31
views
typesetting equations based on external text file gone wrong [duplicate]
This example reads n lines and prints them out as addition problems.
$ cat equations.txt
8
1 2 3
4 5 9
6 7 13
18 7 25
34 66 100
94 21 115
0 31 31
27 18 45
84 51 135
64 9 73
$ cat equations.tex
\...
2
votes
1
answer
33
views
Vertical spacing inconsistencies around equations
This seems to be a topic of many questions on here already, but no single answer seems satisfying. I am working with the document below and would like the vertical spacing around each equation to be ...
0
votes
1
answer
88
views
Add space between section title and page number in toc
I desperately need help i tried and searched for everything but not even chatGPT was able to help me at this point maybe its just not possible please enlighten me.
So since some of my section have ...
3
votes
0
answers
96
views
Latest German dictionary pattern
I have included the format file latest German pattern from:
https://ctan.org/tex-archive/language/hyphenation/dehyph-exptl?lang=en
I have generated 45 German words in InDesign (using Duden Dictionary) ...
0
votes
0
answers
26
views
Formatting caption for talltblr [duplicate]
I used talltblr for tables to solve an issue discussed here
But now the label font is not bold. I tried to change captionsetup setting without luck. Also, how can I put the caption below the table if ...
3
votes
2
answers
47
views
Title Format ruining itemize spacing
I use title format to change the look of my section commands and so on, after making a new section for some reason the spacing used by itemize is being ruined and it is not leaving the proper amount ...
1
vote
0
answers
89
views
Change orientation and paper size for single page
My document consist of A3 pages in landscape orientation, except for the first page which I want to be in A4 portrait. How can I change the paper format and orientation of a single page?
I thought I ...
0
votes
1
answer
40
views
How to set uppercase title of bib-items with BibLaTeX?
I am trying to set titles in bibliography and citations in upper case format (and I will be satisfied also for a solution only referred to bibliography).
\documentclass{article}
\usepackage{graphicx}
...
0
votes
0
answers
74
views
Compiling with hilatex fails
I'm trying out the new-ish hitex format that produces special HINT files made to be viewed on a screen. The plain format seems to work (based on the limited examples I've tried) but the hilatex format ...
1
vote
1
answer
121
views
Change the citation's "accessed on" date format
I would like to change the date format that appears in the citation's "urldate". Right now it's at yyyy-mm-dd and I would like to change it to dd/mm/yyyy, I've tried with
\usepackage[...
0
votes
0
answers
33
views
How to align number digits and fractions as shown in the image below [duplicate]
Please suggest how to align number as shown in image below
0
votes
0
answers
43
views
Centering a figure in a page with different \textwidth
I set up the page geometry to remove margin notes, footer and head so it uses all the available space.
While I managed to center the text in the page now the figure is not centered
\marginparwidth ...
1
vote
1
answer
32
views
Pre-Formatting Items in Enumerate Environment for Customized Quotations
Consider the code
\documentclass[12pt]{book}
\usepackage{scalefnt}
\usepackage[sfdefault]{cabin}
\usepackage{mathptmx} % replaces obsolete times package.
\newcommand{\longemdash}{{\fontfamily{cmss}\...
0
votes
0
answers
49
views
How to get rid of the right header
Maybe it is easy to do but I've been trying to remove the right header that shows in my document. I think it could be done by using the titlesec package but I have no idea.
Edit
Here is the preamble ...
0
votes
1
answer
38
views
How to Have a Manually Inserted Item Number Inherit the Customized Formatting of the Others
Consider the code
\documentclass[10pt,openany]{book}
\usepackage{enumitem,xcolor}
\usepackage{xparse}
\definecolor{granite}{RGB}{103,103,103}
\newlist{advice}{enumerate}{1}
\setlist[advice]{
...
0
votes
1
answer
39
views
How can I get section title between 2 horizontal lines, within same line
I am quite new to LaTeX, and I am trying to make the section title centered between 2 horizontal lines, all within the same line.
What I have now is this. However, I'd like the rules to be longer, but ...
1
vote
1
answer
302
views
How do I import a picture in LaTeX?
I am new to latex. I want to import a picture but failing.
The picture is .jpg format.
2
votes
1
answer
45
views
How to combine these five tables either using {longtable} to show these tables are continued?
I am new to this community. My summary statistic tables are weird... I want to combine all these five tables either using {longtable} commend to show these tables are continued under the main title ...
2
votes
1
answer
94
views
vertical equation for a Multiplication of two numbers expression
I'm using Latex to write a manual multiplication calculation, like in https://en.wikibooks.org/wiki/LaTeX/Mathematics#Multiplication_of_two_numbers
I do this in the equation editor of zim-wiki, that ...
0
votes
1
answer
50
views
How change the date format of url field of biblatex package?
I need to print, for instance, 15 October 2022 and not the 15th October 2022. I found a similar question old_solution where it is reported to use the australian language since it formats the dates ...
0
votes
1
answer
77
views
How can I make a din A0 Poster for my formula collection
I was wondering how to make a din A0 poster in LaTeX for my formula-collection so that I can make myself a overview of some important formulas for analysis or linear algebra for example. I had an idea ...
0
votes
1
answer
26
views
There's no line break when I use an style I createad
I created this text style for using in my document:
\newcommand{\nosc}[1]{\text{\color{naranjaosc}#1}}
But when I use it, like here
Rotar un punto $P(x, y)$ con respecto a un \nosc{punto $C(x_0,y_0)$ ...
2
votes
1
answer
43
views
Trouble formatting a part heading
So, I'm trying to format the heading for a Part of a book. This heading is to include a quote and an author. As this is likely code that I'll want to reuse (and in the main body of the text as well), ...
4
votes
1
answer
578
views
How to install LuaMetaTeX to MikTeX on Windows 11?
On GitHub you can find the Plain and LaTeX format for LuaMetaTeX. I am a Plain LuaTeX user and would like to switch to Plain LuaMetaTeX for some reasons. Examples: unpacking the contents of \left and \...
0
votes
2
answers
67
views
How to align / count equation labels in Latex
I am attempting to write a simple equation inside a document that uses Latex, and I have attempting this line of code so far:
\setcounter{equation}{0}
\renewcommand{\theequation}{1.\arabic{equation}\...
2
votes
1
answer
137
views
How to change the font inside a \begin{defi} environment
I have the following issue. In my LaTeX, I use the following formats:
\newtheorem{teo}{Teorema}
\theoremstyle{plain}
\newtheorem{coro}{Corolario}
\newtheorem{defi}{Definici\'on}
\newtheorem{lema}{Lema}...
0
votes
1
answer
91
views
in-text citation: How to get (Text, Citation) in one bracket
I am trying to get the following:
....United States of America (USA, Example et al., 2017).
So I would like to have an abbreviation as normal text and a citation within one bracket unfortunately I ...
0
votes
0
answers
73
views
hyperref Forms with serif font problem
I use LuaLaTeX.
This MWE works with sans-serif fonts, i.e. Calibri (on Windows)
\documentclass{article}
\usepackage{fontspec}
\def\fntname{Calibri}
\setmainfont{\fntname}
\usepackage[pdfstartview = ...
1
vote
1
answer
74
views
Why is there a double point between section and subsection?
I have defined the following box:
\documentclass[a4paper,14pt,twoside,reqno]{extbook}
\usepackage[tmargin=28mm,bmargin=28mm,lmargin=28mm,rmargin=28mm]{geometry}
\usepackage{amsmath, amsfonts,...